Skip to contentSkip to conversation

New: AMDGPU: incorrect monitor position on Xorg

Bug 195737 [email protected] 1 participant 11 messages May 12, 2017 – May 28, 2017

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 195737
           Summary: AMDGPU: incorrect monitor position on Xorg
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.10.13
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Starting KDE in Xorg on Linux 4.10.13 results in a wrong position being used by the monitor (LG 29UM58). When using Wayland instead the position is correctly calculated.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

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

--- Comment #1 from beta990 ([email protected]) ---
A workaround is blacklisting the amdgpu module and use radeon instead, but this should not be needed on 270X.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

--- Comment #2 from Michel Dänzer ([email protected]) --- Please attach the output of dmesg and xrandr and the Xorg log file corresponding to the problem.

What does "wrong position" mean exactly? What would be correct?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

--- Comment #3 from beta990 ([email protected]) --- (In reply to Michel Dänzer from comment #2)

Quoted 4 lines

Please attach the output of dmesg and xrandr and the Xorg log file corresponding to the problem.

What does "wrong position" mean exactly? What would be correct?

Hi Michel,

Thanks for your reply. :)
I'll attach the logs and a screenshot later today.

When starting starting Xorg instead of Wayland on amdgpu (blacklisting radeon), the screen position is moving 5 pixels to the right, instead of being aligned in the center.

When using the radeon module (and blacklisting amdgpu), the screen position is aligned correctly. It therefore seems the width/position of the screen is calculated incorrectly, but only on X.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

--- Comment #4 from beta990 ([email protected]) --- Created attachment 256713
--> https://bugzilla.kernel.org/attachment.cgi?id=256713&action=edit
dmesg

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

--- Comment #5 from beta990 ([email protected]) --- Created attachment 256715
--> https://bugzilla.kernel.org/attachment.cgi?id=256715&action=edit
Xorg-log

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

--- Comment #6 from beta990 ([email protected]) --- Created attachment 256717
--> https://bugzilla.kernel.org/attachment.cgi?id=256717&action=edit
Screen

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

--- Comment #7 from beta990 ([email protected]) ---
Sorry for the delay. I've added the requested logs and provided a photo of what is happening on my screen atm. when using AMDGPU.

Thanks and please let me know if more info is needed. :)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

beta990 ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|4.10.13                     |4.11.2
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from Alex Deucher ([email protected]) --- setting amdgpu.audio=0 should work around it. Audio support for SI in amdgpu will land upstream for 4.13

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

In reply to [email protected]

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

beta990 ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |WILL_FIX_LATER

--- Comment #9 from beta990 ([email protected]) --- @Alex Deucher: Thanks! :) This indeed fixes the incorrect monitor/screen position.

$ dmesg|grep -i amd
[    0.000000] Command line: initrd=\intel-ucode.img
initrd=\initramfs-linux.img
cryptdevice=UUID=ec38-43d6-bd67-d8ab219518dc:root:allow-discards
root=/dev/mapper/root amdgpu.audio=0 intel_iommu=pt nowatchdog rw
[    0.000000] RAMDISK: [mem 0x7eeb6000-0x7fffefff]
[    0.000000] Kernel command line: initrd=\intel-ucode.img
initrd=\initramfs-linux.img
cryptdevice=UUID=8d188525-ec38-43d6-bd67-d8ab219518dc:root:allow-discards
root=/dev/mapper/root amdgpu.audio=0 intel_iommu=pt nowatchdog rw
[    0.805446] [drm] amdgpu kernel modesetting enabled.
[    0.805937] fb: switching to amdgpudrmfb from EFI VGA
[    0.974815] amdgpu 0000:01:00.0: Invalid PCI ROM header signature: expecting
0xaa55, got 0xffff
[    0.974956] amdgpu 0000:01:00.0: VRAM: 2048M 0x0000000000000000 -
0x000000007FFFFFFF (2048M used)
[    0.974956] amdgpu 0000:01:00.0: GTT: 2048M 0x0000000080000000 -
0x00000000FFFFFFFF
[    0.975306] [drm] amdgpu: 2048M of VRAM memory ready
[    0.975307] [drm] amdgpu: 2048M of GTT memory ready.
[    0.993417] amdgpu 0000:01:00.0: PCIE GART of 2048M enabled (table at
0x0000000000040000).
[    0.993454] amdgpu 0000:01:00.0: amdgpu: using MSI.
[    0.993464] [drm] amdgpu: irq initialized.
[    0.993507] [drm] amdgpu: dpm initialized
[    0.993716] [drm] AMDGPU Display Connectors
[    0.993905] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000080000010, cpu addr 0xffff880427d4c010
[    0.994002] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr
0x0000000080000020, cpu addr 0xffff880427d4c020
[    0.994134] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr
0x0000000080000030, cpu addr 0xffff880427d4c030
[    0.994179] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000080000040, cpu addr 0xffff880427d4c040
[    0.994264] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr
0x0000000080000050, cpu addr 0xffff880427d4c050
[    1.274891] fbcon: amdgpudrmfb (fb0) is primary device
[    1.520850] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[    1.815781] [drm] Initialized amdgpu 3.10.0 20150101 for 0000:01:00.0 on
minor 0
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel