View Full Version : Working nvidia HD xorg.conf thread. Post 'em if you got 'em
mythmaster 05-11-08, 09:18 PM This thread is a fork of http://www.avsforum.com/avs-vb/showthread.php?t=1027557 where I posted my modified xorg.conf which is necessary to display 1920x1080 with an 8500GT on a monitor whose native resolution is 1920x1200.
waterhead suggested that we start this thread to provide reference for users who may also have to modify their xorg.conf in order to achieve proper and smooth HD playback, and I thought it sounded like a good idea.
So I request that you post your working xorg.conf here (if it has required modification) along with details about what hardware you're using and why the xorg.conf needed modification.
Also, please let us know if everything worked out-of-the-box with your hardware.
Hopefully, we can help users get their existing cards working properly and/or help them to decide on which one(s) to purchase.
EDIT: Grammar.
mythmaster 05-11-08, 10:00 PM @waterhead:
(a) exactly what problems are you having with xvmc?
(b) did you have it working before you re-installed?
waterhead 05-12-08, 06:08 AM Thanks for starting the thread. I've been kinda busy, or I would have done it myself.
What I had in mind was a thread where we could post working X configurations. I actually have four PC with nVidia video, until a few weeks ago they all worked great! I really don't recall the setup of each one, but it seems that I had one working, and then copied it to the others.
Here are the relevant sections of the xorg.conf file on the working PC's, plus the hardware/software details:
Asus Pundit
AMD Athlon 64 x2 4600+
On board video - GeForce 6150
nVidia driver - 169.09
Monitor - Sharp 19" HDTV
Mythbuntu 7.10 (MythTV 0.20?)backend/frontend
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
EndSection
Section "Files"
EndSection
Section "Module"
Load "glx"
Load "v4l"
EndSection
Section "Monitor"
Identifier "Failsafe Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1360x768"
Horizsync 31.5-48.0
Vertrefresh 56.0 - 65.0
#modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
#modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
#modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
#modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1360x768" 82.81 1360 1400 1608 1736 768 770 772 808 # 83 MHz, 47.7 kHz, 59.0 Hz
Gamma 1.0
EndSection
Section "Device"
Identifier "Failsafe Device"
Boardname "NVIDIA GeForce 6 Series"
Busid "PCI:0:5:0"
Driver "nvidia"
Screen 0
Vendorname "NVIDIA"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Failsafe Device"
Monitor "Failsafe Monitor"
Defaultdepth 24
Option "AddARGBVisuals" "True"
Option "NoLogo" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Virtual 1024 768
Modes "1360x768"
#"1024x768@60" "800x600@60" "800x600@56" "640x480@60"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Compaq Presario 1Ghz AMD Athlon CPU
nVidia FX5200 AGP
Monitor - Samsung SyncMaster 173P 17" LCD
Fedora 8
nVidia driver - 169.07
MythTV 0.20 frontend only
Section "ServerFlags"
Option "AIGLX" "on"
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
# Option "UseEvents" "True"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
Option "AddARGBGLXVisuals" "True"
Option "RenderAccel" "True"
Option "NVAGP" "1"
Option "UseEvents" "True"
Option "ConnectMonitor" "DFP"
Option "NoLogo" "0"
Option "XvmcUsesTextures" "False"
EndSection
Section "Screen"
# Removed Option "metamodes" "nvidia-auto-select +0+0"
# Removed Option "metamodes" "1280x1024 +0+0"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
# Option "metamodes" "1280x1024_60 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enabled"
EndSection
waterhead 05-12-08, 06:19 AM Now, I recently redid my "test" PC, and have been having a hard time getting a stable picture. I did get it to work by copying what worked on the other systems, but I still have stuttering audio. I am using the newest nVidia driver that I could find on their web site. This is because of the problems that I was having, so maybe now I should downgrade to the 169.12 version. I tried the latest stable kernel (2.6.25.3), but the nVidia drivers wouldn't compile on it.
Edit: I tried MythTV 0.20, but there was no improvement in video dislay over 0.21.
Intel D875PBZ mobo
P4 3.06 CPU
nVidia 6600GT AGP
Monitor - Samsung SyncMaster 244T 24" LCD
nVidia driver - 171.06.01
CentOS 5.1 with vanilla kernel 2.6.24.4
MythTV - 0.21
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "ViSectiondeocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600 GT"
Option "AddARGBGLXVisuals"
Option "RenderAccel" "True"
Option "NVAGP" "1"
Option "UseEvents" "True"
Option "ConnectedMonitor" "DFP"
Option "XvmcUsesTextures" "False"
EndSection
Section "Extensions"
Option "Composite" "Disabled"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1920x1200 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
notadog 05-12-08, 12:42 PM I run an old NEC lcd monitor and a Sanyo projection TV. Needed a config that would allow me to see tha same output on both screens as the projector is not always turned on or accessible.
Gigabyte GA-73PVM-S2H - NVIDIAŽ GeForce 7100/nForce 630i chipset
Onboard Nvidia video
Intel dual core
Mythbuntu 7.1
Nvidia driver 169.12 (envy did not recognize graphics. Manually installed)
The key line is the "Busid" line that is needed for this kind of dual monitor configuration. Took a while to find that, but it is described in the man file for xorg.conf.
mythmaster 05-13-08, 09:49 AM Have you made any progress, waterhead? Don't know about centos, but in gentoo "The file /etc/X11/XvMCConfig should exist and its contents should point to your libXvMC".
Plus, I find it difficult to believe that rgb doesn't have any working xorg.conf files???
Well I"ll post mine here. In order to get my TV (Sony KFE50a10) to properly display from my HTPC I had to add a custom ModeLine which configures the video output correctly allowing my TV to have 1:1 pixel mapping.
There is also a line called DisplaySize and that allows me to set the TV to 96 DPI so that I can properly use the MS fonts package.
I am running this config:
Athlon 4200 X2 64Bit
2GB RAM
Gigabyte 8600 512MB Video Card
SoundBlaster Audigy 2 ZS
Gigabyte GA-M51GM-S2G mb (with 6100 onboard video not used)
Fedora Core 8
Mainly use mplayer for video and audio playback with SMPlayer as the frontend
I have found in the past that any time I get audio stuttering it is usually the sound card on board. This is why I have gone to the Soundblaster card.
Here is my file:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Thu Feb 14 18:13:41 PST 2008
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us+inet"
Option "XkbModel" "pc105"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
# ModeLine "1224x688" 79.4 1224 1314 1442 1664 688 733 738 796 -hsync +vsync
ModeLine "1224x688" 79.393 1224 1314 1442 1664 688 733 738 796 -hsync +vsync
DisplaySize 323 182
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1224x688"
EndSubSection
EndSection
Hope this helps out.
Cheers,
DK
waterhead 05-13-08, 06:21 PM I haven't changed anything yet since the last post. I still get the stuttering audio when there is a lot of motion in the video. It is very watchable though, so I don't really want to change things yet.
I actually have a fourth box that is a frontend only. It seems that I did something that screwed up the video display in MythTV. I really don't remember doing anything to screw it up, so I am baffled. I spent most of the weekend trying to figure it out. That is why I didn't post anything, I was busy.:(
All that I was getting was a blue screen, and MythTV would freeze up. I now have video displaying again, but XvMC doesn't seem to want to work.
And yes, I am very aware of the need for the XvMCConfig file. Thanks for mentioning it anyway. I have been using the MythTV wiki section on XvMC as my guide.
http://www.mythtv.org/wiki/index.php/XvMC
omnibrown 05-27-08, 01:00 PM My set up:
HTPC > Denon 3808CI > Samsung LN-T4661F
HTPC:
Mythbuntu 8.04 with the current nvidia driver, 169.12
AMD Athlon 64 X2 6400+ Windsor 3.2GHz Socket AM2 125W Dual-Core
G Skill 2 GB RAM
nVidia GeForce 7050 PV
X worked right out of the box. Just plugged in the HDMI from the HTPC to the Denon.
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "DPI" "100x100"
Option "UseEvents" "1"
Option "AddARGBVisuals" "1"
Option "AddARGBGLXVisuals" "1"
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "nvidia-auto-select" "1920x1080" "1280x720" "1024x768" "720x480" "800x600" "640x480"
EndSubSection
EndSection
My only problem is my mkv/x.264 files hang in mplayer/xine/VLC. All other aspects of Myth work great.
infinityvoid 05-28-08, 07:55 AM My system is running on Gentoo so there is no out of the box.
Everything was written by hand and works like a champ.
My set up:
______ Onkyo TX-SR705 -> Westinghouse LVM-37w3 (Myth output)
HTPC <
______ Dell ULTRASHARP 2208WFP (Desktop output)
HTPC:
Gentoo 2.6.24-gentoo-r8; nVidia driver v.169.09-r1
Intel Pentium Dual CPU E2160 OC'd to 3ghz
OCZ 2 GB RAM (3-3-3-7)
nVidia 8400 GS
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Dell 2005FPW Screen - Analog Output" 0 0
Screen 1 "Westinghouse LVM-37w3 1080p Screen - DVI Output" 2000 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "blank time" "5" # Blank the screen after 5 minutes (Fake)
Option "standby time" "10" # Turn off screen after 10 minutes (DPMS)
Option "suspend time" "20" # Full suspend after 20 minutes
Option "off time" "30" # Turn off after half an hour
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib/xorg/modules/extensions"
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 "extmod"
Load "record"
Load "dbe"
Load "GLcore"
Load "xtrap"
# Load "dri"
Load "glx"
Load "wfb"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "250 50"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbLayout" "en_US"
Option "XkbModel" "microsoft"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Buttons" "9"
Option "ZAxisMapping" "4 5"
Option "DialRealativeAxisButtons" "6 7"
EndSection
Section "Monitor"
Identifier "Dell 2005FPW"
VendorName "Dell"
ModelName "2005FPW"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Westinghouse LVM-37w3 1080p"
VendorName "Westinghouse"
ModelName "LVM-37w3"
Option "UseEDID" "false"
HorizSync 30-80
VertRefresh 60
Modeline "1920x1080" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Option "DPMS"
Option "ModeValidation" "NoEdidModes"
EndSection
Section "Device"
Identifier "nVidia 8400 GS to Dell"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 8400 GS"
BusID "PCI:1:0:0"
Screen 0
Option "RenderAccel" "true"
Option "NoLogo"
Option "AllowGLXWithComposite" "true"
Option "UseDisplayDevice" "CRT-0"
EndSection
Section "Device"
Identifier "nVidia 8400 GS to Westinghouse"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 8400 GS"
BusID "PCI:1:0:0"
Screen 1
Option "RenderAccel" "true"
Option "NoLogo"
Option "AllowGLXWithComposite" "true"
Option "UseDisplayDevice" "DFP-0"
Option "ExactModeTimingsDVI" "on"
Option "FlatPanelProperties" "Scaling = aspect-scaled"
EndSection
Section "Screen"
Identifier "Dell 2005FPW Screen - Analog Output"
Device "nVidia 8400 GS to Dell"
Monitor "Dell 2005FPW"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050"
EndSubSection
EndSection
Section "Screen"
Identifier "Westinghouse LVM-37w3 1080p Screen - DVI Output"
Device "nVidia 8400 GS to Westinghouse"
Monitor "Westinghouse LVM-37w3 1080p"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
If there are any questions I'll try to check back on this thread and answer them. Cheers.
stickyfingers 05-28-08, 12:47 PM ...anyone using the component out?
slowbiscuit 05-29-08, 07:54 AM Yep, I have an Abit M2NPV-VM w/component out and the xorg.conf is very simple, just enable component with HD1080i as the output option, no need for modelines or anything else other than the usual stuff (UseEvents "true" etc.). I'm at work so don't have the exact line handy but it's very straightforward using component.
stickyfingers 06-01-08, 07:48 PM Yep, I have an Abit M2NPV-VM w/component out and the xorg.conf is very simple, just enable component with HD1080i as the output option, no need for modelines or anything else other than the usual stuff (UseEvents "true" etc.). I'm at work so don't have the exact line handy but it's very straightforward using component.
I should have been more clear.
I can get component working, it's the dealing with overscan that gets me...
|