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.