I got it installed all good, but after installing nvidia drivers i cant login?

There is no trace of any attempt to load nvidia driver which means it is likely blacklisted. What does as root

modinfo nvidia
modprobe nvidia

whoa!
So I run the first one:
https://paste.opensuse.org/133b4a46b90d

but when I run the second one , My screen blinked then gave me a GNOME login and when I signed in I now have 2 screens in extend mode!!
Why would modprobe “fix” the issue?

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 mitigations=auto
    quiet security=apparmor nosimplefb=1
  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: nvidia
    v: 535.86.05 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: none
    off: DP-4,DP-5 empty: DP-1, DP-2, DP-3, HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:2484 class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
    compositor: gnome-shell driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1
  Screen-1: 0 s-res: 4480x1440 s-size: <missing: xdpyinfo>
  Monitor-1: not-matched mapped: DP-0.1 pos: left res: 2560x1440 hz: 60
    dpi: 109 size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  Monitor-2: not-matched mapped: DP-0.8 pos: primary,right res: 1920x1080
    hz: 60 dpi: 93 size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.86.05 renderer: NVIDIA GeForce RTX
    3070/PCIe/SSE2 direct-render: Yes

Nvidia driver now loaded!! how confusing :slight_smile:

Because modprobe forcibly loads kernel driver bypassing any blacklists and GDM was waiting for a suitable graphical device.
What is the output of

grep -ri nvidia /etc/modprobe* /usr/lib/modprobe* /usr/etc/modprobe*

The last directory most likely does not exist, but for the sake of completeness …

senectus@HotblackDesiatosXPS:~> sudo grep -ri nvidia /etc/modprobe* /usr/lib/modprobe* /usr/etc/modprobe*
/usr/lib/modprobe.d/50-blacklist-fb.conf:# blacklist nvidiafb
/usr/lib/modprobe.d/50-nvidia-default.conf:options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=485 NVreg_DeviceFileMode=0660 NVreg_PreserveVideoMemoryAllocations=1
/usr/lib/modprobe.d/50-nvidia-default.conf:options nvidia-drm modeset=1
/usr/lib/modprobe.d/50-nvidia-default.conf:install nvidia PATH=$PATH:/bin:/usr/bin; if /sbin/modprobe --ignore-install nvidia; then   if /sbin/modprobe nvidia_uvm; then     if [ ! -c /dev/nvidia-uvm ]; then       mknod -m 660 /dev/nvidia-uvm c $(cat /proc/devices | while read major device; do if [ "$device" = "nvidia-uvm" ]; then echo $major; break; fi ; done) 0;        chown :video /dev/nvidia-uvm;     fi;     if [ ! -c /dev/nvidia-uvm-tools ]; then       mknod -m 660 /dev/nvidia-uvm-tools c $(cat /proc/devices | while read major device; do if [ "$device" = "nvidia-uvm" ]; then echo $major; break; fi ; done) 1;       chown :video /dev/nvidia-uvm-tools;     fi;   fi;   if [ ! -c /dev/nvidiactl ]; then     mknod -m 660 /dev/nvidiactl c 195 255;     chown :video /dev/nvidiactl;   fi;   devid=-1;   for dev in $(ls -d /sys/bus/pci/devices/*); do      vendorid=$(cat $dev/vendor);     if [ "$vendorid" = "0x10de" ]; then       class=$(cat $dev/class);       classid=${class%%00};       if [ "$classid" = "0x0300" -o "$classid" = "0x0302" ]; then          devid=$((devid+1));         if [ ! -c /dev/nvidia${devid} ]; then            mknod -m 660 /dev/nvidia${devid} c 195 ${devid};            chown :video /dev/nvidia${devid};         fi;       fi;     fi;   done;   /sbin/modprobe nvidia_drm;   if [ ! -c /dev/nvidia-modeset ]; then     mknod -m 660 /dev/nvidia-modeset c 195 254;     chown :video /dev/nvidia-modeset;   fi; fi 
/usr/lib/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf:blacklist nvidia
/usr/lib/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf:blacklist nvidia-drm
/usr/lib/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf:blacklist nvidia-modeset
/usr/lib/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf:options nvidia-drm modeset=1
/usr/lib/modprobe.d/09-nvidia-modprobe-pm-G05.conf:options nvidia NVreg_DynamicPowerManagement=0x01
grep: /usr/etc/modprobe*: No such file or directory

Well, that explains why nvidia is not loaded on boot. What shows

rpm -qf /usr/lib/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf

senectus@HotblackDesiatosXPS:~> sudo rpm -qf /usr/lib/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf
suse-prime-0.8.14-2.2.noarch

what am I looking at here?

If you want to use suse-prime, I leave it to someone else more familiar with this package. I assume you need to run something like prime-select nvidia. If you do not want to use suse-prime and simply want to always have nvidia, just delete this package.

@senectus aside from @arvidjaar this stems from you having the two graphics cards available from install, the installer added likely suse-prime and bbswitch for your hardware setup…

You then disabled the intel gpu, but the dregs are still left…

So need to remove those packages zypper se -i prime bbswitch to see what is installed.

Just and observation and food for thought;
To be honest, if it were my system and based on experience I’d be using Prime Render Offload and switcherooctl (which is what I use here on all my dual gpu setups a desktop and a laptop with dual amd gpu’s). This enable the igpu to do all the leg work and the dgpu to do all the grunt work. Switcherooctl is also integrated with GNOME so it’s just a right-click and select the application to use the discrete card.

yes this is what i want…
https://software.opensuse.org/package/suse-prime
https://old.reddit.com/r/openSUSE/comments/yxyqwu/nvidia_and_suse_prime/

How curious… I wonder why I have it at all…?

Thank you all that have helped me!
Its dislodged a heap of cobwebs and I’ve gotten the taste for linux again :smiley: this is gonna be fun

@senectus no, you don’t you disabled the intel gpu!

yeah just reading your post now!

hmm interesting.
I have zero need for the intel GPU am happy with just the nvidia one thanks!

@senectus So did you check the zypper output?

I did have the suse-prime and bbswitch installed. I uninstalled them and its all working as expected now

I’m not poking around to see what i remember and can re-learn :slight_smile: thanks for your help!