ubuntu / ubuntu-report

Report hardware and other collected metrics like installer or upgrade information
GNU General Public License v3.0
68 stars 29 forks source link

USB/HDMI monitor config for multiple frequencies aren't supported #7

Closed didrocks closed 6 years ago

didrocks commented 6 years ago

Here is an example: http://paste.ubuntu.com/p/8rv7jg7HZv/

Note the xrandr lines are generally: 1920x1080 59.93*+

But some other form (multiple frequencies with some hardware) are possible: 3840x2160 30.00*+ 25.00 24.00 23.98

And also: 1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98.

We should support those (the regexp is restrictive in that form). Will add a test with the above example xrandr.

didrocks commented 6 years ago

After more research, you can have:

   1366x768      60.02 +                         
…
   1280x720      60.00    59.99    59.86*   59.74

The selected is the one with *, preferred is the first one.