Prime-select Intel and Nvidia both broken on 22.04 install with 550 drivers for Ryzen AI9HX370 + RTX4060 laptop

Fresh, working install of Ubuntu 22.04 with autoinstalled 550 drivers didn’t give nvidia-smi output. I replaced gdm3 with lightdm, purged all drivers and reinstalled with ubuntu-drivers autoinstallto get nvidia-smi output working with atleast nomodeset. This is a newer Ryzen AI9HX370 + RTX4060 laptop device.

Prime select nvidia only has tty accessible with nomodeset where the logs are from and black screen of death without nomodeset
nvidia-bug-report.log.gz (342.3 KB)
dkms status returns none

Prime select intel loads to splash screen which freezes after login with lightdm
nvidia-bug-report-amdgpu.log.gz (100.8 KB)

Please delete /etc/X11/xorg.conf

Done, I assumed it was autogenerated. It seems like similar behaviour.

In the intel case, it seems like the amdgpu drivers are not loaded at all? Additionally, when switching in the BIOS to d-GPU only display, I can get expected behaviour under prime-select nvidia, driving xorg as well as applications. Interestingly, using this display mode under prime-select on-demand and manually loading the kernel module also gives behaviour that you’d expect. If I understand correctly, this is effectively using the device in reverse prime mode?

Based on the suggestions, I assume I do not have to be editing configs to point to output sinks for nvidia mode like NVIDIA Optimus - ArchWiki?

Processing: nvidia-bug-report.log.gz…
Processing: nvidia-bug-report-amdgpu.log.gz…

You had in any case “nomodeset” set, this disabled the amdgpu driver. Please remove.

Without nomodeset I am unable to generate logs, running the script with cron results in logs that are truncated very early at line 55, even with --safe-mode options.

failed boot journalctl -b -1.log (259.0 KB)
dGPU mode successful nvidia logs:
nvidia-bug-report.log (1.3 MB)
journalctl.log (460.1 KB)

amdgpu seems to fail silently without enabling the device, journal logs stop abruptly at amdgpu: Topology: Add CPU node in the dynamic display