Bug 104539 - No 1080p or 720p resolutions on 4k display
Summary: No 1080p or 720p resolutions on 4k display
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/modesetting (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-08 11:17 UTC by bug2017
Modified: 2018-12-13 18:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (49.06 KB, text/plain)
2018-01-08 11:17 UTC, bug2017
no flags Details

Description bug2017 2018-01-08 11:17:01 UTC
Created attachment 136613 [details]
Xorg.0.log

On my 4k notebook screen I can't use 1080p or 720p resolutions anymore. It is working on an older system snapshot with kde4. Probably it broke with the newer xorg server. 

Original bugreport:
https://bugs.kde.org/show_bug.cgi?id=388670
Comment 1 Chris Wilson 2018-01-08 12:34:00 UTC
More likely because you switched to -modesetting and it does not provide the same fake modes by default.
Comment 2 bug2017 2018-01-11 13:24:45 UTC
The kde4 snapshot was using xf86-video-intel unlike the plasma5 snapshot which uses xf86-video-modesetting. That explaines at least the differences.

"cat /sys/class/drm/card0-eDP-1/modes" returns only "3840x2160" all the other modes are somehow generated by xf86-video-modesetting. I was interrested where these modes are generated. I could not find the modelines inside the xorg code. But my guess is that the doublescan modes are derived from the CEAVideoModes in hw/xfree86/modes/xf86EdidModes.c (line 903) That would explain why these modes are really strange. Why should an "1024x768"x120.1 mode use doublescan? It was a feature for low resolution modes. For now I think it is a bug that these modes are in the list.

Somethere I've read that the intel driver tries to scale any mode to the native resolution. 

So a really nice feature would be if the wrong fake modes could be replaced by usefull fake modes, which can be used for full screen:
1/1.5 => 2560x1440 (not native, 2x2 to 3x3 scaling)
1/2 => 1920x1080
1/3 => 1280x720
1/4 => 960x540 (questionable)
Some of the 4:3 modeswould be still usefull for legacy fullscreen applications like emulators. So removing them wouldn't be a good idea.
Comment 3 GitLab Migration User 2018-12-13 18:10:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/36.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.