2009-02-25, 11:50
majorheadache Wrote:OK, thanks for this informative post
I've gone through it as carefully as I can but I'm still having an issue. First let me backup. If I plug the projector directly into the XBMC HTPC, then the image is perfect. Presumably the projector is able to correctly transmit it's EDID, so it goes to the right resolution. I haven't confirmed it, but I suspect that in the previous case it was spitting out a lower resolution that the projector was upscaling. But this isn't a practical solution since it precludes me from using other sources and HDMI audio.
So, using the technique on the ubuntu forum, I was able to get the output to xlog.txt. I have it posted here:
http://www.majorheadache.com/xlog.txt
But here is an excerpt and the first mode:
Code:(II) NVIDIA(0): --- Building ModePool for Mitsubishi HC5000-HDMI (DFP-0) ---
(II) NVIDIA(0): Validating Mode "1920x1080":
(II) NVIDIA(0): 1920 x 1080 @ 60 Hz
(II) NVIDIA(0): For use as DFP backend.
(II) NVIDIA(0): Mode Source: EDID
(II) NVIDIA(0): Pixel Clock : 148.50 MHz
(II) NVIDIA(0): HRes, HSyncStart : 1920, 2008
(II) NVIDIA(0): HSyncEnd, HTotal : 2052, 2200
(II) NVIDIA(0): VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0): VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0): H/V Polarity : +/+
(II) NVIDIA(0): Mode is valid.
and another low resolution mode:
Code:(II) NVIDIA(0): Validating Mode "720x480":
(II) NVIDIA(0): 720 x 480 @ 60 Hz
(II) NVIDIA(0): For use as DFP backend.
(II) NVIDIA(0): Mode Source: EDID
(II) NVIDIA(0): Pixel Clock : 27.00 MHz
(II) NVIDIA(0): HRes, HSyncStart : 720, 736
(II) NVIDIA(0): HSyncEnd, HTotal : 798, 858
(II) NVIDIA(0): VRes, VSyncStart : 480, 489
(II) NVIDIA(0): VSyncEnd, VTotal : 495, 525
(II) NVIDIA(0): H/V Polarity : -/-
(II) NVIDIA(0): Mode is valid.
so based on those two modes, I created the following two "modelines":
According to the post, I first tested it on the low resolution modeline with this statement:Code:modeline "1920x1080" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
modeline "720x480" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync
Modes "720x480"
which did display a low resolution image. But when I change that to
Modes "1920x1080"
My projector just throws a totally scrambled image. I'm puzzled because it is listed as a valid mode, I know it can handle 1920 x 1080P. Can anyone see any mistake I've made?
Well you are still using EDID for your mode population by the look of it, the whole point of that post is to get rid of Edid all together and then use the custom modelines you prepared of which you can tailor each one be 1080, 50 ,60 ,24 for perfect fit. Post your xorg.conf file and let me look at it please.
You need to add
Option "ModeValidation" "NoEdidModes"
To your screen section of your xorg.conf file and by the looks of it you are still loading the native resolution option and you need to remove that now as you will not be scanning edid at all, This does not affect "DPMS" at all.
here is a copy of my LG 32" 1080p monitor. It currently only has the 1080p 60 line configured, I am still working on the 50 and 24.
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Jan 6 10:03:02 PST 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "Module"
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 "LGHDTV"
VendorName "LG"
ModelName "32LG70"
HorizSync 31.0 - 100.0
VertRefresh 48.0 - 88.0
ModeLine "1920x1080" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Option "DPMS"
Option "ExactModeTimingsDVI" "True"
EndSection
Section "Device"
Identifier "9300GT"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "9300GT"
Monitor "LGHDTV"
DefaultDepth 24
Option "NvAGP" "1"
Option "NoLogo" "True"
Option "ModeValidation" "NoEdidModes"
Option "TripleBuffer" "True"
Option "UseEvents" "True"
Option "DynamicTwinView" "False"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection