You are not logged in.

#1 2024-10-19 01:06:57

Tuxrules
Member
Registered: 2023-08-23
Posts: 9

[solved]When using proprietary NVIDIA drivers, bugs occur.

Greetings, as the title says, when I use the nvidia or nvidia open drivers (neuveau works for some reason) several problems occur, for one, when opening most programs the screen will turn black for a couple of seconds

Another problem is that some programs like pavucontrol bug out when I press a button, (again only with proprietary driver)

Do you have any advice on what the problem might be and how to fix it?

Card: NVIDIA RTX 4070 Super

Last edited by Tuxrules (2024-10-20 00:01:23)

Offline

#2 2024-10-19 08:14:05

seth
Member
Registered: 2012-09-03
Posts: 60,073

Re: [solved]When using proprietary NVIDIA drivers, bugs occur.

https://bbs.archlinux.org/viewtopic.php?id=57855

xorg log, journal, desktop environment, … also what's "most programs" and which ones don't cause this and how eactly does pavucontrol "bug out"?
Stuff like that will be relevant information to tell you *anything* about the situation.

Offline

#3 2024-10-19 18:19:22

Tuxrules
Member
Registered: 2023-08-23
Posts: 9

Re: [solved]When using proprietary NVIDIA drivers, bugs occur.

Right, sorry.

desktop environment: i3wm
the programs that have blacked out before opening are Alacritty, Firefox, Pavucontrol, and Prism Launcher, but xterm was fine, i think it might be programs that use the gpu a lot that bug like this.

as for the pavu control issues those seem to have stopped, but the problem was that window would become empty for a bit.

Xorg log
https://pastebin.com/2VwSMF0K
Output of journalctl -b
https://pastebin.com/YH0Gc1E7

Offline

#4 2024-10-19 19:34:53

seth
Member
Registered: 2012-09-03
Posts: 60,073

Re: [solved]When using proprietary NVIDIA drivers, bugs occur.

The xorg log is dated

[    37.568] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 10 10:02:08 2024

and has references to an AMD GPU that doesn't exist in the journal.
You can find the relevant locations of xorg logs in https://wiki.archlinux.org/title/Xorg#General

Seems it's GL clients, does this happen after sleeping the system or immediately?
Do you run picom next to i3?

Preemptively, add "nvidia_drm.modeset=1 nvidia_drm.fbdev=0" to the https://wiki.archlinux.org/title/Kernel_parameters - though there's no indication for actual trouble in the journal.

Offline

#5 2024-10-19 20:31:15

Tuxrules
Member
Registered: 2023-08-23
Posts: 9

Re: [solved]When using proprietary NVIDIA drivers, bugs occur.

Ok, here's my X log from ~/.local/share/xorg
https://pastebin.com/62EHHu4d
The AMD gpu would be because I took the drive out of my broken laptop which had AMD integrated graphics, to my new PC.
It happens immediately, not after sleep.
I had picom running with i3, but I turned it off and the problems didn't stop.

Also, I tried your Kernel parameters, but they prevented Xorg from launching.

Offline

#6 2024-10-19 21:06:52

seth
Member
Registered: 2012-09-03
Posts: 60,073

Re: [solved]When using proprietary NVIDIA drivers, bugs occur.

Because X11 is running the modesetting driver on top of the simpledrm device.

pacman -Qs nvidia

Offline

#7 2024-10-19 21:24:02

Tuxrules
Member
Registered: 2023-08-23
Posts: 9

Re: [solved]When using proprietary NVIDIA drivers, bugs occur.

Ok, the output of that command is
local/egl-gbm 1.1.2-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.16-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 560.35.03-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl 560.35.03-1
    NVIDIA NV-CONTROL X extension
local/nvidia-open 560.35.03-17
    NVIDIA open kernel modules
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 560.35.03-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 560.35.03-16
    NVIDIA drivers utilities
local/optimus-manager-git 1:r732.fced1de.python3.12-1
    Allows switching between the integrated and the dedicated graphics cards on NVIDIA Optimus laptops

Offline

#8 2024-10-19 21:29:52

Tuxrules
Member
Registered: 2023-08-23
Posts: 9

Re: [solved]When using proprietary NVIDIA drivers, bugs occur.

Actually I think I've solved it by removing optimus manager which I no longer needed
Thanks for the help!

Edit: Now my GPU sound stopped working
edit: nevermind it works now

Last edited by Tuxrules (2024-10-19 21:42:25)

Offline

#9 2024-10-20 06:26:04

seth
Member
Registered: 2012-09-03
Posts: 60,073

Re: [solved]When using proprietary NVIDIA drivers, bugs occur.

So first of all don't install OM on a system w/ a single GPU, then, as mentioned, add "nvidia_drm.modeset=1 nvidia_drm.fbdev=0" to the kernel parameters and post an updated xorg log as well as

pacman -Qikk nvidia-utils

Offline

Board footer

Powered by FluxBB