Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nouveau xorg.conf question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1268
Location: Tri-Cities, WA USA

PostPosted: Fri Feb 07, 2014 1:08 pm    Post subject: nouveau xorg.conf question Reply with quote

I switched to nouveau drivers using my nvidia video card and I'd like some input into the correct xorg.conf settings. Here is waht I have right now:

My card is not buffering video very well using vlc and I'm going to play with the xorg.conf to see if that is the problem.
I'm reall not sure what these these setting do:

Disable "dri"
Disable "dri2"
Load "glx"

thanks

Code:


Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
#   Load  "dri2"
#   Load  "dbe"
#   Load  "record"
#   Load  "extmod"
#   Load  "dri"
#cwc
   Disable "dri"
   Disable "dri2"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "nouveau"
   BusID       "PCI:2:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection






_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Feb 07, 2014 4:29 pm    Post subject: Reply with quote

The correct xorg.conf is *no* xorg.conf. Remove it completely.

A full, everything-including-the-kitchen-sink xorg.conf is a thing of the past. If you do have a good reason to configure something (can't think of any reason with nouveau), you write the one section you're configuring and only that one section.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Fri Feb 07, 2014 5:01 pm    Post subject: Reply with quote

I have my xorg.conf split up.

A section for adding extra fonts,
one for input (just shuts out extraneous verbiage from the log file),
one for button mapping for mouse,
and a minimal one for nouveau
Code:
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
    Option         "Backingstore" "true"
EndSection


And the main one for setting blank, standby and offtime for the monitor. (I dislike it going to sleep)

Truthfully if you accept the defaults, you don't need much of one at all.
When I was using the proprietary nvidia drivers I had a few more lines.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1268
Location: Tri-Cities, WA USA

PostPosted: Sat Feb 08, 2014 2:33 pm    Post subject: Reply with quote

Gusar wrote:
The correct xorg.conf is *no* xorg.conf. Remove it completely.

A full, everything-including-the-kitchen-sink xorg.conf is a thing of the past. If you do have a good reason to configure something (can't think of any reason with nouveau), you write the one section you're configuring and only that one section.



wow! what a difference. I have a 194 meg movie running using vlc and all is good.

Thanks!
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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