View previous topic :: View next topic |
Author |
Message |
sleepingsun Guru


Joined: 03 May 2006 Posts: 475 Location: Bosnia
|
Posted: Sun Mar 02, 2025 2:12 pm Post subject: GeForce GT 730 problem with kernel 6.12 |
|
|
Hi all kernel include 6.6.x this graphic card works after i compile new stable 6.12 kernel (gentoo-sources) i cant up graphic card and kde-meta gui also emerge drivers failed
last driver for this card is
Code: | These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 9.31 s (backtrack: 0/20).
[ebuild R ] x11-drivers/nvidia-drivers-470.256.02-r2:0/470::gentoo USE="X modules static-libs strip tools -dist-kernel -modules-compress -modules-sign -persistenced" ABI_X86="(64) -32" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] |
Code: | 18:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1) |
Any chance for this card or its droped by gentoo ? _________________ Gentoo is Rocks |
|
Back to top |
|
 |
molletts Tux's lil' helper


Joined: 16 Feb 2013 Posts: 132
|
Posted: Sun Mar 02, 2025 5:16 pm Post subject: |
|
|
Hi,
It looks like the 470.x drivers were officially supported by Nvidia for kernels up to 6.6. Beyond that, you're on your own as far as they're concerned.
There appears to be an unofficial patch for kernel 6.12 which has been created by a user; you can get it from https://aur.archlinux.org/packages/nvidia-470xx-dkms along with the 6.10 patch which you'll also need. You may need some or all of the other patches too. If you stick them in /etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02, they should be applied automatically when you emerge the drivers. Hopefully, you won't need to add any further patches for the lifetime of the 6.12 LTS kernel.
I use the equivalent 390.x patches to keep my GTX460 going, although I track the unstable kernel so I sometimes have to hold off updating to the latest until a new patch becomes available.
[edit - premature publication! got distracted then didn't finish typing...] |
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4702 Location: Germany
|
Posted: Sun Mar 02, 2025 7:09 pm Post subject: Re: GeForce GT 730 problem with kernel 6.12 |
|
|
sleepingsun wrote: |
[...]
Any chance for this card or its droped by gentoo ? |
The 470 driver is end of live by upstream,
not dropped by gentoo.
With this (hard masked) driver version, you should stay on stable 6.6 LTS Kernel.
Code: | grep KERNEL_MAX x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r2.ebuild
MODULES_KERNEL_MAX=6.6 |
|
|
Back to top |
|
 |
sleepingsun Guru


Joined: 03 May 2006 Posts: 475 Location: Bosnia
|
Posted: Mon Mar 03, 2025 9:24 am Post subject: |
|
|
molletts wrote: | Hi,
It looks like the 470.x drivers were officially supported by Nvidia for kernels up to 6.6. Beyond that, you're on your own as far as they're concerned.
There appears to be an unofficial patch for kernel 6.12 which has been created by a user; you can get it from https://aur.archlinux.org/packages/nvidia-470xx-dkms along with the 6.10 patch which you'll also need. You may need some or all of the other patches too. If you stick them in /etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02, they should be applied automatically when you emerge the drivers. Hopefully, you won't need to add any further patches for the lifetime of the 6.12 LTS kernel.
I use the equivalent 390.x patches to keep my GTX460 going, although I track the unstable kernel so I sometimes have to hold off updating to the latest until a new patch becomes available.
[edit - premature publication! got distracted then didn't finish typing...] |
Can you explain me as i have /etc/portage/patches/ folder i made x11-drivers and nvidia-drivers-470.256.02 manual folder and download from git there but nothing happen still can not emerge driver _________________ Gentoo is Rocks |
|
Back to top |
|
 |
Ralphred l33t

Joined: 31 Dec 2013 Posts: 739
|
Posted: Mon Mar 03, 2025 4:06 pm Post subject: |
|
|
There are two things you need to do: - Expose the patches to the ebuild
- Update the ebuild so it doesn't limit you to "MODULES_KERNEL_MAX=6.6"
So copy kernel-6.10.patch to the patch directory you created (/etc/portage/patches/x11-drivers/nvidia-drivers-470.256.02/) as 0001-kernel-6.10.patch and copy kernel-6.12.patch as 0002-kernel-6.12.patch.
Next copy the gentoo ebuild and it's files to your local overlay Code: | mkdir -p /var/db/repos/local/x11-drivers/nvidia-drivers/files
cp /var/db/repos/gentoo/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r2.ebuild /var/db/repos/local/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r3.ebuild <<note the revision increment
cp /var/db/repos/gentoo/x11-drivers/nvidia-drivers/files/* /var/db/repos/local/x11-drivers/nvidia-drivers/files/ |
Update the new local ebuild so it will allow compilation against your 6.12 kernel, with an editor, or just Code: | sed -i 's/MODULES_KERNEL_MAX=6.6/MODULES_KERNEL_MAX=6.12/' /var/db/repos/local/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r3.ebuild | Then use the ebuild command to "digest" it Code: | ebuild /var/db/repos/local/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r3.ebuild digest |
If you have not used a local overlay before you'll need: /etc/portage/repos.conf/local.conf: | [local]
location = /var/db/repos/local
priority = 10
masters = gentoo |
/var/db/repos/local/metadata/layout.conf: | masters = gentoo |
/var/db/repos/local/profiles/repo_name: | local |
Now if you emerge nvidia-drivers portage should want to install x11-drivers/nvidia-drivers-470.256.02-r3::local instead of x11-drivers/nvidia-drivers-470.256.02-r2::gentoo
I have no intention of teaching grandma to suck eggs with this post, I just thought it best to be thorough. |
|
Back to top |
|
 |
|