You are not logged in.
Pages: 1
I was following this tutorial from 8 months ago which seems to be already outdated. I want to use the graphics card from the laptop I gained recently but it seems not to be detected
$ lspci -nn | egrep -i "3d"
02:00.0 3D controller [0302]: NVIDIA Corporation GP108M [GeForce MX250] [10de:1d13] (rev a1)
but, for example, in OBS Studio when trying to configure where the graphics will be processed the only encoder available is "Software x264" which is my CPU
So how do I set up to use it? I dont care if it is with the open source drivers or proprietary I just want my GPU working
Offline
The proprietary driver is needed for hardware acceleration. 'contrib' and 'non-free' repos must be present in in '/etc/apt/sources.list' to install it.
The utility nvidia-detect recommends a driver version. The name is both, debian package and executable. Beside that
Last edited by delgado (2025-03-11 10:44:55)
Offline
this is my current sources.list but I still have E: Package 'nvidia-detect' has no installation candidate when I try to install this package
deb http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
# daedalus-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
Offline
Hm, that is strange.
My std / non-customised daedalus install has the same 'sources.list' and 'nouveau' graphics driver too.
# apt-get update
# apt-get dist-upgrade
# apt-get install nvidia-detect
(...)
Unpacking nvidia-detect (535.216.01-1~deb12u1) ...
Setting up nvidia-detect (535.216.01-1~deb12u1) ...
devuan pkginfo says it's available on all distros. https://pkginfo.devuan.org/cgi-bin/poli … t&x=submit
Something in '/etc/apt/preferences.d/' ?
'apt policy' may give a hint.
Out of ideas by now.
Offline
ok, there was indeed a file in '/etc/apt/preferences.d/' that was blocking it (the file was created by me following that outdated tutorial I quoted)
so I installed nvidia-detect which suggested me to install the package nvidia-driver. I did but it gave me some errors during install when it tried to run nvidia-persistenced:
nvidia-persistenced failed to initialize. Check syslog for more details.
In /var/log/syslog:
2025-03-11T09:34:44.359371-03:00 fabiopc nvidia-persistenced: Started (6170)
2025-03-11T09:34:44.490368-03:00 fabiopc kernel: [ 123.085431] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
2025-03-11T09:34:44.490375-03:00 fabiopc kernel: [ 123.085436] NVRM: The NVIDIA GPU 0000:02:00.0 (PCI ID: 10de:1d13)
2025-03-11T09:34:44.490376-03:00 fabiopc kernel: [ 123.085436] NVRM: installed in this system is not supported by open
2025-03-11T09:34:44.490376-03:00 fabiopc kernel: [ 123.085436] NVRM: nvidia.ko because it does not include the required GPU
2025-03-11T09:34:44.490377-03:00 fabiopc kernel: [ 123.085436] NVRM: System Processor (GSP).
2025-03-11T09:34:44.490378-03:00 fabiopc kernel: [ 123.085436] NVRM: Please see the 'Open Linux Kernel Modules' and 'GSP
2025-03-11T09:34:44.490378-03:00 fabiopc kernel: [ 123.085436] NVRM: Firmware' sections in the driver README, available on
2025-03-11T09:34:44.490378-03:00 fabiopc kernel: [ 123.085436] NVRM: the Linux graphics driver download page at
2025-03-11T09:34:44.490386-03:00 fabiopc kernel: [ 123.085436] NVRM: www.nvidia.com.
2025-03-11T09:34:44.490386-03:00 fabiopc kernel: [ 123.086179] nvidia: probe of 0000:02:00.0 failed with error -1
2025-03-11T09:34:44.490386-03:00 fabiopc kernel: [ 123.086192] NVRM: The NVIDIA probe routine failed for 1 device(s).
2025-03-11T09:34:44.490387-03:00 fabiopc kernel: [ 123.086192] NVRM: None of the NVIDIA devices were initialized.
2025-03-11T09:34:44.490388-03:00 fabiopc kernel: [ 123.086558] nvidia-nvlink: Unregistered Nvlink Core, major device number 236
2025-03-11T09:34:44.548383-03:00 fabiopc modprobe: ERROR: could not insert 'nvidia_current_open': No such device
2025-03-11T09:34:44.549411-03:00 fabiopc modprobe: ERROR: ../libkmod/libkmod-module.c:1047 command_do() Error running install command 'modprobe -i nvidia-current-open ' for module nvidia: retcode 1
2025-03-11T09:34:44.549433-03:00 fabiopc modprobe: ERROR: could not insert 'nvidia': Invalid argument
2025-03-11T09:34:44.550147-03:00 fabiopc nvidia-persistenced: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 0 has read and write permissions for those files.
2025-03-11T09:34:44.550387-03:00 fabiopc nvidia-persistenced: Shutdown (6170)
so does that means that I'll have to download from nvidia website?
Offline
apt-get purge nvidia-persistenced will do.
It's use case is a headless server for e.g. CUDA calculation.
Offline
ok but I still don't see my graphics card on the applications. When I rebooted after purging this package I got these messages:
Tue Mar 11 11:37:10 2025: Loading kernel module nvidia-drm.
Tue Mar 11 11:37:11 2025: modprobe: ERROR: could not insert 'nvidia_current_open': No such device
Tue Mar 11 11:37:11 2025: modprobe: ERROR: ../libkmod/libkmod-module.c:1047 command_do() Error running install command 'modprobe -i nvidia-current-open ' for module nvidia: retcode 1
Tue Mar 11 11:37:11 2025: modprobe: ERROR: could not insert 'nvidia': Invalid argument
Tue Mar 11 11:37:11 2025: modprobe: ERROR: could not insert 'nvidia_current_open_modeset': No such device
Tue Mar 11 11:37:11 2025: modprobe: ERROR: ../libkmod/libkmod-module.c:1047 command_do() Error running install command 'modprobe nvidia ; modprobe -i nvidia-current-open-modeset ' for module nvidia_modeset: retcode 1
Tue Mar 11 11:37:11 2025: modprobe: ERROR: could not insert 'nvidia_modeset': Invalid argument
Tue Mar 11 11:37:11 2025: modprobe: ERROR: could not insert 'nvidia_current_open_drm': No such device
Tue Mar 11 11:37:11 2025: modprobe: ERROR: ../libkmod/libkmod-module.c:1047 command_do() Error running install command 'modprobe nvidia-modeset ; modprobe -i nvidia-current-open-drm ' for module nvidia_drm: retcode 1
Tue Mar 11 11:37:11 2025: modprobe: ERROR: could not insert 'nvidia_drm': Invalid argument
Offline
The error messages don't ring a bell.
Are linux-headers-amd64 and firmware-nvidia installed? (assuming yes, but ...)
Which version of 'nvidia-driver' is installed for your card? 535, 525, 470, 418, 390 ? Maybe something version dependant.
The labtop might have "optimus" architecture, where you can switch between nvidia and intel graphics. This is needs special setup, I don't know at all.
Edit:
nvidia_current_open : Does this refer to nvidias new open source drivers (for RTX2000 and later)?
Last edited by delgado (2025-03-11 15:57:52)
Offline
linux-headers-amd64 is installed but firmware-nvidia is not and it isn't available to install from apt
package nvidia-driver is 535.216
About your last question I don't know but I'll find out about it
All I know is that my card is from MX200 family
Offline
Marketing department is so funny ... Up to now I thought it would be a very old card. But it is "Pascal" archtecture, same as mine.
The following packages are manually installed on my system (excalibur, but should not matter):
firmware-nvidia-graphics firmware-nvidia-gsp nvidia-alternative nvidia-detect nvidia-driver nvidia-kernel-dkms nvidia-modprobe nvidia-settings nvidia-xconfig
You need to run 'nvidia-xconfig' to create 'xorg.conf'; otherwise X will not start.
Edit: Just found that there is no 'xorg.conf' and an empty 'xorg.conf.d' on my system.
Last edited by delgado (2025-03-11 20:29:22)
Offline
well that seem to have worked but after that all GUI was not working anymore
after the reboot I got just a black screen
I had to jump into tty and undo everything I've done to be able to restore xorg/sddm and use it again (btw it is a plasma desktop)
Offline
I just remember this for some reason:
Offline
see my other https://dev1galaxy.org/viewtopic.php?id=6472
may be nvidia can help
The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390
Offline
ok it seems that some progress has been made here
after my last post I just gave up, uninstalled everything but after you comment I tried again
Installed all packages again:
apt install firmware-nvidia-graphics firmware-nvidia-gsp nvidia-alternative nvidia-kernel-dkms nvidia-modprobe nvidia-settings nvidia-xconfig
then I changed the xorg.conf.d files and sddm configs as proposed in archlinux wiki page
I see that now not only my screen is working but also nvidia is being used:
# glxinfo | grep NVIDIA
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce MX250/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 535.216.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 535.216.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 535.216.01
However... I still can't see the driver in the applications. More specifically in OBS studio which led me to open this question here. On the encoders there is still only the option "Software x264" to use.
Offline
well according to this page from nvidia it seems that my gpu doesn't even support encoding anyway so it would never be available for obs studio 🤡
Offline
Pages: 1