Skip to contentSkip to conversation

colors are wrong on one screen with Radeon RX Vega M GL and Kernel 4.18

Bug 107889 [email protected] 1 participant 12 messages Sep 10, 2018 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=107889

Bug ID: 107889
Summary: colors are wrong on one screen with Radeon RX Vega M
GL and Kernel 4.18
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 141508
--> https://bugs.freedesktop.org/attachment.cgi?id=141508&action=edit
Picture with the 3 monitors. The colors at the center one are wrong

I have a 3 monitors setup on a NUC8i7HNK (with latest BIOS: 0049).

I'm currently using Kernel 4.17 + DRM patches for 4.18-rc1. Everything works OK. However, upgrading the Kernel to 4.18.5 (kernel-4.18.5-200.fc28.x86_64) causes that the center (and default) monitor to mangle colors. The same issue also happens with upstream Kernel 4.18 vanilla.

I'm enclosing a picture of what's happening there.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=107889

--- Comment #1 from Mauro Carvalho Chehab <[email protected]> --- Created attachment 141509
--> https://bugs.freedesktop.org/attachment.cgi?id=141509&action=edit
output of xrandr

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

--- Comment #2 from Mauro Carvalho Chehab <[email protected]> --- Created attachment 141510
--> https://bugs.freedesktop.org/attachment.cgi?id=141510&action=edit
Xorg logs with Kernel 4.18.5

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

--- Comment #3 from Mauro Carvalho Chehab <[email protected]> --- Created attachment 141511
--> https://bugs.freedesktop.org/attachment.cgi?id=141511&action=edit
Xorg logs with Kernel 4.17.3 + drm-next patches submitted for 4.18-rc1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

Alex Deucher <[email protected]> changed:

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

 Attachment #141511|text/x-log                  |text/plain
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

--- Comment #5 from Mauro Carvalho Chehab <[email protected]> --- Created attachment 141526
--> https://bugs.freedesktop.org/attachment.cgi?id=141526&action=edit
Dmesg with Kernel 4.18.0 vanilla

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

--- Comment #6 from Mauro Carvalho Chehab <[email protected]> --- (In reply to Alex Deucher from comment #4)

Quoted 1 line

Can you bisect? Also please attach your dmesg output.

Bisect didn't work. There is a regression between 4.17 and 4.18-rc4 on ext4fs that causes it fail to mount a file system:

set 11 08:16:49 coco.lan kernel: EXT4-fs (dm-13): ext4_check_descriptors: Block bitmap for group 0 overlaps block group descriptors
set 11 08:16:49 coco.lan kernel: EXT4-fs (dm-13): group descriptors corrupted!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

--- Comment #7 from Mauro Carvalho Chehab <[email protected]> --- (In reply to Mauro Carvalho Chehab from comment #5)

Quoted 2 lines

Created attachment 141526 [details]
Dmesg with Kernel 4.18.0 vanilla

Forgot to mention, but the bug also happens on 4.18.0 vanilla. So, the bug is somewhere between drm-next-2018-06-06-1, e. g.

between this changeset:

commit 568cf2e6aa0c762f14d2d0d481a006f93c63ab7a
Merge: 74860cbfdd41 ebe1d22b57b8
Author: Dave Airlie <[email protected]>
Date: Wed May 30 11:06:17 2018 +1000

    Merge tag 'drm-amdkfd-next-2018-05-28' of

git://people.freedesktop.org/~gabbayo/linux into drm-next

- Build amdkfd's related files inside amdgpu only if amdkfd is built
- Fix compile warning
- Print info message in case ASIC is not supported by amdkfd

Link:
https://patchwork.freedesktop.org/patch/msgid/20180528110435.GA17960@odedg-x270

and Kernel 4.18.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

--- Comment #8 from Michel Dänzer <[email protected]> --- (In reply to Mauro Carvalho Chehab from comment #6)

Quoted 2 lines

Bisect didn't work. There is a regression between 4.17 and 4.18-rc4 on ext4fs that causes it fail to mount a file system:

There are ways to deal with that, e.g.:

* Manually apply the fix for the ext4 regression when necessary
* Run "git bisect skip" for commits which aren't testable
* Manually find another commit which can be tested

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

--- Comment #9 from Mauro Carvalho Chehab <[email protected]> --- (In reply to Michel Dänzer from comment #8)

Quoted 9 lines

(In reply to Mauro Carvalho Chehab from comment #6)

Quoted 2 lines

Bisect didn't work. There is a regression between 4.17 and 4.18-rc4 on ext4fs that causes it fail to mount a file system:

There are ways to deal with that, e.g.:

* Manually apply the fix for the ext4 regression when necessary
* Run "git bisect skip" for commits which aren't testable
* Manually find another commit which can be tested

I tried to bisect, but I was unable to find the patch with broke it. I suspect it could be some sort of race condition, perhaps when retrieving EDID from the 3 monitors. Which buggy Kernels, the collor has a chance to be mangled during X11 start and after DPMS screen on. Sometimes, it goes fine, sometimes, it gets messed.

Anyway, since yesterday I'm using Kernel 4.20, with the latest linux-firmware. It seems that the issue vanished, but I need to keep it running for a while to be certain.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107889

Martin Peres <[email protected]> changed:

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

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #10 from Martin Peres <[email protected]> --- -- 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/521.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel