LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   X won't start after upgrade (dri3,present modules missing) (https://www.linuxquestions.org/questions/arch-29/x-wont-start-after-upgrade-dri3-present-modules-missing-4175518326/)

kozaki 09-12-2014 03:18 AM

X won't start after upgrade (dri3,present modules missing)
 
X won't start on my Dell-Atom pancake after system update. this week (the first one in ~two weeks).

$ xinitrc {i3,openbox,enlightenment}
Code:

(EE) Server terminated with error (1).Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

$ startx
Code:

X connection to ':0' broken, unable to recover, exiting. (EE) Server terminated successfully (0). Closing log file.
Xorg.log.0 :
Code:

[51:778] (EE) intel: Failed to load module "dri3" (module does not exist, 0)
 [51:779] (EE) intel: Failed to load module "present" (module does not exist, 0)

~/.xinitrc
Code:

if [[ $1 == "openbox" ]]
    then
      exec openbox-session
elif [[ $1 == "enlightenment" ]]
    then
      exec enlightenment_start
elif [[ $1 == "i3" ]]
    then
      exec i3
else
  echo "Choose a window manager"
fi

$ lspci
Code:

00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
Happens after updating
- xf86-video-intel-v2.99.912-1 to v2.99.914+
- xorg-server-1.15.2-1 to 1.16.0-6 (and -devel).

Installed packages
- xf86-video-intel{-2.99.916-1.i686,git}
- intel-dri 10-2.7-3
- dri2proto 2.8-2
- dri3proto 1.0-1
- xf86driproto 2.1.1-3

Exact same issue with 2 kernels, and with {SNA,UXA} acceleration
- Linux 3.15.5-2-ARCH i686
- Linux CK Atom 3.16.2-1
xorg-server was updated along with a few packages yesterday Sept 12.

I was going to try downgrade xf86-video-intel to v2.99.912-1 (as in the first thread in Refs) but went in a dependency conflict, with the older intel driver requiring glamor-egl which conflicts with xorg-server ':-|

Refs:
- X start failure after upgrade; xf86-video-intel-2.99.914-1 fixes the problem https://bbs.archlinux.org/viewtopic.php?pid=1426837
- xf86-video-Intel-2.99.912-1 breaks xorg; SNA solves the problem https://bbs.archlinux.org/viewtopic.php?id=182932
- BroX had the same modules errors (on Slackware) but X started up without problems http://www.linuxquestions.org/questi...i3-4175511372/
According to this last reference and a few others I found, the lack of dri3 and present modules does not prevent X to start (or reinstalling Xorg solved the issue). But I found no other errors to help solve the issue :-/

Any light on where can the issue comes from? hardware is pretty much standard even if getting a bit old and I've had no Xorg related issue before on this Atom netbook.

kozaki 09-12-2014 09:31 AM

Solved.
Culprit was the old syntax in ~/.xinitrc : "if WM-1 [...] elif WM-2 [...] elif WM-N fi"
Replaced with that one from /etc/skel/.xinitrc, added my WM, and $ startx: solves the issue. Only difference I now have to manually edit ~/.xinitrc to shift from one WM to another.

X starting with root which have no ~/.xinitrc somehow lead me to check out /etc/skel/.xinitrc and try it in place of the older syntax I used in this file to launch X and DM.

kozaki 09-12-2014 02:49 PM

More precisely this line caused the error - I need it to allow other users to launch graphical apps:
Code:

xhost +local: &
No time left today to check it further.


All times are GMT -5. The time now is 03:52 AM.