LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 10-14-2008, 06:07 PM   #1
gone_bush
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Cannot set correct Mode in X with GeForce 9600 GSO


I'm trying to get MythTV going and I'm having a problem configuring X to correctly set the resolution on the TV. (I am getting output on the TV but it's in 4:3 not 16:9 ratio.)

I cannot see what I am doing wrong! Can someone please give me a hint?

Distro if Fedora Rawhide (pre-10 "bleeding edge"). X version info (some of):

==== start ====
$ grep xorg-x11-server /var/log/rpmpkgs
xorg-x11-server-common-1.5.1-10.fc10.x86_64.rpm
xorg-x11-server-utils-7.4-3.fc10.x86_64.rpm
xorg-x11-server-Xorg-1.5.1-10.fc10.x86_64.rpm
==== end ====

My xorg.conf is:
==== start ====
Section "ServerLayout"
Identifier "Multi-Head"
Screen 0 "Desktop" 0 0
Screen 1 "MythTV" RightOf "Desktop"
InputDevice "Keyboard" "CoreKeyboard"
InputDevice "Mouse" "CorePointer"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection

Section "Device"
Identifier "GF9600_GSO_Samsung"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
Option "UseEvents" "True"
Screen 0
EndSection

Section "Device"
Identifier "GF9600_GSO_TV"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
Option "UseEvents" "True"
Screen 1
EndSection

Section "Monitor"
Identifier "Samsung"
VendorName "Samsung"
ModelName "SyncMaster 940BW"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "LG_TV"
VendorName "LG"
ModelName "LG42LB2DE"
Modeline "1920x1080" 176.92 1920 2008 2224 2632 1080 1080 1083 1120
Modeline "1080" 182.01 1920 1952 2640 2672 1080 1102 1113 1135
Modeline "1080i" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync -vsync
EndSection

Section "Screen"
Identifier "Desktop"
Device "GF9600_GSO_Samsung"
Monitor "Samsung"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "MythTV"
Device "GF9600_GSO_TV"
Monitor "LG_TV"
==== end ====

The Xorg.0.log file is, in part:
==== start ====
(WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
(II) NVIDIA(0): NVIDIA GPU GeForce 9600 GSO (G92) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 393216 kBytes
(--) NVIDIA(0): VideoBIOS: 62.92.23.00.10
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 9600 GSO at PCI:1:0:0:
(--) NVIDIA(0): Samsung SyncMaster (CRT-0)
(--) NVIDIA(0): CRT-1
(--) NVIDIA(0): Samsung SyncMaster (CRT-0): 400.0 MHz maximum pixel clock
(--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(==) NVIDIA(0):
(==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) NVIDIA(0): will be used as the requested mode.
(==) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 1440 x 900
(--) NVIDIA(0): DPI set to (89, 87); computed from "UseEdidDpi" X config
(--) NVIDIA(0): option
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(1): Option "UseEvents" "True"
(**) NVIDIA(1): Enabling RENDER acceleration
(II) NVIDIA(1): NVIDIA GPU GeForce 9600 GSO (G92) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(1): Memory: 393216 kBytes
(--) NVIDIA(1): VideoBIOS: 62.92.23.00.10
(II) NVIDIA(1): Detected PCI Express Link width: 16X
(--) NVIDIA(1): Interlaced video modes are supported on this GPU
(--) NVIDIA(1): Connected display device(s) on GeForce 9600 GSO at PCI:1:0:0:
(--) NVIDIA(1): Samsung SyncMaster (CRT-0)
(--) NVIDIA(1): CRT-1
(--) NVIDIA(1): Samsung SyncMaster (CRT-0): 400.0 MHz maximum pixel clock
(--) NVIDIA(1): CRT-1: 400.0 MHz maximum pixel clock
(II) NVIDIA(1): Assigned Display Device: CRT-1
(WW) NVIDIA(1): No valid modes for "1080"; removing.
(WW) NVIDIA(1): No valid modes for "1080i"; removing.
(WW) NVIDIA(1): No valid modes for "1920x1080"; removing.
(WW) NVIDIA(1):
(WW) NVIDIA(1): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(1): "nvidia-auto-select".
(WW) NVIDIA(1):
(II) NVIDIA(1): Validated modes:
(II) NVIDIA(1): "nvidia-auto-select"
(II) NVIDIA(1): Virtual screen size determined to be 640 x 480
(WW) NVIDIA(1): Unable to get display device CRT-1's EDID; cannot compute DPI
(WW) NVIDIA(1): from CRT-1's EDID.
(==) NVIDIA(1): DPI set to (75, 75); computed from built-in default
(==) NVIDIA(1): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
==== end ====
 
Old 10-16-2008, 02:06 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 661

Rep: Reputation: 71
Well, as you can see...
Quote:
(II) NVIDIA(1): Virtual screen size determined to be 640 x 480
...you're getting a 640x480 because...
Quote:
(WW) NVIDIA(1): No valid modes for "1080"; removing.
(WW) NVIDIA(1): No valid modes for "1080i"; removing.
(WW) NVIDIA(1): No valid modes for "1920x1080"; removing.
...your graphics card refuses to use the modes you declared.

In my case I am running as well a PC (barebone Asus) connected to a LCD-TV using a nVidia GPU, but I am using http://mymediasystem.org as I am only interested in watching movies which are stored locally - I gave up with MythTV as it didn't fit my needs.
In order to get a 1080p resolution (but my TV is actually able to display only 720p) I use the following xorg.conf:
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen-PC" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
        Option "BlankTime" "40"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "dbe"
#        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option  "XkbLayout" "ch"
        Option  "XkbVariant" "de"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option  "ZAxisMapping" "4 5"
        Option  "Buttons" "5"
EndSection

Section "Monitor"
        Identifier   "Monitor-PC"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    28.0 - 65.0
        VertRefresh  43.0 - 72.0
EndSection

Section "Device"
        Identifier  "Card-PC"
        Driver  "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "C51 PCI Express Bridge"
        BusID       "PCI:0:5:0"
        Option  "DPMS" "false"
        VideoRam    65536
EndSection

Section "Screen"
        Identifier "Screen-PC"
        Device     "Card-PC"
        Monitor    "Monitor-PC"
        DefaultDepth    24
        Option  "passwordFile"  "/root/.vnc/passwd" #Used for the vnc server
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
#               Modes   "800x480"
#                Modes   "800x600"
#               Modes   "1280x768"
#               Modes   "1280x1024"
                Modes   "1920x1080"
        EndSubSection
EndSection
Afterwards in Xorg.0.log all I see about the resolution is:
Code:
(II) NVIDIA(0): Setting mode "1920x1080"
So, as you see in the "Monitor"-section I don't have any modeline set but just specify the range of frequencies that can be set - the nVidia-GPU sets the frequencies on its own after reading the EDID of the TV - works great with all the nVidia-GPUs I have (notebook, desktop-pc).
One more thing is that I explicitly set the desired resolution in the "Screen"-section.
Give it a try.

Last edited by Pearlseattle; 10-16-2008 at 02:08 PM.
 
Old 10-24-2008, 05:31 PM   #3
The_Seraphim
LQ Newbie
 
Registered: Sep 2008
Location: Missouri
Distribution: Ubuntu Jaunty
Posts: 21

Rep: Reputation: 15
I have heard that NVidia settings in your xorg.conf cant be standard "1920x1080" i think that you can append _xx where xx is your resolution or even some arbitrary number to the end of "1920x1080" so it would read "1920x1080_60". I think i was reading it on debian's forum earlier tonight so it is worth a try if you're still having problems.
 
Old 10-25-2008, 12:33 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,157

Rep: Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597
hi gone_bush FIRST Fedora 10 IS NOT DONE yet and ONLY some things are working
do not use a unfinished PRE release to build a mythtv system
 
  


Reply

Tags
mythtv, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
geforce 9600 gt without driver and no 3d accelaration setlec_seta Mandriva 3 10-27-2008 03:29 PM
LXer: GeForce 9600 GSO in Linux LXer Syndicated Linux News 0 07-09-2008 04:50 PM
Compiz will not work on ubuntu 8.04 with 9600 gso running nvidia-glx latest version tekgek Linux - Newbie 4 06-16-2008 08:08 PM
GeForce 9600 S-Video during installation - will it work? veggieboy4000 Linux - Hardware 1 01-06-2007 02:37 PM
QUIKE! Trading 9600 radon for GeForce FX 5500! GOOD DEAL!!!!???? RHLinuxGUY Linux - Hardware 5 08-09-2004 05:44 PM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration