@senectus It depends on your GPU and if you want to use the open source driver if your GPU supports it…
@malcolmlewis I just want whichever driver gives me the best stability and performance for my Nvidia 3070 card.
Right now, every time I install the nvidia driver i can no longer sign into gnome… the same issue this guys has:
Once I get passed that, maybe I can work on Extending the screen rather than mirroring it.
@senectus So with the nouveau driver and logged in to GNOME, can you open a terminal and run;
inxi -Gxxz
And post the output?
My setup here is two nvidia cards, GNOME running on X11. I install the nvidia driver via the run file and manually rebuild (because I prefer this way, not using dkms) as well as have secure boot disabled…
This is one of many bits of information provided by the inxi -SGaz report as was suggested you provide in your other thread, like so:
# inxi -SGaz System: Kernel: 6.3.9-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.1.1 parameters: root=LABEL=p096stw5 ipv6.disable=1 net.ifnames=0 noresume consoleblank=0 preempt=full mitigations=off Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 7 dm: 1: KDM 2: XDM Distro: openSUSE Tumbleweed 20230729 Graphics: Device-1: AMD RV620 PRO [Radeon HD 3470] vendor: Dell C120D driver: radeon v: kernel alternate: amdgpu arch: TeraScale code: R6xx/RV6xx/RV7xx process: TSMC 55-65nm built: 2005-13 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports: active: DP-1,DP-2 empty: none bus-ID: 01:00.0 chip-ID: 1002:95c0 class-ID: 0300 temp: 79.0 C Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2 compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: r600 gpu: radeon display-ID: :0 screens: 1 Screen-1: 0 s-res: 4240x1440 s-dpi: 120 s-size: 897x304mm (35.31x11.97") s-diag: 947mm (37.29") Monitor-1: DP-1 pos: primary,left model: Acer K272HUL serial: built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400 Monitor-2: DP-2 pos: right model: Dell P2213 serial: built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2 size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes: max: 1680x1050 min: 720x400 API: OpenGL v: 3.3 Mesa 23.1.4 renderer: AMD RV620 (DRM 2.50.0 / 6.3.9-1-default LLVM 16.0.6) compat-v: 3.0 direct-render: Yes #
According to the above report, Plasma is running across two monitors via DisplayPorts on X11, but Xwayland is available on the system.
when I can sign in via recovery I get this
senectus@HotblackDesiatosXPS:~> inxi -SGaz
System:
Kernel: 6.4.9-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.9-1-default
root=UUID=83123a2e-ce47-489d-a2e3-dccf3f208407 nomodeset
plymouth.enable=0
Desktop: GNOME v: 44.3 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
Distro: openSUSE Tumbleweed 20230811
Graphics:
Device-1: Intel CometLake-S GT2 [UHD Graphics 630] vendor: Dell driver: N/A
alternate: i915 arch: Gen-9.5 process: Intel 14nm built: 2016-20
bus-ID: 00:02.0 chip-ID: 8086:9bc5 class-ID: 0380
Device-2: NVIDIA GA104 [GeForce RTX 3070] vendor: Dell driver: N/A
alternate: nouveau, nvidia_drm, nvidia non-free: 530.xx+
status: current (as of 2023-05) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2484
class-ID: 0300
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
compositor: gnome-shell driver: X: loaded: vesa unloaded: fbdev,modesetting
failed: nvidia alternate: nouveau,nv gpu: N/A display-ID: 0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
Monitor-1: Unknown-1 mapped: None-1 res: 1920x1080 hz: 60 dpi: 96
size: 508x285mm (20x11.22") modes: 1920x1080
API: OpenGL v: 4.5 Mesa 23.1.5 renderer: llvmpipe (LLVM 16.0.6 256 bits)
direct-render: Yes
@senectus Ahh, so you have a hybrid setup…
Options;
- Disable Intel GPU in BIOS (if possible)
- Install suse-prime and switch to nvidia (YMMV)
- Use Prime Render Offload to run applications with the nvidia gpu
You need to pick one…
I’ll have a look at turning the built in off… but I’m confused as to why that would matter?
I’ve never used it… never had any cable plugged into that port because i have a big 3070 being used…
@senectus doesn’t matter, that is what is being used by default… API: OpenGL v: 4.5 Mesa 23.1.5 renderer: llvmpipe (LLVM 16.0.6 256 bits)
well the bios option is a little confusing…
I changed it to AUTO in the hope that the NOTE there would disable the onboard card… as there is no opyion to switch it off.
It didn’t make any difference unfortunately
System:
Kernel: 6.4.9-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.9-1-default
root=UUID=83123a2e-ce47-489d-a2e3-dccf3f208407 nomodeset
plymouth.enable=0
Desktop: GNOME v: 44.3 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
Distro: openSUSE Tumbleweed 20230811
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: Dell driver: N/A
alternate: nouveau, nvidia_drm, nvidia non-free: 530.xx+
status: current (as of 2023-05) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2484
class-ID: 0300
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
compositor: gnome-shell driver: X: loaded: vesa unloaded: fbdev,modesetting
failed: nvidia alternate: nouveau,nv gpu: N/A display-ID: 0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
Monitor-1: Unknown-1 mapped: None-1 res: 1920x1080 hz: 60 dpi: 96
size: 508x285mm (20x11.22") modes: 1920x1080
API: OpenGL v: 4.5 Mesa 23.1.5 renderer: llvmpipe (LLVM 16.0.6 256 bits)
direct-render: Yes
@senectus the third option worked (Only the nvidia card present). Now re-install the nvidia rpms and see how it goes
After reinstalling the nvidia options in yast I’m still unable to sign into gnome
It doesn’t display an error it just blinks the screen then waits for me to sign into it again.
Correct me if im wrong, but that screenshot is saying that the driver isnt loaded?
@senectus remove the nomodeset! You also need to add nvidia_drm.modeset=1
and likely edit /etc/gdm/custom.conf to use Xorg on gdm…
The nvidia_drm.modeset=1 didnt seem to change anything.
I’m not sure how i go about editing that .conf file.
@senectus so did you force the re-install of the nvidia drivers?
zypper se -i nvidia
I assume you want the output of that?
senectus@HotblackDesiatosXPS:/etc/gdm> zypper se -i nvidia
Loading repository data…
Reading installed packages…
S | Name | Summary | Type
—±---------------------------------±-------------------------------±-------
i+ | kernel-firmware-nvidia | Kernel firmware files for Nv-> | package
i+ | kernel-firmware-nvidia-gspx-G06 | Kernel firmware file for ope-> | package
i | libnvidia-egl-wayland1 | The EGLStream-based Wayland → | package
i | nvidia-compute-G06 | NVIDIA driver for computing → | package
i | nvidia-compute-G06-32bit | 32bit NVIDIA driver for comp-> | package
i | nvidia-compute-utils-G06 | NVIDIA driver tools for comp-> | package
i | nvidia-driver-G06-kmp-default | NVIDIA graphics driver kerne-> | package
i+ | nvidia-drivers-G06 | Meta package for full instal-> | package
i+ | nvidia-gl-G06 | NVIDIA OpenGL libraries for → | package
i+ | nvidia-gl-G06-32bit | 32bit NVIDIA OpenGL librarie-> | package
i+ | nvidia-utils-G06 | NVIDIA driver tools | package
i+ | nvidia-video-G06 | NVIDIA graphics driver for G-> | package
i+ | nvidia-video-G06-32bit | 32bit NVIDIA graphics driver-> | package
i+ | openSUSE-repos-Tumbleweed-NVIDIA | openSUSE NVIDIA repository d-> | package
that .config file doesn’t mention xorg at all
*Correction, it does i just missed it completely
so if I uncomment that line It’ll use xorg?
GDM configuration storage
Note: settings from /etc/sysconfig/displaymanager have a higher priority
[daemon]
Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false
[security]
[xdmcp]
[chooser]
[debug]
Uncomment the line below to turn on debugging
#Enable=true
@senectus this one is not needed kernel-firmware-nvidia-gspx-G06
.
Is nouveau blacklisted?
fgrep -r nouveau /etc/*
Are there files relating to intel or nvidia in /etc/X11/ as conf files… eg xorg.conf
senectus@HotblackDesiatosXPS:/etc/gdm> sudo fgrep -r nouveau /etc/*
[sudo] password for root:
/etc/apparmor.d/abstractions/opencl-mesa: owner @{HOME}/.cache/mesa_shader_cache/{,**} rw, # libMesaOpenCL.so → pipe_nouveau.so
grep: /etc/ld.so.cache: binary file matches
senectus@HotblackDesiatosXPS:/etc/gdm> cd…
senectus@HotblackDesiatosXPS:/etc> cd X11/
senectus@HotblackDesiatosXPS:/etc/X11> dir
total 4
drwxr-xr-x 1 root root 36 Aug 8 21:56 xdm
drwxr-xr-x 1 root root 46 Jun 15 08:26 xinit
drwxr-xr-x 1 root root 32 Aug 8 22:00 xorg.conf.d
-rw-r–r-- 1 root root 604 Aug 8 21:59 xorg.conf.install
senectus@HotblackDesiatosXPS:/etc/X11>
@senectus so nouveau is not blacklisted, with a text editor create a file called 50-nvidia.conf
It needs to contain;
blacklist nouveau
and saved as /etc/modprobe.d/50-nvidia.conf then run dracut -f --regenerate-all
What files exist in /etc/X11/xorg.conf.d