You are not logged in.

#1 2023-11-25 23:04:49

jojo06
Member
Registered: 2023-11-04
Posts: 373

[SOLVED]Journalctl error about nvidia-uvm

First let me ask you, I'm using sway, why do I need to use nvidia_uvm when using nouveau ? Or should I ? If it's a warning/error that we should ignore then no problem.

journalctl -b | grep "nvidia"

systemd-modules-load[224]: Failed to find module 'nvidia-uvm'

lspci -nnk | grep -iA2 vga

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
	Subsystem: eVga.com. Corp. GP107 [GeForce GTX 1050 Ti] [3842:6255]
	Kernel driver in use: nouveau
	Kernel modules: nouveau
--
	Subsystem: eVga.com. Corp. GP107GL High Definition Audio Controller [3842:6255]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

There was kernel modules for nvidia, i changed it to nouveau only. I might be also removed uvm from kernel modules.

Last edited by jojo06 (2023-11-27 21:45:50)

Offline

#2 2023-11-26 10:24:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: [SOLVED]Journalctl error about nvidia-uvm

If it's a warning/error that we should ignore then no problem.

You most likely have nvidia-utils installed?

Offline

#3 2023-11-26 18:42:39

jojo06
Member
Registered: 2023-11-04
Posts: 373

Re: [SOLVED]Journalctl error about nvidia-uvm

Yes, I just checked. It came with the update, I thought it must be a necessary installation for nouveau. Even if I uninstall it, it will install it again with the update. What if I add it to 20-nouveau as blacklist nvidia-utils?

Offline

#4 2023-11-26 18:51:49

loqs
Member
Registered: 2014-03-06
Posts: 18,876

Re: [SOLVED]Journalctl error about nvidia-uvm

jojo06 wrote:

Yes, I just checked. It came with the update, I thought it must be a necessary installation for nouveau. Even if I uninstall it, it will install it again with the update.

What update?  If you are able to uninstall nvidia-utils without breaking any dependencies why would it be reinstalled again when you next update the system?

Offline

#5 2023-11-26 20:20:47

jojo06
Member
Registered: 2023-11-04
Posts: 373

Re: [SOLVED]Journalctl error about nvidia-uvm

Pacman -Syu update, I don't understand it either. I uninstalled Nvidia. Noueveau is installed and that's what's used. That's how it's set in the kernel. So I guess there's a dependency left, as you say. How can I check this and remove it correctly?

Offline

#6 2023-11-26 21:09:50

loqs
Member
Registered: 2014-03-06
Posts: 18,876

Re: [SOLVED]Journalctl error about nvidia-uvm

If a package depended on nvidia-utils pacman would refuse to remove nvidia-utils without removing that package in the same transaction.  You could examine /var/log/pacman.log to see what was in the same update that pulled in nvidia-utils.
Edit:

jojo06 wrote:

I uninstalled Nvidia.

Does that mean you removed the nvidia package without removing nvidia-utils or any other nvidia related packages?

Last edited by loqs (2023-11-26 21:11:48)

Offline

#7 2023-11-26 21:46:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: [SOLVED]Journalctl error about nvidia-uvm

Noueveau is installed and that's what's used.

Not if you installed nvidia-utils as that will blacklist nouveau.

pacman -Qs nvidia
lsmod | grep nouveau
cat /var/log/pacman.log | curl -F 'file=@-' 0x0.st

Offline

#8 2023-11-26 22:45:39

jojo06
Member
Registered: 2023-11-04
Posts: 373

Re: [SOLVED]Journalctl error about nvidia-uvm

@loqs Yes, I uninstalled nvidia directly without removing any dependency, but as you said, if there was an dependency, it would not allow it. But I was able to uninstall it, if utils warned me, I must have uninstalled it too. But perhaps in the end there is an addiction.

cat /var/log/pacman.log | grep "nvidia":

[2023-11-08T18:50:26-0800] [PACMAN] Running 'pacman -S nvidia linux'
[2023-11-08T18:51:21-0800] [ALPM] installed nvidia-utils (545.29.02-2)
[2023-11-08T18:51:21-0800] [ALPM-SCRIPTLET] If you run into trouble with CUDA not being available, run nvidia-modprobe first.
[2023-11-08T18:51:21-0800] [ALPM-SCRIPTLET] If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service
[2023-11-08T18:51:21-0800] [ALPM] installed nvidia (545.29.02-4)
[2023-11-08T18:51:21-0800] [ALPM-SCRIPTLET] Creating group 'nvidia-persistenced' with GID 143.
[2023-11-08T18:51:21-0800] [ALPM-SCRIPTLET] Creating user 'nvidia-persistenced' (NVIDIA Persistence Daemon) with UID 143 and GID 143.
[2023-11-20T06:40:31-0800] [PACMAN] Running 'pacman -S --needed nvidia-settings'
[2023-11-20T06:40:36-0800] [ALPM] installed nvidia-settings (545.29.02-1)
[2023-11-21T09:43:09-0800] [ALPM] upgraded nvidia (545.29.02-4 -> 545.29.02-5)
[2023-11-22T18:44:33-0800] [PACMAN] Running 'pacman -R nvidia'
[2023-11-22T18:44:35-0800] [ALPM] removed nvidia (545.29.02-5)
[2023-11-23T14:31:59-0800] [ALPM] upgraded nvidia-utils (545.29.02-2 -> 545.29.06-1)
[2023-11-23T14:31:59-0800] [ALPM-SCRIPTLET] If you run into trouble with CUDA not being available, run nvidia-modprobe first.
[2023-11-23T14:31:59-0800] [ALPM-SCRIPTLET] If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service

@seth That's what it did and then I moved the `blacklist nouveau` line to the `#` comment line

pacman -Qs nvidia:

local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/ffnvcodec-headers 12.1.14.0-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/libxnvctrl 545.29.02-1
    NVIDIA NV-CONTROL X extension
local/nvidia-settings 545.29.02-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 545.29.06-1
    NVIDIA drivers utilities

Nothing installed at all.

lsmod | grep nouveau

nouveau              3489792  20
drm_exec               12288  1 nouveau
gpu_sched              57344  1 nouveau
i2c_algo_bit           20480  1 nouveau
drm_ttm_helper         12288  1 nouveau
ttm                   110592  2 drm_ttm_helper,nouveau
drm_display_helper    229376  1 nouveau
mxm_wmi                12288  1 nouveau
video                  77824  2 asus_wmi,nouveau
wmi                    45056  5 video,asus_wmi,wmi_bmof,mxm_wmi,nouveau

http://0x0.st/Hw0B.txt

Offline

#9 2023-11-26 22:49:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: [SOLVED]Journalctl error about nvidia-uvm

You've never removed nvidia-utils and nvidia-settings, only nvidia.

Offline

#10 2023-11-26 23:55:45

jojo06
Member
Registered: 2023-11-04
Posts: 373

Re: [SOLVED]Journalctl error about nvidia-uvm

Yes, I was surprised. I looked with pacman -Ss and now I see it installed. Should I remove it with -R or -Rsnc? Is it better to do it with 2 separate commands or in one command line to avoid any conflicts/dependencies?

Offline

#11 2023-11-27 07:22:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: [SOLVED]Journalctl error about nvidia-uvm

You should understand what those do, https://wiki.archlinux.org/title/Pacman … g_packages and you can remove as many pacakges in one command as you want.

Offline

#12 2023-11-27 20:50:54

jojo06
Member
Registered: 2023-11-04
Posts: 373

Re: [SOLVED]Journalctl error about nvidia-uvm

Yes, I looked. I think Rsc is fine. `egl-wayland` (opengl-wayland of nvidia perhaps?) was the first thing I found when I typed it in the wiki. `libxnvctrl` (xfce for detect nvidia) and I can't find what that is: `eglexternalplatform` was removed along with it. I'm glad you reposted the link, I guess you have to repeat it every now and then.

Quick question, does the `pacman -Rn package_name` command only remove the configuration without creating the pacman backup file or does it also remove the default configuration in the .config?

Offline

#13 2023-11-27 21:06:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: [SOLVED]Journalctl error about nvidia-uvm

I'd think twice about "c" being "fine" - or necessary.

https://man.archlinux.org/man/core/pacm … OPERATIONS
https://man.archlinux.org/man/core/pacm … PLY_TO_-R)
What does it say about the "--nosave" switch behavior?

Stuff in your $HOME/.config principally won't get touched, if you meant that.
It's all only about files under control of the package manager, not your personal data (incl. configs)

Offline

#14 2023-11-27 21:45:30

jojo06
Member
Registered: 2023-11-04
Posts: 373

Re: [SOLVED]Journalctl error about nvidia-uvm

Yes it is necessary. Otherwise there will either be an idle dependency or/and the need to install.

Thank you again seth

Offline

#15 2023-11-27 21:51:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: [SOLVED]Journalctl error about nvidia-uvm

No it is not and there will be not.
Compare the packages suggested for removal between "-Rs" and "-Rsc" and use "c" with outmost care only.

Offline

#16 2023-11-27 23:08:05

jojo06
Member
Registered: 2023-11-04
Posts: 373

Re: [SOLVED]Journalctl error about nvidia-uvm

I see, so it depends. As I said, I queried the packages from the wiki, and I realized that these packages related to nvidia I used with -c. I will compare and double check for everytime for "c" got it.

Offline

Board footer

Powered by FluxBB