[mythtv-users] Modeline / timings help; convert xorg to windows
Bruce Nordstrand
brucen at ksl.com.au
Thu Jan 10 23:13:38 UTC 2008
Christopher Friend wrote:
> arrghhhhhhhh.... anyone got any ideas why my screen res/refresh has 0
> relation to xorg.conf? I'm using nvidia drivers (from mid last year)
> and whatever I put in xorg.conf (720x576 modeline as the only mode)
> it's defaulting back to either a 1024*768 at 80Hz, 1280*whatever or
> 1600*whatever resolution, even though there's no mention of any of
> these in xorg.conf. Even the nvidia-settings wizard seems to be in a
> world of it's own with around 30 odd different res/refresh rates
> available that aren't in xorg.conf.
>
> Does anyone using nvidia drivers know how I can actually control the
> modeline? This is all I wanna use:
> Modeline "720x576pali" 13.88 720 742 808 888 576 580 583 625 -hsync
> -vsync interlace
>
> My current xorg.conf is below if anyone knows how to change it, like I
> say I've tried stripping out everything but the above modeline +
> reference to it in Screen and a different horizsync and vertrefresh
> but it's not getting me anywhere...
>
> Thanks. Christopher.
>
>
>
>
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig: version 1.0 (buildmeister at builder3) Thu Nov 9
> 17:55:20 PST 2006
>
> # /etc/X11/xorg.conf (xorg X Window System server configuration file)
> #
> # This file was generated by dexconf, the Debian X Configuration tool,
> using
> # values from the debconf database.
> #
> # Edit this file with caution, and see the xorg.conf(5) manual page.
> # (Type "man xorg.conf" at the shell prompt.)
> #
> # This file is automatically updated on xserver-xorg package upgrades
> *only*
> # if it has not been modified since the last upgrade of the xserver-xorg
> # package.
> #
> # If you have edited this file but would like it to be automatically
> updated
> # again, run the following command:
> # sudo dpkg-reconfigure -phigh xserver-xorg
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen "Default Screen" 0 0
> InputDevice "Generic Keyboard"
> InputDevice "Configured Mouse"
> InputDevice "stylus" "SendCoreEvents"
> InputDevice "cursor" "SendCoreEvents"
> InputDevice "eraser" "SendCoreEvents"
> EndSection
>
> Section "Files"
>
> # path to defoma fonts
> FontPath "/usr/share/fonts/X11/misc"
> FontPath "/usr/share/fonts/X11/cyrillic"
> FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
> FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
> FontPath "/usr/share/fonts/X11/Type1"
> FontPath "/usr/share/fonts/X11/100dpi"
> FontPath "/usr/share/fonts/X11/75dpi"
> FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
>
> Section "Module"
> Load "i2c"
> Load "bitmap"
> Load "ddc"
> Load "extmod"
> Load "freetype"
> Load "glx"
> Load "int10"
> Load "vbe"
> EndSection
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> Option "XkbModel" "pc105"
> Option "XkbLayout" "gb"
> Option "XkbOptions" "lv3:ralt_switch"
> 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 "InputDevice"
> Identifier "stylus"
> Driver "wacom"
> Option "Device" "/dev/input/wacom"
> Option "Type" "stylus"
> Option "ForceDevice" "ISDV4"# Tablet PC ONLY
> EndSection
>
> Section "InputDevice"
> Identifier "eraser"
> Driver "wacom"
> Option "Device" "/dev/input/wacom"
> Option "Type" "eraser"
> Option "ForceDevice" "ISDV4"# Tablet PC ONLY
> EndSection
>
> Section "InputDevice"
> Identifier "cursor"
> Driver "wacom"
> Option "Device" "/dev/input/wacom"
> Option "Type" "cursor"
> Option "ForceDevice" "ISDV4"# Tablet PC ONLY
> EndSection
>
> Section "Modes"
> Identifier "Modes[0]"
> ModeLine "1024x768" 113.3 1024 1096 1208 1392 768 769 772 814
> -hsync +vsync
> EndSection
>
> Section "Monitor"
> Identifier "Generic Monitor"
> VendorName "CTX"
> ModelName "CTX MONITOR"
> UseModes "Modes[0]"
> DisplaySize 200 200
> HorizSync 30.0 - 97.0
> VertRefresh 50.0 - 160.0
> Option "DPMS"
> EndSection
>
> Section "Device"
> Identifier "Generic Video Card"
> Driver "nvidia"
> EndSection
>
> Section "Screen"
> Identifier "Default Screen"
> Device "Generic Video Card"
> Monitor "Generic Monitor"
> DefaultDepth 24
>
> # Below sets DPI with Nvidia driver - pep2k
> Option "UseEdidDpi" "false"
> Option "Dpi" "96 x 96"
>
> Option "AddARGBVisuals" "True"
> Option "AddARGBGLXVisuals" "True"
> Option "NoLogo" "True"
> SubSection "Display"
> Depth 1
> Modes "1280x1024" "1152x864" "1024x768" "832x624"
> "800x600" "720x400" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 4
> Modes "1280x1024" "1152x864" "1024x768" "832x624"
> "800x600" "720x400" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 8
> Modes "1280x1024" "1152x864" "1024x768" "832x624"
> "800x600" "720x400" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 15
> Modes "1280x1024" "1152x864" "1024x768" "832x624"
> "800x600" "720x400" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 16
> Modes "1280x1024" "1152x864" "1024x768" "832x624"
> "800x600" "720x400" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 24
> Modes "1280x1024" "1152x864" "1024x768" "832x624"
> "800x600" "720x400" "640x480"
> EndSubSection
> EndSection
>
Christopher
I had to do a modeline for my 51cm PAL TV to get 4:3 to stick properly.
I too had problems with the nvidia driver ignoring what I out in and it
complained about lot of things. I finally ended up with this, and it
gives me prefectly size pictures on 4:3 stretch.
Section "Monitor"
Identifier "MonitorTV"
Vendorname "NEC"
Modelname "FS5185"
# 720x576x50.00 @ 15.625kHz
modeline "720x288x50.08" 13.9 720 744 808 888 288 293 296 312
Option "DPMS"
EndSection
Section "Device"
#Option "XvmcUsesTextures" "false"
#Option "RenderAccel" "false"
Identifier "nvidiaTV"
Driver "nvidia"
Vendorname "Videocard vendor"
Boardname "NVIDIA GeForce FX (generic)"
Screen 0
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
EndSection
Section "Screen"
Identifier "screenTV"
Device "nvidiaTV"
Monitor "monitorTV"
Defaultdepth 24
Option "SecurityTypes" "VncAuth"
Option "UserPasswdVerifier" "VncAuth"
Option "PasswordFile" "/root/.vnc/passwd"
Option "ConnectedMonitor" "TV"
Option "TVOutFormat" "COMPOSITE"
Option "TVOverScan" "0.5"
Option "TVStandard" "PAL-B"
Option "DPI" "100x100"
Option "NoLogo" "True"
Option "UseEvents" "1"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "720x576"
EndSubSection
EndSection
Cheers
Bruce
More information about the mythtv-users
mailing list