-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recently, Setting a Persistent Save Powerupp table breaks everything #16
Comments
Thanks. I installed a fresh copy of Manjaro in order to troubleshoot but I am not able to reproduce this on my end (tested kernels in Manjaro Settings Manager 5.6.19-2, 5.7.9-1 and 5.8.0-1). What is the content of your Can you see anything strange with Can you reset to default values and try to change only, for example, the Gfx clock and see if there is a certain setting causing this? Can you try to delay the udev startup with |
Yeah, like I said I had to delete the file to get my system to not freak out, so I'll redo it and get the contents. But as far as this:
Like I said, I never even changed the GFX clock. I literally only set a -35mV voltage offset and raised the power limit from 190W to 235W. But yeah I'll re-set the persistent save and make sure I get the same issue, and then get the contents as well as try just changing one of those two things at a time. |
So I'm having some issues on Manjaro with reproducing (though I only tried once), but on Arch I can reproduce it every single time. I checked the dmesg logs, and the only relevant line I got was:
Which I get with or without powerupp's startup script enabled. Here's a screenshot of the temperature monitor, but the flickering obviously doesn't show up in screenshots (though it's very bad, if you ever had the whole "flickering with more than one monitor with ppfeaturemask enabled" bug before they fixed it, it's exactly like that: Also, I tried to load up powerupp while it was happening, seeing if setting everything back to default would fix it, and - surprise, surprise - my card isn't even detected, I can't change any settings, nothing whatsoever. So this is clearly something to do with powerupp (or upp). |
Also, EDIT: Also, I'm trying with the adjusted udev rules as well, I actually had considered something like that as well (just that the timing might be the issue). |
Tested with Arch now as well but no luck for me (or rather bad luck, it's working fine). Paste the |
Sorry, I thought I'd already done that (pasted the contents of the script), and realized I'd forgotten:
|
Looks normal, you could try to comment out the line |
Not sure that this will help but found an unescaped string that could theoretically cause the power limit workaround to be set to the incorrect path. |
Any updates on this? Did you try to delay the udev script startup and/or comment out the hwmon line? |
Yeah man, neither worked I had to completely remove the rules file for
things to stop. But then I started seeing some weird issues with the kernel
drivers (it's like that old bug where having two monitors caused flickering
with amdgpu.ppfeaturemask set unless you set the DPM to high or low. Only
this has slightly different dmesg logs). But it's NOT the same issue as
what's caused by powerupp. But it does make figuring this out a lot more
complicated. I filed a bug report with AMD on gitlab and Alex seemed to
know what I was talking about so I'm hoping it's fixed in the new 5.9 rc I
need to check when I get home, I'm at the doctor right now.
If not, I'll install a 5.7 kernel to see if I can help figure this thing out
…On Mon, Aug 24, 2020, 9:27 AM Dennis Hägg ***@***.***> wrote:
Any updates on this? Did you try to delay the udev script startup and/or
comment out the hwmon line?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM5Y3335JNYXPKZYCDOEDF3SCJTDDANCNFSM4PZU4FSQ>
.
|
So, using a persistent save table used to work perfectly fine, but as of about two weeks ago, having any sort of persistent save (even if it's just raising the power limit and setting a voltage offset) will cause flickering and a temperature reading of -0.0001 for the GPU, as well as prevent the fans from working whatsoever. I've reproduced this on completely separate systems (one with Manjaro and one with vanilla Arch).
At first, I thought I'd broken my Arch installation, so I restored a timeshift snapshot to back before the issue was present, but it was still there. So I moved to my Manjaro install and the issue was gone. I started using it while trying to figure out what the hell happened to Arch, and eventually I set up a persistent powerupp table on Manjaro, and boom - next time I reboot, same issue. I had already started to suspect powerupp at this point, so I jumped to a vtty and deleted the powerupp startup script that gets provided when you click "Persistent Save" and then rebooted. Sure enough, it was gone. I chrooted into my Arch install and deleted that same file, booted into Arch, and sure enough, the issue was gone.
I don't know what's going on, but now it seems setting a persistent save causes the powerplay table to be corrupted in the same way that just using Powerupp at all with a 5600 XT causes (remember all that? when we were trying to get it to work with the 5600XT? This is kind of similar feeling).
I'm happy to get any information you need, but yeah at this point it seems confirmed that at least some settings in Powerupp will break a bunch of stuff if you have it set to persistent. Doing it after boot and not setting it to persistent still works perfectly fine. I can set the exact same table as a one-time thing and it work perfectly fine, only when it tries to set those same values at boot does it cause issues.
Arch Linux, Manjaro Linux
Gigabyte Gaming OC RX 5700 XT
Kernels: 5.7.13-arch, 5.8.0-2-MANJARO, 5.8.0-rc7-tkg-pds, 5.8.0-1-tkg-pds, a bunch of others.
The text was updated successfully, but these errors were encountered: