01:48 hakzsam: imirkin, request sent
02:42 pmoreau: RSpliet: Should I test the v2 on my G96?
02:44 RSpliet: pmoreau: nah, that's pointless
02:44 RSpliet: I pushed them to the ML because they work on NVA0
02:44 pmoreau: Ok
02:44 RSpliet: (N=3 statistics)
02:45 pmoreau: :)
02:45 pmoreau: That's not too bad
12:14 kisak: hello, I was wondering a bit about Lauri Peltonen of nVidia. I saw a handful of patches by this dev in the git log and did not recognize the name.
12:16 imirkin: what sort of thing were you wondering?
12:19 kisak: mainly if she's the same dev group as Mr. Courbot focusing on the mobile initiative / gk20a
12:19 kisak: s/she's/she's in/
12:20 kisak: and if there's plans for future contributions
12:20 pmoreau: s/she/he ;)
12:20 imirkin: most likely 'he'
12:20 kisak: ah, my mistake guessing a name ending in a vowel is a female name
12:21 imirkin: dunno exactly what his status is re working with/next to/whatever gnurou, but i've seen his name pop up a few times
12:22 imirkin: http://en.wikipedia.org/wiki/Lauri
13:43 flipmess: hi, do i have to use DRI3 for the nouveau card to switch off automatically?
13:44 pmoreau: flipmess: You don't
13:44 flipmess: it says 0:DIS: :DynPwr:0000:01:00.0
13:44 pmoreau: What is your setup?
13:44 imirkin: flipmess: that means the kernel thinks it's being used somehow
13:44 flipmess: optimus
13:44 imirkin: flipmess: e.g. if you have a secondary output that's plugged in
13:44 flipmess: nv has vga and intel lvds
13:44 flipmess: no
13:45 flipmess: xrandr also says vga-1-1 disconnected
13:45 imirkin: i think vga might just keep it always on (not by design, but by accident)
13:45 flipmess: hm
13:45 imirkin: i've seen this happen to a few people in the past
13:45 flipmess: shoudn't xrandr then say vga connected?
13:45 imirkin: i never tracked it down =/
13:45 imirkin: well, the poweroff isn't instant
13:45 imirkin: it waits until the card is idle for a while
13:46 flipmess: i tried to force it with echo OFF > /sys/kernel/debug/vgaswitcheroo/switch but nothing...
13:46 imirkin: i think the VGA causes it to poll every short while to see if something's there
13:46 imirkin: yeah that does nothing
13:46 flipmess: it's idling for hours now :)
13:46 pmoreau: Well, it should power off the card if X isn't running
13:47 flipmess: hm... should i restart x or just kill it and wait?
13:47 pmoreau: (Maybe also if X is running, don't remember)
13:48 pmoreau: Do you have any message in dmesg saying Nouveau doesn't want to power off for some reason?
13:48 tobijk: it also powers down if x is in use
13:48 flipmess: looking
13:49 tobijk: happens after some seconds normally
13:49 pmoreau: tobijk: Ok, thanks.. I guess I was mixing with DIS/IGD
13:50 flipmess: pmoreau << its just suspending and resuming as i suspend and resume the pc
13:50 joi: can't you disable polling by passing poll=0 to drm_kms_helper?
13:51 imirkin: yeah that sounds familiar
13:51 flipmess: can i check somehow if it's polling?
13:52 flipmess: would it stop if i unload the module?
13:52 flipmess: turn off i mean
13:52 imirkin: flipmess: try booting with drm_kms_helper.poll=0
13:52 imirkin: unloading the module will sadly *not* put the gpu to sleep
13:52 flipmess: k
13:53 pmoreau: flipmess: Ok, so either VGA or you're using the NVidia card to drive the screen :)
14:04 flipmess: it's off now.. as soon as i activated "reverse prime" it turned on and then quickly off
14:04 flipmess: it turned on 2 more times for a second or so
14:06 flipmess: are there any negative consequences from "drm_kms_helper.poll=0"?
14:06 imirkin: might miss some hotplug actions
14:07 flipmess: hm.. haven't seen any so far :D
14:07 imirkin: i mean connection/disconnection of displays
14:07 flipmess: k
14:13 flipmess: will i always have to do the xrandr reverse prime customisation manually (or by script) or should it work automatically since vga port is only connected to nvidia?
14:14 imirkin: should work automatically assuming the hotplug detect works correctly
14:14 imirkin: worst case you can poll it by running 'xrandr'
14:14 flipmess: thx.. i'll test that
14:30 flipmess: since i installed nouveau xbacklight stopped working. xrandr --verbose shows backlight property only on LVDS2 (intel). when i try xbacklight nvidia card powers on for short time.
14:32 imirkin: xbacklight must be deciding to use the backlight on the nvidia card, probably because it has LVDS-1
14:33 imirkin: you could ensure that nvidia gets loaded after intel
14:33 imirkin: it should probably check for connectedness, but... oops
14:34 flipmess: hm.. that would make intel use LVDS1 again and nvidia lvds2?
14:34 flipmess: it looks like every program "thinks" nvidia is the primary screen
14:35 imirkin: right
14:37 flipmess: i also get at the same time when nvidia turnes on and off some ACPI warnings
14:37 flipmess: kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)
14:38 imirkin: expected
14:38 flipmess: does this have to do with nouveau?
14:38 imirkin: sssort of
14:38 imirkin: it has to do with the acpi method nouveau calls
14:38 imirkin: tbh i'm not sure if it's nouveau's fault or not
14:39 flipmess: k. i couldn't find anything on google. thx
14:40 imirkin: in the past i've blamed it on dumb acpi code
14:40 imirkin: but could be that nouveau is invoking things wrong
14:42 pmoreau: ACPI specifies the 4th argument of _DSM to be a package, however old BIOSes used a Buffer
14:43 imirkin: and by "old" you mean "lots of brand-new hardware being produced"
14:43 pmoreau: So for compatibility, ACPI specification allow a buffer as 4th arg.
14:43 pmoreau: Probably :D
14:44 pmoreau: But iirc, that's the term used by the specification of ACPI v4.0? Maybe even v3.x
14:45 pmoreau: Nouveau could use another ACPI method to probe _DSM and avoid the warning :)
14:46 imirkin: that'd be nice... it's super-common to see it in logs
14:47 pmoreau: I did that when I added detection of Apple Gmux, but could change the existing Optimus dectection as well
14:48 pmoreau:should re-submit those patches one day...
14:49 RSpliet: tomorrow is one day
14:49 pmoreau: ;)
14:49 pmoreau: Yeah, I've been saying that since Friday
14:51 pmoreau: I'll try to push that and the EVO doc during this week
15:46 meeeee: someone want to see a my dmesg dump? before i bother with bugzilla
15:48 imirkin: what's the problem/
15:49 meeeee: black screen in doomsday engine in ubuntu 14.04. unity with compiz on. G94/nv50 fam
15:50 imirkin: what version of mesa?
15:53 meeeee: 10.1.3. coreprof 3.3
15:53 meeeee: [16173.047336] nouveau E[ PFB][0000:03:00.0] trapped read at 0x00207dd800 on channel 0x0001fbe9 [compiz[2164]] PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT [16173.064008] nouveau E[ PFB][0000:03:00.0] trapped read at 0x00207dd600 on channel 0x0001f764 [doomsday[11005]] PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT [16173.070298] nouveau E[ PFB][0000:03:00.0] trapped read at 0x00207dd800 on channel 0x0001fbe9 [compiz[2164]] PGRA
15:53 imirkin: hm, well, a boatload of stuff has been fixed since then
15:54 imirkin: mesa 10.5.6 was just released
15:54 tobijk: mh looks somehow like the oom i had on nv50 a few weeks ago :)
15:55 imirkin: the PAGE_NOT_PRESENT thing is weird indeed... sounds like some sort of resource tracking is messed up =/
15:57 meeeee: the log is about 1000 lines of those
15:57 meeeee: so recompile mesa?
15:59 imirkin: that'd be the first thing i try
15:59 imirkin: (do grab 10.5.6 -- it fixes a small regression in the 10.5 series for pre-G200 nv50 gpu's)
16:01 meeeee: do i need to recompile the drm /ddi?
16:01 imirkin: nop
16:01 meeeee: so just mesa?
16:01 imirkin: yep
16:03 meeeee: well actuallz..mz mesa is old (default ver on my distro) but the drm is from about week ago ....
16:05 imirkin: oh, make sure you don't have libdrm 2.4.60 -- that one's bad for nouveau
16:05 imirkin: 2.4.59 or 2.4.61 is fine
16:06 meeeee: gonna check
16:07 imirkin: skeggsb: did swtnl ever actually work for nv30?
16:08 skeggsb: i *believe* so, but it's entirely possible that i'm misremembering that
16:08 imirkin: i'm thinking of doing a mega-bisect
16:11 tobijk: 6.0 - today? :D
16:11 imirkin: hehe
16:11 imirkin: well the current nv30 driver only appeared in 9.0 or 9.1
16:11 imirkin: so there's a limit to the quantity of bisect
16:12 tobijk: hehe
16:14 imirkin: i think there's like a *core* step missing, but i'm not seeing it
16:14 imirkin: with llvm disabled, it never even hits the nv30 draw functions
16:14 tobijk: and with llvm it does get hit? :O
16:15 imirkin: skeggsb: btw, i had a weird hang with my nv44... the notify object never increased its fence count. i unbound the pci device from nouveau and rebound it, and it was all fine
16:15 imirkin: skeggsb: is doing something like that in any way reasonable automatically?
16:15 imirkin: (not the literal unbind/bind, but the equivalent, when we detect channel hangs)
16:16 skeggsb: imirkin: the "plan" would be to kill the channel, and report it to userspace. that seems to be the approach taken, reporting a "lost device" to the app
16:17 meeeee: my libdrm seems to be 2.4.0
16:17 skeggsb: imirkin: we need to track/deal with semaphores between channels too
16:17 imirkin: meeeee: that's not possible
16:17 skeggsb: or we end up hanging more than we should
16:17 imirkin: skeggsb: nnnnot sure what you mean. but as long as you do, it's ok ;)
16:17 meeeee: well libdrm..also have libdrm_nouveau
16:18 imirkin: meeeee: 2.4.0 is an *ancient* version, well before the mesa 10.x releases
16:18 meeeee: so which one exactly do u mean
16:18 imirkin: they should be the same version i should hope
16:18 meeeee: i compiled some of them from source a week ago..the rest is from the old ubuntu mesa
16:18 skeggsb: imirkin: btw, hans (just noticed he commented in a nv4x bug) is going to take a look at trying to resurrect the nv30/40 gallium driver
16:19 imirkin: skeggsb: oh awesome. i've been looking at it a bunch too
16:19 imirkin: i have some patches i haven't posted yet
16:19 imirkin: but i was hoping to defeat swtnl first
16:20 skeggsb: cool :)
16:21 imirkin: swtnl is only hit in pretty rare cases, but it's pretty annoying that it's totally broken
16:21 skeggsb: were you going to tackle the colour/zeta restrictions by any chance? :P
16:21 imirkin: haha no
16:21 imirkin: i'll leave that to someone with actual time
16:21 imirkin: is hans on irc?
16:22 skeggsb: yes, but i'm not sure if he hangs around here yet.. i can't see him on internal channels atm either, i still need to figure out exactly when he's around
16:22 skeggsb: i'll point him towards you when i see him
16:23 imirkin: sounds good
16:26 meeeee: libdrm.so.2 -> libdrm.so.2.4.0 libdrm_intel.so.1 -> libdrm_intel.so.1.0.0 libdrm_nouveau.so.2 -> libdrm_nouveau.so.2.0.0 libdrm_radeon.so.1 -> libdrm_radeon.so.1.0.1 /sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.19.so is the dynamic linker, ignoring libdrm.so.2 -> libdrm.so.2.4.0 libdrm_intel.so.1 -> libdrm_intel.so.1.0.0 libdrm_nouveau.so.2 -> libdrm_nouveau.so.2.0.0 libdrm_radeon.so.1 -> libdrm_radeon.so.1.0.1 /sbin/ldcon
16:27 meeeee: thats what i get from ldconfig
16:27 imirkin: meeeee: that's not the version number
16:27 imirkin: meeeee: check the installed package version
16:31 meeeee: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================-===============-===============-============================================= ii libdrm2:amd64 2.4.60-2~ubuntu amd64 Userspace interface to kernel
16:32 imirkin: meeeee: right. get one that's *not* that version ;)
16:35 imirkin: ... and of course i can't build mesa 9.1 because my llvm is too new!
16:35 imirkin: now i remember why i hate llvm
16:36 tobijk: now get an older llvm, little package, no compile time at all :)
16:36 imirkin: yeah that won't happen. the solution is to not build llvm
16:37 glennk: someone should point out to the llvm devs that other compiler which doesn't have a problem being installed with multiple versions...
16:37 imirkin: oh, i wouldn't be surprised if gentoo let me
16:37 imirkin: but... i'm not about to mess with that
16:37 imirkin: esp when it's not central to the issue
16:38 meeeee: is a downgrade to 2.4.56 sensible?
16:38 meeeee: the newest ubuntu package is 2.4.60
16:38 imirkin: meeeee: yea that's fine
16:39 meeeee: however there is still one thing that bugs me
16:40 meeeee: i i overwrote some of the pckage with sustom bins compiled from the nouveau sources...
16:41 meeeee: so reverting to a precompiled package may screw my video drv completely
16:41 imirkin: my recommendation would be to keep manually compiled binaries separate from distro ones
16:44 imirkin: -DHAVE_LLVM=0x0305.0
16:44 imirkin: arghhh
16:52 imirkin: well, mesa 9.1.7 doesn't work with swtnl forced on
16:53 meeeee: imi..if i do that downgrde...thats a GL apokalypse
16:53 meeeee: The following packages will be REMOVED: libdrm-dev libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libqt4-opengl:i386 libqtwebkit4:i386 mesa-common-dev xorg-dev xserver-xorg-dev The following packages will be DOWNGRADED: libdrm2
16:53 tobijk: ignore?
16:53 imirkin: meeeee: enjoy your distro binary package fun :)
16:54 meeeee: basicly i need to reinstal..i.e. recompile the whole driver...
16:56 meeeee: nouveau is disabled in the precompiled packages...they are just dummies in ubuntu (the nouveau portion) so one needs to compile and overwrite the bins oneself
16:56 imirkin: ah ok
16:58 Karlton: meeeee: ubuntu dropped support for nouveau?
16:58 imirkin: ../../../src/mesa/main/bufferobj.c:2340:4: error: implicit declaration of function 'SET_BindBufferARB' [-Werror=implicit-function-declaration]
16:58 imirkin: wtf
16:59 imirkin: was building in the 9.0 days not a supported operation?
17:00 meeeee: they never had it..just the 2d part is on. just enough to run unity and compiz... without extra 3d. mesa stays at softGL
17:01 tobijk: O.o
17:01 meeeee: had to recompile the drm and 3d part myself... GL works great in quake (darkplaces engine with relief mapping and so on) and in nexuiz.... just that doom now screwed up
17:02 Karlton: I thought they added it years ago but if that is true, it's another reason to hate ubuntu :P
17:02 meeeee: the 3d part of the driver of ubuntu is just dummies with NO 3D support
17:03 meeeee: they plan to add it...some day
17:05 meeeee: so imi..before i go to recompile hell..are u 100% positive..that libdrm is the one screwing thing up?
17:06 tobijk: it screws up many thnigs but no, not 100% sure
17:06 imirkin: ok. 9.0 just doesn't build.
17:06 tobijk: maybe 9.1?
17:06 imirkin: meeeee: i'm positive that 2.4.60 causes issues. no idea if it causes *your* issues.
17:06 imirkin: tobijk: yeah, i got 9.1.7. no go.
17:07 tobijk: seems unlilkely...
17:08 tobijk: maybe stable was a used different back then ;-)
17:09 imirkin: i mean, 9.1.7 built... eventually
17:09 imirkin: but it didn't work with swtnl
17:41 meeeee: hows gonna praise the fourth link? > https://www.google.de/search?q=install+nouveau+guide&ie=UTF-8&sa=Search&channel=fe&client=browser-ubuntu&hl=en&gws_rd=cr,ssl&ei=tldiVcSfEK6N7Ab-3YHYBw
17:41 meeeee: i mean *who*
17:42 meeeee: and also the second now the fourth link that appears
17:42 meeeee: totally not concentrated
18:20 meeeee: rebuilding mesa... :P imi its ur fault
19:03 meeeee: imi, still there?
19:05 meeeee: how the fuck are u using ipv6?
19:22 meeeee: ....and rebooting
20:23 meeeee: cannot install `es1api/libGLESv1_CM.la' to a directory not ending in /usr/lib
20:23 meeeee: any idea?
20:23 meeeee: ..building mesa
20:25 Karlton: does nouveau need gles?
20:29 meeeee: according to that ..yes
20:29 meeeee: http://nouveau.freedesktop.org/wiki/InstallNouveau/
20:35 Karlton: you did --prefix=/usr ?
20:36 meeeee: yes but as i read make clean should solve it
20:36 meeeee: rebuilding now...again
22:02 meeee: just installed the newest mesa...looks TERIBLE!
22:06 meeee: take a look at my new look> http://snag.gy/xJArM.jpg
22:07 meeee: the black squares are supposed to be shadows...
22:13 meeee: someone there?
22:15 Karlton: no :-)
22:16 Karlton: only thing I can suggest is to do a git bisect and find what is causing the bug
22:16 Karlton: if it is an issue with mesa
22:19 meeee: worked fine before i updated
22:20 meeee: quake still looks grate
22:20 meeee: great
22:20 meeee: havent still trzed the game i wanted to fix prior to the update
22:23 Karlton: yeah, it is possible someone broke something in mesa
22:27 Karlton: meeee: you updated from 10.6-dev to latest git and it broke after you restarted X?
22:28 meeee: updated from precompiled 10.1 or something lake that
22:32 Karlton: might be your compositor that is drawing the shadows and doesn't like the different mesa version
22:33 Karlton: I am not sure what (ubuntu?) uses
22:34 meeee: unity desktop with compiz
22:35 meeee: btw the performance also seem to be a bit worse in general
22:35 meeee: especially the GUI
22:36 Karlton: can you turn compiz off and see what happens?
22:39 meeee: offcourse the "shadows" will be gone the ugly black squares...but unfortunately ubuntu 14.04 does not provide 2D alternative to compiz anymore
22:40 meeee: and if u look carefully u will see that even the window border with the resize and close buttons is NOT drawn!
22:40 meeee: the new mesa definitelz broke the GUI
22:40 meeee: quake is fine http://snag.gy/kmi3t.jpg
22:41 Karlton: if unity has special transparent widow boarders, they would be using compiz also
22:42 Karlton: need to find out is compiz is complaining about missing shared libaries or something
22:42 meeee: transparancz is fine in the starter i.e. the HUD to the left
22:43 meeee: the shadows and the window borders and resize buttons are gone or fucked
22:43 Karlton: s/is compiz/if compiz/
22:44 meeee: s/is? what do u mean?
22:44 Karlton: correcting my typo
22:45 meeee: its not
22:45 meeee: i guess
22:46 Karlton: if compiz is spamming debugging messages in the background, that could slow you down
22:46 meeee: i just have the basic UI on..no extra effects like cuybe3d or wobbling windowws
22:46 meeee: will check dmesg
22:47 meeee: had to anyway to see if the problem i wanted to fix in the first place is gone
22:51 Karlton: if gui is acting slow, check your cpu usage and see if it is abnormal
22:53 meeee: dmesg is clean..no obvios errors...but the game i wanted to fix still shows only black screen..and now the GUI is also ...slow and "drawn"
22:57 meeee: cpu is freeee> http://snag.gy/I7VpI.jpg
22:58 meeee: so the question is who broke the shadows in NV50... :D and how
23:04 Karlton: what happens if you just run 'compiz' in the termianl emulator?
23:07 Karlton: or compiz --replace
23:09 meeee_: just crashed the whole UI
23:10 Karlton: using compiz --replace? (I am reading an old debian wiki on compiz) xD
23:11 Karlton: I don't know how to get debugging errors from it
23:18 meeee: [ 4055.688891] traps: compiz[2246] general protection ip:7fc187dce5d0 sp:7ffdd8ec8940 error:0 in libunitymtgrabhandles.so[7fc187db1000+27000] [ 4105.873000] nouveau E[ PGRAPH][0000:03:00.0] TRAP DISPATCH_QUERY [ 4105.873014] nouveau E[ PGRAPH][0000:03:00.0] no stuck command? [ 4105.873034] nouveau E[ PFB][0000:03:00.0] trapped write at 0x0020276000 on channel 0x0001fa52 [Xorg[1377]] PGRAPH/DISPATCH/QUERY reason: PAGE_NOT_PRESENT
23:19 meeee: gfault at 7 ip 00007fd4897e950d sp 00007ffe44ba5718 error 4 in libcompiz_core.so.[7fd489785000+ae000]
23:24 Karlton: :S
23:26 meeee: and for those who havent yet seen it..my new fashionable UI... perfectlz drawn > http://snag.gy/I7VpI.jpg
23:29 meeee: how do we trace the missing window borders buttons and shadows?
23:47 Karlton: did you compile mesa from source you did you get that version from ubuntu?
23:50 meeee: off course i just compiled it
23:51 meeee: its the newest..ubuntu came with 10.1...or so
23:52 Karlton: 10.1 seems kind of old though, the latest stabled is 10.5.5
23:52 meeee: ..but it was working..to a point..where i tryed doom and got a kernel dump and i was adviced here to get the newest and i compiled all night long..and got what i got
23:54 meeee: anz idea how to trace the gl commands from compiz?