I can try to do the reverse prime config plus the DRI3 Disable, but I am not sure if it conflicts with the config file generated by optimus. It seems that this problem primarily appears in hybrid graphics mode, so it must be something to do with the way it handles them.
]]>Are there any downsides to using the nvidia card besides power drain?
Hardly. You've the nvidia GPU powered on anyway when using the external output (since it needs to act as a crtc hop for the intel chip)
For now, sidestepping reverse prime seems the only way to avoid the bug.
You did add the
Option "UseHotplugEvents" "False"
to the reverse prime configlet, did you? And along LIBGL_DRI3_DISABLE=true the server still hogged an entire core?
]]>EDIT:
Of course, it would be nice if there was a way to configure the "hybrid" prime mode. So if anyone knows how to do this, please add to the thread
optimus-manger will do that, but requires to restart the X11 server.
You could still try whether https://wiki.archlinux.org/title/PRIME#Reverse_PRIME along the hotplug options works as well.
I am not quite sure how any of this works so sorry if my suggestions appear to be ignorant.
]]>Please post an xorg log from a running server (after a couple of minutes) see we can see whether and which output gets redetected constanly.
Sure.
]]>Let's come back to
The monitor gets detected over and over again, please check/replace cable.
True?
Please post an xorg log from a running server (after a couple of minutes) see we can see whether and which output gets redetected constanly.
]]>https://pastebin.com/76bE8ZGw -- Nvidia config, direct copy of what you pasted
https://pastebin.com/BHZN22BG -- the Xorg log
Although, I have to note. I have no idea whether it "failed" or not. All I know is that it got stuck on the systemd screen and nothing would help it.
]]>https://wiki.archlinux.org/title/Xorg#Using_.conf_files
/etc/X11/xorg.conf.d/20-nvidia.confSection "Device" Identifier "Default nvidia Device" Driver "nvidia" Option "CoolBits" "24" Option "TripleBuffer" "True" Option "UseHotplugEvents" "False" EndSection
When I create the file within the quotes that you sent, the system fails to boot into X11. Just to test whether the Options might be causing it, I commented all of the Option parts out. Still, it fails to boot completely, so this appears to be a problem with the Driver section or mayhaps even the file itself. Removing the entire file allows the system to boot again.
EDIT:
My a laptop has two GPUs, an intel one and an Nvidia one. Despite reading the wiki I remain somewhat confused as to how configure (or if manual configuration is required at all) these graphics cards.
Section "Device"
Identifier "Default nvidia Device"
Driver "nvidia"
Option "CoolBits" "24"
Option "TripleBuffer" "True"
Option "UseHotplugEvents" "False"
EndSection
The monitor gets detected over and over again, please check/replace cable.
True?
=> Try to use
Option "UseHotplugEvents" "False"
Where do I put that option?
]]>