View previous topic :: View next topic |
Author |
Message |
grubber33 n00b
Joined: 27 Aug 2003 Posts: 62
|
Posted: Fri Jun 25, 2021 10:56 am Post subject: Cinnamon Crashes with Multiple Screens in Xorg |
|
|
Hi all,
Having an issue with Cinnamon using my Xorg configuration for two monitors on two GPUs (laptop, external monitor connected to dedicated graphics via HDMI). What happens is, the Xorg configuration works in terms of the ServerLayout being correct and being able to move my mouse across the screens. However, Cinnamon crashes due to a GDK complaint that it isn't finding the correct screen:
Code: | Cinnamon warning: Log level 8: gdk_display_get_screen: assertion 'screen_num == 0' failed
Cinnamon warning: Log level 8: gdk_screen_get_setting: assertion 'GDK_IS_SCREEN (screen)' failed
(cinnamon:3118): Gdk-ERROR **: 12:25:46.267: The program 'cinnamon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 637 error_code 8 request_code 7 (core protocol) minor_code 0)
Traceback (most recent call last):
File "/usr/bin/cinnamon-launcher", line 72, in <module>
os.execvp(FALLBACK_COMMAND, (FALLBACK_COMMAND,) + FALLBACK_ARGS)
File "/usr/lib/python3.9/os.py", line 574, in execvp
_execvpe(file, args)
File "/usr/lib/python3.9/os.py", line 616, in _execvpe
raise last_exc
File "/usr/lib/python3.9/os.py", line 607, in _execvpe
exec_func(fullname, *argrest)
FileNotFoundError: [Errno 2] No such file or directory
|
This is the Xorg conf that causes the issue but allows both monitors to work in extended mode with differing resolutions:
Code: | Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
EndSection
Section "Monitor"
Identifier "HDMI"
EndSection
Section "Monitor"
Identifier "EDP"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device0"
Monitor "HDMI"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device1"
Monitor "EDP"
EndSection
Section "Device"
Identifier "Device0"
Option "Monitor-HDMI-A-0" "HDMI"
Driver "amdgpu"
BusID "PCI:3:0:0"
EndSection
Section "Device"
Identifier "Device1"
Option "Monitor-eDP" "EDP"
Driver "amdgpu"
BusID "PCI:8:0:0"
EndSection
|
This is a configuration that allows only the HDMI monitor to work and doesn't crash Cinnamon:
Code: | Section "ServerLayout"
Identifier "Main Layout"
Screen 1 "Screen1"
EndSection
Section "Monitor"
Identifier "HDMI"
#Option "Primary" "true"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device0"
Monitor "HDMI"
EndSection
Section "Device"
Identifier "Device0"
Option "Monitor-HDMI-A-0" "HDMI"
Driver "amdgpu"
BusID "PCI:3:0:0"
EndSection |
I've tried changing screen numbers but nothing changes when both monitors are working. Any suggestions are appreciated! |
|
Back to top |
|
|
grubber33 n00b
Joined: 27 Aug 2003 Posts: 62
|
Posted: Fri Jun 25, 2021 11:06 am Post subject: |
|
|
Just checked Cinnamon's GitHub and it may be something even deeper than Cinnamon itself:
https://github.com/linuxmint/Cinnamon/issues/4276
I'll leave this open just in case anyone has solved this but it could be that what I'm trying to do just won't work. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|