02:25 EmeraldMoon: Hello, I keep getting this error with `nouveau` and I suspect that's the reason why my GUI appears extremely slow when I enable compositing.
02:25 EmeraldMoon: `nvc0_screen_create:953 - Error allocating PGRAPH context for 3D: -22`
02:26 EmeraldMoon: This is followed by libGL errors regarding failure to load nouveau and create dri screen
02:29 imirkin: EmeraldMoon: that means you're not getting any kind of accel
02:29 imirkin: which GPU do you have?
02:29 imirkin: lspci -nn -d 10de:
02:29 EmeraldMoon: I have 1080
02:29 imirkin: GP104 or whatever, right?
02:30 EmeraldMoon: Correct, yes GP104
02:30 imirkin: you need to ensure you have the appropriate firmware available at nouveau module load time
02:30 imirkin: it's distributed as part of linux-firmware
02:31 imirkin: you should be seeing some complaints about it missign in dmesg
02:31 imirkin: (or there's a different issue, either way dmesg should prove instructive)
02:31 EmeraldMoon: Thanks. I have tried running `dnf install linux-firmware` and Fedora reports that the package is already installed
02:31 EmeraldMoon: Let me paste the errors I see in dmesg
02:34 imirkin: probably just grab the whole dmesg
02:35 EmeraldMoon: Actually I don't see any errors on dmesg ...
02:36 imirkin: can you pastebin it?
02:36 EmeraldMoon: Here is a `grep nouveau` on it
02:36 EmeraldMoon: Uploaded file: https://uploads.kiwiirc.com/files/2ce1908151d6f1156368ca190a95caf3/pasted.txt
02:36 imirkin: you have 2 of them?
02:37 EmeraldMoon: Right, I have two in an SLI configuration
02:37 imirkin: pastebin xorg log
02:37 EmeraldMoon: Okay, one sec
02:40 EmeraldMoon: imirkin https://pastebin.com/XC2BtHfT
02:42 imirkin: [ 72.501] (EE) AIGLX error: Calling driver entry point failed
02:42 imirkin: "something is messed up"
02:42 EmeraldMoon: Hmm ...
02:42 EmeraldMoon: But I see a lot of nouveau modelines so I thought it was loaded fine
02:43 imirkin: yeah, i think the X thing is working fine
02:43 imirkin: it's just GL
02:43 EmeraldMoon: I see
02:43 imirkin: there's also some confusiong about which GPU is primary, perhaps not helping matters?
02:43 EmeraldMoon: Also, I have two monitors and I only get this issue when one of them is rotated
02:43 imirkin: according to xorg, it's 1:0:0
02:43 imirkin: while according to your dmesg, it's 2:0:0
02:44 imirkin: actually nevermind
02:44 imirkin: your dmesg also says it's 1:0:0
02:44 EmeraldMoon: Right
02:45 EmeraldMoon: I am not sure why accel works fine when both monitors are unrotated
02:45 imirkin: fun.
02:45 imirkin: module version = 1.0.15
02:45 imirkin: please grab 1.0.16
02:45 imirkin: i fixed some rotate-specific issues
02:46 imirkin: xf86-video-nouveau 1.0.16 that is
02:46 EmeraldMoon: Thanks! I will try it
02:47 imirkin: specifically https://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=fb2d4d27837ebf3ae2fdcf091495f52d2ad8c822
02:47 imirkin: however iirc that wouldn't necessarily cause the issues you're seeing
02:48 EmeraldMoon: I see, thanks. Let me try it, reboot and see if it helps
02:48 imirkin: don't necessarily have to reboot, just restart X
02:50 imirkin: fwiw i have 2x rotated monitors with nouveau + GP107 + xorg 1.20, works fine
02:50 imirkin: er, make that GP108
02:51 imirkin: GP107 is too high-end for me...
03:12 imirkin: EmeraldMoon: oh, also you need a semi-recent mesa -- pascal support hasn't existed since the dawn of time
03:13 imirkin: looks like mesa 17.2 should be enough though
17:23 Lyude: skeggsb: if you're around, why exactly do we need the "dirty hack" for OR depth handling in headc57d_or()? Is there some sort of evo method we don't program yet that's required?
17:48 mooch2: Lyude, did they get back to you yet?
17:48 Lyude: mooch2: planning on sending them an email sometime this week (my phone is actually currently bugging me about this). Sorry, I've been bogged down by some RHEL stuff
17:49 mooch2: ah, thanks
17:49 mooch2: it's okay!
21:21 mattst88: imirkin: what level of support should I expect for a GTX 760 with nouveau?
21:36 imirkin_: mattst88: ignoring the usual shittiness (e.g. multithreading fail), it should be pretty good -- GL 4.3 + all exts up to GL 4.5 (and most of GL 4.6 ones), bindless, video decode accel
21:36 imirkin_: working DP 1.2
21:37 imirkin_: mattst88: is there something in particular you're looking for?
21:38 imirkin_: and i think we're 1 CTS test short of perfection on GL-CTS
21:38 imirkin_: (stupid MSAA depth blits... i hate them all so much)
21:39 imirkin_: (either you want MSAA, or you want depth ... you should only be able to pick one :) )
21:40 mattst88: imirkin_: heh, just wanting to run the two dual-link DVI monitors with a graphics card I found :)
21:40 mattst88: so, stability and enough acceleration to run gnome-shell is pretty good
21:44 imirkin_: i can't vouch for gnome-shell, but there's one way to find out!
21:44 imirkin_: dual-link dvi should be supported fine, assuming it has actual DVI connectors on the board (many boards of that era had a DVI-I and DVI-D, so you should be fine)
21:45 imirkin_: the GTX 760 should also support reclocking, so playing games should be achievable as well
21:47 imirkin_: in case you're reading about support levels, GTX 760 is in the Kepler generation, which is one of the better supported ones
21:50 mattst88: yeah, this has DVI-I and DVI-D and I'm having a difficult time finding confirmation that they're both dual-link capable
21:53 imirkin_: i've never heard of a kepler that wasn't
21:53 imirkin_: that said, the VBIOS does have a bit for it
21:53 imirkin_: so it's possible
21:55 mattst88: okay, I'll just give it a try
21:59 imirkin_: basically everything G80+ should be dual-link
21:59 imirkin_: it's possible that some very shit boards, esp in laptops, didn't have it
22:00 imirkin_: i was shocked when i found out that intel didn't support dual-link
22:01 mattst88: imirkin_: don't be shocked. evidently the skl/kbl board I'm going to install it in only has single-link DVI
22:04 imirkin_: no intel chips have support for dual-link afaik
22:04 imirkin_: which is why i was so surprised
22:04 imirkin_: maybe the gen11/gen12 stuff, i dunno, but nothing before that
22:05 imirkin_: it was just surprising since nvidia has had it since the dawn of time, basically
22:05 imirkin_: and i assume amd as well
22:06 kherbst: what surprised me with intel as well, that on my hsw, the HDMI port isn't a GPU port, but just a DP -> HDMI adapter... and I've got told that's not that uncommon
22:06 imirkin_: became a lot more common with HDMI 2.0
22:06 imirkin_: intel laptops shipping with HDMI 2.0 support are just DP -> HDMI 2.0 active adapters inside
22:07 imirkin_: (again, perhaps that's no longer the case on the very latest hw)
22:07 karolherbst: somebody even told me that intel GPUs don't support HDMI natively.. but no idea if that's true
22:07 karolherbst: it would have weird implications for HDCP.. I mean, already the active adapter case has
22:10 imirkin_: there's some LSPCON nonsense, never fully figured out what that meant
22:33 imirkin_: mattst88: btw - if you're *buying* a GPU for this, strongly recommend AMD over NVIDIA...
22:33 imirkin_: if you just have it laying in a pile, of course, beggars can't be choosers
22:34 mattst88: imirkin_: yeah, I'm just picking up something from the pile :)