LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 11-13-2013, 02:41 PM   #1
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 55
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.
 
Old 11-18-2013, 09:26 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You should use wgetpaste and post the link to full Xorg log. Also, emerge --info output could be helpful.
 
Old 11-23-2013, 03:27 PM   #3
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
Ok, here is the latest xorg log http://bpaste.net/show/152456/
and here is emerge info http://bpaste.net/show/152457/
 
Old 11-24-2013, 07:41 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Simple things first, you did
Code:
emerge @x11-module-rebuild
?
 
Old 11-25-2013, 04:28 AM   #5
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
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.

Last edited by segmentation_fault; 11-25-2013 at 04:22 PM.
 
Old 11-25-2013, 06:01 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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?
 
Old 11-26-2013, 09:19 AM   #7
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
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.
 
Old 11-26-2013, 09:06 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Do you still have the same issue with USE="-glamor"
 
Old 11-27-2013, 06:03 AM   #9
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
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?

Last edited by segmentation_fault; 11-27-2013 at 10:14 AM.
 
Old 11-27-2013, 09:42 PM   #10
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
revdep-rebuild should tell if there is cruft left behind.
 
Old 11-28-2013, 02:16 AM   #11
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by Emerson View Post
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.
 
Old 12-02-2013, 10:51 AM   #12
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
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.
 
Old 12-04-2013, 07:01 PM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 12-07-2013, 11:49 AM   #14
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
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.
 
Old 12-07-2013, 12:07 PM   #15
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
Somehow it worked. I recompiled glibc, glib, xorg-server and xf86-video-intel in that order and worked again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
intel 945 xorg.conf help slayerking Linux - Newbie 4 07-01-2012 01:04 PM
xorg, intel i915 and compositing problem mpapet Linux - Desktop 2 03-05-2011 09:36 AM
Feisty + Intel i915 module on 915GEVL motherboard + Xorg = scrambled display devghai Ubuntu 4 08-31-2007 02:10 AM
Feisty + Intel i915 module on 915GEVL motherboard + Xorg = scrambled display devghai Ubuntu 2 08-25-2007 02:08 PM
Mandriva 2007 Intel ipw2200 wireless problem, and question on i915 and Xorg thunderweasel Mandriva 1 10-07-2006 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration