Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recent update broke my X[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
Ahenobarbi
Developer
Developer


Joined: 02 Apr 2009
Posts: 326
Location: Warsaw, PL

PostPosted: Wed Mar 17, 2010 10:24 am    Post subject: Recent update broke my X[SOLVED] Reply with quote

After booting this morning I was welcomed by message that my X failed to start. I thought it broke because of yesterdays update so I tried
Code:
emerge -av1 `eix -sI --only-names`

but it didn't help.
Code:

$eix -sI --only-names
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-intel
x11-libs/libXxf86dga
x11-libs/libXxf86misc
x11-libs/libXxf86vm
x11-proto/xf86bigfontproto
x11-proto/xf86dgaproto
x11-proto/xf86driproto
x11-proto/xf86miscproto
x11-proto/xf86rushproto
x11-proto/xf86vidmodeproto

Could you help me fix it?
Xorg.0.log, emerge --info, lspci.


Last edited by Ahenobarbi on Wed Mar 17, 2010 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
DawgG
Guru
Guru


Joined: 17 Sep 2003
Posts: 503

PostPosted: Wed Mar 17, 2010 11:34 am    Post subject: enable kms in the kernel Reply with quote

had this problem this morning, too. look at your log:
Code:
#(EE) intel(0): No kernel modesetting driver detected.
#(II) UnloadModule: "intel"
#(EE) Screen(s) found, but none have a usable configuration.

you have to enable kms in you kernel and recompile; i a searched little bit and found that kms and the intel-video-drivers (i810/i915) should be built into the kernel (not modules) and individual framebuffer-devices should be disabled: http://en.gentoo-wiki.com/wiki/Intel_GMA
(don't disable framebuffer-devices completly, only its subentries)
kms works like a charm, i was really amazed at its speed.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12867
Location: Ste-Foy,Canada

PostPosted: Wed Mar 17, 2010 2:36 pm    Post subject: Reply with quote

Indeed, that's a new feature and I had that problem too yesterday.
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Mar 17, 2010 2:55 pm    Post subject: Reply with quote

d2_racing wrote:
Indeed, that's a new feature and I had that problem too yesterday.


Well, if you resolved it, are you going to share with us how ?
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12867
Location: Ste-Foy,Canada

PostPosted: Wed Mar 17, 2010 2:56 pm    Post subject: Reply with quote

I had to enable the i915 module and the kms stuff directly inside the kernel [*] instead of module, and I ran just to be sure this after a kernel recompilation :

Code:

# emerge -1v $(qlist -IC x11-drivers)

_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Mar 17, 2010 3:08 pm    Post subject: Reply with quote

Oh ya, same as DawgG. Thanks. :)
Back to top
View user's profile Send private message
Ahenobarbi
Developer
Developer


Joined: 02 Apr 2009
Posts: 326
Location: Warsaw, PL

PostPosted: Wed Mar 17, 2010 6:57 pm    Post subject: Reply with quote

Thanks a lot DawgG and d2_racing. I had i915 ompiled into kernel, but kms was disabled( some time ago my X didn't start with kms enabled :roll: ). After enabling kms everything works fine.
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12867
Location: Ste-Foy,Canada

PostPosted: Thu Mar 18, 2010 12:44 am    Post subject: Reply with quote

Good :P
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
Spidey
Apprentice
Apprentice


Joined: 07 Sep 2006
Posts: 223

PostPosted: Sun Mar 21, 2010 10:00 pm    Post subject: Reply with quote

I had the same problem, but after enabling KMS/Modesetting in the kernel, I can't see anything, my terminal boots with a blank screen, and I can't get to X. I may connect to my box via SSH, but I don't know how to see the init log, and I don't think dmesg would give me any good info.

What should I do?
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Mar 21, 2010 10:39 pm    Post subject: Reply with quote

You need to emerge some kind of window manager, i.e. TWM, Gnome, KDE, etc ...
And configure it to start somehow. See:
  • XSESSION= in /etc/rc.conf
  • DISPLAYMANAGER= in /etc/conf.d/xdm


Or $HOME/.xinitrc if you use startx to start the X server.
Back to top
View user's profile Send private message
Beresford
n00b
n00b


Joined: 14 Aug 2005
Posts: 4
Location: Graz

PostPosted: Thu Apr 29, 2010 4:08 pm    Post subject: Reply with quote

Thank you :)

it worked for me as well too :)
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