You are not logged in.

#1 2023-05-24 20:41:23

imargonis
Member
Registered: 2022-11-13
Posts: 13

[SOLVED]System messed up after latest update

Hello,

I updated my system following the instructions in the announcement but my system is now messed up. I do not even know what exactly is wrong.

Actually I was not sure if I had to run the following

$ pkgctl repo clone linux

so I initially did not run it. Later I tried to run this but i get a permission error. Anyway if I understand correctly this is only needed if I build some packages by myself (correct?) which I am not.

I do not think this is the cause to my problems but after the update I wanted to restart but I accidentally clicked on hibernate. I could not really wake up the system so I resorted shutting down the computer and then powering it on again.

When the computer opens the login screen looks like this:

https://imgur.com/BHfJLps

When trying to login there is no indication that what I type is accepted, however it seems to work because I can login but what I see then is this:

https://imgur.com/gpfmPbJ

I can switch to console and there everything seems ok (?)  but the GUI (I have KDE) is not working at all.

Has anyone any idea what went wrong and how I can fix this?

Last edited by imargonis (2023-05-24 23:04:53)

Offline

#2 2023-05-24 20:49:43

loqs
Member
Registered: 2014-03-06
Posts: 17,326

Re: [SOLVED]System messed up after latest update

Can you switch to another tty with Ctrl+Alt+F2?  If so log into the other console and post the system journal for the current boot to a pastebin then post the link here.

Offline

#3 2023-05-24 21:26:50

imargonis
Member
Registered: 2022-11-13
Posts: 13

Re: [SOLVED]System messed up after latest update

Link to output of 'journalctl -b'

https://termbin.com/1zkld

Offline

#4 2023-05-24 21:48:26

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED]System messed up after latest update

May 25 00:14:27 marg-desktop kernel: amdgpu 0000:01:00.0: amdgpu: Use radeon.cik_support=0 amdgpu.cik_support=1 to override.

Do you have more luck when using amdgpu instead of radeon?

Offline

#5 2023-05-24 21:53:20

imargonis
Member
Registered: 2022-11-13
Posts: 13

Re: [SOLVED]System messed up after latest update

seth wrote:
May 25 00:14:27 marg-desktop kernel: amdgpu 0000:01:00.0: amdgpu: Use radeon.cik_support=0 amdgpu.cik_support=1 to override.

Do you have more luck when using amdgpu instead of radeon?

I am sorry but I am not sure I understand. Should I use amdgpu instead of radeon? Isn't this what already happens?
Maybe you mean it the other way around? Anyway how would I do that? What do I have to do?

Offline

#6 2023-05-24 21:58:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED]System messed up after latest update

Set

radeon.cik_support=0 amdgpu.cik_support=1

on your kernel parameters. - https://wiki.archlinux.org/title/AMDGPU … mmand_line

FWIW I've read on a reddit thread somewhere that there might be an issue with mesa 23.1.0 and radeon, you could try downgrading that (though you probably want to prefer changing to amdgpu instead if that solves it already)

Last edited by V1del (2023-05-24 22:03:48)

Offline

#7 2023-05-24 22:35:48

imargonis
Member
Registered: 2022-11-13
Posts: 13

Re: [SOLVED]System messed up after latest update

Thank you guys.

I tried setting the kernel parameters as you said but the system would hang during boot. Either it did not work or I did something wrong. (for what it's worth I checked my MODULES order and amdgpu was listed first and radeon second anyway).

Then I decided to downgrade mesa (to version 23.0.3) and it worked!

Of course I guess this is only a temporary fix. What happens when I upgrade next time? I should avoid updating mesa but for how long? I guess this is a known issue if it was discussed on reddit so let's hope it will be resolved quickly.

I guess I should mark this as SOLVED?

Thank you all again!

Offline

#8 2023-05-24 22:39:14

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED]System messed up after latest update

The order of the modules doesn't matter here.
Where did it hang? At the display manager?

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#9 2023-05-24 22:58:00

imargonis
Member
Registered: 2022-11-13
Posts: 13

Re: [SOLVED]System messed up after latest update

seth wrote:

The order of the modules doesn't matter here.
Where did it hang? At the display manager?

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

No. It hung right in the beginning. Right after GRUB. There is a good chance I messed up with the kernel parameters.

Offline

#10 2023-05-25 02:58:56

Bicyforecastle
Member
Registered: 2023-05-19
Posts: 2

Re: [SOLVED]System messed up after latest update

I rebooted to the same issue today. I am running sway+Wayland with an AMD R9 390 GPU, and the amdgpu driver.

Upon boot, I could start sway but no graphical applications displayed properly. No fonts, no images, etc. Just empty-ish window borders.

I also had this line in my journalctl -b output:

 marg-desktop kernel: amdgpu 0000:01:00.0: amdgpu: Use radeon.cik_support=0 amdgpu.cik_support=1 to override. 

I was able to solve the issue with these steps, abridged from section 2.2.2.1 of the AMDGPU wiki page.

# echo "options amdgpu cik_support=1" >> /etc/modprobe.d/amdgpu.conf
# echo "options radeon cik_support=0" >> /etc/modprobe.d/radeon.conf
# mkinitcpio -P 
$ reboot

I guess I just don't understand AMD graphics drivers or chip naming convention, because I thought my card wasn't even a GCN, and I've been running Arch on it since I bought it and never hit this issue before...

Last edited by Bicyforecastle (2023-05-25 02:59:53)

Offline

#11 2023-05-25 06:21:10

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED]System messed up after latest update

According to google™ AMD R9 390 is a Hawaii chip, which would be sea islands

I just don't understand AMD graphics drivers or chip naming convention

Welcome to the club. But it's related to geography.

never hit this issue before

V1del wrote:

there might be an issue with mesa 23.1.0 and radeon, you could try downgrading that (though you probably want to prefer changing to amdgpu instead if that solves it already)

Offline

#12 2023-05-25 09:51:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED]System messed up after latest update

FWIW since downgrading isn't really a fix and if you do not have the option of switching to amdgpu, you probably want to actually debug the problem by enabling debug symbols and checking/posting the backtrace upstream: https://wiki.archlinux.org/title/Debugg … ing_traces

Offline

#13 2023-05-25 16:18:50

gps1539
Member
From: Los Gatos, CA
Registered: 2013-11-06
Posts: 134

Re: [SOLVED]System messed up after latest update

imargonis wrote:

Thank you guys.

I tried setting the kernel parameters as you said but the system would hang during boot. Either it did not work or I did something wrong. (for what it's worth I checked my MODULES order and amdgpu was listed first and radeon second anyway).

Then I decided to downgrade mesa (to version 23.0.3) and it worked!

Of course I guess this is only a temporary fix. What happens when I upgrade next time? I should avoid updating mesa but for how long? I guess this is a known issue if it was discussed on reddit so let's hope it will be resolved quickly.

I guess I should mark this as SOLVED?

Thank you all again!


You can edit /etc/pacman.conf, uncomment #IgnorePkg and add 'mesa' (see below). This will allow you update the rest of your system while this issue gets resolved. Once fixed add the '#' back and remove 'mesa'

 # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   = mesa
#IgnoreGroup =

Offline

#14 2023-05-25 19:56:07

michael8rown
Member
Registered: 2021-08-25
Posts: 23

Re: [SOLVED]System messed up after latest update

I'm having a similar problem (my desktop looks like this since the mesa update: https://www.reddit.com/r/archlinux/comm … unusable/). But unlike OP, I can't see any instructions in my logs to "Use radeon.cik_support=0 amdgpu.cik_support=1 to override". The only fix for me was to downgrade to mesa-23.0.3-1. Here are logs with old mesa and new mesa.

boot log using mesa-23.0.3-1 (working gdm): http://0x0.st/Hqty.txt
Xorg log using mesa-23.0.3-1 (working gdm): http://0x0.st/Hqtt.txt
boot log using mesa-23.1.0-1 (broken gdm): http://0x0.st/Hqtv.txt
Xorg log using mesa-23.1.0-1 (broken gdm): http://0x0.st/Hqtw.txt

$ lspci -k | grep -A 3 -E "(VGA|3D)"
 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R4 Graphics]
        Subsystem: Lenovo Kaveri [Radeon R4 Graphics]
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu
gps1539 wrote:

You can edit /etc/pacman.conf, uncomment #IgnorePkg and add 'mesa' ... This will allow you update the rest of your system while this issue gets resolved. Once fixed add the '#' back and remove 'mesa'

I did this, and I'd like to just wait it out, but I don't see any evidence from the mesa bugtracker that anyone has reported this. But I confess I'm not sure what to look for. And I don't feel confident enough about this to file a bug report myself; I'm not sure I'm skilled enough to

debug the problem by enabling debug symbols and checking/posting the backtrace upstream

Should I just wait it out, or are there any other ideas what I could try besides ignoring mesa updates from now on?

Offline

#15 2023-05-25 20:02:40

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED]System messed up after latest update

Instrcutions or not - it's a sea-island chip, so you can just try to use amdgpu.

Offline

#16 2023-05-28 09:09:16

knille
Member
Registered: 2014-02-24
Posts: 28

Re: [SOLVED]System messed up after latest update

hello,
latest mesa update (23.1.1-1) fixed the issue for me.

Offline

Board footer

Powered by FluxBB