Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600028 - x11-base/xorg-server: intel: module ABI major version (20) doesn't match the server's version (23)
Summary: x11-base/xorg-server: intel: module ABI major version (20) doesn't match the ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 612992 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-16 18:55 UTC by lekto
Modified: 2017-03-30 03:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log (Xorg.0.log,3.99 KB, text/plain)
2016-11-16 18:55 UTC, lekto
Details
emerge --info (emerge-info.log,4.90 KB, text/plain)
2016-11-16 18:56 UTC, lekto
Details
list of packages to rebuild (emerge.log,1.94 KB, text/plain)
2016-11-16 19:50 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2016-11-16 18:55:56 UTC
Created attachment 453556 [details]
Xorg.0.log

Xorg crash while startup.
Comment 1 lekto 2016-11-16 18:56:41 UTC
Created attachment 453558 [details]
emerge --info
Comment 2 Ben Kohler gentoo-dev 2016-11-16 19:02:00 UTC
Most likely one of the autorebuilds of x11-drivers/xf86-* failed because of xorg-server changes, so the intel driver didn't get autorebuilt.  I don't think there's any specific bug to fix here, just need to fix the other blockers of 599976 so that emerge doesn't die before it gets to xf86-video-intel
Comment 3 lekto 2016-11-16 19:30:42 UTC
I look closer and build xorg-server cause only rebuild of xf86-input-*, after manual rebuild xf86-video-intel xorg-server start works.
Comment 4 Ben Kohler gentoo-dev 2016-11-16 19:33:40 UTC
One of your xf86-input-* rebuilds died before xf86-video-intel was able to rebuild.  Known bug 599938 on xf86-input-keyboard may have caused this, for example.  There already is a slot operator dep for xf86-video-intel, so it *does* autorebuild.

Do you have any evidence to the contrary?  I don't mean to sound argumentative, but I've seen this exact same scenario play out on 2 different systems already, the keyboard driver bug killed the whole emerge so the scheduled rebuild for intel never happened.
Comment 5 lekto 2016-11-16 19:38:13 UTC
Rebuild of xf86-input-keyboard have failed, but on list of item to emerge was only: xorg-server, xorg-drivers, and xf86-input-*, but there wasn't xf86-video-intel.
Comment 6 Ben Kohler gentoo-dev 2016-11-16 19:39:39 UTC
Can you attach the emerge list which shows this?
Comment 7 Ben Kohler gentoo-dev 2016-11-16 19:42:56 UTC
FYI all these x11-drivers/ packages inherit the same xorg-2 eclass which adds RDEPEND="x11-base/xorg-server:=" and this is what triggers the rebuilds on xorg-server's upgrade
Comment 8 lekto 2016-11-16 19:50:57 UTC
Created attachment 453564 [details]
list of packages to rebuild
Comment 9 Ben Kohler gentoo-dev 2016-11-16 20:00:44 UTC
I think I see what happened here-- with your VIDEO_CARDS setting and the new changes on xorg-drivers-1.19, xf86-video-intel is no longer required, it's an orphaned dependency.  It will be removed on next depclean, then xorg will switch to the modesetting driver which will work.
Comment 10 lekto 2016-11-16 20:15:36 UTC
Before update xorg-drivers have only intel flag, new xorg-drivers have intel and i965 flags, but I think xf86-video-intel should be autorebuild anyway because of intel flag.
Comment 11 Ben Kohler gentoo-dev 2016-11-16 20:59:14 UTC
With VIDEO_CARDS="intel i965" that driver is no longer required, you should allow depclean to remove it.  Since it's no longer in the dep list, it won't get rebuilt.  This is one reason it's so important to depclean after upgrades, as emerge suggests.
Comment 12 Brian Evans (RETIRED) gentoo-dev 2016-11-16 21:53:02 UTC
(In reply to lekto from comment #10)
> Before update xorg-drivers have only intel flag, new xorg-drivers have intel
> and i965 flags, but I think xf86-video-intel should be autorebuild anyway
> because of intel flag.

Beginning with xorg-drivers-1.19.0, modesetting (part of xorg-server) became the default driver for VIDEO_CARDS="i965" leaving xf86-video-intel to become an orphan to be depcleaned.

For most users this will be transparent, UNLESS you specifically have intel in an xorg.conf or xorg.conf.d/*.conf file as the graphics driver.

You may still do "emerge xf86-video-intel" to both rebuild it and add it to world if you choose.  Otherwise change the conf.d file to use "modesetting" instead of "intel" as the driver and allow the xf86-video-intel to be depcleaned.

@x11 team.  Not sure if you want a news item for this as it will be for customized configurations.
Comment 13 Matt Turner gentoo-dev 2016-11-16 22:00:32 UTC
(In reply to Brian Evans from comment #12)
> @x11 team.  Not sure if you want a news item for this as it will be for
> customized configurations.

Yes, I think that is a good idea.
Comment 14 lekto 2016-11-16 22:15:19 UTC
(In reply to Brian Evans from comment #12)

> For most users this will be transparent, UNLESS you specifically have intel
> in an xorg.conf or xorg.conf.d/*.conf file as the graphics driver.

After remove xf86-video-intel xorg start complaining about lack of intel module, then I comment line in xorg.conf.d and looks like everything start working. Thanks.
Comment 15 Matt Turner gentoo-dev 2016-11-16 22:57:02 UTC
Let's leave this open for now. I would like to investigate what happens when you upgrade to 1.19.0 and xf86-video-intel becomes orphaned. If it isn't automatically rebuilt as a result of being orphaned, that's pretty unfortunate.
Comment 16 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-11-17 15:11:28 UTC
A subslot rebuild unfortunately doesn't happen for packages which are no longer dependencies of @world.
But that is not a problem, as portage advises users after @world upgrade already to run emerge --depclean, which will remove any such packages.

So I suggest doing nothing here.
Comment 17 Ben Kohler gentoo-dev 2016-11-29 14:05:46 UTC
I'll leave this up to x11 team to decide whether to close it, but this really shouldn't be a blocker for xorg-server-1.19, this orphan non-rebuild problem has nothing to do with that version bump specifically, it could happen on any of them
Comment 18 Matt Turner gentoo-dev 2017-03-19 01:37:07 UTC
*** Bug 612992 has been marked as a duplicate of this bug. ***
Comment 19 Matt Turner gentoo-dev 2017-03-30 03:45:35 UTC
Yep, doesn't seem like there's anything we can do. :\