You are not logged in.

#1 2017-01-12 22:00:27

luna_moonfang
Member
Registered: 2017-01-12
Posts: 1

Xorg crashing after changing xrandr settings

I have 2 monitors, a 1920x1080 monitor and a 3840x2160 monitor.
They are both connected to the on-board graphics (Intel HD Graphics 530).
For a while I've been trying to get scaling to work properly on only the 4k monitor.
While the solution I found works for the scaling, it seems to have introduced a new problem.
After a while when using Chromium, when nothing special seems to be happening, ie. not navigating away, no notifications, etc., the X server crashes.
The DM I'm using is GDM and the shell gnome-shell (GNOME on Xorg, not wayland).

After running these commands, the crash seems to happen after a random amount of time:
Note: The first one may not be relevant, but it's one of the commands i used for the scaling.

# luna @ Luna in ~ [22:55:50] 
$ gsettings set org.gnome.desktop.interface scaling-factor 2

# luna @ Luna in ~ [22:56:50]
$ xrandr --output HDMI3 --scale 2x2 --pos 0x0 --panning 3840x2160 --output DP1 --pos 3840x0

I also noticed that if I don't use `--panning 3840x2160 `, the X server crashes as soon as I start Chromium.

In the output of `sudo journalctl -x` I found the following messages:

Jan 12 22:34:55 Luna systemd[1]: Started Process Core Dump (PID 11374/UID 0).
-- Subject: Unit systemd-coredump@2-11374-0.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-coredump@2-11374-0.service has finished starting up.
-- 
-- The start-up result is done.
Jan 12 22:34:55 Luna org.a11y.atspi.Registry[1528]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jan 12 22:34:55 Luna org.a11y.atspi.Registry[1528]:       after 2399 requests (2399 known processed) with 0 events remaining.
Jan 12 22:34:55 Luna chromium.desktop[7943]: [7943:7943:0112/223455:ERROR:chrome_browser_main_extra_parts_x11.cc(62)] X IO error received (X server probably went away)
Jan 12 22:34:55 Luna unknown[7792]: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 12 22:34:55 Luna urxvt.desktop[7876]: urxvt: X connection to ':0' broken, unable to recover, exiting.
Jan 12 22:34:55 Luna gnome-session-binary[7738]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 12 22:34:55 Luna gnome-session[7738]: gnome-session-binary[7738]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 12 22:34:55 Luna gnome-session[7738]: gnome-session-binary[7738]: WARNING: App 'gnome-settings-daemon.desktop' exited with code 1
Jan 12 22:34:55 Luna gnome-session[7738]: gnome-session-binary[7738]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 12 22:34:55 Luna chromium.desktop[7943]: [8004:8004:0112/223455:ERROR:x11_util.cc(87)] X IO error received (X server probably went away)
Jan 12 22:34:55 Luna unknown[7762]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 12 22:34:55 Luna gnome-session-binary[7738]: WARNING: App 'gnome-settings-daemon.desktop' exited with code 1
Jan 12 22:34:55 Luna chromium.desktop[7943]: Received signal 11 SEGV_MAPERR 000000000968
Jan 12 22:34:55 Luna chromium.desktop[7943]: #0 0x5577730faf9e <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #1 0x5577730fb359 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #2 0x7f3791824080 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #3 0x7f37904093a3 XInternAtoms
Jan 12 22:34:55 Luna chromium.desktop[7943]: #4 0x557773835059 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #5 0x557773880715 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #6 0x5577738807c5 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #7 0x55777388490b <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #8 0x55777673f684 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #9 0x55777673f6d7 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #10 0x557774b7ef5c <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #11 0x557772d41c38 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #12 0x557772d3fe39 <unknown>
Jan 12 22:34:55 Luna chromium.desktop[7943]: #13 0x5577718bc98c ChromeMain
Jan 12 22:34:55 Luna chromium.desktop[7943]: #14 0x7f378709e291 __libc_start_main
Jan 12 22:34:55 Luna chromium.desktop[7943]: #15 0x5577718bc84a _start
Jan 12 22:34:55 Luna chromium.desktop[7943]:   r8: 00002e13119d3bb0  r9: 00002e13119d3c60 r10: fffffffd5444739a r11: 0000000000000246
Jan 12 22:34:55 Luna chromium.desktop[7943]:  r12: 00005577797f2b40 r13: 0000000000000000 r14: 0000000000000015 r15: 0000000000000000
Jan 12 22:34:55 Luna chromium.desktop[7943]:   di: 0000000000000000  si: 00005577797f2b40  bp: 0000000000000015  bx: 00002e13119d3bb0
Jan 12 22:34:55 Luna chromium.desktop[7943]:   dx: 0000000000000015  ax: 0000000000000000  cx: 0000000000000000  sp: 00007ffc5a4acff0
Jan 12 22:34:55 Luna chromium.desktop[7943]:   ip: 00007f37904093a3 efl: 0000000000010246 cgf: 002b000000000033 erf: 0000000000000004
Jan 12 22:34:55 Luna chromium.desktop[7943]:  trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000968
Jan 12 22:34:55 Luna chromium.desktop[7943]: [end of stack trace]
Jan 12 22:34:55 Luna gnome-settings-[1016]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Undefined_LG_Ultra_HD_410379_luna_1000
Jan 12 22:34:55 Luna gnome-session-binary[7738]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 12 22:34:55 Luna gnome-settings-[1016]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Undefined_27EA33_210NDXQ8U226_luna_1000
Jan 12 22:34:55 Luna gnome-session-binary[7738]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 12 22:34:55 Luna gnome-session-binary[7738]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 12 22:34:55 Luna polkitd[825]: Unregistered Authentication Agent for unix-session:c3 (system bus name :1.360, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jan 12 22:34:55 Luna gdm-password][7693]: pam_unix(gdm-password:session): session closed for user luna
Jan 12 22:34:55 Luna systemd-coredump[11375]: Process 7731 (Xorg) of user 1000 dumped core.
                                              
                                              Stack trace of thread 7736:
                                              #0  0x00007fd21dd2af24 n/a (intel_drv.so)
                                              #1  0x00000000004bb772 n/a (Xorg)
                                              #2  0x0000000000582d13 n/a (Xorg)
                                              #3  0x0000000000583b14 miPointerSetPosition (Xorg)
                                              #4  0x000000000044cece n/a (Xorg)
                                              #5  0x000000000044d6d3 n/a (Xorg)
                                              #6  0x000000000044ef7f GetPointerEvents (Xorg)
                                              #7  0x000000000044f530 QueuePointerEvents (Xorg)
                                              #8  0x00007fd218c763c5 n/a (libinput_drv.so)
                                              #9  0x00007fd218c76f90 n/a (libinput_drv.so)
                                              #10 0x0000000000599a8c n/a (Xorg)
                                              #11 0x000000000059c191 n/a (Xorg)
                                              #12 0x00000000005998e6 n/a (Xorg)
                                              #13 0x00007fd22289b454 start_thread (libpthread.so.0)
                                              #14 0x00007fd2225de7df __clone (libc.so.6)
                                              
                                              Stack trace of thread 7731:
                                              #0  0x00007fd2228a3f1c __lll_lock_wait (libpthread.so.0)
                                              #1  0x00007fd22289dbb6 pthread_mutex_lock (libpthread.so.0)
                                              #2  0x00000000005997d0 input_lock (Xorg)
                                              #3  0x00000000004bbc56 n/a (Xorg)
                                              #4  0x00000000004ba4c5 n/a (Xorg)
                                              #5  0x00000000005833ab miPointerUpdateSprite (Xorg)
                                              #6  0x00000000005835fa n/a (Xorg)
                                              #7  0x00000000004c8de1 n/a (Xorg)
                                              #8  0x0000000000515500 n/a (Xorg)
                                              #9  0x000000000043f6c8 n/a (Xorg)
                                              #10 0x0000000000440b07 WindowHasNewCursor (Xorg)
                                              #11 0x0000000000468860 ChangeWindowAttributes (Xorg)
                                              #12 0x00000000004305ed n/a (Xorg)
                                              #13 0x00000000004368d5 n/a (Xorg)
                                              #14 0x000000000043a858 n/a (Xorg)
                                              #15 0x00007fd222516291 __libc_start_main (libc.so.6)
                                              #16 0x000000000042453a _start (Xorg)
                                              
                                              Stack trace of thread 7733:
                                              #0  0x00007fd2228a110f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd21dd6e709 n/a (intel_drv.so)
                                              #2  0x00007fd22289b454 start_thread (libpthread.so.0)
                                              #3  0x00007fd2225de7df __clone (libc.so.6)
                                              
                                              Stack trace of thread 7734:
                                              #0  0x00007fd2228a110f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd21dd6e709 n/a (intel_drv.so)
                                              #2  0x00007fd22289b454 start_thread (libpthread.so.0)
                                              #3  0x00007fd2225de7df __clone (libc.so.6)
                                              
                                              Stack trace of thread 7732:
                                              #0  0x00007fd2228a110f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd21dd6e709 n/a (intel_drv.so)
                                              #2  0x00007fd22289b454 start_thread (libpthread.so.0)
                                              #3  0x00007fd2225de7df __clone (libc.so.6)
-- Subject: Process 7731 (Xorg) dumped core
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- 
-- Process 7731 (Xorg) crashed and dumped core.
-- 
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.
Jan 12 22:34:56 Luna systemd-logind[656]: Removed session c3.
-- Subject: Session c3 has been terminated
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
-- 
-- A session with the ID c3 has been terminated.

Last edited by luna_moonfang (2017-01-12 22:02:49)

Offline

Board footer

Powered by FluxBB