Hi to all, I’m encountering some problems after kernel update from kernel-6.5.12-300.fc39.x86_64 to kernel-6.6.2-201.fc39.x86_64.
No issues with kernel.6.5.12-xxx a part from two alerts:
iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
Bluetooth: hci0: Malformed MSFT vendor event: 0x02
from dmesg command.
When I booted in kernel-6.6.2-201.fc39.x86_64 it stops somewhere and I get a black screen.
I thougt it was a problem related to a specific kernel release, but the same happened also with the recent upgraded kernel-6.6.3-200.fc39.x86_64.
I’m running the lastest version of F39 on Lenovo p53s. I could post the output of journalctl -b -1. Sicne it’s an huge output, I thought to use Mozilla Community Pastebin. Please, let me know if you need some other informations.
You really should try to show us the relevant information from journalctl along with the hardware details from inxi -Fzxx (as text using the </> button).
To save others the trouble and hopefully move things forward, here is the section that deals with video:
dic 04 22:56:41 fedora kernel: i915 0000:00:02.0: enabling device (0006 -> 0007)
dic 04 22:56:41 fedora kernel: ACPI Warning: \_SB.PCI0.RP09.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20230628/nsarguments-61)
dic 04 22:56:41 fedora kernel: pci 0000:3c:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
dic 04 22:56:41 fedora kernel: VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.RP09.PEGP handle
dic 04 22:56:41 fedora kernel: nouveau: detected PR support, will not use DSM
dic 04 22:56:41 fedora kernel: nouveau 0000:3c:00.0: enabling device (0006 -> 0007)
dic 04 22:56:41 fedora kernel: Console: switching to colour dummy device 80x25
dic 04 22:56:41 fedora kernel: nouveau 0000:3c:00.0: NVIDIA GP108 (138000a1)
dic 04 22:56:41 fedora kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
dic 04 22:56:41 fedora kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=mem
dic 04 22:56:41 fedora kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
dic 04 22:56:41 fedora kernel: nouveau 0000:3c:00.0: bios: version 86.08.2a.00.0b
dic 04 22:56:41 fedora kernel: nouveau 0000:3c:00.0: pmu: firmware unavailable
dic 04 22:56:41 fedora kernel: i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
dic 04 22:56:41 fedora kernel: i915 0000:00:02.0: [drm] [ENCODER:118:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
dic 04 22:56:41 fedora kernel: nouveau 0000:3c:00.0: fb: 2048 MiB GDDR5
dic 04 22:56:41 fedora kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
dic 04 22:56:41 fedora kernel: ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
dic 04 22:56:41 fedora kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7
dic 04 22:56:41 fedora kernel: ACPI: video: Video Device [PEGP] (multi-head: no rom: yes post: no)
dic 04 22:56:41 fedora kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:4c/LNXVIDEO:01/input/input8
dic 04 22:56:42 fedora kernel: fbcon: i915drmfb (fb0) is primary device
dic 04 22:56:42 fedora systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.
dic 04 22:56:42 fedora kernel: Console: switching to colour frame buffer device 240x67
dic 04 22:56:42 fedora kernel: vga_switcheroo: enabled
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: DRM: VRAM: 2048 MiB
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: DRM: GART: 536870912 MiB
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: DRM: BIT table 'A' not found
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: DRM: BIT table 'L' not found
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: DRM: Pointer to TMDS table not found
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: DRM: DCB version 4.1
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: DRM: MM: using COPY for buffer copies
dic 04 22:56:42 fedora kernel: [drm] Initialized nouveau 1.4.0 20120801 for 0000:3c:00.0 on minor 0
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: [drm] No compatible format found
dic 04 22:56:42 fedora kernel: nouveau 0000:3c:00.0: [drm] Cannot find any crtc or sizes
dic 04 22:56:42 fedora systemd[1]: Stopped systemd-vconsole-setup.service - Virtual Console Setup.
dic 04 22:56:42 fedora systemd[1]: Stopping systemd-vconsole-setup.service - Virtual Console Setup...
dic 04 22:56:42 fedora kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
Do you have the nvidia-gpu-firmware.noarch (Firmware for NVIDIA GPUs) package installed and what version is it?
In the previous post, I use an external pastebin application because the output of journalctl command exceeded the amount of characters allowed in a post, and I could not extract the relevant part. My bad.
$ dnf list installed "*nvidia*"
Pacchetti installati
nvidia-gpu-firmware.noarch 20231111-1.fc39 @updates
I would like to use Prime Render Offload. As far as I know, I can’t use It along with Wayland, and Nvidia driver. So I decided for nouveau driver instead. I don’t know if they are causing the problem.
Not sure I’m doing well, but, if it is a kernel related problem, I locked the working version from upgrading with:
sudo dnf versionlock add kernel-6.5*
Ultima verifica della scadenza dei metadati: 0:08:05 fa il mer 6 dic 2023, 16:39:55.
Aggiunta di blocco versione per: kernel-0:6.5.12-300.fc39.*
(version locked for: kernel-...) <= translation added by myself. be patient with italian console output :)
I expect this is the cause of the black screen with the 6.6 kernel. You are still using the nouveau driver and many users see similar problems since the nouveau driver does not properly support newer nvidia gpus.
The fix probably would be to install the nvidia drivers from rpmfusion following the instructions here. https://rpmfusion.org/Howto/NVIDIA
This is a bit disappointing since Render Offload is not supported yet by proprietary drivers, as I understood from here:
So, at the time of writing, this feature is not usable under Linux, since it is not provided nor by the open source driver, neither by the closed one. You are welcome to show different solutions if you are aware of them. thanks
Just to clear up, PRIME Render Offload was working since many drivers ago (apparently since at least driver 440 according to RPMFusion) but only for X11 apps (including in XWayland mode).
However it only started working for Wayland applications recently on Nvidia 545 driver, before that it would always crash. So, the alternative was to either switch running the system in Xorg or, even easier, force XWayland mode for the specific application (that is very easy to do with Flatseal, since you can change whether x11 or wayland or allowed there).