[mythtv-users] nvidia via DVI to LCD TV - no EDID if tv off causing problems

John Taylor john at vetsurgeon.org.uk
Mon Jun 21 08:17:54 UTC 2010


Hi

I have a NVIDIA GPU GeForce 9400 GT running on Ubuntu 10.04 / myth
0.23 connected to Panasonic flat screen via DVI using the proprietary
nvidia driver

If the TV is on during boot, X configures itself correctly; if it is
off, the graphics card can't retrieve the EDID info and X can not
start.

I have almost worked around this by manually setting xorg.conf.
However, I have one last problem
- if the TV is on during boot, the screen is perfect
- if the TV is off during boot, when I turn it on I can see X is about
20 pixels too large on all sides, almost as if overscan is turned on.
I can correct this by setting the overscan compensation in
nvidia-settings, but if the next time the system boots the tv is on
then the screen is too small! (overscan turned off in TV)

The only difference in Xorg.0.log I can see (except complaints about
not being able to retrieve EDID)is that if the TV is on, the last line
of the log reads NVIDIA(0): Setting mode "1280x720_50.00" ; I don't
get this line if the TV is off during boot. Ican't see how to set this
mode from the command line- xranrd --output default --mode 1280x720
--rate 50 does not resize the screen

My xorg.conf is below- am I missing something?

John

xorg.conf:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Panasonic-TV"
    HorizSync       15.0 - 68.0
    VertRefresh     23.0 - 61.0
    Modeline       "1280x720_50.00"   74.25   1280 1720 1760 1980
720  725  730  750 +hsync +vsync
    Option         "DPMS"
    Option          "PreferredMode" "1280x720_50.00"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9400 GT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option "ConnectedMonitor" "DFP"
    Option "ExactModeTimingsDVI" "TRUE"
    SubSection     "Display"
        Depth       24
        Virtual    1280 720
        Modes      "1280x720_50.00"
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Disable"
EndSection

xorg.0.log WITH TV TURNED ON:

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-25-server i686 Ubuntu
Current Operating System: Linux livingroom 2.6.32-22-generic
#36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic
root=UUID=b326c265-74da-4fe3-9891-dc2a1122d640 ro quiet splash
Build Date: 23 April 2010  05:11:50PM
xorg-server 2:1.7.6-2ubuntu7 (Bryce Harrington <bryce at ubuntu.com>)
Current version of pixman: 0.16.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 21 08:16:45 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
(**) Extension "Composite" is disabled
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x81f0e80
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:5:0:0) 10de:0641:19da:9046 nVidia Corporation G96
[GeForce 9400 GT] rev 161, Mem @ 0xfc000000/16777216,
0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000ac00/128, BIOS
@ 0x????????/524288
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/extra-modules/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  195.36.15  Thu Mar 11 23:39:48 PST 2010
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/extra-modules/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  195.36.15  Thu Mar 11 22:01:49 PST 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 05 at 00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
(**) NVIDIA(0): Option "TwinView" "0"
(**) NVIDIA(0): Option "ExactModeTimingsDVI" "TRUE"
(**) Jun 21 08:16:45 NVIDIA(0): Enabling RENDER acceleration
(**) Jun 21 08:16:45 NVIDIA(0): ConnectedMonitor string: "DFP"
(II) Jun 21 08:16:48 NVIDIA(0): NVIDIA GPU GeForce 9400 GT (G96) at
PCI:5:0:0 (GPU-0)
(--) Jun 21 08:16:48 NVIDIA(0): Memory: 524288 kBytes
(--) Jun 21 08:16:48 NVIDIA(0): VideoBIOS: 62.94.46.00.a9
(II) Jun 21 08:16:48 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Jun 21 08:16:48 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Jun 21 08:16:48 NVIDIA(0): Connected display device(s) on GeForce
9400 GT at PCI:5:0:0:
(--) Jun 21 08:16:48 NVIDIA(0):     Panasonic-TV (DFP-0)
(--) Jun 21 08:16:48 NVIDIA(0): Panasonic-TV (DFP-0): 330.0 MHz
maximum pixel clock
(--) Jun 21 08:16:48 NVIDIA(0): Panasonic-TV (DFP-0): Internal Dual Link TMDS
(II) Jun 21 08:16:48 NVIDIA(0): Assigned Display Device: DFP-0
(II) Jun 21 08:16:48 NVIDIA(0): Validated modes:
(II) Jun 21 08:16:48 NVIDIA(0):     "1280x720_50.00"
(**) Jun 21 08:16:48 NVIDIA(0): Virtual screen size configured to be 1280 x 720
(WW) Jun 21 08:16:48 NVIDIA(0): Panasonic-TV (DFP-0)'s EDID does not
contain a maximum image
(WW) Jun 21 08:16:48 NVIDIA(0):     size; cannot compute DPI from
Panasonic-TV (DFP-0)'s
(WW) Jun 21 08:16:48 NVIDIA(0):     EDID.
(==) Jun 21 08:16:48 NVIDIA(0): DPI set to (75, 75); computed from
built-in default
(==) Jun 21 08:16:48 NVIDIA(0): Disabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Jun 21 08:16:48 NVIDIA: Using 768.00 MB of virtual memory for
indirect framebuffer
(II) Jun 21 08:16:48 NVIDIA:     access.
(II) Jun 21 08:16:48 NVIDIA(0): Initialized GPU GART.
(II) Jun 21 08:16:48 NVIDIA(0): Setting mode "1280x720_50.00"
(II) Loading extension NV-GLX
(II) Jun 21 08:16:48 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Jun 21 08:16:48 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(WW) NVIDIA(0): Option "PreferredMode" is not used
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) XKB: reuse xkmfile
/var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
(II) config/udev: Adding input device Power Button (/dev/input/event1)
(**) Power Button: Applying InputClass "evdev keyboard catchall"
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 2.3.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event1"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "gb"
(II) XKB: reuse xkmfile
/var/lib/xkb/server-C1F82522E3F958F13C2D6D2C62551E135092F235.xkm
(II) config/udev: Adding input device Power Button (/dev/input/event0)
(**) Power Button: Applying InputClass "evdev keyboard catchall"
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event0"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "gb"
(II) config/udev: Adding input device 2.4G USB RF KeyBoard (/dev/input/event3)
(**) 2.4G USB RF KeyBoard: Applying InputClass "evdev keyboard catchall"
(**) 2.4G USB RF KeyBoard: always reports core events
(**) 2.4G USB RF KeyBoard: Device: "/dev/input/event3"
(II) 2.4G USB RF KeyBoard: Found keys
(II) 2.4G USB RF KeyBoard: Configuring as keyboard
(II) XINPUT: Adding extended input device "2.4G USB RF KeyBoard"
(type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "gb"
(II) config/udev: Adding input device 2.4G USB RF KeyBoard (/dev/input/event4)
(**) 2.4G USB RF KeyBoard: Applying InputClass "evdev pointer catchall"
(**) 2.4G USB RF KeyBoard: always reports core events
(**) 2.4G USB RF KeyBoard: Device: "/dev/input/event4"
(II) 2.4G USB RF KeyBoard: Found 3 mouse buttons
(II) 2.4G USB RF KeyBoard: Found scroll wheel(s)
(II) 2.4G USB RF KeyBoard: Found relative axes
(II) 2.4G USB RF KeyBoard: Found x and y relative axes
(II) 2.4G USB RF KeyBoard: Configuring as mouse
(**) 2.4G USB RF KeyBoard: YAxisMapping: buttons 4 and 5
(**) 2.4G USB RF KeyBoard: EmulateWheelButton: 4, EmulateWheelInertia:
10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "2.4G USB RF KeyBoard" (type: MOUSE)
(II) 2.4G USB RF KeyBoard: initialized for relative axes.
(II) config/udev: Adding input device 2.4G USB RF KeyBoard (/dev/input/mouse1)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device 2.4G USB RF KeyBoard (/dev/input/event5)
(**) 2.4G USB RF KeyBoard: Applying InputClass "evdev keyboard catchall"
(**) 2.4G USB RF KeyBoard: always reports core events
(**) 2.4G USB RF KeyBoard: Device: "/dev/input/event5"
(II) 2.4G USB RF KeyBoard: Found keys
(II) 2.4G USB RF KeyBoard: Configuring as keyboard
(II) XINPUT: Adding extended input device "2.4G USB RF KeyBoard"
(type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "gb"
(II) config/udev: Adding input device Macintosh mouse button emulation
(/dev/input/event2)
(**) Macintosh mouse button emulation: Applying InputClass "evdev
pointer catchall"
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event2"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button
emulation" (type: MOUSE)
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/udev: Adding input device Macintosh mouse button emulation
(/dev/input/mouse0)
(II) No input driver/identifier specified (ignoring)
(II) Jun 21 08:16:49 NVIDIA(0): Setting mode "1280x720_50.00"


More information about the mythtv-users mailing list