View previous topic :: View next topic |
Author |
Message |
Gladdle Guru
Joined: 27 Jul 2008 Posts: 313 Location: Cleebronn, Germany
|
Posted: Mon Apr 03, 2023 8:05 am Post subject: Thinkpad T520: drivers-nvidia -> nouveau |
|
|
I have used the "x11-drivers/nvidia-drivers-390.157", but then there is the message: Code: | # Ionen Wolkens <ionen@gentoo.org> (2023-03-30)
# NVIDIA dropped support for the 390.xx branch in December 2022[1].
#
# Users are free to unmask and keep using, but be warned it is very
# likely to be affected by security issues as NVIDIA does not track
# nor fix these for this branch anymore.
#
# Gentoo will keep it packaged for as long as reasonably possible
# (albeit masked) but no true support will be given nor patches
# for newer kernels. It is recommended to use 6.1.x LTS kernels or
# older (6.1.x will be supported until at least December 2026).
#
# Major issues will lead to removal without further warning, e.g.
# if no usable kernels left in tree, or if broken with a newer Xorg.
#
# >> It is recommended to switch to nouveau[2] drivers (regardless
# of its worse performance), or ideally replace the hardware.
#
# [1] https://nvidia.custhelp.com/app/answers/detail/a_id/3142
# [2] https://wiki.gentoo.org/wiki/Nouveau |
So i change the /etc/portage/make.conf: Code: | VIDEO_CARDS="nouveau intel i915" |
And also i have done this: Code: | emerge --unmerge nvidia-drivers
emerge --update --deep --newuse @world
emerge --depclean -av
genkernel all |
But now i have some issues: "dmesg | grep -i nv": Code: | [ 0.000000] BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bae9f000-0x00000000baf9efff] ACPI NVS
[ 0.019353] ACPI: TCPA 0x00000000BAFE3000 000032 (v02 PTL LENOVO 06040000 LNVO 00000001)
[ 0.265129] ACPI: PM: Registering ACPI NVS region [mem 0x00058000-0x00058fff] (4096 bytes)
[ 0.265129] ACPI: PM: Registering ACPI NVS region [mem 0xbae9f000-0xbaf9efff] (1048576 bytes)
[ 0.327197] iommu: DMA domain TLB invalidation policy: lazy mode
[ 1.765610] nouveau 0000:01:00.0: NVIDIA GF119 (0d9170a1)
[ 2.357891] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram
[ 2.946556] with environment:
[ 31.482234] nvidia: loading out-of-tree module taints kernel.
[ 31.482245] nvidia: module license 'NVIDIA' taints kernel.
[ 31.492253] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 31.550738] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 31.550945] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[ 31.550947] NVRM: This can occur when a driver such as:
NVRM: nouveau, rivafb, nvidiafb or rivatv
NVRM: was loaded and obtained ownership of the NVIDIA device(s).
[ 31.550947] NVRM: Try unloading the conflicting kernel module (and/or
NVRM: reconfigure your kernel without the conflicting
NVRM: driver(s)), then try loading the NVIDIA kernel module
NVRM: again.
[ 31.550948] NVRM: No NVIDIA graphics adapter probed!
[ 31.551046] nvidia-nvlink: Unregistered the Nvlink Core, major device number 238
[ 32.020176] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input25
[ 32.020328] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input26 |
I am pretty sure i have disabled and uninstalled ALL old drivers, but that happen and i don't know what to do, because cinnamon and kde only works with software rendering. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22866
|
Posted: Mon Apr 03, 2023 3:11 pm Post subject: |
|
|
Based on that dmesg output, you still have the nVidia driver installed and in use. How did you remove and disable it? You should remove its files, or direct the system not to load the module. If you upgrade to a newer kernel, that newer kernel should fail to load the old nVidia driver, but an upgrade is not required in order to solve this. |
|
Back to top |
|
|
Gladdle Guru
Joined: 27 Jul 2008 Posts: 313 Location: Cleebronn, Germany
|
Posted: Mon Apr 03, 2023 3:48 pm Post subject: |
|
|
I have unmerged the nvidia-drivers then run emerge --depclean. How can i locate the driver- files and remove them? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3926
|
Posted: Mon Apr 03, 2023 4:04 pm Post subject: |
|
|
Something like
Code: |
rm /lib/modules/6.0.2-gentoo/video/*
|
Plz replace with your own kernel version directory.
Also check
Code: |
grep -ir nouve /etc/modprobe.d
|
and if you find it blacklisted then comment out the pertinent line. _________________
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22866
|
Posted: Mon Apr 03, 2023 4:58 pm Post subject: |
|
|
According to man make.conf, the default for UNINSTALL_IGNORE prevents Portage from deleting kernel modules, so emerge --depclean is insufficient. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|