View previous topic :: View next topic |
Author |
Message |
rekonrad Apprentice

Joined: 01 Jun 2003 Posts: 201 Location: Winnipeg, MB
|
Posted: Fri Jun 29, 2012 4:27 pm Post subject: xorg.conf missing |
|
|
I have tried to emerge / configure X according to http://www.gentoo.org/doc/en/xorg-config.xml but there is no xorg.conf at /etc/X11 ! Perhaps I missing something but I don't think so. Cheers |
|
Back to top |
|
 |
Sven Vermeulen Retired Dev


Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Jun 29, 2012 4:47 pm Post subject: |
|
|
Where in that guide do you see the need for a xorg.conf file? The instructions use the xorg.conf.d directory (and files therein) and even then that's more a "second choice". X is recently sufficiently mature to detect and use settings automatically without users needing to configure it explicitly. _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
 |
rekonrad Apprentice

Joined: 01 Jun 2003 Posts: 201 Location: Winnipeg, MB
|
Posted: Fri Jun 29, 2012 5:00 pm Post subject: Xorg.conf missing |
|
|
I failed to mention that I am trying to get my nvidia card
to work and so I'm also following the gentoo-nvidia guide
which asks for editing of that file. |
|
Back to top |
|
 |
aCOSwt Bodhisattva

Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Fri Jun 29, 2012 5:18 pm Post subject: |
|
|
This is my xorg.conf, you can copy paste it as /etc/X11/xorg.conf
Code: | Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/xorg-x11/extensions"
EndSection
|
EDIT: BTW, the Section Files is not absolutely needed for your xorg to work but xorg.log will display disgraceful warning messages if these ModulePath entries are not set. _________________
|
|
Back to top |
|
 |
ultraincognito Guru


Joined: 03 Jun 2011 Posts: 346 Location: Ukraine
|
Posted: Fri Jun 29, 2012 6:52 pm Post subject: |
|
|
The xorg.conf may be created with the "X -configure" command. |
|
Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Jun 29, 2012 7:00 pm Post subject: |
|
|
ultraincognito wrote: | The xorg.conf may be created with the "X -configure" command. |
Don't do that. It's outdated.
aCOSwt has it right, except I find loading stuff that won't be used just to get rid of harmless warning messages to be totally silly. You need the Device section, and that's it. |
|
Back to top |
|
 |
Killerchronic Tux's lil' helper

Joined: 24 Apr 2007 Posts: 91 Location: UK
|
Posted: Wed Jul 11, 2012 5:37 pm Post subject: |
|
|
aCOSwt wrote: | This is my xorg.conf, you can copy paste it as /etc/X11/xorg.conf
Code: | Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/xorg-x11/extensions"
EndSection
|
EDIT: BTW, the Section Files is not absolutely needed for your xorg to work but xorg.log will display disgraceful warning messages if these ModulePath entries are not set. |
Swear the documentation surrounding gentoo is getting slowly worse, esp with the changes that have happened it puts alot of google information incorrect or the syntax just slightly wrong.
Thanks for this, i've been hunting on and off all afternoon for what/how to create an xorg.conf that conforms to the latest style. Adding those few lines and starting x worked a treat. |
|
Back to top |
|
 |
bigbangnet Apprentice


Joined: 11 Jun 2007 Posts: 174
|
Posted: Mon Jul 16, 2012 5:40 pm Post subject: |
|
|
1 thing that should be told or just as an optional note on the link the OP is providing is this: If it's the open source nouveau driver, you don't need an xorg.conf. If it's the closed nvidia driver, you do need a minimal config containing a "Device" section.
I did use closed nvidia drivers without any xorg.conf and it didn't work; nothing worked. As soon as I did those minimal config it worked like a charm. _________________ I'm a noob, be gentle with me. TEACH ME |
|
Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 812
|
Posted: Mon Jul 16, 2012 8:21 pm Post subject: |
|
|
the Nvidia drivers don't work without a xorg.conf because they aren't mesa compatible or whatever _________________ “Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”
― Plato |
|
Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Jul 16, 2012 8:29 pm Post subject: |
|
|
djdunn wrote: | the Nvidia drivers don't work without a xorg.conf because they aren't mesa compatible or whatever |
Nothing to do with mesa.
X has an internal list that maps PCI-IDs to drivers. Nvidia isn't on that list by default. Arch patches their X so that it is, meaning you don't need an xorg.conf there. Gentoo doesn't have such a patch. |
|
Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 812
|
Posted: Mon Jul 16, 2012 11:07 pm Post subject: |
|
|
ah, i dont see why we would need to patch it either _________________ “Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”
― Plato |
|
Back to top |
|
 |
Deathwing00 Bodhisattva


Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Thu Jul 26, 2012 9:06 pm Post subject: |
|
|
Moved from Installing Gentoo to Desktop Environments. |
|
Back to top |
|
 |
|