You are not logged in.
Pages: 1
I'm using xfce with a motherboard that has integrated Intel graphics and a PCI-E Radeon card. I use the Intel output as the main display and the Radeon as a second, not mirrored. In XUbuntu 18.04 I used to put x.conf files in /usr/share/X11/xorg.conf.d to configure these cards for accelerated graphics and no screen tearing. Now, in XUbuntu 19.04, I can't get past lightdm with this setup. Everytime I try it crashes and ends up back at lightdm's screen. If I remove the x.conf files I can login, but there is screen tearing and I'm assuming there isn't acceleration. I need acceleration, however. Can anyone help me though this?
I even installed a nightly build of Ubuntu, then installed the xubuntu-desktop metapackage, and still the same problem.
Here is the .xsession-errors file output:
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/username/.Xauthority
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting CLUTTER_BACKEND=x11
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting DESKTOP_SESSION=xubuntu
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting PWD=/home/username
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=xubuntu
dbus-update-activation-environment: setting LOGNAME=username
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting XAUTHORITY=/home/username/.Xauthority
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/username
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting HOME=/home/username
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=XFCE
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting XDG_SESSION_CLASS=user
dbus-update-activation-environment: setting GTK_OVERLAY_SCROLLING=0
dbus-update-activation-environment: setting USER=username
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/xfce4:/usr/share/xubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting GDMSESSION=xubuntu
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
(xfce4-session:879): xfce4-session-WARNING **: 10:37:43.356: xfsm_manager_load_session: Something wrong with /home/username/.cache/sessions/xfce4-session-19-10:0, Does it exist? Permissions issue?
Gdk-Message: 10:37:45.081: xfce4-panel: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 10:37:45.081: xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 10:37:45.081: xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 10:37:45.087: xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Here is my intel x.conf file:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
Here is my radeon x.conf file:
Section "Module"
Load "radeon"
EndSection
Section "Device"
Identifier "Radeon Graphics"
Driver "radeon"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "TearFree" "on"
EndSection
I can post other logs too if needed.
Last edited by dr_light (2019-08-21 16:01:20)
Offline
I also found this in the /var/log/Xorg.0.log file:
[ 16.275] (EE)
[ 16.275] (EE) Backtrace:
[ 16.276] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x56371261e889]
[ 16.277] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7f29b53e188f]
[ 16.277] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 16.277] (EE) 2: /usr/lib/xorg/modules/drivers/intel_drv.so (?+0x0) [0x7f29b4793050]
[ 16.278] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 16.278] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (?+0x0) [0x7f29b47a9c60]
[ 16.278] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 16.278] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (?+0x0) [0x7f29b47ab250]
[ 16.278] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 16.278] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (?+0x0) [0x7f29b47cb3d0]
[ 16.278] (EE) 6: /usr/lib/xorg/Xorg (BlockHandler+0x40) [0x5637124c4300]
[ 16.278] (EE) 7: /usr/lib/xorg/Xorg (WaitForSomething+0xd9) [0x5637126180b9]
[ 16.279] (EE) 8: /usr/lib/xorg/Xorg (SendErrorToClient+0x10c) [0x5637124bf7ac]
[ 16.279] (EE) 9: /usr/lib/xorg/Xorg (InitFonts+0x3b6) [0x5637124c39c6]
[ 16.279] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf3) [0x7f29b5201ea3]
[ 16.279] (EE) 11: /usr/lib/xorg/Xorg (_start+0x2a) [0x5637124ad67a]
[ 16.279] (EE)
[ 16.279] (EE) Segmentation fault at address 0x0
[ 16.279] (EE)
Fatal server error:
[ 16.279] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 16.279] (EE)
[ 16.279] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 16.279] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 16.280] (EE)
Offline
And this in journalctrl, though I have no idea if it's relevant:
Aug 21 10:37:46 jjp-19-10 lightdm[1123]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Aug 21 10:37:46 jjp-19-10 lightdm[1123]: PAM adding faulty module: pam_kwallet.so
Aug 21 10:37:46 jjp-19-10 lightdm[1123]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Aug 21 10:37:46 jjp-19-10 lightdm[1123]: PAM adding faulty module: pam_kwallet5.so
Offline
Hello and welcome.
(EE) unw_get_proc_name failed: no unwind info found [-10]
If you search google for this string you'll find many bug reports - many seem to be geared towards the mesa package. This looks like an issue between the graphics card driver and the mesa package.
If I remove the x.conf files I can login,
Compare the Xorg.0.log files between the two different setups to see what differences there are between the drivers being loaded and used.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you for the help, ToZ. I will do some research on the bug reports.
I diffed the X logs and it appears on a successful start that it loads the ati module instead of the intel. I'm guessing that means it's mistaking the integrated intel graphics for ati? On a crash it is trying to load the intel and radeon.
Here is that section from the successful start:
[ 10.030] (II) LoadModule: "glx"
[ 10.032] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10.045] (II) Module glx: vendor="X.Org Foundation"
[ 10.045] compiled for 1.20.4, module version = 1.0.0
[ 10.045] ABI class: X.Org Server Extension, version 10.0
[ 10.045] (==) Matched ati as autoconfigured driver 0
[ 10.045] (==) Matched modesetting as autoconfigured driver 1
[ 10.045] (==) Matched fbdev as autoconfigured driver 2
[ 10.045] (==) Matched vesa as autoconfigured driver 3
[ 10.045] (==) Assigned the driver to the xf86ConfigLayout
[ 10.045] (II) LoadModule: "ati"
[ 10.045] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 10.046] (II) Module ati: vendor="X.Org Foundation"
[ 10.046] compiled for 1.20.4, module version = 19.0.1
[ 10.046] Module class: X.Org Video Driver
[ 10.046] ABI class: X.Org Video Driver, version 24.0
[ 10.077] (II) LoadModule: "radeon"
[ 10.077] (II) Loading /usr/lib/xorg/modules/drivers/nradeon_drv.so
[ 10.105] (II) Module radeon: vendor="X.Org Foundation"
[ 10.105] compiled for 1.20.4, module version = 19.0.1
[ 10.105] Module class: X.Org Video Driver
[ 10.105] ABI class: X.Org Video Driver, version 24.0
[ 10.105] (II) LoadModule: "modesetting"
[ 10.105] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 10.107] (II) Module modesetting: vendor="X.Org Foundation"
[ 10.107] compiled for 1.20.4, module version = 1.20.4
[ 10.107] Module class: X.Org Video Driver
[ 10.107] ABI class: X.Org Video Driver, version 24.0
[ 10.107] (II) LoadModule: "fbdev"
[ 10.107] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 10.108] (II) Module fbdev: vendor="X.Org Foundation"
[ 10.108] compiled for 1.20.1, module version = 0.5.0
[ 10.108] Module class: X.Org Video Driver
[ 10.108] ABI class: X.Org Video Driver, version 24.0
[ 10.108] (II) LoadModule: "vesa"
[ 10.108] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 10.109] (II) Module vesa: vendor="X.Org Foundation"
[ 10.109] compiled for 1.20.4, module version = 2.4.0
[ 10.109] Module class: X.Org Video Driver
[ 10.109] ABI class: X.Org Video Driver, version 24.0
[ 10.109] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
and here is from the crash:
[ 17.575] (II) "glx" will be loaded by default.
[ 17.575] (II) LoadModule: "radeon"
[ 17.575] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[ 17.575] (II) Module radeon: vendor="X.Org Foundation"
[ 17.575] compiled for 1.20.4, module version = 19.0.1
[ 17.575] Module class: X.Org Video Driver
[ 17.575] ABI class: X.Org Video Driver, version 24.0
[ 17.575] (II) LoadModule: "glx"
[ 17.575] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 17.576] (II) Module glx: vendor="X.Org Foundation"
[ 17.576] compiled for 1.20.4, module version = 1.0.0
[ 17.576] ABI class: X.Org Server Extension, version 10.0
[ 17.576] (II) LoadModule: "intel"
[ 17.576] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 17.577] (II) Module intel: vendor="X.Org Foundation"
[ 17.577] compiled for 1.20.4, module version = 2.99.917
[ 17.577] Module class: X.Org Video Driver
[ 17.577] ABI class: X.Org Video Driver, version 24.0
[ 17.577] (II) LoadModule: "radeon"
[ 17.577] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[ 17.577] (II) Module radeon: vendor="X.Org Foundation"
[ 17.577] compiled for 1.20.4, module version = 19.0.1
[ 17.577] Module class: X.Org Video Driver
[ 17.577] ABI class: X.Org Video Driver, version 24.0
[ 17.577] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
Last edited by dr_light (2019-08-21 18:27:00)
Offline
Is yours a fresh install, or did your desktop work until recently?
I mean, exactly the same problem happened to me (Arch Linux 32bit) a week ago. – It appeared this had nothing to do with lightdm, which I disabled and tried to start X from tty, without success. And this was because only parts of the xfce4 package group got updated at that time. Meanwhile it’s complete, and so far all components of XFCE are working like a charm again.
Maybe this is the similar case to you, or some drivers or deps you use also need an update. So you could use a light spare WM for not being completely without X until your XFCE issue gets fixed by your distro.
Last edited by cy (2019-08-26 18:46:23)
Offline
It's on a fresh install. I haven't tried starting it from the command line yet, maybe that will show me something.
Offline
I don’t know how you currently gain access to your Xubuntu.
However, be sure to login on a tty for now. For this you need to stop and disable lightdm (in a terminal):
systemctl --user stop lightdm
systemctl --user disable lightdm
When your problems are resolved you can start and enable lightdm again just the same way.
Then you need to create the file ~/.xinitrc; if you already got one, move that to another name or place first. In your (fresh) ~/.xinitrc, include the (final) line
startxfce4
with an editor. Save and exit the file, then execute
startx
and see what happens.
Offline
Thanks, cy. I'll try that.
Offline
Pages: 1
[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 603.95 KiB (Peak: 620.79 KiB) ]