Skip to main content
Topic: System halts randomly, audio playing and cursor moving for a while then crashes (Read 1824 times) previous topic - next topic
0 Members and 5 Guests are viewing this topic.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #15
An update.

So, mesa received a 25.0.0 update on feb.09th and I've been waiting since for it to be included in arch packages but nothing yet. Today I got impatient and built both mesa-git and lib32-mesa-git packages (currently on 25.1.0._devel versions) using yay.

So far, I've tested it scenarios which usually crashed the system and there were none. Let's hope V25 resolved the issue.

FYI--and anyone else who might think to use this as a cure for this problem--I just installed the two of these and left my PC to do some other things only to return to another crash. I find disabling display compositing helps a lot, but it doesn't solve the problem completely.

I would like to downgrade both to versions that didn't cause this problem, but the last time I tried, I found multiple programs (specifically games) would not run at all. I'm thinking there were some other dependent or otherwise related packages that also needed to be downgraded to match; if so, can anyone tell me the proper way to downgrade those two packages? That, and/or the proper way to go about downgrading them.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #16
can anyone tell me the proper way to downgrade those two packages? That, and/or the proper way to go about downgrading them.
There are two methods that I know of.

1.) Using older downloaded packages.
Check if you have mesa and lib32-mesa packages in your pacman cache: (If you still have these then lucky you.)
Code: [Select]
find /var/cache/pacman/pkg -iname "*mesa*"  2> /dev/null 

then follow: https://wiki.archlinux.org/title/Downgrading_packages

2.) Manual Compilation.

Note: freedesktop is currently on the process of server migration, might have issues on downloading the files. I did check and it worked fine as of posting this reply. Just a heads up.

I don't know about proper, but I did the downgrade on packages like this by cloning:

https://aur.archlinux.org/packages/mesa-git
https://aur.archlinux.org/packages/lib32-mesa-git

editing the PKGBUILD file's pkgver= (check the available versions on gitlab: https://gitlab.freedesktop.org/mesa/mesa):

Code: [Select]
pkgver=pkgver=25.0.0_devel.200052.bed748d5f6d.d41d8cd

to

pkgver=24.2.7 (this is an example, choose the version you want on the gitlab site specified above)

To avoid problems you may want to set the PKGBUILD files as immutable: (I've had the issue where it would compile mesa as the latest version unless I did this.)

Code: [Select]
chattr +i PKGBUILD
to undo:
chattr -i PKGBUILD

You may need to edit the dependency requirements too. Such as using an older dependency or add some missing ones.


Hope this works out for you. Cheers.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #17
can anyone tell me the proper way to downgrade those two packages? That, and/or the proper way to go about downgrading them.
Spoiler (click to show/hide)

Thanks for the reply. Fortunately, I do have mesa and lib32-mesa packages dating back to last October. That being said, those instructions (1.1--I didn't think the kernel needed downgrading) were what I followed the last time I tried to downgrade.

Evidently, even 25.* still causes problems, so it seems downgrading is the only option. My problem, however, is finding my games failing to start after such a downgrade. Wine doesn't say anything relevant about the failures, so I don't really know which dependencies are affected or not. EDIT: Lutris has a log I've yet to check, so I'll try that out tomorrow.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #18
I didn't think the kernel needed downgrading) were what I followed the last time I tried to downgrade.

Downgrading the kernel isn't necessary(I assume you meant instruction 1.2 in the arch wiki (which is for when you have issues when you have updated the kernel)).

Step 1.1 is good enough for mesa / lib32-mesa.

Still If you want to try older kernel versions, you can just either just do step 1(from my earlier response, not the arch wiki steps), or use an lts kernel.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #19
I didn't think the kernel needed downgrading) were what I followed the last time I tried to downgrade.

Downgrading the kernel isn't necessary(I assume you meant instruction 1.2 in the arch wiki (which is for when you have issues when you have updated the kernel)).

Step 1.1 is good enough for mesa / lib32-mesa.

Still If you want to try older kernel versions, you can just either just do step 1(from my earlier response, not the arch wiki steps), or use an lts kernel.

Yup, tried again--same result. Tried downgrading packages I found to be related to them when I installed mesa-git the other day, but that didn't work either; Fallout NV ran extremely slowly, and graphics card wasn't properly ID. Then it crashed, some time after.

Figured I'd just give up and go with 1:25.0.1-2, as the regular version is on the repository now, and I don't quite trust the snapshot downgrade tactic. We'll see what happens.

EDIT: Found out in roughly one hour.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #20
My problem, however, is finding my games failing to start after such a downgrade.
Partially downgrading mesa won't cut it; it's too important a component to not break stuff. You should downgrade the entire system to the last days of mesa-24.2.7 (just replace https://archive.archlinux.org/ with https://archive.artixlinux.org/).

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #21
My problem, however, is finding my games failing to start after such a downgrade.
Partially downgrading mesa won't cut it; it's too important a component to not break stuff. You should downgrade the entire system to the last days of mesa-24.2.7 (just replace https://archive.archlinux.org/ with https://archive.artixlinux.org/).

Learned something new today, thanks for this. Didn't knew Artix had legacy packages. This makes it easier to go down and untangle through the dependecy hell ball of yarn.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #22
I'm not sure that Antilles' problem is the same as the one I started the topic with.

That being said, I noticed that mesa and lib32-mesa in the arch repo finally reached 25.0.2 so i did a
Code: [Select]
sudo pacman -S mesa lib32-mesa
and removed the 25.0.1 Git which I installed from the AUR.

After testing I can confirm that everything runs fine, in my instance of the problem, at least (AMD Ryzen related). Solved?

 

 
Artix forum uses a single cookie to remember youOK