LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   Issues with xorg-server and intel 945 (i915) (https://www.linuxquestions.org/questions/gentoo-87/issues-with-xorg-server-and-intel-945-i915-4175484476/)

segmentation_fault 11-13-2013 02:41 PM

Issues with xorg-server and intel 945 (i915)
 
After last saturday's update the x server doesn't start with the following errors:
Code:

$ grep EE /var/log/Xorg.0.log
[  243.583] Current Operating System: Linux tinyghost 3.12.0-gentoo #2 SMP Mon Nov 11 19:14:19 EET 2013 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  243.903] Initializing built-in extension MIT-SCREEN-SAVER
[  244.251] (EE) Failed to load /usr/lib/xorg/modules/libglamoregl.so: /usr/lib/libglamor.so.0: undefined symbol: fbCreatePixmap
[  244.251] (EE) Failed to load module "glamoregl" (loader failed, 7)
[  244.435] (EE) Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: /usr/lib/libglamor.so.0: undefined symbol: glamor_egl_make_current
[  244.435] (EE) Failed to load module "intel" (loader failed, 7)
[  244.448] (EE) Failed to load /usr/lib/xorg/modules/drivers/vesa_drv.so: /usr/lib/xorg/modules/drivers/vesa_drv.so: undefined symbol: shadowUpdatePacked
[  244.448] (EE) Failed to load module "vesa" (loader failed, 7)
[  244.449] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  244.450] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  244.450] (EE) No drivers available.
[  244.450] (EE)
[  244.453] (EE) no screens found(EE)
[  244.455] (EE)
[  244.460] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  244.461] (EE)

I have xorg-server-1.14.3-r2 and xf86-video-intel-2.99.905-r1 This also happens with r1 server and the last stable intel driver (2.21.15)
The kernel is 3.12.0 with KMS enabled. The use flags for the packages are:
Code:

$ eix xorg-server
[...]
    Installed versions:  1.14.3-r2(08:25:16 PM 11/13/2013)(nptl suid udev xorg xvfb -dmx -doc -ipv6 -kdrive -minimal -selinux -static-libs -tslib -xnest)

$ eix xf86-video-intel
[...]
    Installed versions:  2.99.905-r1(10:15:15 PM 11/13/2013)(dri glamor sna udev uxa -xvmc)

I added the glamor flag at intel driver to test if it made any difference. I am happy to provide any more info needed.
Thanks in advance.

Emerson 11-18-2013 09:26 PM

You should use wgetpaste and post the link to full Xorg log. Also, emerge --info output could be helpful.

segmentation_fault 11-23-2013 03:27 PM

Ok, here is the latest xorg log http://bpaste.net/show/152456/
and here is emerge info http://bpaste.net/show/152457/

Emerson 11-24-2013 07:41 PM

Simple things first, you did
Code:

emerge @x11-module-rebuild
?

segmentation_fault 11-25-2013 04:28 AM

Yes, I did that. And after changing kernel I did emerge xorg-server and then @x11-module-rebuild.
In the meantime kernel was upgraded to 3.12.1 , still no X.

Emerson 11-25-2013 06:01 PM

Alright, undefined symbols error pops up when kernel and display driver do not match. You sure you had your /boot mounted when you upgraded your kernel?

segmentation_fault 11-26-2013 09:19 AM

It's not on a separate partition, so it was mounted. I can confirm the running kernel with uname. This has happened before but it was resolved by dowgrading the intel driver. This time, however, I can't find a working combination.

Emerson 11-26-2013 09:06 PM

Do you still have the same issue with USE="-glamor"

segmentation_fault 11-27-2013 06:03 AM

I am trying now with -glamor and will post back.

EDIT:
Nope, still getting errors. Here is the latest xorg log http://bpaste.net/show/153490/
However, previously I got
Code:

Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: /usr/lib/libglamor.so.0: undefined symbol: glamor_egl_make_current
but now
Code:

Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: /usr/lib/xorg/modules/drivers/intel_drv.so: undefined symbol: vgaHWGetIndex
and on both cases
Code:

[  2144.323] (II) LoadModule: "glamoregl"
[  2144.323] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  2144.492] (EE) Failed to load /usr/lib/xorg/modules/libglamoregl.so: /usr/lib/libglamor.so.0: undefined symbol: fbCreatePixmap

Is it possible that there are some left-over files causing a conflict? Can I get rid of them somehow to try a clean install of intel module?

Emerson 11-27-2013 09:42 PM

revdep-rebuild should tell if there is cruft left behind.

segmentation_fault 11-28-2013 02:16 AM

Quote:

Originally Posted by Emerson (Post 5071770)
revdep-rebuild should tell if there is cruft left behind.

Revdep says it's ok. Also did depclean and then revdep again, just to be sure.

segmentation_fault 12-02-2013 10:51 AM

After yesterday's updates X works again. The working combination is
kernel 3.12.2
xorg-server 1.14.99.903
xf86-video-intel 2.99.906

I am marking this as 'solved', however I don't know what was wrong. Perhaps it is due to linux-headers update to 3.12 which was just now released even in ~arch.

Emerson 12-04-2013 07:01 PM

For sake of clarity, the only package that depends on linux-headers on a Gentoo system is glibc. Once glibc is rebuilt with new headers the upgrade will be imminent.

segmentation_fault 12-07-2013 11:49 AM

It's broken again, after upgrading to xorg-server-1.14.99.903-r1
Same errors on Xorg log. Even downgrading doesn't fix it. I think this time glib or glibc was also upgraded, I don't know if it is relevant. I tried rebuilding both of them and then xorg-server and modules, still no change. I also recompiled the kernel, deleted the matching /lib/modules/x.x.x and reinstalled them. I just can't figure out what is going wrong. I'm thinking about wiping the disk and start over again.

segmentation_fault 12-07-2013 12:07 PM

Somehow it worked. I recompiled glibc, glib, xorg-server and xf86-video-intel in that order and worked again.


All times are GMT -5. The time now is 05:56 AM.