Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After update packages and kernel KDE stopped working[SOLVED]
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
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 76

PostPosted: Sun Mar 12, 2017 5:03 am    Post subject: After update packages and kernel KDE stopped working[SOLVED] Reply with quote

After emerge --sync ; emerge --ask --update --changed-use --deep --with-bdep=y world

KDE stopped working. From /var/log/Xorg.0.log found following error messages.
Code:

[    27.521] (II) LoadModule: "intel"
[    27.521] (WW) Warning, couldn't open module intel
[    27.521] (II) UnloadModule: "intel"
[    27.521] (II) Unloading intel
[    27.521] (EE) Failed to load module "intel" (module does not exist, 0)
[    27.521] (EE) No drivers available.
[    27.521] (EE)


[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by weiypan_us on Wed Mar 15, 2017 11:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 76

PostPosted: Sun Mar 12, 2017 5:44 am    Post subject: Reply with quote

I found i don't have package x11-drivers/xf86-video-intel
I don't know if it is there before my latest "emerge --ask --update --changed-use --deep --with-bdep=y world"
should I need it x11-drivers/xf86-video-intel?
I have "00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)"
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 76

PostPosted: Sun Mar 12, 2017 6:25 am    Post subject: Reply with quote

after I emerge --ask x11-drivers/xf86-video-intel looks all back to normal.

Check emerge log file found after update, new x11-drivers/xf86-video-intel didn't included in.
feel like dependency is broken.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6968

PostPosted: Sun Mar 12, 2017 8:22 am    Post subject: Reply with quote

if your make.conf doesn't have intel in VIDEO_CARDS then you won't have a dependency on it.
and if your system was working before, it's because even without it in VIDEO_CARDS you have manually emerge it and not add it to world.

it mean :
if you have VIDEO_CARDS="intel" and emerge has pull intel has a dep, it won't be add to world
or
if you didn't have VIDEO_CARDS="intel" and you manually add it to your system but not to world (emerge -1 x11-drivers/xf86...)

Now that your system doesn't have VIDEO_CARDS="intel" set, x11-drivers/xf86... is candidate to depclean

In this case: when you don't have the dep and the package is install
Updating world won't update the package, but still updating world won't remove it.
For xorg it mean you should have xorg running and it should had stop complaining that intel version doesn't match xorg server version error.
If you have the error that intel doesn't exists, it's because intel has been removed.

It mean:
1/ your update wasn't like you said emerge --ask... but you also did a --depclean after that
2/ it also mean you didn't see that depclean has select xf86-video-intel package because you don't --depclean --pretend but run --depclean blindly.


You should configure VIDEO_CARDS properly
Once you have VIDEO_CARDS set properly, you can emerge --deselect to have xf86-video... remove from your world file now.
And stop using --depclean blindly, or better, just stop using it totally.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6828
Location: Austria

PostPosted: Sun Mar 12, 2017 9:00 am    Post subject: Reply with quote

krinn wrote:
And stop using --depclean blindly,

Totally with you there.

krinn wrote:
or better, just stop using it totally.

Bad advice, --depclean should be used regularly, not blindly. Failure to do so inevitably results in blockers because of cruft on the system.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 76

PostPosted: Sun Mar 12, 2017 2:34 pm    Post subject: Reply with quote

Hi Krinn,

the intel is always in my VIDEO_CARDS, so more likely the dependency is broken.

VIDEO_CARDS="intel i965"
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6968

PostPosted: Sun Mar 12, 2017 3:20 pm    Post subject: Reply with quote

could be, what emerge -pv x11-base/xorg-drivers is saying?
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 76

PostPosted: Sun Mar 12, 2017 4:29 pm    Post subject: Reply with quote

Code:
emerge -pv x11-base/xorg-drivers

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

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-drivers-1.19::gentoo  INPUT_DEVICES="keyboard libinput mouse -acecad -aiptek -elographics -evdev -fpit -hyperpen -joystick -mutouch -penmount -synaptics -tslib -vmmouse -void -wacom" VIDEO_CARDS="i965 intel -amdgpu -apm -ark -ast -chips -cirrus -dummy -epson -fbdev (-fglrx) (-freedreno) (-geode) -glint -i128 (-i740) -i915 -mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia (-omap) -qxl -r128 -radeon -radeonsi -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx (-tegra) -tga -trident -tseng -vesa -via -virtualbox -vmware (-voodoo)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 34 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
thigobr
n00b
n00b


Joined: 31 Aug 2007
Posts: 28

PostPosted: Tue Mar 14, 2017 10:18 pm    Post subject: Reply with quote

I had the exact same problem today after a World update and following --depclean. I always include a "-a" for the portage command and I saw that the xf86-video-intel would be removed but I thought that another package would cover its function. So it seems the dependency tree is broken somehow...

And the system has VIDEO_CARDS="intel i965" in the make.conf.

emerge -pv xorg-drivers has the same output as above post.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6828
Location: Austria

PostPosted: Tue Mar 14, 2017 10:47 pm    Post subject: Reply with quote

i965 no longer switches on xf86-video-intel which is considered widely broken. Instead, it enables xorg-server[glamor] to support the modesetting driver.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
danarchy85
n00b
n00b


Joined: 26 Aug 2016
Posts: 2
Location: Southern California

PostPosted: Wed Mar 15, 2017 2:00 am    Post subject: Reply with quote

I too had this issue come up this week and saw --depclean removed xf86-video-intel; Xorg failed to load upon rebooting.

I found my solution was to remove /etc/X11/xorg.conf.d/20-intel.conf, which was still attempting to load the (now missing) intel module.
Back to top
View user's profile Send private message
thigobr
n00b
n00b


Joined: 31 Aug 2007
Posts: 28

PostPosted: Wed Mar 15, 2017 4:23 pm    Post subject: Reply with quote

I see! So the new modesetting driver is better.

So I uninstalled xf86-video-intel again and tried to configure the modesetting driver with no success... X still not starting.

I tried to reinstall xorg-drivers, xorg-server and mesa. I updated the xorg.conf.d config file to use "modesetting" driver. I am following this guide
https://wiki.gentoo.org/wiki/Intel#Modesetting_DDX

Edit: It worked! I had a config file for an AMD/ATi card installed before on this PC which were preventing the Intel driver to load properly. So in the end xf86-intel-driver is not necessary anymore and the system needs and updated config file for the modesetting driver (example on the wiki above).
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 76

PostPosted: Wed Mar 15, 2017 11:04 pm    Post subject: Reply with quote

Hi Thigobr, I followed what you did to copy sample 20-modesetting.conf from https://wiki.gentoo.org/wiki/Intel#Modesetting_DDX
into my /etc/X11/xorg.conf.d/20-modesetting.conf then cleanup xf86-video-intel. After reboot, it just worked.

One thing I feel need to mention that in the wiki, it says need put USE="glamor" into make.conf. Actually it looks not necessary. "glamor" will automatically in xorg-server by default.

also my machine do not have /etc/X11/xorg.conf.d/20-intel.conf before.
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