so i install x11-video-nvidiaG05 and nvidia-glG05 by using yast, i believe until now i go in correct way.
i feeling there’s problem when can not open “NVIDIA X server setting” in start menu. and can not any way to see NVIDIA card setting. how test if it work correct and how reach it’s setting?
also the “NVIDIA X server setting” is open but ask for root permission, attached screenshot for popup windows when click “NVIDIA X server setting” from start menu.
forum refuse direct attach image, so the message is " you do not appear to be using the NVIDIA x driver. please edit your x configuration file (just run ‘nvidia-xconfig’ as root), and restart the x server.
when try run this command
sudo nvidia-xconfig
the reult is
Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
did you mean if nomodeset used in grub so there’s no need for /etc/X11/xorg.conf. did i understand correct?
it first time ear about “nomodeset”, but when i search find to add it i need run this command
sudo nano /etc/default/grub
to edit grub file, so i run this command to see if “nomodeset” add to grub or not. depend on what i see nomodeset did not used in the grup. also i add the result of command in case am understand wrong.
3- i do not know how check the nvidia driver is loaded, but when search find this command
lsmod | grep nvidia
it did not show any result, try it with and without sudo
is there’s any chance the user permission (group connect to this problem). when open yast, user and group administration (there’s one user, my account), when chose edit it and go to details tab (find i “my account” only part from users group(default group), but did not belong to any other group (addional groups). i aleardy create another therd as i can not use open as root from Context Menu, doesn’t work (nemo file manager) in another partion in fourm.
1- to remove G05 series and install G04 series, i open yast software management then search for NVIDIA and start remove G05 series driver elements. yast give me broken alert when try remove some elements (dependency alert, as i try remove one element in time). one from those elements yast say it will remove it and all G05 series and then will replace them by G04 series driver. so i hit enter and yast do every thing.
2- yes i reboot after every installation.
3-
your code zypper se -si nvidia result is
zypper se -si nvidia
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+---------------------------+---------+-------------------------------+--------+------------------------
i+ | kernel-firmware-nvidia | package | 20210208-2.4 | noarch | Main Repository
i+ | nvidia-computeG04 | package | 390.144-lp153.25.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-gfxG04-kmp-default | package | 390.144_k5.3.18_57-lp153.25.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-glG04 | package | 390.144-lp153.25.1 | x86_64 | nVidia Graphics Drivers
i | x11-video-nvidiaG04 | package | 390.144-lp153.25.1 | x86_64 | nVidia Graphics Drivers
4- also first time hear about “nouveau”, do not know how check if “initrd rebuild”.
but when search inside yast software manager find next package installed
libdrm_nouveau2
libvdpau_nouveau
xf86-video-nouveau
in same time find "Mesa-dri-nouveau" package flagged with taboo never install (by other words it not installed)
5- in yast software manager find those package “not installed”, i believe they can solve the problem. what your opinion, did i need to install them or one of them?
| nvidia-gfxG04-kmp-preempt - NVIDIA graphics driver kernel module for GeForce 400 series and newer
|
|
This package provides the closed-source NVIDIA graphics driver kernel module for GeForce 400 series and newer GPUs.
| libXNVCtrl0 - NVidia Control Library
|
|
Library for configuring the NVIDIA Linux graphics driver. It operates by communicating with the NVIDIA X driver, querying and updating state as appropriate. This communication is done with the NV-CONTROL X extension.
| libXNVCtrl - NVidia Control Library
|
|
Library for configuring the NVIDIA Linux graphics driver. It operates by communicating with the NVIDIA X driver, querying and updating state as appropriate. This communication is done with the NV-CONTROL X extension.
| ffnvcodec-devel - FFmpeg version of NVIDIA codec API headers
|
|
This package contains the headers required for FFmpeg to interface with NVIDIA codec APIs.
| bumblebee - NVidia Optimus support for GNU/Linux aimed at stability
|
|
Bumblebee daemon is a rewrite of the original Bumblebee service, providing an elegant and stable means of managing Optimus hybrid graphics chipsets. A primary goal of this project is to not only enable use of the discrete GPU for rendering, but also to enable smart power management of the dGPU when it's not in use.
| nvdock - Tray icon for launching NVIDIA Settings
|
|
Little NVIDIA tray icon. Hover over it and it will tell you your GPU temperature if your card is into that kind of thing. A double click will launch the NVIDIA settings control panel, and right click will bring up a nifty menu with a few options. Also on the menu it will show the NVIDIA driver version, which is surely to come in handy at least one time in your life.
| xf86-video-nv - NVIDIA video driver for the Xorg X server
|
|
nv is an Xorg driver for NVIDIA video cards.
The driver supports 2D acceleration and provides support for the following framebuffer depths: 8, 15, 16 (except Riva128) and 24. All visual types are supported for depth 8, TrueColor and DirectColor visuals are supported for the other depths with the exception of the Riva128 which only supports TrueColor in the higher depths.
uname -a
Linux localhost.localdomain 5.3.18-59.27-preempt #1 SMP PREEMPT Tue Oct 5 10:00:40 UTC 2021 (7df2404) x86_64 x86_64 x86_64 GNU/Linux
just try think with you, depend on first command “nouveau” take control over NVIDIA card. when i search in yast using “nouveau word” find three packages installed
1- i remove “xf86-video-nouveau”, using yast.
2- open the terminal, write “su” hit enter then enter my password to be root. then run the command “mkinitrd”.
3- ctrl+d to out from root, then run “sudo reboot” to reboot.
4- after reboot run your command “/sbin/lspci -nnk | egrep -A3 “VGA|Display|3D””, give same result.
from i understand we need disable “nouveau”. so i search and find next way (it did not work), but maybe give some hint. it was for ubuntu so i edit command to match opensuse
1. remove all nvidia packages ,skip this if your system is fresh installed
sudo zypper remove nvidia*
1. install some packages for build kernel:
use yast again
1. now block and disable nouveau kernel driver:
sudo nano /etc/modprobe.d/blacklist.conf
Insert follow lines to the blacklist.conf:
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
save and exit.
1. Disable the Kernel nouveau by typing the following commands(nouveau-kms.conf may not exist,it is ok):
echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
1. build the new kernel by:
sudo update-initramfs -u
1. reboot
did i need addnext package to blacklist.conf and block them also
libvdpau_nouveau
libdrm_nouveau2
Hi
No the other two packages are fine, your lspci output show the nouveau module is present (and blacklisted) likewise since it shows kernel modules, but not kernel drivers in use for the nvidia device (see the intel output) then for whatever reason the nvidia module is not loaded.
See the output from my Leap 15.3 setup (only running as a server, multi-user.target…)
find it in /var/log/Xorg.0.log, and i will send it.
what is hard way with the run file, is there’s any video article or documents show how do it. so i can try it, maybe work.
uname -a Linux localhost.localdomain 5.3.18-59.27-**preempt** #1 SMP PREEMPT Tue Oct 5 10:00:40 UTC 2021 (7df2404) x86_64 x86_64 x86_64 GNU/Linux
zypper se -si nvidia
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
—±--------------------------±--------±------------------------------±-------±-----------------------
i+ | kernel-firmware-nvidia | package | 20210208-2.4 | noarch | Main Repository
i+ | nvidia-computeG04 | package | 390.144-lp153.25.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-gfxG04-kmp-default | package | 390.144_k5.3.18_57-lp153.25.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-glG04 | package | 390.144-lp153.25.1 | x86_64 | nVidia Graphics Drivers
i | x11-video-nvidiaG04 | package | 390.144-lp153.25.1 | x86_64 | nVidia Graphics Drivers
Kernel is preempt while nvidia module is default. There’s several threads about the preempt kernel being pulled unrequestedly.
IMHO it might make sense to change the kernel back to default - or at least change the nvidia module to nvidia-gfxG04-kmp-preempt. Wouldn’t it?
i use yast to uninstall the "nvidia-gfxG04-kmp-**default" **and then install "nvidia-gfxG04-kmp-**preempt**". then run sudo mkinitrd and after finish i reboot.
1- depend on what i understand that what we need it: Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
2- but still when try open nvidia x server setting from start menu give me message say
you do not appear be using the nividia x driver. please edit your x configeration file(just run 'nvidia-xconfig' as root). and restart the x server.
3- when i go to terminal i run
sudo nvidia-xconfig
[sudo] password for root:
WARNING: Unable to locate/open X configuration file.
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'
~> sudo nvidia-xconfig
Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
note: how can i restart the x server? also after install open suse i run "sudo zypper patch, sudo zypper verify (i know it for dependency), sudo zypper ref && sudo zypper up (refresh and update). is any command of them who upgrade or change the kernal?