[mythtv-users] nVidia driver 304.88: problems

Jean-Yves Avenard jyavenard at gmail.com
Tue Apr 16 10:47:14 UTC 2013


To answer my problem...

Looking at the log, I could see that when I turned off my screen it
generated a xrandr even switching ti 1024x768 at 70Hz which isn't supported
by my monitor but is listed in the xrandr modes and is at the top of the
list.

Reading the nvidia X documentation, I found the following option:
Option "UseHotplugEvents" "boolean"

When this option is enabled, the NVIDIA X driver will generate RandR
display changed events when displays are plugged into or unplugged from an
NVIDIA GPU. Some desktop environments will listen for these events and
dynamically reconfigure the desktop when displays are added or removed.

Disabling this option suppresses the generation of these RandR events for
non-DisplayPort displays, i.e., ones connected via VGA, DVI, or HDMI.
Hotplug events cannot be suppressed for displays connected via DisplayPort.

Note that probing the display configuration (e.g. with xrandr or
nvidia-settings) may cause RandR display changed events to be generated,
regardless of whether this option is enabled or disabled. Additionally,
some VGA ports are incapable of hotplug detection: on such ports, the
addition or removal of displays can only be detected by re-probing the
display configuration.

Default: on. The driver will generate RandR events when displays are added
or removed.

Adding:
    Option        "UseHotplugEvents" "False"

to my device section:
problem solved...

Here is my xorg.conf that explicitely list the modelines I want and in the
order I want so myth find them more easily:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    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 "InputClass"
    Identifier "Remote"
    MatchProduct "MCE IR Keyboard/Mouse (cx88xx)|MCE IR Keyboard/Mouse
(mceusb)|Media Center Ed. eHome Infrared Remote Transceiver
(1784:0001)|IR-receiver inside an USB DVB receiver|cx88 IR (digitalnow DNTV
Live! "
    Option "Ignore" "on"
EndSection

Section "Monitor"
    # 1920x1080p @ 50Hz (EIA/CEA-861B)
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "SII SP32"
    HorizSync       27.0 - 68.0
    VertRefresh     23.0 - 70.0
    ModeLine       "1920x1080 at 50" 148.500 1920 2448 2492 2640 1080 1084
1089 1125 +hsync +vsync
    ModeLine       "1920x1080 at 60" 148.500 1920 2008 2052 2200 1080 1084
1089 1125 +hsync +vsync
    ModeLine       "1920x1080 at 24" 74.250 1920 2558 2602 2750 1080 1084 1089
1125 +hsync +vsync
    ModeLine       "1920x1080 at 23.976" 74.175 1920 2558 2602 2750 1080 1084
1089 1125 +hsync +vsync
    ModeLine       "1920x1080 at 50i" 74.250 1920 2448 2492 2640 1080 1085
1095 1125 +hsync +vsync interlace
    ModeLine       "1920x1080 at 60i" 74.250 1920 2008 2052 2200 1080 1085
1095 1125 +hsync +vsync interlace
    ModeLine       "1920x1080 at 59.94" 148.350 1920 2008 2052 2200 1080 1084
1089 1125 +hsync +vsync
    ModeLine       "1920x1080 at 59.94i" 74.175 1920 2008 2052 2200 1080 1085
1095 1125 +hsync +vsync interlace
    Option         "ExactModeTimingsDVI" "True"
    Option         "UseEDIDFreqs" "FALSE"
    Option         "UseEDIDDpi" "FALSE"
    Option         "ModeValidation" "NoEdidModes"
    Option        "UseHotplugEvents" "False"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "ViewSonic VX715"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 85.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "FlatPanelProperties" "Scaling = Native"
    Option         "TwinView" "0"
    #Option         "metamodes" "DFP: 1920x1080 +0+0"
    Option         "ConnectedMonitor" "DFP-0,CRT-1"
    Option         "UseDisplayDevice" "DFP-0"
    Option         "CustomEDID" "CRT-1:/etc/X11/viewsonic-edid.bin;
DFP-0:/etc/X11/sp32-edid.bin"
    Option         "HWCursor" "false"
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080 at 50" "1920x1080 at 60" "1920x1080 at 24"
"1920x1080 at 23.976" "1920x1080 at 50i" "1920x1080 at 60i" "1920x1080 at 59.94"
"1920x1080 at 59.94i"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    Option         "ConnectedMonitor" "DFP-0,CRT-1"
    Option         "UseDisplayDevice" "CRT-1"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130416/e5f3bcd6/attachment.html>


More information about the mythtv-users mailing list