Summary: | modesetting driver adds unwanted video modes and there is no way to remove them | ||
---|---|---|---|
Product: | xorg | Reporter: | Henri Kemppainen <fdo> |
Component: | Server/DDX/Xorg | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | CC: | bztdlinux, fdo |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Henri Kemppainen
2017-05-31 11:49:49 UTC
I'll note that the Intel driver does respect the option on output: https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/src/sna/sna_display.c#n5154 https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/src/sna/sna_display.c#n4188 The options are in a public member of xf86Crtc.h, but to access them, a token is needed. These come from an enum in xf86Crtc.c, and the Intel driver maintains a copy of this enum: https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/src/sna/sna_display.c#n293 Going the same route would require a third copy of this enum in the modesetting driver. Nasty? Would it be unacceptable to prefix these enumeration constants (e.g. XF86CRTC_) and move the enum into the header, via which all drivers could use it? (In reply to Henri Kemppainen from comment #0) > The situation is especially dire for people using (recent?) amd cards [...] Are the xf86-video-amdgpu/ati drivers also affected by the problem described in this report? If not, using those would be the recommended solution. No, this problem does not manifest with the amdgpu driver. -- 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/183. |
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.