59
submitted 8 months ago* (last edited 8 months ago) by flork@lemy.lol to c/linux@lemmy.ml

I haven't been able to find one. Using Zorin OS which is GNOME.

you are viewing a single comment's thread
view the rest of the comments
[-] Atemu@lemmy.ml 29 points 8 months ago

amdgpu has a recovery mechanism built in that can be triggered using sudo cat /sys/kernel/debug/dri/N/amdgpu_gpu_recover where N is the number of the DRI device in question. You could bind a shortcut to doing that I presume.

[-] ExtremeDullard@lemmy.sdf.org 1 points 8 months ago

I have an AMDGPU machine - a hateful HP laptop with a Vega 6 chipset - and the display regularly goes garbled when I switch VTs. I too am looking for a way to "reset the graphics card" and cat /sys/kernel/debug/dri/N/amdgpu_gpu_recover ain't it: it resets it alright, but after that you get a frozen image and X is dead.

Maybe Wayland survives that but Xorg definitely doesn't.

The only reliable graphics card reset solution I've every found was to close then reopen the laptop to force the machine to go to sleep, then wake up and go through the restart rigmarole cleanly. I wish there was a way to do that sleep-wakeup routing with a keyboard shortcut, but I haven't found one.

I think the real solution is to buy a decent replacement laptop though.

[-] Atemu@lemmy.ml 2 points 8 months ago

Yeah, Xorg (and the apps) will likely die. There is a wayland protocol in the works to be able to gracefully handle driver resets but I'm not sure on its implementation status.

[-] flork@lemy.lol 1 points 8 months ago

Hmm I have AMD but I'm getting No such file or directory

[-] Atemu@lemmy.ml 5 points 8 months ago

Which part of the path does not exist?

Is it the correct GPU number?

this post was submitted on 12 Mar 2024
59 points (95.4% liked)

Linux

48224 readers
635 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS