Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel & Xorg
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
hal185
n00b
n00b


Joined: 11 Oct 2012
Posts: 4

PostPosted: Thu Oct 11, 2012 7:43 pm    Post subject: Genkernel & Xorg Reply with quote

Hello Forum.

Probably I am not the first one having this question, but I could not find out if there are already threads dealing with this issue.

I recently installed the Gentoo base system following the documentation and I used genkernel (genkernel all). Since I would like to install LXDE I need to install xorg first. In the xorg documentation is said that kernel preparations have to be done before the install (enable evdev, disable KMS etc.).

So my question is if genkernel is already prepared for xorg or do I have to recompile it manually.

And by the way: Is it recommended to install nvidia drivers first or can I do it afterwards?

I am new to gentoo, but eager to learn.

Thank you so much in advance for any help.


Greets,

hal185
Back to top
View user's profile Send private message
ce110ut
Apprentice
Apprentice


Joined: 27 Sep 2002
Posts: 199

PostPosted: Thu Oct 11, 2012 8:11 pm    Post subject: Reply with quote

Hello hal185,

you can install lxde without explicitly installing xorg yourself - emerging lxde will implicitly install it (as it requires xorg and will be in its dependency list).

First, I searched to see if lxde was in portage. I'm pretty sure it's in, but wasn't quite sure what the name of it is:
Code:

# emerge -s lxde
Searching...   
[ Results for search key : lxde ]
[ Applications found : 3 ]

*  lxde-base/lxde-common
      Latest version available: 0.5.5-r2
      Latest version installed: [ Not Installed ]
      Size of files: 878 kB
      Homepage:      http://lxde.sf.net/
      Description:   LXDE Session default configuration files and nuoveXT2 iconset
      License:       GPL-2

*  lxde-base/lxde-icon-theme
      Latest version available: 0.5.0
      Latest version installed: [ Not Installed ]
      Size of files: 4,439 kB
      Homepage:      http://lxde.sf.net/
      Description:   nuoveXT2 iconset
      License:       GPL-2

*  lxde-base/lxde-meta
      Latest version available: 0.5.5-r2
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://lxde.sf.net/
      Description:   Meta ebuild for LXDE, the Lightweight X11 Desktop Environment
      License:       GPL-2


Here, I'm pretty sure I'm looking for lxde-meta. Now, I emerge lxde by doing this:

Code:

# emerge --deep --update --verbose --ask lxde-meta


You'll see xorg-server will be part of the depency list if you don't already have it installed.

Try that out and post back if it worked or if you encountered any problems.
Back to top
View user's profile Send private message
hal185
n00b
n00b


Joined: 11 Oct 2012
Posts: 4

PostPosted: Fri Oct 12, 2012 10:01 am    Post subject: Reply with quote

Hello.

Thank you for your reply. I will give it a shot and post what happened.

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


Joined: 06 Jan 2009
Posts: 588

PostPosted: Sat Oct 13, 2012 11:07 am    Post subject: Reply with quote

Why would you disable KMS ("kernel mode switching")? Required by
some binary driver package?
_________________
TIA
Back to top
View user's profile Send private message
hal185
n00b
n00b


Joined: 11 Oct 2012
Posts: 4

PostPosted: Sun Oct 14, 2012 10:18 am    Post subject: Reply with quote

Hello.

I first installed xorg and got it configured. Then I emerged lxde-meta and after some configuration it worked without any kernel-recompiling. So genkernel did a good job. :-)

@wcg: You're right. I was wrong. The documentation meant legacy framebuffer drivers need to be disabled because of possible conflicts with KMS. So KMS needs to be enabled.

Thank you.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32302
Location: 56N 3W

PostPosted: Sun Oct 14, 2012 10:44 am    Post subject: Reply with quote

hal185,

There is no single answer to your genkernel question.

genkernel works blindly by setting up the kernel from a script, so everyone gets the same thing from genkernel all, regardless of their hardware.

I would expect genkernel to set up the kernel for evdev, as that works everywhere these days. However, video drivers are more complex.
There is no single set of settings that works for all hardware and all Xorg video drivers.
In general, where there is a choice to be made by the user, genkernel does nothing. Thats in line with the rest of Gentoo, where you get only what you ask for and whet you must have to support the packages you have asked for. The converse is also true - in that if you have not yet installed it, you probably don't have it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hal185
n00b
n00b


Joined: 11 Oct 2012
Posts: 4

PostPosted: Sun Oct 14, 2012 11:14 am    Post subject: Reply with quote

Hello NeddySeagoon.

What you write sounds comprehensible. I am glad that the things worked in my case.

Thanks.
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