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

this 340.108 patch on Devuan and Fedora (kernel 6.4)? #5

Open
12sunflowers opened this issue Aug 16, 2023 · 17 comments
Open

this 340.108 patch on Devuan and Fedora (kernel 6.4)? #5

12sunflowers opened this issue Aug 16, 2023 · 17 comments

Comments

@12sunflowers
Copy link

12sunflowers commented Aug 16, 2023

Hello!
Can someone explain? Why this patch good working at Arch and Artix but not working on Devuan Ceres and Fedora 38?
All Xorg logs ends with same error

[    35.081] (EE) NVIDIA(GPU-0): EVO Push buffer channel allocation failed
[    35.085] (EE) NVIDIA(GPU-0): Failed to allocate EVO core DMA push buffer

Devuan Xorg log
https://pastebin.com/raw/Cfi8rWLi

Fedora Xorg log
https://pastebin.com/raw/fRHXDMwt

previously i am used this script it always worked for me but now no, why?
https://www.if-not-true-then-false.com/2020/inttf-nvidia-patcher/

syslog
https://pastebin.com/raw/zLGET6dY
watchdog: BUG: soft lockup - CPU#2 stuck for 78s! [Xorg:2143]

nvidia-bug-report.log.gz
nvidia-installer.log

@isjerryxiao
Copy link
Member

Can't know for sure. Apparently there aren't enough Devuan / Fedora users here.

@12sunflowers
Copy link
Author

12sunflowers commented Aug 30, 2023

thanks for reply
after some investigation 340.108 working good at Fedora 38 and Devuan Daedalus(stable, kernel 6.1)

BUT sitill cant get its working at Devuan Ceres(unstable, kernel 6.4)
what can means this errors?

xorglog

[    35.081] (EE) NVIDIA(GPU-0): EVO Push buffer channel allocation failed
[    35.085] (EE) NVIDIA(GPU-0): Failed to allocate EVO core DMA push buffer

syslog
watchdog: BUG: soft lockup - CPU#2 stuck for 78s! [Xorg:2143]

@isjerryxiao
Copy link
Member

isjerryxiao commented Sep 1, 2023

Can't know for sure. I'm no nvidia expert.

@12sunflowers
Copy link
Author

12sunflowers commented Sep 1, 2023

Thanks. And how you know how make patches? Or you don't have to be an nvidia expert to do this?

@isjerryxiao
Copy link
Member

I just make the kernel module part compile. You don't have to know (also you can't since nvidia driver contains closed source binary) the driver throughout to fix some compilation errors.

@12sunflowers
Copy link
Author

Can i ask you?
How long and how hard for you can make this legacy driver work for new kernels?
Why at Devuan and Debian some 32bit libraries not copy for right way, but all working if manually place it right place?
nvidia x32 libs 340 108

@isjerryxiao
Copy link
Member

This is a bit outside of my current knowledge. I don't have the interest in using other distributions(debian, etc) as daily driver. Also it seems that your problem is related to your installation method (which is not from aur apparently) so these are highly distribution specific. I'm afraid you can't get anything useful here.

@12sunflowers
Copy link
Author

Ok thanks. But yours patched drivers works well on others distros. How installation may be different if used one nvidia intaller?
And i am also curious how long you can support 340.108 with new kernels?

@isjerryxiao
Copy link
Member

I do what I can.

@Anakiev2
Copy link

For Debian and Debian based you can try this method:
https://gist.github.com/Anakiev2/b828ed2972c04359d52a44e9e5cf2c63

@AngryPhantom
Copy link

AngryPhantom commented May 8, 2024

@12sunflowers Why not just use the opensource nouveau driver? It's working pretty well on older cards.
If you a gamer then why not just upgrade your hardware? It will become impossible to use this old driver on newer kernels someday.

@12sunflowers
Copy link
Author

12sunflowers commented May 8, 2024

@AngryPhantom

Why not just use the opensource nouveau driver? It's working pretty well on older cards.

Worong. Nouveau have many glitches and poor performance at games.

If you a gamer then why not just upgrade your hardware?

I love my retro hardware)

It will become impossible to use this old driver on newer kernels someday.

Wrong again. Many distros still patched this drivers for new kernels.

PS @AngryPhantom Please stop flooding here if you cant say something clever, stay your toxic language at yours shitty LOR, all ruzzians not accepted at FreeWorld!

@isjerryxiao
Copy link
Member

Nouveau on NV50 is quite usable. The only missing thing is Automatic Reclocking. From my testing you get more than 75% of the performance with nouveau when you manually reclocks, but you also get glitchy vaapi implementation that panics the kernel at random. The bonus is wayland support, plus you get to use some newer opengl extensions.

@12sunflowers
Copy link
Author

divers installed without dkms at Artix, 6.8 kernel, but not property working, why?
Screenshot_2024-05-10_04-51-39

@12sunflowers
Copy link
Author

12sunflowers commented May 10, 2024

Nouveau on NV50 is quite usable. The only missing thing is Automatic Reclocking. From my testing you get more than 75% of the performance with nouveau when you manually reclocks, but you also get glitchy vaapi implementation that panics the kernel at random. The bonus is wayland support, plus you get to use some newer opengl extensions.

Thanks, tried nouveau, its pretty good working with old 3d games and youtube:)

ps but why 340.108 do not want work? its installed but os use mesa instead blob.

@12sunflowers
Copy link
Author

Working nvidia-340xx-lts-dkms from AUR at Artix
lts-kernel 6.6.30-2-lts
gcc 13.2.1
Thanks a lot!

@12sunflowers
Copy link
Author

divers installed without dkms at Artix, 6.8 kernel, but not property working, why? Screenshot_2024-05-10_04-51-39
Solved from closed issues here.
add this section to /etc/X11/xorg.conf.d/20-nvidia.conf

Section "Files"
        ModulePath   "/usr/lib64/nvidia/xorg"
        ModulePath   "/usr/lib64/xorg/modules"
        ModulePath   "/usr/lib/nvidia/xorg"
        ModulePath   "/usr/lib/xorg/modules"
EndSection

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

4 participants