View previous topic :: View next topic |
Author |
Message |
nico-- n00b
Joined: 29 Jul 2002 Posts: 59
|
Posted: Thu Apr 09, 2009 9:49 am Post subject: Getting rid of xorg.conf |
|
|
So I hear xorg.conf isn't needed anymore but when I tried to remove it X crashed. Seems like hal doesn't know how to load the 'nvidia' driver. Is there a way to fix this? If not, which sections do I need to keep in xorg.conf? _________________ Quidquid latine dictum sit, altum viditur. |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Thu Apr 09, 2009 10:24 am Post subject: |
|
|
Well, with the binary blob you don't really have a normal Xorg server. You have a mod by nvidia and it's hard to say what functionality it lacks. So it is possible that you need your xorg.conf.
BTW Paste the log (and your xorg.conf - without all the commented out stuff (if there is any)) |
|
Back to top |
|
|
pingufunkybeat l33t
Joined: 01 Dec 2004 Posts: 610
|
Posted: Thu Apr 09, 2009 10:32 am Post subject: |
|
|
Try generating a fresh xorg.conf using X -configure.
See if that gives you a workable desktop, then you can selectively remove things until it works.
I'm using open source Radeon drivers, and the only thing I have in xorg.conf is the section to enable Composite extension (which is not on by default).
It might be different with the nvidia binary driver, though. |
|
Back to top |
|
|
Tekeli Li Tux's lil' helper
Joined: 03 Jan 2009 Posts: 95
|
Posted: Thu Apr 09, 2009 11:33 am Post subject: |
|
|
I'm having the same problem with nvidia not being automatically recognized by hal/xorg. However, I don't mind having xorg.conf just for nvidia, because nvidia-settings uses it when I switch from single to dual-monitor setups, this being a laptop. Then again, I don't know if TwinView can work without xorg.conf options? |
|
Back to top |
|
|
jrittenh Tux's lil' helper
Joined: 10 Feb 2005 Posts: 92
|
Posted: Thu Apr 09, 2009 1:39 pm Post subject: |
|
|
I'd like to see your xorg.conf as well...since the update to 1.5, I can't start WITH one! |
|
Back to top |
|
|
Tekeli Li Tux's lil' helper
Joined: 03 Jan 2009 Posts: 95
|
Posted: Thu Apr 09, 2009 3:09 pm Post subject: |
|
|
jrittenh wrote: | I'd like to see your xorg.conf as well...since the update to 1.5, I can't start WITH one! |
Here. Note that the Monitor section is a generic one, it's for the laptop's LCD, and the metamodes are designed for gaming in single screen for when I plug in the secondary LCD.
Code: |
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 7300"
Option "NvAGP" "1"
Option "RenderAccel" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "CRT: 1280x1024 +1440+0, DFP: 1440x900 +0+0; CRT: NULL, DFP: 1024x768 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
|
|
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Thu Apr 09, 2009 3:50 pm Post subject: |
|
|
jrittenh wrote: | I'd like to see your xorg.conf as well...since the update to 1.5, I can't start WITH one! |
Have you checked the messages in /var/log/Xorg.0.log? When I migrated a system (with nVidia) I had to comment the line with the rgb path, and then X came up. Later I commented out all of the input stuff, then the stuff in the "Screen" section that referenced the input stuff, and I'm running. The wheel on my mouse never has worked on the system I migrated, but I saw a reference to "xev", so I've emerged that and will bug it out as I get time. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
jrittenh Tux's lil' helper
Joined: 10 Feb 2005 Posts: 92
|
Posted: Thu Apr 09, 2009 4:03 pm Post subject: |
|
|
depontius wrote: | jrittenh wrote: | I'd like to see your xorg.conf as well...since the update to 1.5, I can't start WITH one! |
Have you checked the messages in /var/log/Xorg.0.log? When I migrated a system (with nVidia) I had to comment the line with the rgb path, and then X came up. Later I commented out all of the input stuff, then the stuff in the "Screen" section that referenced the input stuff, and I'm running. The wheel on my mouse never has worked on the system I migrated, but I saw a reference to "xev", so I've emerged that and will bug it out as I get time. |
I have checked the log, and the weird thing is that there aren't any errors. I've stripped my xorg.conf down to a simple device section:
xorg.conf: | Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 570M"
BusID "PCI:1:0:0"
EndSection |
This doesn't work either. I have a thread with more detail at https://forums.gentoo.org/viewtopic-t-753761.html but was curious about what others with nvidia drivers are using that is actually working. |
|
Back to top |
|
|
nico-- n00b
Joined: 29 Jul 2002 Posts: 59
|
Posted: Thu Apr 09, 2009 8:19 pm Post subject: |
|
|
This works for me right now.
Code: | Section "Monitor"
Identifier "My Monitor"
Option "DPMS"
EndSection
Section "Device"
Identifier "Onboard geforce6"
Driver "nvidia"
Option "NoLogo" "true"
Option "DPMS" "true"
Option "backingstore" "true"
Option "RenderAccel" "true"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Onboard geforce6"
Monitor "My Monitor"
DefaultDepth 24
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
EndSection |
_________________ Quidquid latine dictum sit, altum viditur. |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 644
|
Posted: Thu Apr 09, 2009 8:51 pm Post subject: |
|
|
This is all I have left uncommented in my xorg.conf. Removing that started X using the nv driver (worked, but clearly suboptimal).
Code: |
Section "Device"
Identifier "NVidia GeForce 6200"
Driver "nvidia"
EndSection
|
All modules / resolution / bitdepth / etc. is loaded automatically or detected correctly.
It just works... |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Fri Apr 10, 2009 6:30 am Post subject: |
|
|
Here is my xorg.conf that works with xorg-server-1.5.x: Code: | Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "AllowEmptyInput" "true"
Option "AutoAddDevices" "true"
Option "AutoEnableDevices" "true"
Option "NoPM" "true"
EndSection
Section "Module"
Load "record"
Load "xtrap"
Load "dbe"
Load "glx"
Load "extmod"
EndSection
Section "Device"
Option "TwinView"
Option "TwinViewXineramaInfoOrder" "DFP, CRT"
Option "MetaModes" "1600x1200,1920x1200; NULL,1920x1200; 1024x768,1024x768"
Option "TwinviewOrientation" "DFP-0 RightOf CRT-0"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
Option "NvAGP" "0"
Option "NoLogo" "false"
Option "RenderAccel" "false"
Option "NoRenderExtension" "false"
Option "UseEdidFreqs" "true"
BoardName "C51PV [GeForce 6150]"
BusID "PCI:0:5:0"
Option "DPI" "120 x 120"
Option "AddARGBGLXVisuals" "true"
Option "UseEvents" "false"
EndSection |
There is probably more stuff I could strip out of it. |
|
Back to top |
|
|
|