03:30 sneil: dboyan_: no luck (same desktop freeze, except mouse cursor) with imirkin's suggestion on NV50_PROG_SCHED=0 and also no luck reverting d03bfb078. I didn't bother trying both together
04:09 dboyan_: sneil: well, no idea then. You could bisect anyway if you're sure it was okay before and know a good revision.
04:29 sneil: I'm not sure it was ever okay before, but I'll start to look
04:31 sneil: do you think I can bisect just the gallium/drivers/nouveau/nvc0 directory
04:31 sneil: ?
05:08 dboyan_: sneil: First find a known working version, and 'git bisect' will help you find out in just a few tries
07:40 hakzsam: sneil: which maxwell chipset?
07:42 hakzsam: I remember something weird with compute on maxwell actually
07:42 hakzsam: like my gm107 doesn't work very well, but mupuf's one works like a charm
07:43 hakzsam: I didn't investigate more though
07:43 hakzsam: probable unrelated to mesa
07:43 hakzsam: *probably
07:43 hakzsam: mupuf: do you remember?
07:46 hakzsam: ie. perf counters for example
07:49 dboyan_: hakzsam: I remember sneil has gm107
07:49 pmoreau: hakzsam: If I were to write some code that would measure perf of an OpenGL application running on Nouveau, how would I set up and read the performance counters? Is there a library to link against?
07:50 hakzsam: GL_AMD_performance_monitor
07:52 pmoreau: Cool, thanks
07:53 pmoreau: And that should support everything?
07:54 hakzsam: pmoreau: yeah, https://cgit.freedesktop.org/~hakzsam/piglit/commit/?h=perf_counters&id=38ea6fb2299ad52caf99a6309ee0e3107738e332
07:55 pmoreau: Awesome
07:55 hakzsam: sneil: can you try 'GALLIUM_HUD="inst_executed" glxgears' on your gm107 and tell me what happens?
08:00 mupuf: hakzsam: yeah, I remember your perf counter issue
15:47 sneil_: Sure, I'll give that a try. Lastest git I assume?
16:51 hakzsam: karolherbst: https://bugs.freedesktop.org/show_bug.cgi?id=100239#c7
16:51 hakzsam: can you reproduce on nouveau?
16:52 hakzsam: sneil_: yes
16:53 karolherbst: hakzsam: that bug or the comment?
16:53 hakzsam: bug
16:54 hakzsam: while replaying the trace
16:55 hakzsam: karolherbst: starting at frame 5310
16:56 karolherbst: ahhhh okay, that's easy then
16:56 hakzsam: yep
16:56 karolherbst: the trace from comment 5 or 7?
16:56 hakzsam: 7
16:56 hakzsam: the trace should replay just fine
16:56 karolherbst: that download site......
16:57 karolherbst: ahh, there I have to click
16:59 karolherbst: hakzsam: my internet situation here is currently very crappy, will take me like 2 hours to download :(
16:59 karolherbst: or is that site just slow?
17:01 hakzsam: it's slow but not that much
17:01 hakzsam: dl.free.fr is a crappy french site
17:02 karolherbst: I get around 100kB/s
17:02 hakzsam: karolherbst: feel free to leave my a comment later or during the weekend
17:02 hakzsam: there is no rush
17:02 karolherbst: k
17:02 hakzsam: *me a
17:02 karolherbst: I already see it coming: abort after 99.9%, please start from 0
17:04 hakzsam: I think you shouldn't be able to reproduce the issue with nouveau, but I can be wrong :)
17:14 karolherbst: k
18:04 karolherbst: hakzsam: could you give me the output of the public khronos CTS for 4.5 on AMD hardware? So I know which tests I should focus on. I kind of want to fix issue to get more into mesa development
18:05 karolherbst: I get it to run on my system with nouveau
18:05 karolherbst: and there are enough fails to work on
19:08 Lyude: How difficult would it be to hook up a card running nouveau to a machine that already has a GPU using amdgpu? would like to render some stuff on a nvidia card while using the amdgpu card for everything else
19:12 librin: g'day!
19:12 librin: I seem to have hit a nouveau-related regression, but I am not exactly sure
19:18 librin: one of my monitors now starts flickering and has messed up contrast/brightness if I set the refresh rate to anything higher 60Hz
19:19 librin: and even on 60Hz, there's a little bit of flickering
19:21 librin: anyone has any idea if something in recent nouveau-related changes could have what could cause that?
19:21 librin: (recent as in "past two weeks or so")
19:21 librin: s/higher 60Hz/higher than 60Hz/
19:22 karolherbst: Lyude: DRI_PRIME
19:22 karolherbst: Lyude: or second X server
19:22 Lyude: that'll just work? nothing else needed?
19:23 karolherbst: well
19:23 karolherbst: it just works with DRI3
19:23 karolherbst: otherwise you need to do that xrandr configuration stuff
19:23 karolherbst: but yeah, DRI_PRIME should just work
19:23 Lyude: huh, i would think gnome-shell would be using dri3 for wayland
19:23 Lyude: that's cool, thanks for the info
19:28 karolherbst: found an infinite loop within RA with khronos CTS :) fun
19:33 karolherbst: that tgsi: https://gist.github.com/karolherbst/267b329b88c99c8a65f7e36beaca4e5f
19:36 librin: I tried downgrading my xf86-video-nouveau, libdrm and mesa to revisions before them, but that didn't help.
19:36 librin: Any idea what else could interfere with how nouveau handles monitors that I could try downgrading?
19:36 karolherbst: kernel
19:45 librin: oh, right, forgot to mention I didn't touch the kernel at all
19:45 librin: still on the same 4.10.12 which worked fine
19:50 librin: this is so weird; if I didn't know any better, I'd think it's a hardware problem :S
19:50 librin: which it isn't – I booted to windows (yuck!) and it works fine there
20:13 Lyude: btw karolherbst would you happen to know how the primary GPU is selected in a config like that?
20:16 karolherbst: Lyude: you can set the pci address in DRI_PRIME somehow... don
20:16 karolherbst: 't know the format
20:16 Lyude: interesting
20:16 Lyude: on that note, it would be really nice if this desktop actually had USB-C ports I could use for plugging another GPU into
20:16 karolherbst: but yeah, you can somehow explicitly select the device as well
20:17 karolherbst: Lyude: interesting idea
20:17 Lyude: karolherbst: yeah it's been done for a while, every now and then people poke me and ask if we're ever going to support hotplugging GPUs...
20:17 karolherbst: uhh
20:17 karolherbst: DRI3 supports hotplugging
20:17 Lyude: it does?
20:17 Lyude: oh wow, I never even knew that
20:17 karolherbst: sure
20:17 karolherbst: well the main GPU stays the same
20:17 karolherbst: but that
20:18 karolherbst: 's X fault
20:18 karolherbst: well the PCIe bus also needs to support hotplugging
20:18 karolherbst: but with DRI3 you can load nouveau after X started
20:18 karolherbst: and use it via DRI_PRIME
20:18 karolherbst: that's how I do it
20:18 karolherbst: ohhh wait, there is something required
20:18 karolherbst: because DRI2 sucks
20:19 karolherbst: Lyude: https://gist.githubusercontent.com/karolherbst/4341e3c33b85640eaaa56ff69a094713/raw/c976daa9e406d37e01351357ea9d8c20d5097d66/xorg.conf.d.nouveau.conf
20:19 Lyude: luckily I just use wayland for most everything at this point
20:19 karolherbst: with that you can unload Nouveau with X running
20:20 karolherbst: with that I actually switch between Nvidia and Nouveau without restarting X on my laptop
21:39 karolherbst: hakzsam: ......... the download just failed two times now, because of silly reasons :/
21:39 karolherbst: twice around 600MB
22:05 Manoa: hi did you guys know that you win 10,000 internets ?
22:06 Manoa: I digged up my linux installation and updated everything, I didn't expect anything to work at all, but to my surprise all of my important games work very well
22:06 Manoa: almost as good as windows
22:07 Manoa: I have a couple questions, I have a kepler GK110B 780 Ti, I heard that it has some fancy memory compression feature, I was wondering if that is being used and I think in one of my games I am running out of video memory, I tried to use GALLIUM_HUD but it didn't have that graph in the help list
22:08 Manoa: reclockig works flawlessly
22:08 Manoa: it's a EVGA classified kingpin card
22:09 Manoa: is it possible that when it's out of video memory that it could cause texture corruption ?
22:10 Manoa: will video memory in wine use the same amount as video memory in nine ?
22:13 Manoa: I have a hardware monitoring sensors in the card, I noticed that when I used a ubuntu stock kernel in my slackware, but in my custom built kernel I don't have those sensors, do I need to include some i2c and smbus drivers to enable ?
22:19 librin: Manoa: the "texture corruption" You see is most likely caused by a x86 game running out of that very limited address space. As at least under Wine, last time I checked, textures, buffers and whatnot are in the same address space as the game's process, easily leading to address space exhaustion and because of it, problems ranging from texture issues to outright crashes.
22:21 Manoa: can I used huga pages to reduce pressure on the virtual address space ?
22:22 Manoa: yes that is the problem, I saw many times wine says out of memory
22:23 librin: there's little You can do with the 4GiB limitation
22:23 librin: of x86
22:23 Manoa: guess I will have to give all those fancy graphics mods :x
22:25 Manoa: and the sensors ? are they only exist on ubuntu kernel ? or can I enable them in the kernel config ? there are so many sensor drivers I don't know which one gives the diagnostic for the card :x
22:27 librin: Unless You can code a way to put the graphics part that's outside of the game's reach to a separate address space. Which is done on windows AFAIK and which nvidia's blob does. But when it comes to Wine, there's also the issue of the Wine's side of things, which would have to be separated... separately.
22:28 librin: why would sensors be only on ubuntu's kernel?
22:28 Manoa: I don't know :x they are there and but here
22:29 Manoa: I guess I didn't include those smbus i2c drivers in my compilation of the kernel
22:29 Manoa: but I don't know which they are so mybe I need to include all of them next time I build kernel
22:29 librin: what distro are You on right now?
22:29 Manoa: slackware 14.1
22:30 Manoa: my kernel is 4.11
22:30 Manoa: ubuntu kernel is 4.10
22:31 Manoa: from ubuntu 17
22:31 librin: You most likely need CONFIG_I2C, yes
22:31 Manoa: so this explain why I can run all those mods on windows but out of memory on wine, I had no idee that nvidea can do this
22:32 Manoa: but you know they don't do it very well, there is still a limit, I had the game crash on windows too
22:33 librin: a x86 game itself is still limited to 3GiB (yes, less than on Linux) of address space on Windows either way, so having enough mods can easily do that, yes
22:35 Manoa: is there a way to see video memory / gpu usage and similar besides GALLIUM_HUD ? for some reason these options don't show up when I say GALLIUM_HUD=help
22:36 Manoa: or is this not yet exist in nouveau ?
22:48 Manoa: another question, when I run a gl app with pp_jimenezmlaa envoronment I get an error saying pp: Failed to translate a shader for depth1fs, usually the app crash because of this, is this problem fixable ?
22:48 Manoa: I want this anti aliasing because it the best
22:49 Manoa: funny thing happens is when I enable MSAA on nine I get blurred rendering, but in wine I don't, I dont want to run wine because nine give performance, but on the other hand I want anti aliasing :x
22:51 Manoa: I also try to use shader mod to improve graphics but his SMAA anti aliasing also causing blurred rendering