You are not logged in.

#1 2023-04-17 09:24:40

archsavedme
Member
Registered: 2021-01-02
Posts: 12

tty color after suspend

Hello, I recently installed arch on an old netbook (Acer ASPIRE ONE D270). Everything works fine except for this issue that is quite annoying.

After a suspension, the background turns blue or light blue and other colors change consequently, (the impression is that the blue is added to their basic color).
I have found a few similar issues but currently there is no Xorg and it occurs on a fresh installation.

Any suggestion about what to try / investigate to solve the problem?

Thank you!

Offline

#2 2023-04-17 22:05:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: tty color after suspend

Does yellow (255,255,0) become white (255,255,255)?
Or does it turn a bit green-ish?

Random guess, disable https://wiki.archlinux.org/title/Intel_ … nable_fbc)

Offline

#3 2023-04-18 08:45:57

archsavedme
Member
Registered: 2021-01-02
Posts: 12

Re: tty color after suspend

Thank you for your reply. Yellow become blue, red cannot be displayed anymore.

I think it's the same situation of this old post:
https://bbs.archlinux.org/viewtopic.php … 1#p2095381

And this :
https://forums.linuxmint.com/viewtopic.php?t=253942
makes me think that there is no solution

I'm not in the IT field so maybe there is something that I miss, but it feels like a complex issue

Last edited by archsavedme (2023-04-18 08:46:15)

Offline

#4 2023-04-18 11:23:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: tty color after suspend

Ah, this beauty: https://wiki.archlinux.org/title/Intel_GMA_3600
https://wiki.archlinux.org/title/Intel_ … ter_resume suggests to shadow /usr/lib/pm-utils/sleep.d/99video which amongs other also manipulated the backlight… in ye olde days of HAL.
You could still try whether manipulating the BL has impact on this, https://wiki.archlinux.org/title/Backlight

Do you use https://wiki.archlinux.org/title/Uvesafb ?

Offline

#5 2023-04-18 23:01:03

archsavedme
Member
Registered: 2021-01-02
Posts: 12

Re: tty color after suspend

That's definitely something I can work on! I'll try to understand a bit what are uvesafb, dkms and so on... maybe I'll learn something

It's the first time I read about uvesafb, if it's not in the basic installation as it looks then I have to install it

Last edited by archsavedme (2023-04-18 23:02:55)

Offline

#6 2023-04-19 06:58:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: tty color after suspend

You first want to see whether it's a backlight issue. Then maybe look into replacing the frambuffer.

Offline

#7 2023-04-21 22:28:42

archsavedme
Member
Registered: 2021-01-02
Posts: 12

Re: tty color after suspend

a little update.
I tried to play with grub "GRUB_CMDLINE_LINUX_DEFAULT"
if I put "nomodeset" it change resolution at start and it doesn't switch on the screen when it wakes up (it still works since I can reboot from the black screen). And I see that with this, gma500 is not loaded at start
"i915.fastboot=1" seems to have no effect
"video=uvesafb:1024x600-24,mtrr:3" seems to have no effect. However I still see gma500 with lsmod and I don't think it should be there.

I see that the backlight can be increased and decreased after suspension and colors remain stable so maybe it's not an issue.

I thought maybe I had to install drivers with dkms but when I do "dkms autoinstall" it gives an error and installation doesn't happen.

Offline

#8 2023-04-22 06:39:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: tty color after suspend

% modinfo gma500_gfx
…
description:    DRM driver for the Intel GMA500, GMA600, GMA3600, GMA3650

It's the kernel module for your IGP (hence i915.whatever won't have any impact)
"nomodeset" explicitly prevents KMS and DRM

I thought maybe I had to install drivers with dkms but when I do "dkms autoinstall" it gives an error and installation doesn't happen.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

You install the dkms package from the AUR
https://wiki.archlinux.org/title/Arch_U … g_packages

DKMS will then compile and install a kernel module automagically.
https://wiki.archlinux.org/title/Dynami … le_Support

Offline

#9 2023-04-23 17:19:52

archsavedme
Member
Registered: 2021-01-02
Posts: 12

Re: tty color after suspend

Hello,
Still no luck but:

  1. I installed raspbian Desktop and everything is working, even xorg.

  2. the driver in use is still gma500:

    lsmod | grep gma
    gma500_gfx            221184  3
    i2c_algo_bit           16384  1 gma500_gfx
    drm_kms_helper        278528  1 gma500_gfx
    drm                   618496  5 drm_kms_helper,gma500_gfx
    video                  57344  2 acer_wmi,gma500_gfx
  3. grub configuration include this line that doesn't seem an important change

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash plymouth.ignore-serial-consoles"

Since those are the two things I was focusing on and it appear they are the same, the issue may be somewhere else but at this point it doesn't worth it.
I'm giving up trying to use arch but I still am curious to understand why one works and the other doesn't.
Anyway, thanks again for your support

Offline

#10 2023-04-23 18:36:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: tty color after suspend

Did you previously try xorg on arch?
Post the xorg log from raspbian.

Of course the gma500 module is used, it's the only one capable of driving your IGP.

Note to mods, raspbian desktop is an x86 distro.

Offline

#11 2023-04-23 20:31:58

archsavedme
Member
Registered: 2021-01-02
Posts: 12

Re: tty color after suspend

i just tried to install xorg with i3. at startx I can see the layout of i3 but instead of letters there is a batch of columns and nothing is working. Still, the suspension induce the color shift.

In theory the atom n2600 should have the 64-bits support but now that you mention it I'll check for more informations, maybe I'll try arch at 32 bits

Offline

#12 2023-04-23 20:34:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: tty color after suspend

instead of letters there is a batch of column

You need to install a font.

Are you running raspbian on 32 bit?
(The CPU is x86-64 capable, but oc the architecture has some relevance here)

Offline

#13 2023-05-02 22:27:03

archsavedme
Member
Registered: 2021-01-02
Posts: 12

Re: tty color after suspend

I was running raspbian at 64-bit.
I installed arch at 32 bits but after arch-chroot i wasn't able to install anything because every signature is "unknown trust" , (invalid or corrupted package). I guess it depends on the 32 bit since it didn't happen before. I tried solutions with pacman-key and so on but I couldn't make it work

Offline

#14 2023-05-03 06:36:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: tty color after suspend

No idea what signature errors you got, but arch32 isn't archlinux - and since you were using 64-bit raspbian, it's also not relevant.

You could try https://aur.archlinux.org/packages/linux-lts515 - there're several S3 related issues since the 6.x kernels

Offline

Board footer

Powered by FluxBB