Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

xorg.conf missing

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
rekonrad
Apprentice
Apprentice
Posts: 201
Joined: Sun Jun 01, 2003 3:06 am
Location: Winnipeg, MB

xorg.conf missing

  • Quote

Post by rekonrad » Fri Jun 29, 2012 4:27 pm

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
Top
Sven Vermeulen
Retired Dev
Retired Dev
User avatar
Posts: 1345
Joined: Thu Aug 29, 2002 8:10 am
Location: Mechelen, Belgium
Contact:
Contact Sven Vermeulen
Website

  • Quote

Post by Sven Vermeulen » Fri Jun 29, 2012 4:47 pm

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.
Top
rekonrad
Apprentice
Apprentice
Posts: 201
Joined: Sun Jun 01, 2003 3:06 am
Location: Winnipeg, MB

Xorg.conf missing

  • Quote

Post by rekonrad » Fri Jun 29, 2012 5:00 pm

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.
Top
aCOSwt
Bodhisattva
Bodhisattva
Posts: 2537
Joined: Fri Oct 19, 2007 1:48 pm
Location: Hilbert space

  • Quote

Post by aCOSwt » Fri Jun 29, 2012 5:18 pm

This is my xorg.conf, you can copy paste it as /etc/X11/xorg.conf

Code: Select all

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.
Top
ultraincognito
Guru
Guru
User avatar
Posts: 346
Joined: Fri Jun 03, 2011 9:33 am
Location: Ukraine
Contact:
Contact ultraincognito
Website

  • Quote

Post by ultraincognito » Fri Jun 29, 2012 6:52 pm

The xorg.conf may be created with the "X -configure" command.
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Fri Jun 29, 2012 7:00 pm

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.
Top
Killerchronic
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Tue Apr 24, 2007 3:18 pm
Location: UK

  • Quote

Post by Killerchronic » Wed Jul 11, 2012 5:37 pm

aCOSwt wrote:This is my xorg.conf, you can copy paste it as /etc/X11/xorg.conf

Code: Select all

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.
Top
bigbangnet
Apprentice
Apprentice
User avatar
Posts: 174
Joined: Mon Jun 11, 2007 12:32 pm

  • Quote

Post by bigbangnet » Mon Jul 16, 2012 5:40 pm

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
Top
djdunn
l33t
l33t
User avatar
Posts: 813
Joined: Sun Dec 26, 2004 2:21 am

  • Quote

Post by djdunn » Mon Jul 16, 2012 8:21 pm

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
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Mon Jul 16, 2012 8:29 pm

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.
Top
djdunn
l33t
l33t
User avatar
Posts: 813
Joined: Sun Dec 26, 2004 2:21 am

  • Quote

Post by djdunn » Mon Jul 16, 2012 11:07 pm

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
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Thu Jul 26, 2012 9:06 pm

Moved from Installing Gentoo to Desktop Environments.
Top
Post Reply

12 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic