View previous topic :: View next topic |
Author |
Message |
QavaQo n00b
Joined: 25 Aug 2024 Posts: 4
|
Posted: Sun Aug 25, 2024 1:37 pm Post subject: [SOLVED]nvidia-drivers nor nouveau work on RTX 4050 laptop |
|
|
Hello, so ive been using Gentoo for quite a while and realized that the NVIDIA drivers were not working. I tried nvidia-xconfig and it gave me the following output:
Code: | Using X configuration file: "/etc/X11/xorg.conf".
VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
Device section "Device0" must have a Driver line.
ERROR: Unable to find any GPUs in the system.
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf' |
When i try nvidia-smi i get this:
Code: | NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. |
However when i try modprobe nvidia i get this:
Code: | modprobe: ERROR: could not find module by name='nvidia'
modprobe: ERROR: could not insert 'nvidia': Unknown symbol in module, or unknown parameter (see dmesg) |
I reinstalled the drivers but the same keeps happening, disabled nouveau and it still happens and nouveau still doesnt work after removing nvidia-drivers.
Should i just recompile my kernel?
Last edited by QavaQo on Tue Aug 27, 2024 3:06 pm; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22613
|
Posted: Sun Aug 25, 2024 1:46 pm Post subject: Re: nvidia-drivers nor nouveau work on RTX 4050 laptop |
|
|
Welcome to the forums. QavaQo wrote: | However when i try modprobe nvidia i get this:
Code: | modprobe: ERROR: could not find module by name='nvidia'
modprobe: ERROR: could not insert 'nvidia': Unknown symbol in module, or unknown parameter (see dmesg) |
| The error output suggests you check dmesg. What does dmesg show after this fails? QavaQo wrote: | I reinstalled the drivers but the same keeps happening, disabled nouveau and it still happens and nouveau still doesnt work after removing nvidia-drivers.
Should i just recompile my kernel? | I see no reason to expect that recompiling the kernel would help at this time. Do you prefer to fix the nVidia proprietary drivers or do you want to switch to using Nouveau? |
|
Back to top |
|
|
QavaQo n00b
Joined: 25 Aug 2024 Posts: 4
|
Posted: Sun Aug 25, 2024 1:53 pm Post subject: |
|
|
dmesg | grep NVIDIA shows empty output and with dmesg the output is too big to fit in my terminal, i'l try to atleast get nouveau working though |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31257 Location: here
|
Posted: Sun Aug 25, 2024 2:14 pm Post subject: |
|
|
QavaQo wrote: | dmesg | grep NVIDIA shows empty output and with dmesg the output is too big to fit in my terminal, i'l try to atleast get nouveau working though |
Try with dmesg | grep -i nvidia (-i for case insensitive) command _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1716 Location: Germany
|
|
Back to top |
|
|
QavaQo n00b
Joined: 25 Aug 2024 Posts: 4
|
Posted: Sun Aug 25, 2024 2:18 pm Post subject: |
|
|
with dmesg | grep -i nvidia i get this:
Code: | [ 3.663874] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[ 3.663898] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[ 3.663915] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[ 3.663937] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18 |
The card shows on lspci tho:
Code: | 0000:01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4050 Max-Q / Mobile] (rev a1)
0000:01:00.1 Audio device: NVIDIA Corporation Device 22be (rev a1) |
xrandr --listproviders output:
Code: | Providers: number : 1
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 0 name:modesetting |
|
|
Back to top |
|
|
QavaQo n00b
Joined: 25 Aug 2024 Posts: 4
|
Posted: Tue Aug 27, 2024 3:06 pm Post subject: |
|
|
Solved it, i had two kernels but i was booting with the older kernel and it was installing to the newer kernel |
|
Back to top |
|
|
|