-
Notifications
You must be signed in to change notification settings - Fork 80
Description
On my main machine (dual head setup) I cannot run Workspace anymore. It crashes with this error:
X Error of failed request: BadRRCrtc (invalid Crtc parameter)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 23 (RRGetCrtcGamma)
Crtc id in failed request: 0x0
Serial number of failed request: 410
Current serial number in output stream: 410
[Inferior 1 (process 25019) exited with code 01]
On my machine only DP-4 and DP-6 are connected (probably caused by a lot of switching back and forth between the HDMI and DisplayPorts while struggling with my NVidia graphics adapter and the Linux drivers):
xrandr --verbose | awk '
/^[A-Z0-9-]+ (connected|disconnected)/ { out=$1; state=$2 }
/^\s*CRTC:\s*/ { print out, state, $0 }
'
DP-4 connected CRTC: 0
DP-6 connected CRTC: 1
If I interpret the error message correctly, the failing call is in in OSEDisplay.m (542). After a bit of digging and asking Chat GPT this here seems to be the problem: XRRGetCrtcGamma() doesn't like to be called with CRTC of value None which happens in a case like mine where there are several disconnected displays. Maybe it tolerated this in earlier Fedora versions, but on my Fedora 43 box it does not. I haven't found any workaround for this yet. I hope this makes sense, I am utterly unfamiliar with the X11 APIs.