dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
@ 2018-11-27 19:30 bugzilla-daemon
  2018-11-27 19:35 ` [Bug 201795] " bugzilla-daemon
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-27 19:30 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

            Bug ID: 201795
           Summary: [Regression] Wrong 4k resolution detected with
                    DisplayPort to HDMI adapter on amdgpu
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.19.4
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: thomas.lassdiesonnerein@gmx.de
        Regression: No

Created attachment 279677
  --> https://bugzilla.kernel.org/attachment.cgi?id=279677&action=edit
xrandr output on kernel 4.14

I have a AMD Fury X GPU connected to two 4k monitors.
- one 4k iiyama monitor @DP 1.4
- one 4k LG OLED TV @DP 1.4 to HDMI 2.0 Adapter

both have physical 3840x2160 pixels.

On Kernel 4.14 (Manjaro) I can mirror the screen fine. 

Newer Kernels I tested (4.17 to 4.19) mirror too, but on the LG OLED TV with
4096x2160 instead of 3840x2160. The latter res then is not stretched correctly.
I have small black bars left and right as if the driver thinks I would have
4096x2160 physically.If I set 4096x2160 in plasma5 it stretches fine, but then
I have different resolutions on boths screens which is problematic while
mirroring.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
@ 2018-11-27 19:35 ` bugzilla-daemon
  2018-11-27 19:38 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-27 19:35 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #1 from thomas.lassdiesonnerein@gmx.de ---
Created attachment 279679
  --> https://bugzilla.kernel.org/attachment.cgi?id=279679&action=edit
xrandr output on kernel 4.19

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
  2018-11-27 19:35 ` [Bug 201795] " bugzilla-daemon
@ 2018-11-27 19:38 ` bugzilla-daemon
  2018-11-27 19:39 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-27 19:38 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #2 from thomas.lassdiesonnerein@gmx.de ---
When I compare the two xrandr outputs the only difference are the missing
interlaced resolutions on Kernel 4.19. Maybe that is a hint where the problem
may be?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
  2018-11-27 19:35 ` [Bug 201795] " bugzilla-daemon
  2018-11-27 19:38 ` bugzilla-daemon
@ 2018-11-27 19:39 ` bugzilla-daemon
  2018-11-28  9:24 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-27 19:39 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

thomas.lassdiesonnerein@gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Regression|No                          |Yes

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-11-27 19:39 ` bugzilla-daemon
@ 2018-11-28  9:24 ` bugzilla-daemon
  2018-11-28 19:23 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-28  9:24 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #3 from Michel Dänzer (michel@daenzer.net) ---
Please also attach the output of dmesg and the Xorg log file in each case.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-11-28  9:24 ` bugzilla-daemon
@ 2018-11-28 19:23 ` bugzilla-daemon
  2018-11-28 19:23 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-28 19:23 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #4 from thomas.lassdiesonnerein@gmx.de ---
Created attachment 279717
  --> https://bugzilla.kernel.org/attachment.cgi?id=279717&action=edit
dmesg of kernel 4.14

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-11-28 19:23 ` bugzilla-daemon
@ 2018-11-28 19:23 ` bugzilla-daemon
  2018-11-28 19:24 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-28 19:23 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #5 from thomas.lassdiesonnerein@gmx.de ---
Created attachment 279719
  --> https://bugzilla.kernel.org/attachment.cgi?id=279719&action=edit
dmesg of kernel 4.19

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-11-28 19:23 ` bugzilla-daemon
@ 2018-11-28 19:24 ` bugzilla-daemon
  2018-11-28 19:24 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-28 19:24 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #6 from thomas.lassdiesonnerein@gmx.de ---
Created attachment 279721
  --> https://bugzilla.kernel.org/attachment.cgi?id=279721&action=edit
xorg log of kernel 4.14

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-11-28 19:24 ` bugzilla-daemon
@ 2018-11-28 19:24 ` bugzilla-daemon
  2018-11-29  8:39 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-28 19:24 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #7 from thomas.lassdiesonnerein@gmx.de ---
Created attachment 279723
  --> https://bugzilla.kernel.org/attachment.cgi?id=279723&action=edit
xorg log of kernel 4.19

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-11-28 19:24 ` bugzilla-daemon
@ 2018-11-29  8:39 ` bugzilla-daemon
  2018-11-29 10:04 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-29  8:39 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

Michel Dänzer (michel@daenzer.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harry.wentland@amd.com,
                   |                            |nicholas.kazlauskas@amd.com

--- Comment #8 from Michel Dänzer (michel@daenzer.net) ---
FWIW, amdgpu.dc=0 on the kernel command line might serve as a workaround.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-11-29  8:39 ` bugzilla-daemon
@ 2018-11-29 10:04 ` bugzilla-daemon
  2018-12-15  7:12 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-11-29 10:04 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #9 from thomas.lassdiesonnerein@gmx.de ---
Thanks but I'll stay on 4.14 til there is a proper fix :)
If I can help further I would happily do so - with the exception of writing
code...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-11-29 10:04 ` bugzilla-daemon
@ 2018-12-15  7:12 ` bugzilla-daemon
  2018-12-15  7:12 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-12-15  7:12 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #10 from thomas.lassdiesonnerein@gmx.de ---
Still there with 4.19.8
I know it is probably low priority. Just keeping this report up to date.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (10 preceding siblings ...)
  2018-12-15  7:12 ` bugzilla-daemon
@ 2018-12-15  7:12 ` bugzilla-daemon
  2018-12-15 16:53 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-12-15  7:12 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

thomas.lassdiesonnerein@gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|4.19.4                      |4.19.8

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (11 preceding siblings ...)
  2018-12-15  7:12 ` bugzilla-daemon
@ 2018-12-15 16:53 ` bugzilla-daemon
  2019-01-18 19:00 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-12-15 16:53 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

fin4478@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fin4478@hotmail.com

--- Comment #11 from fin4478@hotmail.com ---
There is very little happening for amdgpu and radeon drivers in mainline
kernels. See the diff column at kernel.org and compare this:
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.21-wip

So, use a rolling release OS, the Amd wip kernel and Mesa git, like Oibap ppa.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (12 preceding siblings ...)
  2018-12-15 16:53 ` bugzilla-daemon
@ 2019-01-18 19:00 ` bugzilla-daemon
  2019-01-23 11:19 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-01-18 19:00 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #12 from thomas.lassdiesonnerein@gmx.de ---
@fin4478
Read. I use rolling. I won't use wip stuff. 

@Michael Dänzer
The bug is still there with Kernel 4.20.1 and 4.19.14.
With 4.14.92 everything is fine.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (13 preceding siblings ...)
  2019-01-18 19:00 ` bugzilla-daemon
@ 2019-01-23 11:19 ` bugzilla-daemon
  2019-02-21  8:40 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-01-23 11:19 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

tempel.julian@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tempel.julian@gmail.com

--- Comment #13 from tempel.julian@gmail.com ---
As a workaround, I'd give forcing the correct edid for each display a try:
https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID
And maybe also edit the edid to offer only one correct native mode you want to
use.
Editing edids on Linux might be painful, so perhaps do it on Windows.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (14 preceding siblings ...)
  2019-01-23 11:19 ` bugzilla-daemon
@ 2019-02-21  8:40 ` bugzilla-daemon
  2019-03-13 11:00 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-02-21  8:40 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #14 from thomas.lassdiesonnerein@gmx.de ---
Still there with 4.20.10

@tempel.julian@gmail.com
I do not need a workaround thx. All works fine with 4.14.101 LTS Kernel. I just
wanted to report this regression and hope for a fix in another LTS Kernel 4.19
or supposedly 5.4.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (15 preceding siblings ...)
  2019-02-21  8:40 ` bugzilla-daemon
@ 2019-03-13 11:00 ` bugzilla-daemon
  2019-03-13 13:07 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-03-13 11:00 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #15 from thomas.lassdiesonnerein@gmx.de ---
Still there with 5.0.1

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (16 preceding siblings ...)
  2019-03-13 11:00 ` bugzilla-daemon
@ 2019-03-13 13:07 ` bugzilla-daemon
  2019-03-13 19:13 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-03-13 13:07 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #16 from Nicholas Kazlauskas (nicholas.kazlauskas@amd.com) ---
By default, amdgpu DC doesn't perform any sort of display scaling. It relies on
the monitor/TV's scaler itself to do the work, which might be producing the
black bars.

When you do set the scaling mode via the connector property "scaling mode", the
driver will perform the scaling itself. However, this scaling is done on
whatever the preferred mode for the monitor is.

I believe that the preferred mode for your TV is 4096x2160:

"4096x2160" 30 297000 4096 4184 4272 4400 2160 2168 2178 2250 0x40 0x5

This should be the timing used when display scaling is done by the driver
itself. You might get mirroring to work if you set the connector scaling mode
property, eg:

xrandr --output DisplayPort-0 --set "scaling mode" "Full"

and then try changing the mode on the display or mirroring.

This setting can persist in your xorg.conf as well, I believe it looks
something like:

Section "Monitor"
    Identifier "DisplayPort-0"
    Option "scaling mode" "Full"
EndSection

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (17 preceding siblings ...)
  2019-03-13 13:07 ` bugzilla-daemon
@ 2019-03-13 19:13 ` bugzilla-daemon
  2019-03-13 20:02 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-03-13 19:13 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #17 from thomas.lassdiesonnerein@gmx.de ---
@Nicholas Kazlauskas
Thx for the possible workaround.
I am however not in search for a workaround. This is a regression (4.14 works)
and I hope it will be fixed properly some day.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (18 preceding siblings ...)
  2019-03-13 19:13 ` bugzilla-daemon
@ 2019-03-13 20:02 ` bugzilla-daemon
  2019-03-15  7:54 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-03-13 20:02 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #18 from Nicholas Kazlauskas (nicholas.kazlauskas@amd.com) ---
It's intended driver behavior, not a regression.

The driver performs no display scaling by default since it forces the timing
for the preferred mode of the display. This means that refresh rate would
effectively be ignored - forcing the user to manually set "scaling mode" to
"off" in order to use a refresh rate different from the preferred mode. It's
certainly not very intuitive default behavior.

There's also good reason to favor using the preferred mode by default for
driver scaling - it's the most likely to not be affected by any sort of display
side scaling.

The "scaling mode" option isn't a workaround to a problem, but a feature you
can use and configure for when you want a different scaling mode than what the
monitor offers.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (19 preceding siblings ...)
  2019-03-13 20:02 ` bugzilla-daemon
@ 2019-03-15  7:54 ` bugzilla-daemon
  2019-03-15 13:07 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-03-15  7:54 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #19 from thomas.lassdiesonnerein@gmx.de ---
Are you telling me, that the new code is better for most other users, and at
the same time works worse in my case, so you won't fix it? Then I appreciate
that you want me to understand this first and I will try now. Is the following
understanding correct?

Kernel <= 4.14: Scaling is ON by default. If users want a custom refresh rate
they would need switch scaling mode OFF via xorg.conf, but then get black bars.

Kernel > 4.14: If users want full screen instead of black bars, users have to
switch scaling mode ON via xorg.conf


Assessment:
Both are not intuitive. They relay on configuration file instead of a GUI
option in plain sight. Also: The black bars are more disturbing to the average
guy, than not to be able to set a custom refresh rate. 

Idea:
Why does the driver not Scale ON by default AND sets the refresh rate of the
preferred mode?


I know I could be completely wrong here.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (20 preceding siblings ...)
  2019-03-15  7:54 ` bugzilla-daemon
@ 2019-03-15 13:07 ` bugzilla-daemon
  2019-03-15 13:43 ` bugzilla-daemon
  2019-03-18 13:45 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-03-15 13:07 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #20 from Nicholas Kazlauskas (nicholas.kazlauskas@amd.com) ---
Not every user will want the same scaling parameters for non-native signals.
The display itself will often offer a configurable mode itself for its scaler
for this reason.

I don't have the exact displays that you have, but I have a test setup with a
4096x2160 and 3840x2160 display and I'm able to mirror the desktop using Plasma
and have the image fullscreen on both displays (without black bars) because the
4096x2160 display defaults to fullscreen scaling.

But I can also reproduce your problem by changing the scaling mode in the
display's OSD to 1:1 scaling, which shows black bars. This is because the
driver doesn't do any scaling itself by default.

The driver can't query the monitor to understand what the display is going to
do, and it also can't guess what the user's intended preference is here.

So we expose the standard (ie. shared across other drivers as well) DRM
property for "scaling mode" to give more control over the behavior when
possible. As for why it's not configurable via GUI, that's more of a userspace
feature request for the Plasma / GNOME / etc developers.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (21 preceding siblings ...)
  2019-03-15 13:07 ` bugzilla-daemon
@ 2019-03-15 13:43 ` bugzilla-daemon
  2019-03-18 13:45 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-03-15 13:43 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #21 from thomas.lassdiesonnerein@gmx.de ---
Ok thanks again. You can close this as "won't fix" then.

My last and final question. Why does the old code (kernel 4.14) work?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu
  2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
                   ` (22 preceding siblings ...)
  2019-03-15 13:43 ` bugzilla-daemon
@ 2019-03-18 13:45 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-03-18 13:45 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=201795

--- Comment #22 from thomas.lassdiesonnerein@gmx.de ---
I investigated further and the culprit seems to be that kernel =4.14 ignores
what xrandr *wrongly* detects and sets the connected TV correctly to its native
3840x2160@60hz without black bars. Xrandr detects only 30hz in both 4k
resolutions on all kernels. Kernel 4.14 still manages somehow to give me
3840x2160@60hz without black bars. So could this be a xrandr-bug?

Kernel >4.14 seems to respect xrandr and sets: 4096x2160@30hz without black
bars - maybe my HDMI2.0-to-DP adapter is reporting this setting.
I also can get 3840x2160@30hz without black bars with your xrandr workaround,
but not 60hz.


In more detail:

kernel =4.14
-------------
xrandr --props reports that scale-mode is "None". But still no black bars,
because the *native* resolution of the TV is 3840x2160 (listed in the panel
specs here: https://www.lg.com/us/support-product/lg-OLED65B7P)

So if I change to 4096er resolution the desktop is bigger than the screen.
Also I have 60hz on both displays, while xrandr *wrongly* reports only 30hz
available on the TV. The difference between 60 and 30hz is very visible when
moving the mouse and e.g. supertuxkart confirms 60hz in the FPS-overlay.


kernel >4.14
--------------
The TV sets only 30hz, on 4096 and 3840 res. When I force a 60hz-modeline via
xorg.conf.d like described here
https://wiki.archlinux.org/index.php/xrandr#Adding_undetected_resolutions I get
no signal or a switch back to 30hz, when cloning in the GUI.

Then the 3840-black-bar workaround only works if I create this file: 

cat /etc/xdg/autostart/Scaling.desktop

[Desktop Entry]
Type=Application
Name=Scaling
Exec=xrandr --output DisplayPort-0  --set "scaling mode" "Full"


Putting it in xorg.conf had no effect. This is what my xorg.conf now looks
like. Note that the VRR Option works as expected, so its not as if the file is
completely ignored:


cat /etc/X11/xorg.conf.d/10-monitor.conf 

Section "Monitor"
    Identifier "DisplayPort-0"
    Option "scaling mode" "Full" 
    Option "PreferredMode" "3840x2160"
EndSection

Section "Screen"
   Identifier "Screen0"
  Device "AMD"
EndSection

Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
  Option "DRI"         "3"
    Option "TearFree"    "true"
   Option "VariableRefresh" "true"
EndSection

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2019-03-18 13:45 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 19:30 [Bug 201795] New: [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu bugzilla-daemon
2018-11-27 19:35 ` [Bug 201795] " bugzilla-daemon
2018-11-27 19:38 ` bugzilla-daemon
2018-11-27 19:39 ` bugzilla-daemon
2018-11-28  9:24 ` bugzilla-daemon
2018-11-28 19:23 ` bugzilla-daemon
2018-11-28 19:23 ` bugzilla-daemon
2018-11-28 19:24 ` bugzilla-daemon
2018-11-28 19:24 ` bugzilla-daemon
2018-11-29  8:39 ` bugzilla-daemon
2018-11-29 10:04 ` bugzilla-daemon
2018-12-15  7:12 ` bugzilla-daemon
2018-12-15  7:12 ` bugzilla-daemon
2018-12-15 16:53 ` bugzilla-daemon
2019-01-18 19:00 ` bugzilla-daemon
2019-01-23 11:19 ` bugzilla-daemon
2019-02-21  8:40 ` bugzilla-daemon
2019-03-13 11:00 ` bugzilla-daemon
2019-03-13 13:07 ` bugzilla-daemon
2019-03-13 19:13 ` bugzilla-daemon
2019-03-13 20:02 ` bugzilla-daemon
2019-03-15  7:54 ` bugzilla-daemon
2019-03-15 13:07 ` bugzilla-daemon
2019-03-15 13:43 ` bugzilla-daemon
2019-03-18 13:45 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).