You are not logged in.

#76 2021-07-17 21:24:36

jpegxguy
Member
From: Earth
Registered: 2018-06-18
Posts: 32

Re: AMD Ryzen 2700U graphics errors

Fun fact: You can get the mainline kernel prebuilt from miffe's repo: https://wiki.archlinux.org/title/Unoffi … ries#miffe
They're the person who maintains the linux-mainline aur package

Last edited by jpegxguy (2021-07-17 21:24:48)


hi

Offline

#77 2021-07-20 02:01:14

neemo
Member
Registered: 2021-07-16
Posts: 2

Re: AMD Ryzen 2700U graphics errors

So I upgraded to 5.14rc2 (released yesterday) and experienced the bug again!
Very frustrating experience with amdgpu on Linux for the past few months!
I guess this is a general issue with other distros as well and not only Arch.

Seriously, I got so annoyed that I just pulled the trigger and purchased an Intel-based Laptop today.

Last edited by neemo (2021-07-20 02:01:50)

Offline

#78 2021-07-24 15:18:04

H0yVoy
Member
Registered: 2021-07-24
Posts: 4

Re: AMD Ryzen 2700U graphics errors

I have been experiencing this bug for the past few months, and it seemed to occur more often as time progressed. Since updating the day before yesterday, I haven't experienced a single crash. I am running on kernel 5.11.1, mesa 21.1.5-1, and linux-firmware 20210716.b7c134f-1. I have not tested using linux-mainline, as zfs does not support it yet. Is it magically solved for anyone else here as well?

Offline

#79 2021-07-24 15:30:07

Mthw0
Member
Registered: 2021-07-19
Posts: 2

Re: AMD Ryzen 2700U graphics errors

I have been using linux-lts 5.10.17 and linux-firmware 20210315.3568f96-3 without an issue for a while now, but it's only been 2 or 3 days, so I need more time to confirm. @H0yVoy do you know how old is 5.11.1? Could it be about as old as 5.10.17?

Offline

#80 2021-07-24 17:33:21

lpr1
Member
Registered: 2017-10-08
Posts: 48

Re: AMD Ryzen 2700U graphics errors

Mthw0 wrote:

I have been using linux-lts 5.10.17 and linux-firmware 20210315.3568f96-3 without an issue for a while now, but it's only been 2 or 3 days, so I need more time to confirm. @H0yVoy do you know how old is 5.11.1? Could it be about as old as 5.10.17?

Same here, let's see what will happen in a week or so.

Offline

#81 2021-07-25 01:30:22

cyberrumor
Member
Registered: 2019-04-21
Posts: 11

Re: AMD Ryzen 2700U graphics errors

Wish I had read your post about 5.14rc2 before I recompiled linux-mainline. I can confirm the regression in 5.14rc2, bug is present in this version but not 5.14rc1.

Offline

#82 2021-07-25 06:50:13

Mthw0
Member
Registered: 2021-07-19
Posts: 2

Re: AMD Ryzen 2700U graphics errors

@cyberrumor do you (or anybody else) know how to reliably trigger this issue? After reading comments above it can only happen semi-randomly after multiple hours of usage, possibly related to VAAPI, which is a bad way to test this. If we could trigger this issue easily we could do a bisect between 5.14-rc1 and rc2 which shouldn't be many commits.

Offline

#83 2021-07-25 11:04:36

H0yVoy
Member
Registered: 2021-07-24
Posts: 4

Re: AMD Ryzen 2700U graphics errors

@Mthw0 I could trigger it by increasing my gpu usage when my ram is almost full (but swap isn't) e.g. by starting a program like blender or resize gpu-accellerated firefox playing a youtube video when I have many tabs open. Right now that doesn't seem to happen anymore, but my system still crashes (same gpu ring errors) when starting davinci resolve or using the internal gpu for rendering in blender.

Offline

#84 2021-07-25 15:29:46

cyberrumor
Member
Registered: 2019-04-21
Posts: 11

Re: AMD Ryzen 2700U graphics errors

@Mthw0 I  haven't noticed a way to reliable reproduce crash 100% of the time. They've happened for all sorts of reasons. During Alacrity terminal sessions with transparency in Sway, browsing reddit via firefox, etc. Most often my crashes occur while running directX games through proton. They seem to be less often while running native OpenGL games, but perhaps this is confirmation bias or illusory correlation.

Offline

#85 2021-07-25 18:45:05

lpr1
Member
Registered: 2017-10-08
Posts: 48

Re: AMD Ryzen 2700U graphics errors

I've just got a freeze with upgraded firmware, had no issues with linux-firmware 20210315.3568f96-3, did anyone reported the issue? This is unaceptable, and it's firmware fault.

Best way to reproduce for me, watch videos on youtube etc. in Chromium.

Offline

#86 2021-07-26 11:49:38

H0yVoy
Member
Registered: 2021-07-24
Posts: 4

Re: AMD Ryzen 2700U graphics errors

Yesterday when I upgraded my packages, the problem came back. However, I didn't upgrade mesa, linux-firmware, or the kernel itself. The only graphics-related package that I upgraded were the proprietary amdgpu pro drivers. After rolling back my system and upgrading my packages, excluding these drivers, everything seems to work fine still, which leads me to believe this issue is more complicated than I initially thought. Maybe this information helps you @lpr1?
According to the AMD website, these drivers aren't made for the built-in Ryzen gpus. I just installed them because I kept running into graphics issues a few months ago, and just never bothered to remove them. They seem to at least be partially related to the issue though...

Offline

#87 2021-07-26 13:56:48

lpr1
Member
Registered: 2017-10-08
Posts: 48

Re: AMD Ryzen 2700U graphics errors

H0yVoy wrote:

Yesterday when I upgraded my packages, the problem came back. However, I didn't upgrade mesa, linux-firmware, or the kernel itself. The only graphics-related package that I upgraded were the proprietary amdgpu pro drivers. After rolling back my system and upgrading my packages, excluding these drivers, everything seems to work fine still, which leads me to believe this issue is more complicated than I initially thought. Maybe this information helps you @lpr1?
According to the AMD website, these drivers aren't made for the built-in Ryzen gpus. I just installed them because I kept running into graphics issues a few months ago, and just never bothered to remove them. They seem to at least be partially related to the issue though...

This looks to me like an AMD created issue, I do not use proprietary drivers (AMDGPU-PRO), I use Mesa with 0 issues so far. I'm on the latest kernel in the repo (5.13.5-arch1-1) and have no issue with it, as soon as linux-firmare package is upgraded, issue comes back. It's beyond my knowledge to figure out what is wrong, but it's clear to me who is at fault for this issue (AMD), and from them, that's not acceptable IMO.

I can see there is different info from other users, but in general, it seems that linux-firmware is the culprit of the issue, so I guess bug report have to be directed at AMD.

Offline

#88 2021-07-27 09:54:44

Dr. Banana
Member
Registered: 2021-07-04
Posts: 2

Re: AMD Ryzen 2700U graphics errors

neemo wrote:

So I upgraded to 5.14rc2 (released yesterday) and experienced the bug again!
Very frustrating experience with amdgpu on Linux for the past few months!
I guess this is a general issue with other distros as well and not only Arch.

Seriously, I got so annoyed that I just pulled the trigger and purchased an Intel-based Laptop today.

What firmware version are you running? I'm running 5.14rc2 with linux-firmware 20210315 and have had no problems so far.
It's a shame because I want to try out the new firmware to take advantage of HDMI over freesync.

Offline

#89 2021-07-27 10:44:05

koroki
Member
Registered: 2013-08-03
Posts: 45

Re: AMD Ryzen 2700U graphics errors

For me, one of the most annoying things is the fact that I can not reproduce the error easily. It is so random...

Offline

#90 2021-07-29 13:39:17

H0yVoy
Member
Registered: 2021-07-24
Posts: 4

Re: AMD Ryzen 2700U graphics errors

Even though the gpu is not crashing with ring errors anymore, I still see plenty of gpu-related errors in the dmesg output:
amdgpu: failed to write reg 28b4 wait reg 28c6
amdgpu: failed to write reg 1a6f4 wait reg 1a706

it complains about the same registers every time, and googling around seems like this error with these particular register pops up more often, dating as far back as 2019... But no working solutions have been posted as far as I can see.

Offline

#91 2021-07-31 08:58:29

MadByte
Member
Registered: 2021-07-31
Posts: 1

Re: AMD Ryzen 2700U graphics errors

I also have the Ryzen 2700U and had freezes and crashes occasionally while using Firefox and watching videos.
I found that, at least in my case, the freezes stop completely when I don't maximize my windows and use them a bit smaller on the screen.
Watching fullscreen videos like on youtube or netflix doesn't appear to be an issue, as long as the browser window is not maximized.

This worked for me since Linux version 5.12 without any kernel parameters (worked for a couple month without issues). I had some parameters like iommu=pt or idle=nomwait for some time which seemed to help, but I never was completely sure if they did anything, since freezes still occurred from time to time.

Offline

Board footer

Powered by FluxBB