You are not logged in.

#1 2014-09-09 22:06:02

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 674
Website

[SOLVED]X start failure after upgrade: dri3,present modules missing

I start X with ~.xinitrc from console, which won"t work after last upgrade --first in two weeks.

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

Xorg.log.0 :

 [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)

Installed packages (EDIT: completed):
xf86-video-intel-2.99.{914-4,916-1}-i686 and also tried with xf86-video-intel-git, with "SNA" acceleration.
intel-dri 10-2.7-3
dri2proto 2.8-2
dri3proto 1.0-1
xf86driproto 2.1.1-3
Linux 3.15.5-2-ARCH i686
Linux CK Atom 3.16.2-1

Issue occurred after upgrading from v2.99.912-1 to v2.99.914+. 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 ':-|

Atom netbook
lspci:

00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller

Some refs :
    » [SOLVED] X start failure after upgrade    https://bbs.archlinux.org/viewtopic.php?pid=1426837
    » [Solved] xf86-video-Intel-2.99.912-1 breaks xorg https://bbs.archlinux.org/viewtopic.php?id=182932

Last edited by kozaki (2014-09-12 09:45:53)


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#2 2014-09-10 21:16:10

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 674
Website

Re: [SOLVED]X start failure after upgrade: dri3,present modules missing

I forgot to elaborate on the modules' error:

modprobe: FATAL: Module {dri3,present} not found

Updated post's title to reflect this.

That is with the two following kernels:
- Linux 3.15.5-2-ARCH i686
- Linux CK Atom 3.16.2-1
and the new version of intel driver:
- xf86-video-intel-2.99.916-1.i686

EDIT:
Last update of which kernels was done via chroot. Could it be linked to the modules' issue?
Reinstalling the kernel to check.
Update: errrr same missing modules ':-|

enlightenment and openbox both can't start with the same issue.
~/.xinitrc

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

Same issue with xf86-video-intel-git.

Last edited by kozaki (2014-09-10 21:58:36)


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#3 2014-09-11 11:03:26

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 674
Website

Re: [SOLVED]X start failure after upgrade: dri3,present modules missing

The issue occurred after upgrading from xf86-video-intel-v2.99.912-1 to v2.99.914+ and xorg-server-1.15.2-1 to 1.16.0-6 (and -devel).

same issue if:
- Switching accelaration method to "UXA" as per https://bugs.archlinux.org/task/40860
- Adding    Option "DRI" "False"

Digged a bit:

- same modules errors but appears to be a Gnome bug (X starts): https://bbs.archlinux.org/viewtopic.php?pid=1441716
- same modules errors but X starts up without problems http://www.linuxquestions.org/questions … 175511372/

makes me doubt if this issue is related to the modules not found. Which is the single indication I found so far x-/
Any light on where can the issue comes from? hardware is pretty much standard even if getting a bit old. Never had Xorg related issue so far on this pancake.

Last edited by kozaki (2014-09-11 11:05:42)


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#4 2014-09-12 09:45:17

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 674
Website

Re: [SOLVED]X start failure after upgrade: dri3,present modules missing

Solved.
Culprit was the old syntax in ~/.xinitrc.
Replacing it with that one in /etc/skel/.xinitrc and $ startx solves the issue.

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.

I didn't guess that syntax change from the news on new xorg-server 1.16. Could precise it, no?
xorg-server 1.16 is now available https://www.archlinux.org/news/xorg-ser … available/


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#5 2014-09-12 19:44:14

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 674
Website

Re: [SOLVED]X start failure after upgrade: dri3,present modules missing

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

xhost +local: &

No time left today to check it further.


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

Board footer

Powered by FluxBB