zmeeDB
January 19th, 2009, 05:22 AM
Hello -
I have been having troubles getting Ubuntu to recognize my screen resolutions. I have reviewed the X/Config/Resolution Guide (https://wiki.ubuntu.com/X/Config/Resolution) to no avail. Specifically, I know that my monitor can support quite a bit (per the vendor's setup guide), but, I can only get 640x480 and 320x240. The native resolution is 1680x1050 and at this setting, the setup guide indicates that the HSync should be 66.29 (kHz), VSync at 59.954 (Hz), Pixel Clock at 146.250 (MHz), and a H/V Sync Polarity of -/+. Now following the X/Config/Resolution Guide (https://wiki.ubuntu.com/X/Config/Resolution), here is what I get:
zmee@zmyyne-antec:~$ cat ~/.config/monitors.xml
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="default">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
<width>1680</width>
<height>1050</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
</output>
</configuration>
</monitors>
zmee@zmyyne-antec:~$ rm ~/.config/monitors.xml
zmee@zmyyne-antec:~$ xrandr
Screen 0: minimum 320 x 240, current 640 x 480, maximum 640 x 480
default connected 640x480+0+0 0mm x 0mm
640x480 50.0*
320x240 51.0
zmee@zmyyne-antec:~$ gtf 1680 1050 59.954
# 1680x1050 @ 59.95 Hz (GTF) hsync: 65.17 kHz; pclk: 147.02 MHz
Modeline "1680x1050_59.95" 147.02 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
zmee@zmyyne-antec:~$ gtf 1680 1050 60
# 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
Modeline "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
zmee@zmyyne-antec:~$ cvt 1680 1050 59.954
# 1680x1050 59.85 Hz (CVT) hsync: 65.18 kHz; pclk: 146.00 MHz
Modeline "1680x1050_59.95" 146.00 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
zmee@zmyyne-antec:~$ cvt 1680 1050 60
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
zmee@zmyyne-antec:~$ xrandr --newmode "1680x1050_gtf" 147.02 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
zmee@zmyyne-antec:~$ xrandr --newmode "1680x1050_gtf60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
zmee@zmyyne-antec:~$ xrandr --newmode "1680x1050_cvt" 146.00 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
zmee@zmyyne-antec:~$ xrandr --newmode "1680x1050_cvt60" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
zmee@zmyyne-antec:~$ xrandr --addmode default "1680x1050_gtf"
zmee@zmyyne-antec:~$ xrandr --addmode default "1680x1050_gtf60"
zmee@zmyyne-antec:~$ xrandr --addmode default "1680x1050_cvt"
zmee@zmyyne-antec:~$ xrandr --addmode default "1680x1050_cvt60"
zmee@zmyyne-antec:~$ xrandr
Screen 0: minimum 320 x 240, current 640 x 480, maximum 1680 x 1050
default connected 640x480+0+0 0mm x 0mm
640x480 50.0*
320x240 51.0
1680x1050_gtf 60.0
1680x1050_gtf60 60.0
1680x1050_cvt 59.9
1680x1050_cvt60 60.0
zmee@zmyyne-antec:~$ xrandr --output default --mode "1680x1050_gtf"
xrandr: Configure crtc 0 failed
zmee@zmyyne-antec:~$ xrandr --output default --mode "1680x1050_gtf60"
xrandr: Configure crtc 0 failed
zmee@zmyyne-antec:~$ xrandr --output default --mode "1680x1050_cvt"
xrandr: Configure crtc 0 failed
zmee@zmyyne-antec:~$ xrandr --output default --mode "1680x1050_cvt60"
xrandr: Configure crtc 0 failed
zmee@zmyyne-antec:~$
Note that the cvt output @ 60 Hz matches nearly perfectly to the vendor supplied frequency ranges. So, how do I get around that crtc error?
For reference, I am running Ubuntu 8.10 for AMT64 (fresh install), I have an NVidia 9800 GTX card using the NVidia 180.22 drivers, and the monitor is a Chimei CMV 221D. My xorg.conf is as follows:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Tue Jan 6 09:43:54 PST 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
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/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
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
EndSubSection
EndSection
On a related note, I was running 1680x1050 just fine until about a 2 weeks ago on 8.06 (same driver version). This, combined with some hard-drive issues, prompted me to perform a fresh install on a new hard-drive. Note that the issues started after an update (don't remember which one) on 8.06.
I have been having troubles getting Ubuntu to recognize my screen resolutions. I have reviewed the X/Config/Resolution Guide (https://wiki.ubuntu.com/X/Config/Resolution) to no avail. Specifically, I know that my monitor can support quite a bit (per the vendor's setup guide), but, I can only get 640x480 and 320x240. The native resolution is 1680x1050 and at this setting, the setup guide indicates that the HSync should be 66.29 (kHz), VSync at 59.954 (Hz), Pixel Clock at 146.250 (MHz), and a H/V Sync Polarity of -/+. Now following the X/Config/Resolution Guide (https://wiki.ubuntu.com/X/Config/Resolution), here is what I get:
zmee@zmyyne-antec:~$ cat ~/.config/monitors.xml
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="default">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
<width>1680</width>
<height>1050</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
</output>
</configuration>
</monitors>
zmee@zmyyne-antec:~$ rm ~/.config/monitors.xml
zmee@zmyyne-antec:~$ xrandr
Screen 0: minimum 320 x 240, current 640 x 480, maximum 640 x 480
default connected 640x480+0+0 0mm x 0mm
640x480 50.0*
320x240 51.0
zmee@zmyyne-antec:~$ gtf 1680 1050 59.954
# 1680x1050 @ 59.95 Hz (GTF) hsync: 65.17 kHz; pclk: 147.02 MHz
Modeline "1680x1050_59.95" 147.02 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
zmee@zmyyne-antec:~$ gtf 1680 1050 60
# 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
Modeline "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
zmee@zmyyne-antec:~$ cvt 1680 1050 59.954
# 1680x1050 59.85 Hz (CVT) hsync: 65.18 kHz; pclk: 146.00 MHz
Modeline "1680x1050_59.95" 146.00 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
zmee@zmyyne-antec:~$ cvt 1680 1050 60
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
zmee@zmyyne-antec:~$ xrandr --newmode "1680x1050_gtf" 147.02 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
zmee@zmyyne-antec:~$ xrandr --newmode "1680x1050_gtf60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
zmee@zmyyne-antec:~$ xrandr --newmode "1680x1050_cvt" 146.00 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
zmee@zmyyne-antec:~$ xrandr --newmode "1680x1050_cvt60" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
zmee@zmyyne-antec:~$ xrandr --addmode default "1680x1050_gtf"
zmee@zmyyne-antec:~$ xrandr --addmode default "1680x1050_gtf60"
zmee@zmyyne-antec:~$ xrandr --addmode default "1680x1050_cvt"
zmee@zmyyne-antec:~$ xrandr --addmode default "1680x1050_cvt60"
zmee@zmyyne-antec:~$ xrandr
Screen 0: minimum 320 x 240, current 640 x 480, maximum 1680 x 1050
default connected 640x480+0+0 0mm x 0mm
640x480 50.0*
320x240 51.0
1680x1050_gtf 60.0
1680x1050_gtf60 60.0
1680x1050_cvt 59.9
1680x1050_cvt60 60.0
zmee@zmyyne-antec:~$ xrandr --output default --mode "1680x1050_gtf"
xrandr: Configure crtc 0 failed
zmee@zmyyne-antec:~$ xrandr --output default --mode "1680x1050_gtf60"
xrandr: Configure crtc 0 failed
zmee@zmyyne-antec:~$ xrandr --output default --mode "1680x1050_cvt"
xrandr: Configure crtc 0 failed
zmee@zmyyne-antec:~$ xrandr --output default --mode "1680x1050_cvt60"
xrandr: Configure crtc 0 failed
zmee@zmyyne-antec:~$
Note that the cvt output @ 60 Hz matches nearly perfectly to the vendor supplied frequency ranges. So, how do I get around that crtc error?
For reference, I am running Ubuntu 8.10 for AMT64 (fresh install), I have an NVidia 9800 GTX card using the NVidia 180.22 drivers, and the monitor is a Chimei CMV 221D. My xorg.conf is as follows:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Tue Jan 6 09:43:54 PST 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
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/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
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
EndSubSection
EndSection
On a related note, I was running 1680x1050 just fine until about a 2 weeks ago on 8.06 (same driver version). This, combined with some hard-drive issues, prompted me to perform a fresh install on a new hard-drive. Note that the issues started after an update (don't remember which one) on 8.06.