-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Nvidia340 fails to compile on a new 5.7.9 lts kernel #23602
Comments
I guess we need to add some patches from https://forums.developer.nvidia.com/t/patches-for-340-108-and-5-6-rc-need-help-with-driver-init/111760/12 |
Sorry what should I do with this? I'm a bit new to the Void world. Probably I'd just better stay with the 5.4 kernel for some time (well, until all the dust settles down). |
Sorry, that was the wrong link. The important part are those patches. |
@ericonr Ok, will wait for the fixes to come into the repo then :) |
@ericonr Sorry, a little offtopic: I decided to put linux and linux-headers via ignorepkg in /etc/xbps.d/ and if I do:
I get this:
I know that it's natural and logical because of new dependencies. Should I just not use this command in the nearest future? What is the best way to clean the cache and avoid this? |
we should just drop this series, it was deprecated by nvidia last year, it won't be getting any more updates, it also doesn't support glvnd which is a can of worms of its own additionally, every card supported by this driver and not supported by a newer series is fully supported by nouveau |
You probably want to |
@ericonr Oh, thanks! |
Yeah, but there will be no OpenGL gaming and 3D :( Or it would be just awful. |
? opengl is fully supported by nouveau for all cards up to 700 series |
@q66 Is the performance OK? Have you tried playing something? Just asking because I've never tested nouveau. |
should be fine all the way up to kepler (i know cards like GTX 680 perform at least up to 80% of what they do on proprietary drivers, and that was a few years ago), fermi and kepler don't have automatic reclocking (400-700 series) so you have to reclock manually, but 400 series and newer is supported by |
@q66 Great news then. Thanks! Will try nouveau. |
what card is this anyway? |
@q66 GeForce 9500 GT |
I also have GeForce 7600 GT :) |
Sorry, deleted a comment. I've successfully uninstalled nvidia340. Gonna install kernel 5.7 and reboot... |
@q66 Well, it works to some extent, even played some games. The only thing I get artifacts in windows in XFCE sometimes, the title bars are garbled or with glitches. I don't know if there any configs/settings for nouveau. |
I suggest you disable xfce's builtin compositor and use something like picom |
I never use compositing. It's the first thing I disable after installing
any distro.
|
I have a laptop with a very old NVIDIA card. The artifacts in windows seem to be common, and I am not sure exactly why. |
@fosslinux Are you using nouveau or a proprietary driver? |
i have a powermac g5 with geforce 6600 in it and that has no desktop artifacts (though in games it's quite broken, but i suspect that's specific to big endian architecture and it's probably fine on x86), though geforce 9000 series is a few years newer |
Nouveau |
Good news for this driver, majaro is actively developing patches for 5.7+, I'll PR them shortly, confirmed they work with my GTS 250 It is very much on its last legs though, this is probably it's last burst of life. |
Would be tremendously helpful, have an old MacBook that only works with nvidia340, not nouveau. At this point the FreeBSD Nvidia driver still works, but would be a great Void test machine... |
@seannaswell Could you please share how do you install the FreeBSD driver? |
No, it isn't, but if you are able to, clone the void-packages repository on my branch, |
Oh, that's nice. Actually I switched to a more stable 5.4.x kernel branch. I've also found out that Debian still supports nvidia340 driver and will support it in the future releases with 5.8.x, 5.9.x and higher kernels. Probably you can take the patches from them? Here is the driver (you need to unpack it and take the nvidia-legacy-340xx-kernel.tar.xz archive, there will be a 'patches' directory inside). I think you should take the latest version (for Debian Sid). Thank you! |
It has been merged into master, try an update, 5.{7,8,9}.x should work now |
@fosslinux Thank you very much! I really appreciate your efforts. Keep up the good work! |
Is it fixed? |
Yes |
i didn,t find that package (nvidia340) in the repo where to download it ? |
|
this is the repo your taking about (if i,m not wrong) and so you tell me that there,s in the srcpkgs folder a package called nvidia340 [alakondray@alakondray-s-laptop]$ cd void-packages and i know that means there,s no nvidia340 package |
i now realised that you said (Dropped) do you have a copy so i can put it in my copy of the repo |
pls don,t tell me i,m too late |
@Yay-mod just revert the commit where it was removed: But be warned that we no longer guarantee that everything will work correctly with the driver. You should be able to clone this branch https://github.com/ericonr/void-packages/tree/nvidia340 and build and install |
@Yay-mod |
@AngryPhantom nvidia340 had been dropped from the repo... there is no |
@fosslinux I saw a post on Void Linux subreddit where aedinius said that it would be dropped soon. I'm aware of the issue. Anyway, you saw my screenshot, the package is there at the moment. Also here. |
|
about 2 |
and about the nvidia340 repo wait have the repo already readded it ? |
Install the void-repo-nonfree package. And start reading the manuals:
https://docs.voidlinux.org/xbps/repositories/index.html
…On Mon, Jan 18, 2021, 20:30 Yay-mod ***@***.***> wrote:
1. what is the non-free repo (it is just like the repo forks or what /
how to install it
2)the packages is also removed frome the binary
https://github.com/void-linux/void-packages/tree/master/srcpkgs/nvidia340
https://github.com/void-linux/void-packages/tree/master/srcpkgs/nvidia340-dkms
2. i found on aur a version of it with updating / bleeeding edge
patches (i was a arch user before until they couldn,t help me at this)
https://aur.archlinux.org/pkgbase/nvidia-340xx/
3. nouveau driver is giving me performance and compibiltiy issues it
is hard to paly games and upscalling windows always slows (i want the
driver to revive this laptop and can,t change gpu. other than this i,ll
haveto move back to windows which is so bloated and so heavy on the laptop)
+ crashes. so i have 0 choice
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23602 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEC7FY2KSZPRPI63QQRVADLS2R44ZANCNFSM4O4WM6HA>
.
|
It has been dropped from the source packages tree: https://github.com/void-linux/void-packages/tree/master/srcpkgs/nvidia340 <-- not found It is now a no-op package, see https://github.com/void-linux/void-packages/blob/master/srcpkgs/removed-packages/template#L87, installing it will not do anything. It no longer exists and is not supported. Whenever you next update your system, it will be removed. |
well i installed it and it no longer works |
@Yay-mod |
It's not that package is no-op. If one grabs it and forcefully install, it will have all what it had. But it will be then removed on (some of) next system update. |
then where can i find help
|
and if it no longer supported on void should i install debian and install the driver or install arch and hope for the best (i choosed void because it,s so minimal) or just get the package with patches from anywhere and build it and also hope for the best |
If you have a very compelling need for nvidia340, you have two options:
FWIW, my experience with nvidia340 was less than stellar. |
Debian still supports nvidia340 and will support it in the next release. And even after the next one, as you can see here. So, yes, if you really need nvidia driver you can switch to it. I'm running Debian on my other machines and servers, it's awesome.
Just install Debian from the netinst.iso and use |
(sorry for replying late i was kinda busy)(this comment is long and might be unnecessary at all !) |
i just want to know how to setup that driver and dealing with the #nvidia-config and if there,s something else have to be done. |
System
xuname:
Void 5.4.51_1 x86_64 AuthenticAMD uptodate rrFFFFF
package:
nvidia340-340.108_3
Actual behavior
Just ran 'xbps-install -Su' today and it pulled the new 5.7.9 kernel. Is it LTS already?
Anyway, nvidia340 module fails to compile. Here is the make.log.
(there are other modules like 8188eu wifi that also failed to compile, but that's another story and should be fixed by their authors I guess)
Steps to reproduce the behavior
Update the system -> get the new 5.7.9 kernel
DKMS will fail for the nvidia340 driver.
The text was updated successfully, but these errors were encountered: