Bug 95131 - Scaling mode have no effect
Summary: Scaling mode have no effect
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-25 12:34 UTC by Sven Arvidsson
Modified: 2019-11-19 08:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sven Arvidsson 2016-04-25 12:34:56 UTC
Even though xrandr --prop reports None, Full, Center, Full aspect as supported scaling modes, setting any of these seems to have no effect.

System environment:
-- system architecture: 64-bit
-- Linux distribution: Debian unstable
-- GPU: TONGA
-- Model: Asus Strix R9 285 2GB
-- Display connector: DVI
-- xf86-video-amdgpu: 1.1.0
-- xserver: 1.18.3
-- mesa: 
-- drm: 2.4.67
-- kernel: 4.5.0
Comment 1 Alex Deucher 2016-04-25 14:54:56 UTC
You need to select a non-native mode for scaling to take effect.
Comment 2 Sven Arvidsson 2016-04-25 15:35:15 UTC
Right, I set scaling to Center, launch an application that changes video mode to 640x480 (from 1920x1080).

This results in a 640x480 fullscreen resolution, not a centered picture with black borders.
Comment 3 Michel Dänzer 2016-05-09 08:49:30 UTC
I can reproduce this on my Tonga. According to the monitor menu, it receives the timing of the selected mode, so it looks like the GPU scaling isn't actually used. Alex, any ideas what might be wrong, or should I try tracking it down?
Comment 4 Michel Dänzer 2016-05-09 09:06:54 UTC
FWIW, it's fixed with DAL.
Comment 5 Daniel Scharrer 2016-06-02 17:23:58 UTC
Same issue here:

Distribution: Gentoo
GPU: R9 380X (TONGA)
Display connector: DVI
xf86-video-amdgpu: git-60ced50
X server: 1.17.4
Mesa: git-d98d6e6
libdrm: git-7aab852
Kernel: 4.6.0

I can confirm it works with the DAL enabled in the drm-next-4.7-wip-dal branch of https://cgit.freedesktop.org/~agd5f/linux/ (the drm-next-4.8-wip-dal branch locks up during boot).
Comment 6 Martin Peres 2019-11-19 08:08:00 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/drm/amd/issues/70.


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.