protonscr

underscan/overscan issues in big picture mode

steamopen Big Picturereviewed
ValveSoftware/steam-for-linux#3211 · opened 2014-03-17 by ajw1980 · updated 2014-03-17 · 0 comments · github
Aajw1980 2014-03-17 github

Hi,

I've got a plasma tv that requires underscan. It is normally a mythtv frontend box so I have very specific video modes set in xorg.conf to optimize video playback. I added a steam big picture launcher menu item in mythtv. When I launch big picture mode steam changes the video mode to 1832x1030 (the underscan resolution I use) with a panning area of 1920x1080. The mode set is called something like "1920x1080@60 @1832x1030". This makes things very strange and the panning mode remains even after steam is exited. I didn't test, but maybe the issue is due to "viewportin=1920x1080" being set, which seems to be necessary for mythtv. Big picture mode needs to do something better in this situation like not touch the video mode, figure out things on its own better, or allow an option to be set to use a specific video mode.

Nvidia driver version is 331.49.

As a workaround, I made a wrapper that disables underscan, starts steam, and switches underscan back on after exit. Overscan in steam is better than the panning mode:

nvidia-settings --assign 0/CurrentMetaMode="DFP-0: 1920x1080@60"

/usr/bin/steam -bigpicture

nvidia-settings --assign 0/CurrentMetaMode="DFP-0: 1920x1080@60 { ViewPortOut=1830x1032+44+26, ViewPortIn=1920x1080 }"

Here is my xorg.conf:

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

Section "ServerFlags"
    Option         "BlankTime" "0"
EndSection

Section "InputDevice"

    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "SONY AVAMP"
    HorizSync       20.0 - 150.0
    VertRefresh     23.0 - 90.0
    ModeLine       "1920x1080@60" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "[email protected]" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "[email protected]" 148.350 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "[email protected]" 74.175 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Option         "DPMS" "false"
    Option         "ExactModeTimingsDVI" "True"
    Option         "UseEDIDFreqs" "FALSE"
    Option         "UseEDIDDpi" "FALSE"
    Option         "ModeValidation" "NoEdidModes"
    Option         "DPI" "100 x 100"
EndSection
Section "Device"

    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 240"
EndSection

Section "Screen"

    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "CustomEDID" "DFP-0:/etc/X11/sony.edid"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "ColorSpace" "RGB"
    Option         "ColorRange" "Limited"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "1920x1080@60 +0+0 {viewportin=1920x1080, viewportout=1832x1030+44+26}; [email protected] +0+0 {viewportin=1920x1080, viewportout=1832x1030+44+26}; [email protected] +0+0 {viewportin=1920x1080, viewportout=1832x1030+44+26}; [email protected] +0+0 {viewportin=1920x1080, viewportout=1832x1030+44+26}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "disable"
EndSection

Nothing extracted yet.