ValveSoftware / SteamOS

SteamOS community tracker
1.61k stars 70 forks source link

Resolution drop-down is always blank #1718

Open Sunspark-007 opened 2 weeks ago

Sunspark-007 commented 2 weeks ago

Your system information

Please describe your issue in as much detail as possible:

The dropdown box in the video settings where one selects the resolution, you are able to select one, but as soon as you move away from that settings pane and back to it, the drop-down is blank again. In previous versions of SteamOS it continued to show the resolution selected in the list.

Steps for reproducing this issue:

  1. Select a resolution, e.g. the one you're currently in.
  2. Move away from the settings pane, i.e. another settings pane or the library then come back to the display settings. Observe that the drop-down is blank again.
matte-schwartz commented 2 weeks ago

Which kind of monitor specifically and how is it connected?

matte-schwartz commented 2 weeks ago

Perhaps also related to: https://github.com/ValveSoftware/gamescope/issues/1492 in that it involves math and trailing decimals

I was able to repro this on one of my own displays, and the blank entry comes from non-rounded refresh rate timing being used. For example:

  Detailed Timing Descriptors:
    DTD 1:  3840x2160   60.000000 Hz  16:9    135.000 kHz    529.200000 MHz (1600 mm x 900 mm)
                 Hfront    8 Hsync  32 Hback   40 Hpol P
                 Vfront    8 Vsync  10 Vback   72 Vpol P
    DTD 2:  2560x1440  119.997589 Hz  16:9    182.996 kHz    497.750000 MHz (1600 mm x 900 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   77 Vpol P

choosing the 60Hz mode will populate the field correctly, while choosing the 120Hz mode shows up as blank