[ 3486.059343] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.072668] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.099312] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.112654] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.125981] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.139313] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.152640] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.165969] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.179299] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
[ 3486.192627] [drm:nvidia_drm_gem_fence_attach [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000
I’ve a dual head configuration; right monitor is attached to nvidia card, left monitor is attached to intel connector, and i use “reverse prime” with prime sync enabled.
To reproduce:
i start borderlands 2 on the rightmost monitor
while it runs, i hit an hotkey that switch forcefullcompositionpipeline on/off
Xorg crashes
I relog to plasma session
Log is flooded by those messages.
Disabling the leftmost screen temporally fixes it, as soon as i activate the flood restarts.
As above, disabling “PRIME Synchronization” temporally fixes it, as soon as i enable it, flood continues.
I was able to reproduce even without running any game, but just from the plasma desktop (opengl compositor running anyway).
This time i tried with new xorg server: 1.19.5
As a side note, and that surprised me, removing nvidia,nvidia_modeset,nvidia_drm modules and reprobing them does NOT fix it,it seems the only way is to reboot the machine.
For reference, the script i use to switch forcefullcompotitingpipeline is:
thanks for your quick answer and arch link! I am struggling with those error messages since several months!
Unfortunately I have to use 390.144 drivers.
I always get those messages after second resume from sleep (no hibernation, no swap). Do you have any clue what this is about? Or where I should look at? Source Code? Google says you are the only expert on this.
Sorry, but i don’t have a solution for your issue.
I hope a developer would finally steps in with an answer, but i wouldn’t hold my breath, you know.
I didnt expect a solution of course! I will try “reverse PRIME”. maybe thats a promising direction. If you recall any further useful ideas I appreciate it very much! Thank you!
Reverse prime is what gave troubles to me, if you read the first post.
Prime offloading is what workarounded them, but i don’t know if it is available for the drivers you use.
exactly! I think this find of yours is interesting!
In my sddm/scripts/Xsetup I also do perform something like
for next in $(xrandr --listmonitors | grep -E " [0-9]+:." | cut -d" " -f6); do
[ -z “$current” ] && current=$next && continue
xrandr --output $current --auto --output $next --auto --right-of $current
current=$next
done
to layout several screens next to each other at login. Probably sddm also runs the Xsetup on every resume, and there for xrand is run at every resume and causes Xorg to crash!
Now, reversing PRIME was just a guess, one thing I didnt try yet.
Missing EDID
Did you also experience those countless warnings about missing EDID for CRT-0/VGA-0 ?
I thought about adding an edid file to initramfs to solve this at early boot time.