That seems to have fixed it.
Thanks a lot for taking the time ! Really appreciate it.
That seems to have fixed it.
Okay, the problem is back. I have reinstalled the 515.48.07 driver to see if that might fix it again but no success.
I have installed and signed the liquorix kernel 5.18.0-11.1. I think something is not working when trying to build the nvidia kernel modules. The Error message is saying
DKMS make.log for nvidia-515.48.07 for kernel 5.18.0-11.1-liquorix-amd64 (x86_64) Mo 18. Jul 18:58:28 CEST 2022 make: Entering directory '/usr/src/linux-headers-5.18.0-11.1-liquorix-amd64' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/515.48.07/build \ single-build= \ need-builtin=1 need-modorder=1 ln -sf /var/lib/dkms/nvidia/515.48.07/build/nvidia/nv-kernel.o_binary /var/lib/dkms/nvidia/515.48.07/build/nvidia/nv-kernel.o ln -sf /var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset/nv-modeset-kernel.o_binary /var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset/nv-modeset-kernel.o CONFTEST: hash__remap_4k_pfn [...]
here comes the bug-report
nvidia-bug-report.log (1.8 MB)
The error message is “normal”, always displayed. Just ignore. According to the log, gpus are working.
For 510+ drivers, do we need a kernel upper than 5.16? @generix
The minimum kernel for that is 3.10.
The suspend → black screen (no backlight) issue persists after installing the latest XXXXX.run Driver from the nvidia website using sudo sh XXXXX.run with -s option and private and public pair.
I can change the screen-brightness just fine on i3. But as soon as is close the lid or initiate suspend by systemctl there is no display, the keyboard backlight and fan go back up but thats about it. Only thing that helps is hard power off /on.
I will attach the most recent dmesg and bug report.
nvidia-bug-report.log (1.3 MB)
dmesg.out (92.8 KB)
You should rather not use the runfile installer on a hybrid graphics notebook.
You have set PreserveVideoMemoryAllocations: 0, please disable
systemd units and check if that resolves it.
it does not. should i also try setting PreserveVideoMemoryAllocations: 1 and enable the systemd units ?
Otherwise i would probably try to get a clean install using the “Software & Updates” application native to ubuntu without any grub and dkms modifications again and go from there.
Can you ssh into the system after resume?
It did work at some point in the past! I can try again tomorrow, what information do you need from there ?
a dmesg output.
dmesg.out (105.6 KB)
Seems like a kernel i915 driver problem ?
Yes. Since you already run the latest bios and kernel, you can only open an issue with the i915 driver
You are not alone, known problem: dell - Ubuntu 20.04 doesn't wake up after suspend - Ask Ubuntu
Not sure whos issue, but, the word is out.
I spoke with the intel i915 guys and the problem seems to be with the VBT of the BIOS. There is a internal Lenovo ticket now for Thinkpad T14G3 but not sure if it will be implemented for other devices.
Here is the discussion, for anybody thats interested:
It seems I have the the same problem… we also bought a Legion 5 16IAH7H and want to run ubuntu on it. I finally installed Ubuntu 22.10, kernel 5.19… Now it seems there is a Bios update available on Lenovo. Have you installed it yet? I don’t know how to install the *.EXE file in ubuntu correctly. We tried it through wine, but the whole thing won’t go through…
I installed the BIOS update through Windows as I am in a dual-boot setup. But its not changing the behavior.