ASUS STRIX - OPTIMUS CONFIG -- chapter 2

Hello.

I have a second hand computer ‘ASUSTeK COMPUTER ROG Strix G731GV’
After a fresh install of 15.2, I use a script to install the nvidia driver the hard way.
I use that script for years so that every install is done the same way.

The graphical

ASUS-G731GV-JC:~ # lspci -nnk | egrep 'VGA|3D' -A3

 00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b]
        Subsystem: ASUSTeK Computer Inc. Device [1043:100f]
        Kernel driver in use: i915
        Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] [10de:1f11] (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device [1043:100f]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

After installing the more recent nvidia driver (NVIDIA-Linux-x86_64-455.45.01.run) , at reboot, the X server does not start because no screen was found.
Making a new xorg config using nvidia-settings does not help.

I retry the install process with the previous driver (NVIDIA-Linux-x86_64-455.38.run) same problem.
Finally I installed suse-prime and at reboot, the X server start normally.

Is it mandatory to install the nvidia driver and suse-prime the same time or is there a bug somewhere ?

I can make some other test if needed.

Any help is welcome.

Uninstall nouveau drivers.
Blacklist nouveau module.

Hello.
It seems that does not answer the question.

By the way when installing the nvidia driver, nouveau must be blacklisted. As I said it is done by my scripts for years.

What kernel is running:

uname -a

Hi
Likely the kernel age… a lot have backports have gone into the Leap 15.3 kernel… perhaps try that for the moment or kernel stable…

Leap with kernel:stable and nvidia hard way has problems:
https://bugzilla.opensuse.org/show_bug.cgi?id=1182224
https://lists.opensuse.org/archives/list/kernel@lists.opensuse.org/message/3PRCZICESLYNK6VB4PTFY7TYP2LRNHQJ/

LANG=C zypper in -f kernel-syms
Loading repository data...
Reading installed packages...
Forcing installation of 'kernel-syms-5.10.16-1.1.g11381f3.x86_64' from repository 'kernel-stable'.
Resolving package dependencies...

Problem: nothing provides libc.so.6(GLIBC_2.33)(64bit) needed by kernel-default-devel-5.10.16-1.1.g11381f3.x86_64
 Solution 1: do not install kernel-syms-5.10.16-1.1.g11381f3.x86_64
 Solution 2: break kernel-default-devel-5.10.16-1.1.g11381f3.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c

Same with kernel-default-devel, but kernel-devel will install.

Hi
A user here with same GPU hardware same issue https://forums.opensuse.org/showthread.php/550048-prime-select-not-working-anymore

Both of you need to get together and create a bug report, ideal opportunity to fix suse-prime!