Your *ERROR* [nvidia-drm] Failed to allocate NvKmsKapiDevice indicates a resource conflict during the handover from the boot-framebuffer to the NVIDIA driver. Even though openSUSE typically sets modeset=1 in /usr/lib/modprobe.d/50-nvidia.conf, adding it explicitly to GRUB ensures itâs active from the very first second of the boot process.
1. Disable SimpleDRM / EFI Framebuffer Conflicts Modern kernels use simpledrm to show a boot logo, which often blocks the NVIDIA driver from âgrabbingâ the display resources. You should try to combine the NVIDIA modeset parameter with flags that disable the conflicting framebuffer. Add these to your GRUB kernel parameters:
(Alternatively, try sysfb.modeset=0 if the above doesnât work.)
2. Check for Hybrid Graphics Conflicts In your log, I see i915 (Intel) taking over fb0 very early. On some Legion Y740 models, the ACPI refuses to hand over the KMS (Kernel Mode Setting) capability to NVIDIA if the system is in Hybrid mode.
Test: If your BIOS allows it, switch from âHybrid Graphicsâ to âDiscrete Graphicsâ only and see if the driver loads successfully.
3. ACPI Backlight Handling Sometimes the way the kernel handles display connectors on Legions interferes with the DRM allocation. You could also try: acpi_backlight=vendor
The NvKmsKapiDevice failure basically means the NVIDIA DRM layer couldnât initialize because the hardware resources were already âlockedâ by the generic system framebuffer."
Apologies, where do I add acpi_backlight=vendor? Sorry again where is Grub located in Opensuse Leap 16? I only see Grub2 and it does not contain entries when I used VIM to edit it. Further, will I do sudo update-bootloader afterwards and reboot?
As to BIOS, I tried to switch to Discrete Graphics but the screen becomes unusable due to white lines and flickering so I went back to âswitchable graphicsâ settings.
Thank you and so sorry for being a hassle and asking for steps on how to update Grub. Thank you.
In the boot menu hit âeâ and look for the line beginning with linux /boot/vmlinuz...
At the end of this line add acpi_backlight=vendor (or the other suggested settings). Then hit F10 to continue booting.
If you find a working configuration, then you can edit the grub2 boot setings. I suggest using âYaST Boot Loaderâ found in the System Menu, there youâll find the tab Kernel Parameters
Apparently the nvidia driver is loading, so reinstalling is not the first option. There is something preventing the system to access the interface. Gaming laptops like yours may have highly customized BIOSes, especially in the graphics area.
Maybe the Nvidia chip is disabled, powered down, suspended or whatever: check all related settings (anything else beyond âSwitchable graphicsâ and âDiscreteâ?) or power save and related settings (there might be something powering down the Nvidia to save battery life?), then use mains power, not battery (just in caseâŚ)
My apologies. On my fresh tumbleweed-Install its still there, so I thought it would be a convenient way to edit boot settings. On Leap its probably gone.
@BLP: Did you look into journalctl -b | grep drm` after changing the boot settings? Is the error still there or other errors? As OrsoBruno mentioned it could be that the GPU is in a powered down state.
Itâs either a hardware issue or some cruft leftover from previous driver installs. Best way would be to purge all the nvidia rpms, setting and configurations etc and drop back to nouveau to see if that works.
Your laptop is no ordinary âOptimusâ laptop where the Nvidia is automatically engaged when needed, but there should be something to switch from one to the other GPU.
That is consistent with the âSwitchable Graphicsâ setting in the BIOS.
Normally switcherooctl is used to do such switching, but if it doesnât list the Nvidia Iâm out of ideas.
Apparently the Nvidia works with the âDiscreteâ setting (even if with artifacts)?
Or is there something else in the BIOS?
No, prime-select is deprecated and I donât know if it does even work with recent driversâŚ
Maybe the Nvidia is engaged only when an external display is connected? Anything interesting in the user manual for your laptop?
(Ahhh the usual joy of gaming laptopsâŚ)