DRI3 suddenly stopped turning on at some point in the past 5 months
Submitted by jim..@..il.com
Assigned to Nouveau Project
Link to original bug (#105935)
Description
Created attachment 138667 kernel_log.txt
(The attached files are from when I was on kernel version 4.9.78-lts, but I've confirmed that this bug persists on non-LTS 4.12.12 as well as up to 4.14.31-lts.)
I have two GPUs a GT 740 on nouveau, and an AMD R9 Fury on amdgpu. Both cards are working fine, and both drivers seem to be working fine, other than this issue.
Problem: DRI3 won't activate, despite no logs that I know of ever spitting out an error message related to it, and despite nothing about my system changing since it last worked other than package versions. I'm not sure exactly when this problem started, because I haven't been playing video games on Linux as often lately (DRI_PRIME is what I need DRI3 for), but it most likely started within the last 5 months.
Steps to reproduce: I have no idea. This is why I'm stumped. The Xorg conf files are exactly what they should be and exactly what they were the last time this worked. Here are the packages I've tried downgrading to versions that I had when this worked, even all at the same time just in case: -linux{,-lts} (currently 4.14.31-lts) -xorg-server{,-common,-devel} (currently 1.19.6+13+gd0d1a694f) -xf86-input-libinput & libinput (currently 0.27.0 and 1.10.3, respectively) -{,lib32-}mesa (currently 17.3.7) -mesa-vdpau (also 17.3.7) -xf86-video-{nouveau,amdgpu} (currently 1.0.15 and 18.0.1, respectively) And my current version of libdrm is 2.4.91.
I found one other person with this problem, on reddit: https://www.reddit.com/r/VFIO/comments/7u8o50/dri3_and_dri_prime_randomly_stopped_working_in/dwx5vl2/?context=3 They're using a similar NVidia card to mine (GT 730), and the only way they've managed to fix this issue is by replacing it with an AMD card, leading me to suspect nouveau. I also made a report for Arch Linux, but it's pretty much the same report: https://bugs.archlinux.org/task/57564
I first noticed this problem about 2 months ago, but have spent all this time trying to figure out how to reproduce it before doing a bug report, even getting help from #nouveau (and trying to get help from #xorg-users and #xorg-devel, but the former was empty and the latter ignored me). I give up. I can't figure out how to reproduce it unless there are even more packages I can try downgrading that I haven't heard of.
Attachment 138667, "kernel_log.txt":
kernel_log.txt
Version: 17.3