View Single Post
Old 11-07-07, 12:15 AM   #1
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default How to force which display to be used, even if screen is off?

Hi

I have bought an HDMI switch in order to plug more than one HDMI device to my projector.
The PC is connected to one LCD screen over the VGA port ; and a project on the DVI port. I do not use TwinView as I want each screen to be separate.

When my PC boot and the switch isn't on , the screen isn't recognised

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6500"
Option "TVStandard" "HD720p" #or NTSC etc
Option "UseDisplayDevice" "DFP-0"
Option "FlatPanelProperties" "Scaling = native, Dithering = disabled"
Option "ConnectedMonitor" "DFP,CRT"
Option "ExactModeTimingsDVI" "true"
Option "UseEdidDpi" "DFP-0"
Option "RenderAccel" "True"
Option "UseEvents" "True"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6500"
Option "RenderAccel" "True"
Option "UseEvents" "True"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen-LCD"
Device "Videocard1"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
# Option "metamodes" "CRT: 1280x1024 +0+0"
EndSection

Section "Screen"
Identifier "Screen-Projector"
Device "Videocard0"
Monitor "Projector"
DefaultDepth 24
Option "TwinView" "0"
Option "ModeValidation" "NoDFPNativeResolutionCheck"
Option "metamodes" "DFP: 1280x720 +0+0"
EndSection

If I remove the last line:
Option "metamodes" "DFP: 1280x720 +0+0"

The even if the HDMI switch is on, it will be recognised but only in 640x480.
I'd have to restart X for the resolution to be correct.

With "Option "metamodes" "DFP: 1280x720 +0+0""
Comparing the two logs between one boot with the HDMI switch on and one with the HDMI switch off:

> (WW) NVIDIA(GPU-0): Unable to read EDID for display device DFP-0
410c411
< (--) NVIDIA(0): Panasonic AE-900 (DFP-0)
---
> (--) NVIDIA(0): DFP-0
412,414c413,415
< (--) NVIDIA(0): Panasonic AE-900 (DFP-0): 155.0 MHz maximum pixel clock
< (--) NVIDIA(0): Panasonic AE-900 (DFP-0): Internal Single Link TMDS
< (II) NVIDIA(0): Mode Validation Overrides for Panasonic AE-900 (DFP-0):
---
> (--) NVIDIA(0): DFP-0: 155.0 MHz maximum pixel clock
> (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
> (II) NVIDIA(0): Mode Validation Overrides for DFP-0:
420,422c421,422
< (WW) NVIDIA(0): Panasonic AE-900 (DFP-0)'s EDID does not contain a maximum
< (WW) NVIDIA(0): image size; cannot compute DPI from Panasonic AE-900
< (WW) NVIDIA(0): (DFP-0)'s EDID.
---
> (WW) NVIDIA(0): Unable to get display device DFP-0's EDID; cannot compute DPI
> (WW) NVIDIA(0): from DFP-0's EDID.
443c443
< (--) NVIDIA(1): Panasonic AE-900 (DFP-0)
---
> (--) NVIDIA(1): DFP-0
445,446c445,446
< (--) NVIDIA(1): Panasonic AE-900 (DFP-0): 155.0 MHz maximum pixel clock
< (--) NVIDIA(1): Panasonic AE-900 (DFP-0): Internal Single Link TMDS
---
> (--) NVIDIA(1): DFP-0: 155.0 MHz maximum pixel clock
> (--) NVIDIA(1): DFP-0: Internal Single Link TMDS

I think I have followed all the steps to force that the screen is recognised ; it even shows up in the log, but it's not active

Any ideas what I have been missing?

Thank you
Jean-Yves
jyavenard is offline   Reply With Quote