Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't start X after upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1340

PostPosted: Wed Dec 12, 2012 12:04 am    Post subject: can't start X after upgrade Reply with quote

I recently upgraded to the newest stable xorg-server and some of its components (yest, the drivers were rebuilt AFTER the xorg-server upgrade).

Now, attempting to start X just brings up a rapidly flickering screen with random colors.

I don't really know what is happening or why.

Here is a diff of the logs - the first one is the old (working) version:

Code:

# diff Xorg.0.log.old Xorg.0.log
1,2c1,2
< X.Org X Server 1.12.2
< Release Date: 2012-05-29
---
> X.Org X Server 1.13.0
> Release Date: 2012-09-05
4c4
< Build Operating System: Linux 3.2.12-gentoo i686 Gentoo
---
> Build Operating System: Linux 3.3.8-gentoo i686 Gentoo
7c7
< Build Date: 18 July 2012  09:52:34AM
---
> Build Date: 04 December 2012  08:33:27AM
9c9
< Current version of pixman: 0.26.0
---
> Current version of pixman: 0.28.0
15c15
< (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec  2 12:07:12 2012
---
> (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 11 20:44:14 2012
24a25
> (==) Automatically adding GPU devices
42c43
< (II) Loader magic: 0x81e8580
---
> (II) Loader magic: 0x8219620
45,47c46,49
<       X.Org Video Driver: 12.0
<       X.Org XInput driver : 16.0
<       X.Org Server Extension : 6.0
---
>       X.Org Video Driver: 13.0
>       X.Org XInput driver : 18.0
>       X.Org Server Extension : 7.0
> (II) config/udev: Adding drm device (/dev/dri/card0)
51,70c53,78
< (II) LoadModule: "extmod"
< (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
< (II) Module extmod: vendor="X.Org Foundation"
<       compiled for 1.12.2, module version = 1.0.0
<       Module class: X.Org Server Extension
<       ABI class: X.Org Server Extension, version 6.0
< (II) Loading extension MIT-SCREEN-SAVER
< (II) Loading extension XFree86-VidModeExtension
< (II) Loading extension XFree86-DGA
< (II) Loading extension DPMS
< (II) Loading extension XVideo
< (II) Loading extension XVideo-MotionCompensation
< (II) Loading extension X-Resource
< (II) LoadModule: "dbe"
< (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
< (II) Module dbe: vendor="X.Org Foundation"
<       compiled for 1.12.2, module version = 1.0.0
<       Module class: X.Org Server Extension
<       ABI class: X.Org Server Extension, version 6.0
< (II) Loading extension DOUBLE-BUFFER
---
> Initializing built-in extension Generic Event Extension
> Initializing built-in extension SHAPE
> Initializing built-in extension MIT-SHM
> Initializing built-in extension XInputExtension
> Initializing built-in extension XTEST
> Initializing built-in extension BIG-REQUESTS
> Initializing built-in extension SYNC
> Initializing built-in extension XKEYBOARD
> Initializing built-in extension XC-MISC
> Initializing built-in extension XINERAMA
> Initializing built-in extension XFIXES
> Initializing built-in extension RENDER
> Initializing built-in extension RANDR
> Initializing built-in extension COMPOSITE
> Initializing built-in extension DAMAGE
> Initializing built-in extension MIT-SCREEN-SAVER
> Initializing built-in extension DOUBLE-BUFFER
> Initializing built-in extension RECORD
> Initializing built-in extension DPMS
> Initializing built-in extension X-Resource
> Initializing built-in extension XVideo
> Initializing built-in extension XVideo-MotionCompensation
> Initializing built-in extension XFree86-VidModeExtension
> Initializing built-in extension XFree86-DGA
> Initializing built-in extension XFree86-DRI
> Initializing built-in extension DRI2
74,75c82,83
<       compiled for 1.12.2, module version = 1.0.0
<       ABI class: X.Org Server Extension, version 6.0
---
>       compiled for 1.13.0, module version = 1.0.0
>       ABI class: X.Org Server Extension, version 7.0
77,96c85
< (II) Loading extension GLX
< (II) LoadModule: "record"
< (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
< (II) Module record: vendor="X.Org Foundation"
<       compiled for 1.12.2, module version = 1.13.0
<       Module class: X.Org Server Extension
<       ABI class: X.Org Server Extension, version 6.0
< (II) Loading extension RECORD
< (II) LoadModule: "dri"
< (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
< (II) Module dri: vendor="X.Org Foundation"
<       compiled for 1.12.2, module version = 1.0.0
<       ABI class: X.Org Server Extension, version 6.0
< (II) Loading extension XFree86-DRI
< (II) LoadModule: "dri2"
< (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
< (II) Module dri2: vendor="X.Org Foundation"
<       compiled for 1.12.2, module version = 1.2.0
<       ABI class: X.Org Server Extension, version 6.0
< (II) Loading extension DRI2
---
> Loading extension GLX
98,99c87,90
< (==) Matched vesa as autoconfigured driver 1
< (==) Matched fbdev as autoconfigured driver 2
---
> (==) Matched intel as autoconfigured driver 1
> (==) Matched vesa as autoconfigured driver 2
> (==) Matched modesetting as autoconfigured driver 3
> (==) Matched fbdev as autoconfigured driver 4
104c95
<       compiled for 1.12.2, module version = 2.19.0
---
>       compiled for 1.13.0, module version = 2.20.13
106c97
<       ABI class: X.Org Video Driver, version 12.0
---
>       ABI class: X.Org Video Driver, version 13.0
111a103,107
> (II) LoadModule: "modesetting"
> (WW) Warning, couldn't open module modesetting
> (II) UnloadModule: "modesetting"
> (II) Unloading modesetting
> (EE) Failed to load module "modesetting" (module does not exist, 0)
127c123,140
<       Ivybridge Server (GT2)
---
>       Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
>       Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
>       Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
>       Haswell Server (GT2+), Haswell SDV Desktop (GT1),
>       Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
>       Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
>       Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
>       Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
>       Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
>       Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
>       Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
>       Haswell ULT Server (GT1), Haswell ULT Server (GT2),
>       Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
>       Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
>       Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
>       Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
>       Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
>       ValleyView PO board
130,136c143
< drmOpenDevice: node name is /dev/dri/card0
< drmOpenDevice: open result is 8, (OK)
< drmOpenByBusid: Searching for BusID pci:0000:00:02.0
< drmOpenDevice: node name is /dev/dri/card0
< drmOpenDevice: open result is 8, (OK)
< drmOpenByBusid: drmOpenMinor returns 8
< drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
---
> (II) intel(0): using device path '/dev/dri/card0'
142,146c149
< (II) intel(0): Integrated Graphics Chipset: Intel(R) 965Q
< (--) intel(0): Chipset: "965Q"
< (**) intel(0): Relaxed fencing enabled
< (**) intel(0): Wait on SwapBuffers? enabled
< (**) intel(0): Triple buffering? enabled
---
> (--) intel(0): Integrated Graphics Chipset: Intel(R) 965Q
150,151c153,156
< (**) intel(0): SwapBuffers wait enabled
< (==) intel(0): video overlay key set to 0x101fe
---
> (**) intel(0): Throttling enabled
> (**) intel(0): Delayed flush enabled
> (**) intel(0): "Tear free" disabled
> (**) intel(0): Forcing per-crtc-pixmaps? no
252d256
< (II) intel(0): Kernel page flipping support detected, enabling
255,260d258
< (II) Loading sub module "fb"
< (II) LoadModule: "fb"
< (II) Loading /usr/lib/xorg/modules/libfb.so
< (II) Module fb: vendor="X.Org Foundation"
<       compiled for 1.12.2, module version = 1.0.0
<       ABI class: X.Org ANSI C Emulation, version 0.4
263,266c261
< (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
< (II) Module dri2: vendor="X.Org Foundation"
<       compiled for 1.12.2, module version = 1.2.0
<       ABI class: X.Org Server Extension, version 6.0
---
> (II) Module "dri2" already built-in
268,276c263
< (II) intel(0): [DRI2] Setup complete
< (II) intel(0): [DRI2]   DRI driver: i965
< (II) intel(0): Allocated new frame buffer 1280x1024 stride 5120, tiled
< (II) UXA(0): Driver registered support for the following operations:
< (II)         solid
< (II)         copy
< (II)         composite (RENDER acceleration)
< (II)         put_image
< (II)         get_image
---
> (II) intel(0): SNA initialized with Broadwater backend
279c266
< (II) intel(0): Initializing HW Cursor
---
> (II) intel(0): HW Cursor enabled
282,285c269,270
< (==) intel(0): Intel XvMC decoder enabled
< (II) intel(0): Set up textured video
< (II) intel(0): Set up overlay video
< (II) intel(0): [XvMC] i965_xvmc driver initialized.
---
> (II) intel(0): [DRI2] Setup complete
> (II) intel(0): [DRI2]   DRI driver: i965
289,303d273
< (II) Initializing built-in extension Generic Event Extension
< (II) Initializing built-in extension SHAPE
< (II) Initializing built-in extension MIT-SHM
< (II) Initializing built-in extension XInputExtension
< (II) Initializing built-in extension XTEST
< (II) Initializing built-in extension BIG-REQUESTS
< (II) Initializing built-in extension SYNC
< (II) Initializing built-in extension XKEYBOARD
< (II) Initializing built-in extension XC-MISC
< (II) Initializing built-in extension XINERAMA
< (II) Initializing built-in extension XFIXES
< (II) Initializing built-in extension RENDER
< (II) Initializing built-in extension RANDR
< (II) Initializing built-in extension COMPOSITE
< (II) Initializing built-in extension DAMAGE
305a276,278
> (II) AIGLX: enabled GLX_ARB_create_context
> (II) AIGLX: enabled GLX_ARB_create_context_profile
> (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
309a283
> (II) intel(0): switch to mode 1280x1024 on crtc 3 (pipe 0)
316c290
<       compiled for 1.12.2, module version = 2.7.0
---
>       compiled for 1.13.0, module version = 2.7.3
318c292
<       ABI class: X.Org XInput driver, version 16.0
---
>       ABI class: X.Org XInput driver, version 18.0
342a317
> (II) config/udev: Adding drm device (/dev/dri/card0)


Does anyone have any suggestions or insight? Thank you in advance.
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Wed Dec 12, 2012 12:19 am    Post subject: Reply with quote

When looking into X.org's log files, you should always search for lines containing (EE). In your case, there's an error with some "modesetting" module. I must admit that I don't know what this module does, but a flickering screen could indeed be related to modline setting issues.

Without knowing to much about your xorg setup: The current way for setting up X ist to run without an xorg.conf file, and have things autoconfigured. Also, you should activate Kernel Modeline Setting (KMS) in your kernel.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1340

PostPosted: Wed Dec 12, 2012 12:26 am    Post subject: Reply with quote

lxg wrote:
When looking into X.org's log files, you should always search for lines containing (EE).


I do know that. :)

lxg wrote:
In your case, there's an error with some "modesetting" module. I must admit that I don't know what this module does, but a flickering screen could indeed be related to modline setting issues.


I don't know about that module either, however the "Printing DDC gathered Modelines" sections are identical between the files.

lxg wrote:
Without knowing to much about your xorg setup: The current way for setting up X ist to run without an xorg.conf file, and have things autoconfigured.


Been that way for a long time (no xorg.conf)

lxg wrote:
Also, you should activate Kernel Modeline Setting (KMS) in your kernel.


Been that way for a long, long time:

Code:

# grep KMS /usr/src/linux-3.3.8-gentoo/.config
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_I915_KMS=y
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Wed Dec 12, 2012 2:01 am    Post subject: Reply with quote

Yeah, I saw only after posting that you're a "Veteran" user, and one might assume that you have some experience with those things.

Well, if you're already on config-less xorg and on KMS, there appears to be some sort of regression. Would downgrading be an option for you?

Which versions of mesa, xorg-server and of xf86-video-intel do you use? I think there were quite a few updates in the last days, maybe you are running an incompatible combination (then again, in this case Xorg would refuse to start due to ABI incompatibility ...)
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Wed Dec 12, 2012 2:02 am    Post subject: Reply with quote

By the way, looking at the below linked post, there seems to be a kernel cmdline option that could help ...

https://bbs.archlinux.org/viewtopic.php?pid=1184886#p1184886

maybe worth a try?
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5270

PostPosted: Wed Dec 12, 2012 4:58 am    Post subject: Reply with quote

lxg wrote:
By the way, looking at the below linked post, there seems to be a kernel cmdline option that could help ...

https://bbs.archlinux.org/viewtopic.php?pid=1184886#p1184886

maybe worth a try?


Definitely not - the driver has been KMS-only for a few years by now.
On that note - what's the version of the driver ?
Does the driver work with uxa in xorg.conf ?
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1340

PostPosted: Wed Dec 12, 2012 6:51 am    Post subject: Reply with quote

lxg wrote:
Yeah, I saw only after posting that you're a "Veteran" user, and one might assume that you have some experience with those things.


I guess I have been doing this for a long time (seventeen year running Linux now). I used to be decent at getting X started (which was usually a significant challenge in the late 1990s), but it has become more automatic (and much more complex), so I would hardly know where to begin now. I haven't had any trouble just getting X started for years.

lxg wrote:
Well, if you're already on config-less xorg and on KMS, there appears to be some sort of regression. Would downgrading be an option for you?


That's always hit and miss. It was a upgrade with a fair number of components (and I did the KDE 4.8 -> 4.9 at the same time). Ideally one should upgrade one thing, make sure it works, upgrade the next thing, and so on, but that is just not practical.

lxg wrote:
Which versions of mesa, xorg-server and of xf86-video-intel do you use? I think there were quite a few updates in the last days, maybe you are running an incompatible combination (then again, in this case Xorg would refuse to start due to ABI incompatibility ...)


Code:

[/var/log/portage/]$ ls -al *\:mesa* *xf86-video-intel* *xorg-server*
-rw-rw---- 1 portage portage   2226 2012-12-04 08:31:13 media-libs:mesa-8.0.4-r1:20121204-083112.log
-rw-rw---- 1 portage portage  84644 2012-12-04 08:31:16 media-libs:mesa-9.0:20121204-082517.log
-rw-rw---- 1 portage portage  11282 2012-12-04 08:37:07 x11-base:xorg-server-1.12.2:20121204-083706.log
-rw-rw---- 1 portage portage 537973 2012-12-04 08:37:10 x11-base:xorg-server-1.13.0-r1:20121204-083306.log
-rw-rw---- 1 portage portage   1073 2012-12-04 08:38:15 x11-drivers:xf86-video-intel-2.19.0:20121204-083814.log
-rw-rw---- 1 portage portage 165574 2012-12-04 08:38:16 x11-drivers:xf86-video-intel-2.20.13:20121204-083711.log


Yes, I could use qlist, but this shows the old versions, and also shows that the updates were done in the proper order.

lxg wrote:
By the way, looking at the below linked post, there seems to be a kernel cmdline option that could help ...

https://bbs.archlinux.org/viewtopic.php?pid=1184886#p1184886

maybe worth a try?


Yes, indeed, adding nomodeset to the kernel command line did get X to start (that is a workaround, not a solution, though).

However, that should be enough to start a bug report.

Thanks.
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Wed Dec 12, 2012 9:10 am    Post subject: Reply with quote

FYI, I also get that
Quote:

(WW) Warning, couldn't open module modesetting

line in Xorg.0.log, yet I have KMS enabled in the kernel (3.5.7),
and I do not disable it with a kernel boot parameter or
kernel module load parameter. X starts and loads without problems.

I am using different gpu hardware, thus different kernel and
xf86-video-* drivers, not to mention a different kernel version,
but that "module modesetting" is a new Xorg feature that
does not seem to prevent X from loading or operating
correctly if that X module is not found. I get the impression
that it is either entirely optional or only needed with
specific gpu hardware.

(Perhaps it would be good to find out which gpu hardware
the Xorg modesetting module is intended to work with,
whether one needs to specify it specifically some way
for the Xorg ebuild, etc.)
_________________
TIA
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Wed Dec 12, 2012 9:15 am    Post subject: Reply with quote

curmudgeon wrote:
I guess I have been doing this for a long time (seventeen year running Linux now). I used to be decent at getting X started (which was usually a significant challenge in the late 1990s), but it has become more automatic (and much more complex), so I would hardly know where to begin now. I haven't had any trouble just getting X started for years.


Hehe, sounds familiar … when something breaks that had worked before for years, it can get quite confusing.

I think this is one of the unique experiences of a Gentoo user: The system runs for many years without a fresh install, and yet it changes significantly every couple weeks. And twice a year, you render your system unusable after reboot, because you overlooked some elog message. ;)
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2633
Location: Slovenia

PostPosted: Wed Dec 12, 2012 9:43 am    Post subject: Reply with quote

xf86-video-modesetting is a genering modesetting driver that works on top of a KMS driver. It provides no acceleration whatsoever. It's intended as a fallback (like xf86-video-fbdev and xf86-video-vesa), or for hardware that has a KMS driver but no userspace driver (some server chipsets are like that, also gma500_gfx). It's not a big deal if it doesn't load. In fact, it's *good* if it doesn't, it means that your main driver works. Or you'll get an error message why the main driver didn't load.
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Wed Dec 12, 2012 9:51 am    Post subject: Reply with quote

[Speculation edited in favor of Gusar's more knowledgeable
post]
_________________
TIA
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1340

PostPosted: Wed Dec 12, 2012 9:00 pm    Post subject: Reply with quote

While the system started X with the nomodeset command line parameter, the display eventually returned to the flickering colors. I need to try to downgrade to get the system working again.

I have started with the video driver (often a source of pain), but that gave me:

Code:

## emerge -1 =xf86-video-intel-2.19.0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] x11-drivers/xf86-video-intel-2.19.0 [2.20.13] USE="dri sna (-glamor) (-udev%*) (-uxa%) (-xvmc%)" 0 kB

Total: 1 package (1 downgrade), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-drivers/xf86-video-intel-2.19.0
 * xf86-video-intel-2.19.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                      [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.3.8-gentoo/build
 * Found sources for kernel version:
 *     3.3.8-gentoo
>>> Unpacking source...
>>> Unpacking xf86-video-intel-2.19.0.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work
>>> Preparing source in /var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0 ...
 * Running elibtoolize in: xf86-video-intel-2.19.0/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build"
 * econf: updating xf86-video-intel-2.19.0/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xf86-video-intel-2.19.0/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/xf86-video-intel-2.19.0 --enable-dri --disable-glamor --enable-sna --enable-xvmc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-pc-linux-gnu-gcc... none
checking for i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wall... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wpointer-arith... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wmissing-declarations... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wformat=2... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wstrict-prototypes... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wmissing-prototypes... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wnested-externs... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wbad-function-cast... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wold-style-definition... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wunused... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wuninitialized... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wshadow... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wcast-qual... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wmissing-noreturn... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wmissing-format-attribute... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Wredundant-decls... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=implicit... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=nonnull... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=init-self... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=main... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=missing-braces... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=sequence-point... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=return-type... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=trigraphs... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=array-bounds... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=write-strings... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=address... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-pedantic... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports-Werror=attributes... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc -std=gnu99... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc -std=gnu99 object... ok
checking for sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 static flag -static works... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc -std=gnu99 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for GEN4ASM... no
checking for UDEV... yes
checking for X11... yes
checking whether to include SNA support... checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
yes
checking whether to include UXA support... yes
checking for DRMINTEL... yes
checking whether to include GLAMOR support... no
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XF86DRI is defined... yes
checking if DPMSExtension is defined... yes
checking for XORG... yes
checking for DRM... yes
checking for DRI... yes
checking for DRI2... yes
checking for PCIACCESS... yes
checking for dri.h... yes
checking for sarea.h... yes
checking for dristruct.h... yes
checking whether to include DRI support... yes
checking for XVMCLIB... yes
checking whether to include XvMC support... yes
checking sys/timerfd.h usability... yes
checking sys/timerfd.h presence... yes
checking for sys/timerfd.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating uxa/Makefile
config.status: creating src/Makefile
config.status: creating src/xvmc/Makefile
config.status: creating src/xvmc/shader/Makefile
config.status: creating src/xvmc/shader/mc/Makefile
config.status: creating src/xvmc/shader/vld/Makefile
config.status: creating src/legacy/Makefile
config.status: creating src/legacy/i810/Makefile
config.status: creating src/legacy/i810/xvmc/Makefile
config.status: creating src/sna/Makefile
config.status: creating man/Makefile
config.status: creating src/render_program/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build"
make -j3
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build'
Making all in man
make[2]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build/man'
  GEN    intel.4
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build/man'
Making all in uxa
make[2]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build/uxa'
  CC     uxa.lo
  CC     uxa-accel.lo
  CC     uxa-glyphs.lo
In file included from /usr/include/xorg/dixfontstr.h:28:0,
                 from /var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c:39:
/usr/include/xorg/dixfont.h:149:22: warning: redundant redeclaration of 'client_auth_generation'
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
/usr/include/xorg/dixfont.h:151:23: warning: redundant redeclaration of 'DeleteFontClientID'
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
/usr/include/xorg/dixfont.h:153:36: warning: redundant redeclaration of 'GetClientResolutions'
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
/usr/include/xorg/dixfont.h:155:22: warning: redundant redeclaration of 'GetDefaultPointSize'
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
/usr/include/xorg/dixfont.h:157:23: warning: redundant redeclaration of 'GetNewFontClientID'
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
/usr/include/xorg/dixfont.h:159:22: warning: redundant redeclaration of 'init_fs_handlers'
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
/usr/include/xorg/dixfont.h:162:22: warning: redundant redeclaration of 'RegisterFPEFunctions'
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
/usr/include/xorg/dixfont.h:178:23: warning: redundant redeclaration of 'remove_fs_handlers'
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
/usr/include/xorg/dixfont.h:182:22: warning: redundant redeclaration of 'StoreFontClientFont'
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c: In function 'uxa_validate_gc':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c:271:2: warning: cast discards qualifiers from pointer target type
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c: In function 'uxa_close_screen':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c:406:30: warning: assignment from incompatible pointer type
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c:421:2: warning: passing argument 1 of 'pScreen->CloseScreen' makes pointer from integer without a cast
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c:421:2: note: expected 'ScreenPtr' but argument is of type 'int'
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c:421:2: error: too many arguments to function 'pScreen->CloseScreen'
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c: In function 'uxa_driver_init':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa.c:510:22: warning: assignment from incompatible pointer type
make[2]: *** [uxa.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-glyphs.c: In function 'uxa_glyph_extents':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-glyphs.c:329:14: warning: declaration of 'y1' shadows a global declaration
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-glyphs.c: In function 'uxa_glyphs_intersect':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-glyphs.c:376:14: warning: declaration of 'y1' shadows a global declaration
In file included from /usr/include/xorg/dixfontstr.h:28:0,
                 from /var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-accel.c:37:
/usr/include/xorg/dixfont.h:149:22: warning: redundant redeclaration of 'client_auth_generation'
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
/usr/include/xorg/dixfont.h:151:23: warning: redundant redeclaration of 'DeleteFontClientID'
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
/usr/include/xorg/dixfont.h:153:36: warning: redundant redeclaration of 'GetClientResolutions'
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
/usr/include/xorg/dixfont.h:155:22: warning: redundant redeclaration of 'GetDefaultPointSize'
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
/usr/include/xorg/dixfont.h:157:23: warning: redundant redeclaration of 'GetNewFontClientID'
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
/usr/include/xorg/dixfont.h:159:22: warning: redundant redeclaration of 'init_fs_handlers'
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
/usr/include/xorg/dixfont.h:162:22: warning: redundant redeclaration of 'RegisterFPEFunctions'
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
/usr/include/xorg/dixfont.h:178:23: warning: redundant redeclaration of 'remove_fs_handlers'
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
/usr/include/xorg/dixfont.h:182:22: warning: redundant redeclaration of 'StoreFontClientFont'
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-accel.c: In function 'uxa_do_put_image':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-accel.c:157:7: warning: declaration of 'y1' shadows a global declaration
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-accel.c: In function 'uxa_poly_lines':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-accel.c:609:14: warning: declaration of 'y1' shadows a global declaration
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-accel.c: In function 'uxa_poly_fill_rect':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0/uxa/uxa-accel.c:847:8: warning: declaration of 'y1' shadows a global declaration
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build/uxa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build'
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-intel-2.19.0 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-intel-2.19.0'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-intel-2.19.0'`.
 * The complete build log is located at '/var/log/portage/x11-drivers:xf86-video-intel-2.19.0:20121212-205720.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0_build'
 * S: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.19.0/work/xf86-video-intel-2.19.0'

>>> Failed to emerge x11-drivers/xf86-video-intel-2.19.0, Log file:

>>>  '/var/log/portage/x11-drivers:xf86-video-intel-2.19.0:20121212-205720.log'


I am completely lost now. :(
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Thu Dec 13, 2012 4:13 pm    Post subject: Reply with quote

In regard to your last post, this looks like the video driver uses header files from incompatible (i.e. too new) xorg libraries. I would recommend putting all packages to downgrade into one emerge command line and have Portage handle the package order.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1340

PostPosted: Sat Dec 15, 2012 12:03 am    Post subject: Reply with quote

Managed to downgrade to xorg-server-1.12.4 and THEN downgrade the driver. Only rebuilt xf86-input-evdev and xf86-video-intel, and NOW everything is working fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum