Cinnamon crashes in dual monitor system

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
theghost

Cinnamon crashes in dual monitor system

Post by theghost »

Hello all,
sorry for my poor english.
here is my system config.
  • % inxi -Fxz
    System: Host: theghost-big Kernel: 3.13.0-37-generic x86_64 (64 bit, gcc: 4.8.2)
    Desktop: Gnome Distro: Linux Mint 17.1 Rebecca
    Machine: Mobo: ASUSTeK model: Rampage II Extreme version: Rev 2.xx Bios: American Megatrends version: 1914 date: 09/21/2010
    CPU: Quad core Intel Core i7 CPU 965 (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 25629.8
    Clock Speeds: 1: 1600.00 MHz 2: 1600.00 MHz 3: 1600.00 MHz 4: 1600.00 MHz 5: 1600.00 MHz 6: 1600.00 MHz 7: 1600.00 MHz 8: 1600.00 MHz
    Graphics: Card: NVIDIA GT200b [GeForce GTX 285] bus-ID: 02:00.0
    X.Org: 1.15.1 driver: nvidia Resolution: 1920x1200, 1920x1080
    GLX Renderer: GeForce GTX 285/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 331.113 Direct Rendering: Yes
    Audio: Card: Intel 82801JI (ICH10 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
    Sound: Advanced Linux Sound Architecture ver: k3.13.0-37-generic
    Network: Card-1: Marvell 88E8056 PCI-E Gigabit Ethernet Controller driver: sky2 ver: 1.30 port: b800 bus-ID: 04:00.0
    IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
    Card-2: Marvell 88E8056 PCI-E Gigabit Ethernet Controller driver: sky2 ver: 1.30 port: d800 bus-ID: 06:00.0
    IF: eth0 state: down mac: <filter>
    Drives: HDD Total Size: 7061.4GB (91.7% used) 1: id: /dev/sda model: SSD_Smartbuy_60G size: 60.0GB
    2: id: /dev/sdb model: ST3000DM001 size: 3000.6GB 3: id: /dev/sdg model: WDC_WD20EARS size: 2000.4GB
    4: id: /dev/sdh model: WDC_WD20EARS size: 2000.4GB
    Partition: ID: / size: 15G used: 6.3G (46%) fs: ext4 ID: /home size: 41G used: 31G (81%) fs: ext4
    RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
    Sensors: System Temperatures: cpu: 41.5C mobo: 38.0C gpu: 0.0:56C 0.1:56C
    Fan Speeds (in rpm): cpu: 896
    Info: Processes: 242 Uptime: 8 min Memory: 1207.7/12007.3MB Runlevel: 2 Gcc sys: 4.8.2 Client: Shell inxi: 1.8.4
I have Sony monitor connected to DVI-I-3 (xrandr gave this info), and Panasonic TV as DVI-I-2 (connected through dvi-hdmi adapter and hdmi selector)
So here is a trouble description.
If I set up with help of nvidia-settings the Panasonic TV as X display 1, cinnamon crashes right after login. If it is set up as well as Sony monitor as X screen 0 (it gives a combination to big virtual) - no crashes. And no crash if the TV is disconnected.
Here is step by-step.
After new install into clean / and clean /home (these are separate partitions), there happens strange boot when monitor (Sony) says it is 1920*1200@60hz, but the screen is black, only Ctrl-Alt-del works. So the only way to get to desktop is to run grub safe mode, and then to continue - in this case the system goes to software rendering with wrong 1280*720 res. From this mode I set the propietary 331-upodates nvidia driver, which is available from menu. After reboot the system is fine, logs in, and all is ok. But then:
2. standalone monitor is ok.
3. connecting the second one. rebooting.
4. at loging screen is 640х480. Ok, let me log in.
5. In display settings (Menu-parameters-display) uncheck the "mirror" - ok, we now see two monitors. Setting the resolutions - independently. Still all is fine. But one problem - X works with these two displays as with one big. And somewhy menu/taskbar/tray is shown at tv, not at monitor. And it is not possible to move it to monitor. So desktop with icons are "here", and menu button/taskbar and tray are "there".
6. Ok, started nvidia-settings. I see both devices,TV is dfp-0, and monitor is - dfp-1. That's why menu/taskbar/tray are there. Ok.
7. Both devices are set as X screen 0, setting up X screen 1 to TV. Apply. The notification opens, say, wait, please save xorg, then restart X. Saved xorg.conf at the place it should be.
8. Closed all. ctrl-alt-f1, login, type in terminal
  • sudo service mdm restart
9. Graphics start again, login screen (should note, there is one option for "login screeen" which could directly set the port of graphic card, to which the login screen will output. In my case it is DVI-I-3). Logging in. For a moment it gives a "normal" desktop picture, and then a window with "cinnamon crashed".
10. Decision - cinnamon should be set directly to start with X screen 0 it has the settings --display and --screen for this in command line options. The only question, WHERE, in which script is written it's start line. to add these options there.
11. When setting "login screen" it mentions about some xclient - which should be probably run after successfull login, but I can't locate it.
12. When TV is disconnected - after restart of mdm it logs in and works again without any problems. So cinnamon apparently does not like the presence of second X screen at start .

What I do wrong?

PS Also noticed, that in reserved mode of cinnamon the terminal icons disappear.
PPS cinnamon --replace --display=:0.1 say it already has window manager
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ohmysql

Re: Cinnamon crashes in dual monitor system

Post by ohmysql »

I think I've been having the same problem. I'm trying to figure it all out now.

When I load cinnamon, it goes blank for about 2 minutes, I only see the icons on the task bar and then it loads much later.

A couple things that have helped.

1.) I press Ctrl-Alt-F2 and login, then I do sudo apt-get install cinnamon --reinstall
2.) I reinstall sudo apt-get install xserver-xorg --reinstall and then do sudo dpkg-reconfigure xserver-xorg
3.) In start-up, I set many programs to start 14-20 seconds later. This helped a lot, it seemed to resolve whatever x issue is at stake here.
Locked

Return to “Cinnamon”