Skip to content
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

Video drivers not compatible with latest Xorg update #13

Open
hippie68 opened this issue Dec 24, 2021 · 18 comments
Open

Video drivers not compatible with latest Xorg update #13

hippie68 opened this issue Dec 24, 2021 · 18 comments

Comments

@hippie68
Copy link

It seems users can't update anymore because the video drivers are not compatible with the latest Xorg: hippie68/psxitarch-how-to#12

@mirh
Copy link

mirh commented Dec 24, 2021

Rebasing/backporting patches to xf86-video-amdgpu shouldn't really be difficult.

@zimsneexh
Copy link

xf86-video-amdgpu builds just fine. One of the mesa patches fails to apply however.

@mirh
Copy link

mirh commented Dec 24, 2021

Well, that's what gives you the ABI.
If you rebuilt that against old mesa, it should work (for as much as, porting forward the patches would be better of course)

@rinsuki
Copy link

rinsuki commented Dec 25, 2021

currently mesa patches are can't apply due to indent was changed to space from tab. you can edit patch file to fix, like this rinsuki@2194b64#diff-fa976ea7c63402769a8cf849db0a89ae1664f67ff69b25beb9f71b5b20c66fb5

but block noises will appears if contents are rendered with OpenGL and rendering resolution are not small (maybe depends to GPU model)

@mirh
Copy link

mirh commented Dec 25, 2021

Well, if that's a(nother) regression, you should bisect it.
For as much as I'm not really sure how quick a rebuild and a reboot are gonna be here compared to a normal computer.

@rinsuki
Copy link

rinsuki commented Dec 27, 2021

sorry this regression is occured by accidentialy remove prepare phase, please ignore. (that means ps4 patches are not applied :P)

anyway current mesa (21.1+) requires DRM 3.23+ (== Linux 4.15+) for Vulkan on AMD graphics cards, so we need bump linux kernel version or stuck to mesa 21.0.x.

@zimsneexh
Copy link

Seems so.
https://github.com/ps4gentoo/ps4-linux-5.3.7/ is linux-5.3.7 and boots just fine for me and should be enough for latest mesa. Wonder if those patches would apply properly on a 5.15 tree?

@codedwrench
Copy link

https://github.com/codedwrench/ps4-linux not without some struggling, but yes

@zimsneexh
Copy link

zimsneexh commented Jan 3, 2022

This kernel seems to work fine and so does latest mesa from https://github.com/rinsuki/ps4linux-video-drivers (With some modifications..).

Though, any OpenCL compute workload still segfaults, not sure why..

@mirh
Copy link

mirh commented Jan 3, 2022

Heavy/complex/specific workloads, or even just simple hello worlds or opencl-info?
It's not really surprising for bigger kernels to require amd-specific workarounds..

@zimsneexh
Copy link

Heavy/complex/specific workloads, or even just simple hello worlds or opencl-info?
It's not really surprising for bigger kernels to require amd-specific workarounds..

'clinfo' is just fine - I tried a few different cryptominers and they all segfault.

@mirh
Copy link

mirh commented Jan 6, 2022

That's kinda the former bucket... especially considering there isn't really trainload of vram here.
I'd recommend you this or this way simpler tools.

@Nyihi9998
Copy link

Hey I'm still having this problem!
By doing sudo pacman -S xf86-video-amdgpu it fixes the black screen problem but my mouse isn't working now.
With the xf86-video-amdgpu-git my mouse and keyboard looks to be working but I get black screen.

@zimsneexh
Copy link

Hey I'm still having this problem! By doing sudo pacman -S xf86-video-amdgpu it fixes the black screen problem but my mouse isn't working now. With the xf86-video-amdgpu-git my mouse and keyboard looks to be working but I get black screen.

Did you do a partial upgrade? Check X.org log.

@gonzaloaranzana
Copy link

did you have any positive results trying to mine?

@zimsneexh
Copy link

did you have any positive results trying to mine?

I did not. Running most miners doesn't work with the Mesa OpenCL stack (doesn't detect devices) and the proprietary driver causes the miners (TeamRedMiner and some other one i tried..) to Segfault.

Didn't try much more as the GPU is relatively weak anyway.

@Nyihi9998
Copy link

Hey I'm still having this problem! By doing sudo pacman -S xf86-video-amdgpu it fixes the black screen problem but my mouse isn't working now. With the xf86-video-amdgpu-git my mouse and keyboard looks to be working but I get black screen.

Did you do a partial upgrade? Check X.org log.

Hey, so for the updateing I followed the steps of 6., but I did the final update with normal pacman sudo pacman -Syu.
I didn't see anything in the xorg logs. On the desktop I realised that I have a mouse but its invisible and when I click anything it resets the dektop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants