Strange color mapping w/Radeon 6450 upon waking from sleep

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Strange color mapping w/Radeon 6450 upon waking from sleep

Postby myurkoski » 2018-02-25 17:32

Hello all,

I was using 8.1 Jessie for a long while on a machine I have in my garage with no issues. Due to my usage model changing for that PC, I upgraded the machines motherboard and CPU to something with more oomph and threads (an old QX6700 circa 2007), and slapped all the same peripherals back into it from the previous machine. This includes the video card I had been using, a Radeon HD 6450 (passively cooled, always dependable).

Well since it was a whole new machine, I figured it was a good time to upgrade to Debian 9.3, so I installed stretch with no issues. However, now when my machine comes out of sleep, there's about a 4-in-5 chance that I will get really bizarre color artifacts. This weirdness will immediately go away if I go to settings and change the on/off state of the color profile setting (from on to off, or off to on, doesn't matter).

Since the fresh install, I've performed only the following operations:
Code: Select all
* Added contrib and non-free to the sources
* apt install firmware-amd-graphics
* apt install llvm-3.9 clang-3.9


Info on the Video Card and Kernel:
Code: Select all
# lspci -k | grep -iEA5 'vga'
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
        Subsystem: PC Partner Limited / Sapphire Technology Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
        Kernel driver in use: radeon
        Kernel modules: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]
        Subsystem: PC Partner Limited / Sapphire Technology Radeon HD 6450 1GB DDR3

# uname -rv
4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04)


I found an interesting few lines in my "journalctl -xe" output:
Code: Select all
Feb 24 16:07:04 GaragePC gnome-control-c[14031]: /var/lib/gdm3/.local/share/icc/edid-18e40992cc420b9e33e14bbfb6d39bb6.icc is not usable by this user
Feb 24 16:07:05 GaragePC gnome-control-c[14031]: /var/lib/gdm3/.local/share/icc/edid-18e40992cc420b9e33e14bbfb6d39bb6.icc is not usable by this user
Feb 24 16:07:06 GaragePC gnome-control-c[14031]: /var/lib/gdm3/.local/share/icc/edid-18e40992cc420b9e33e14bbfb6d39bb6.icc is not usable by this user
Feb 24 16:07:06 GaragePC gnome-settings-[941]: failed to set screen _ICC_PROFILE: Failed to open file '/home/garageman/.local/share/icc/edid-18e40992cc420b9e33e14bbfb6d39bb6.icc': Permission denied


Those journalctl lines could be completely unrelated, and other users seem to see this message so maybe it should be ignored. I just dont know how to proceed otherwise. Below are some pictures of the artifacts.

Pictures:
Image
Image
Image
Last edited by myurkoski on 2018-02-25 17:39, edited 1 time in total.
myurkoski
 
Posts: 2
Joined: 2018-02-24 16:18

Re: Strange color mapping w/Radeon 6450 upon waking from sle

Postby debiman » 2018-02-27 07:04

myurkoski wrote:This weirdness will immediately go away if I go to settings and change the on/off state of the color profile setting (from on to off, or off to on, doesn't matter).

reset the color profile?
delete it?
uninstall the color profile software (colord iirc)?
User avatar
debiman
 
Posts: 2809
Joined: 2013-03-12 07:18

Re: Strange color mapping w/Radeon 6450 upon waking from sle

Postby myurkoski » 2018-03-20 02:57

Sorry for the delay, very busy lately.

I looked briefly into removing colord. The PM was going to remove half a dozen gnome packages along with it and some of them looked rather important, some xserver related. Additionally, when I just remove all of the color profiles (even the default) the problem persists. So if there's no profile to load, it still shows the aberrations coming out of sleep. So I'm not yet totally convinced that it will have a curative effect. I'm going to look into changing to a different video card, as it could just be borked microcode for a somewhat uncommon video card. If the problem persists, perhaps something else is wrong.
myurkoski
 
Posts: 2
Joined: 2018-02-24 16:18

Re: Strange color mapping w/Radeon 6450 upon waking from sle

Postby debiman » 2018-03-20 07:09

well you didn't look into my other 2 suggestions, inspired by this:
myurkoski wrote:I found an interesting few lines in my "journalctl -xe" output:
Code: Select all
Feb 24 16:07:04 GaragePC gnome-control-c[14031]: /var/lib/gdm3/.local/share/icc/edid-18e40992cc420b9e33e14bbfb6d39bb6.icc is not usable by this user
Feb 24 16:07:05 GaragePC gnome-control-c[14031]: /var/lib/gdm3/.local/share/icc/edid-18e40992cc420b9e33e14bbfb6d39bb6.icc is not usable by this user
Feb 24 16:07:06 GaragePC gnome-control-c[14031]: /var/lib/gdm3/.local/share/icc/edid-18e40992cc420b9e33e14bbfb6d39bb6.icc is not usable by this user
Feb 24 16:07:06 GaragePC gnome-settings-[941]: failed to set screen _ICC_PROFILE: Failed to open file '/home/garageman/.local/share/icc/edid-18e40992cc420b9e33e14bbfb6d39bb6.icc': Permission denied

have you looked if the file is actually there? the path looks weird, non-standard.
maybe it was generated from your monitor, and is wrong, but it really looks like a permission error.
which is strange. did you ever run Xorg as root maybe?
have you looked into telling gnome to use another icc? or regenerate it?
User avatar
debiman
 
Posts: 2809
Joined: 2013-03-12 07:18


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable