You are not logged in.
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_intelThere 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
If it's a warning/error that we should ignore then no problem.
You most likely have nvidia-utils installed?
Offline
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
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
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
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:
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
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.stOffline
@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 utilitiesNothing 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,nouveauOffline
You've never removed nvidia-utils and nvidia-settings, only nvidia.
Offline
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
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
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
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
Yes it is necessary. Otherwise there will either be an idle dependency or/and the need to install.
Thank you again seth
Offline
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
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