I can confirm that libva and vdpau don't play any role in this affair, as I've never even had them installed during all of my testing.
Bad process since that's not particularly useful info for you
Don't worry, at this point I'm really trying to understand how it all works so this too is useful info for me.
And yes, please keep me updated on whatever you find!
Yeah, always better to play it safe if you actually have to use your PC for something other thank tinkering for the sake of it.
When you talk about the same issue, do you mean the freezes or the way pages are displayed?
I thought that this last problem could maybe be fixed by x86f-video-amdgpu-git, but I'm not too sure as I don't really know what x86f-video-amdgpu is for.
I understand.
Yes, mesa-git does indeed definitely fix all of these problems, although for me as you can see in the post update it still doesn't grant an optimal user experience.
I have finally completed my last tests. I should finally be done. I'm pasting the heads-up here for your convenience. Tell me if you have the same experience.
If you install mesa-git, vulkan-radeon-git and vulkan-icd-loader also Vulkan apps and games run flawlessly with RADV.
You can either build them from the AUR, or just add the mesa-git repository and install them with pacman (more on that here).
PROCEED WITH CARE! In my case at least, doing so broke a few apps which were working before (Steam, Tomb Raider, Deus-Ex Mankind Divided).
Performance: There is no performance gain in using mesa-git: I benchmarked Rise of the Tomb Raider on mesa 20 (both with RADV and AMDVLK), and it run as well as with mesa 19, if not slightly worse. I wanted to test Deus-Ex too, but it has been impossible for the reason stated earlier.
Also, I believe that the fans were spinning way faster when idle (browsing chrome and such), but this might be a problem of my setup only.
I would personally stick with linux-amd-staging-drm-next-git and AMDVLK at the moment, until mesa 20 gets released as stable: this way you keep your packages clean and stable, have better performance and have lower fan noise. Also, in case you wanted to revert to a stable kernel the only thing you need to do is boot the default one without having to modify anything in your system.
I don't know anything about DXVK though: if you test it please let me know so to add the results here, which could possibly be useful for reference to other people who happen to stumble upon the same issues.
Last thing that should be done is test everything under AMDGPU-PRO. I however am not interested at all in doing so, and am personally kind of fed up with testing and resetting my PC so many times.
I will consider trying it however in case somebody needs it for some reason and asks for some tests to be done.
What game did you try?
Further testing showed me that, unfortunately, not even for me this is a definitive solution...
Appearently, it fixed OpenGL games (I tried Minecraft and Tomb Raider, both of which used to crash and now don't anymore).
However, Vulkan games (I've only tried Rise of the Tomb Raider at the moment, will install Deus Ex whenever I have time) still crash the same exact way.
The workaround I've found is fairly simple: using amdvlk.
With amdvlk I haven't been able to crash the game even at the highest settings, so I strongly advise you try the same.
Thanks a lot for the gold.
Again, please keep me updated on what you manage to find out.
It's such a common problem it seems, and being able to reproduce a definitive way of at least using a workaround would be useful for many people I belive.
In the end, compiling linux-amd-staging-drm-next-git has been the answer to my problems!
Thank you a lot, because probably weren't it for you sharing your experience I would have tried mesa-git and a bunch of other stuff before compiling a kernel.
You are right: this is all because the 5700XT is relatively recent... The only way to have it working properly is having bleeding edge drivers and kernel.
To think that one of the reasons I chose AMD over some other card manufacturers is because of how much, at least apparently, they're doing for the open source drivers...
The way Linux works is so fascinating... I just keep getting reminded of how great of a system it is.
Couple of hours is definitely bearable! I have updated the jobs count, so it will be okay.
Yesterday I compiled wine from an AUR package, the kernel is going to be okay
Wait, is it normal for Dolphin to be that transparent? Or is that adjusted in the color scheme?
Everything is very nice and blends perfectly
If it didn't not-not crash, then it wouldn't crash, which would still be something this distro doesn't do
I can confirm that libva and vdpau don't play any role in this affair, as I've never even had them installed during all of my testing.
And yes, please keep me updated on whatever you find!
That's unfortunate... I would then recommend using the stable mesa 19 at the moment. If you need Vulkan, AMDVLK is going to cut it for the time being.
I've also seen that a few things about Xorg are being changed, so yes it's potentially all related, or so it seems.
Yeah, always better to play it safe if you actually have to use your PC for something other thank tinkering for the sake of it.
When you talk about the same issue, do you mean the freezes or the way pages are displayed? I thought that this last problem could maybe be fixed by x86f-video-amdgpu-git, but I'm not too sure as I don't really know what x86f-video-amdgpu is for.
Awesome! I'm glad it worked.
Now you only have to find out which is best between AMDVLK and mesa-git
I understand. Yes, mesa-git does indeed definitely fix all of these problems, although for me as you can see in the post update it still doesn't grant an optimal user experience.
I have finally completed my last tests. I should finally be done. I'm pasting the heads-up here for your convenience. Tell me if you have the same experience.
- - - EDIT_3 - Last report - - -
Details here: https://imgur.com/gallery/gMvgXHM
If you install mesa-git, vulkan-radeon-git and vulkan-icd-loader also Vulkan apps and games run flawlessly with RADV.
You can either build them from the AUR, or just add the
mesa-gitrepository and install them with pacman (more on that here).PROCEED WITH CARE! In my case at least, doing so broke a few apps which were working before (Steam, Tomb Raider, Deus-Ex Mankind Divided).
Performance: There is no performance gain in using mesa-git: I benchmarked Rise of the Tomb Raider on mesa 20 (both with RADV and AMDVLK), and it run as well as with mesa 19, if not slightly worse. I wanted to test Deus-Ex too, but it has been impossible for the reason stated earlier.
Also, I believe that the fans were spinning way faster when idle (browsing chrome and such), but this might be a problem of my setup only.
I would personally stick with linux-amd-staging-drm-next-git and AMDVLK at the moment, until mesa 20 gets released as stable: this way you keep your packages clean and stable, have better performance and have lower fan noise. Also, in case you wanted to revert to a stable kernel the only thing you need to do is boot the default one without having to modify anything in your system.
I don't know anything about DXVK though: if you test it please let me know so to add the results here, which could possibly be useful for reference to other people who happen to stumble upon the same issues.
Last thing that should be done is test everything under AMDGPU-PRO. I however am not interested at all in doing so, and am personally kind of fed up with testing and resetting my PC so many times.
I will consider trying it however in case somebody needs it for some reason and asks for some tests to be done.
I too have both of them installed at the moment.
Rise of the Tomb Raider lets you choose before it loads.
Alternatively, for other games according to the Wiki and Reddit you can set the environment variable
VK_ICD_FILENAMESWhat game did you try? Further testing showed me that, unfortunately, not even for me this is a definitive solution...
Appearently, it fixed OpenGL games (I tried Minecraft and Tomb Raider, both of which used to crash and now don't anymore).
However, Vulkan games (I've only tried Rise of the Tomb Raider at the moment, will install Deus Ex whenever I have time) still crash the same exact way. The workaround I've found is fairly simple: using amdvlk. With amdvlk I haven't been able to crash the game even at the highest settings, so I strongly advise you try the same.
Thanks a lot for the gold. Again, please keep me updated on what you manage to find out. It's such a common problem it seems, and being able to reproduce a definitive way of at least using a workaround would be useful for many people I belive.
I built linux-amd-staging-drm-next-git from the AUR
I know Chrome is RAM hungry, but more than 32 GB I think it truly would be pointless.
Anyways, now everything's solved!
Curious, this possibly means that the issue is with DRM rather than AMDGPU...
I fixed it with linux-amd-staging-drm-next-git: to you it's kind of useless since you're on an Intel GPU, but linux-drm-tip-git should be the equivalent for vendors other than AMD.
Happy cake day!
Have you fixed those issues? In my case I needed to compile linux-amd-staging-drm-next-git
Compile linux-amd-staging-drm-next-git from the AUR (read the comments and don't forget LC_ALL=C, and update your GRUB list afterwards).
These to days have been such a pain for me, I can't imagine being stuck with the problem for more than that...
I really hope this fixes it for you too! Keep me updated.
In the end, compiling linux-amd-staging-drm-next-git has been the answer to my problems!
Thank you a lot, because probably weren't it for you sharing your experience I would have tried mesa-git and a bunch of other stuff before compiling a kernel.
Try building linux-amd-staging-drm-next-git from the AUR.
It's a long process (took me almost 4 hours, thanks also to the sub-1Mib/s download speed of the hosting server), but it fixed it for me!
(I know it's obvious, but don't forget to refresh the bootloader list afterwards so to use this kernel instead of the default one)
You are right: this is all because the 5700XT is relatively recent... The only way to have it working properly is having bleeding edge drivers and kernel.
To me, building linux-amd-staging-drm-next-git from the AUR did the job. Try it and good luck
Try building linux-amd-staging-drm-next-git from the AUR.
It's a long process (took me almost 4 hours, thanks also to the sub-1Mib/s download speed of the hosting server), but it fixed it for me!
(I know it's obvious, but don't forget to refresh the bootloader list afterwards so to use this kernel instead of the default one)
In the end, what was not working was either amdgpu or drm (possibly both, or the interactions they have).
Everything is now fixed after I compiled linux-amd-staging-drm-next-git from the AUR.
Just tried it, unfortunately it didn't help
Did mesa-git solve your problems?
To think that one of the reasons I chose AMD over some other card manufacturers is because of how much, at least apparently, they're doing for the open source drivers...
The way Linux works is so fascinating... I just keep getting reminded of how great of a system it is.
Couple of hours is definitely bearable! I have updated the jobs count, so it will be okay. Yesterday I compiled wine from an AUR package, the kernel is going to be okay