Bug 1226286

Summary: Blank Screen After Booting Kernel 6.4.0-150600.21.2-default Post Leap Logo - Nouveau Drivers
Product: [openSUSE] openSUSE Distribution Reporter: Jacopo Radice <jacopo.radice>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: jacopo.radice, mrmazda, msuchanek, tiwai
Version: Leap 15.6Flags: msuchanek: needinfo? (jacopo.radice)
Target Milestone: ---   
Hardware: 64bit   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jacopo Radice 2024-06-13 13:36:24 UTC
Description

The Nouveau driver is missing in the kernel version 6.4.0-150600.21-default, causing issues with GPU functionality. This problem does not occur in the previous kernel version 5.14.21-150500.298.g40e256at, where the Nouveau driver works as expected.

Steps to Reproduce

    Boot the system using the kernel version 6.4.0-150600.21-default.

    Attempt to list the Nouveau driver directory:
    bash

ls /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nouveau/

Observe that the directory is missing.

Attempt to include the Nouveau driver using dracut:
bash

    sudo dracut --force --add-drivers "nouveau"

    Observe that dracut reports the Nouveau driver cannot be found.

Expected Results

The Nouveau driver should be present and functional in kernel version 6.4.0-150600.21-default, similar to its presence and functionality in kernel version 5.14.21-150500.298.g40e256at.
Actual Results

The Nouveau driver is missing from kernel version 6.4.0-150600.21-default, leading to the following errors:

    ls: impossibile accedere a '/lib/modules/6.4.0-150600.21-default/kernel/drivers/gpu/drm/nouveau/': File o directory non esistente
    dracut-install: Failed to find module 'nouveau'

Additional Information

    Hardware: <pre>cpu:                                                            
                       Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz, 2066 MHz
                       Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz, 2233 MHz
keyboard:
  /dev/input/event14   Apple Internal Keyboard/Trackpad (ISO)
  /dev/tty7            serial console
mouse:
  /dev/input/mice      Apple Internal Keyboard/Trackpad (ISO)
monitor:
                       Apple LCD Monitor
                       Apple LCD Monitor
graphics card:
                       nVidia C79 [GeForce 9400M]
                       nVidia G96CM [GeForce 9600M GT]
sound:
                       nVidia Apple iMac 9,1
storage:
                       nVidia Apple iMac 9,1
network:
  wlan0                Apple AirPort Extreme
  eth0                 nVidia Apple iMac 9,1
  /dev/input/event8    OSA Express Network card
network interface:
  wlan0                WLAN network interface
  lo                   Loopback network interface
  eth0                 Ethernet network interface
disk:
  /dev/sda             CT250MX500SSD1
partition:
  /dev/sda1            Partition
  /dev/sda2            Partition
  /dev/sda3            Partition
cdrom:
  /dev/sr0             MATSHITA DVD-R   UJ-868
usb controller:
                       nVidia Apple iMac 9,1
                       nVidia Apple iMac 9,1
                       nVidia Apple iMac 9,1
                       nVidia Apple iMac 9,1
bios:
                       BIOS
bridge:
                       nVidia MCP79 PCI Express Bridge
                       nVidia MCP79 PCI Express Bridge
                       nVidia MCP79 PCI Express Bridge
                       nVidia MCP79 PCI Express Bridge
                       nVidia MCP79 Host Bridge
                       nVidia Apple iMac 9,1
                       nVidia MCP79 PCI Express Bridge
                       nVidia Apple iMac 9,1
hub:
                       Linux Foundation 1.1 root hub
                       Linux Foundation 1.1 root hub
                       Linux Foundation 2.0 root hub
                       Broadcom BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
                       Linux Foundation 2.0 root hub
memory:
                       Main Memory
firewire controller:
                       LSI FW643 [TrueFire] PCIe 1394b Controller
unknown:
                       FPU
                       DMA controller
                       PIC
                       Keyboard controller
                       PS/2 Controller
                       nVidia MCP79 Memory Controller
                       nVidia iMac 9,1
                       nVidia Apple iMac 9,1
                       nVidia Apple iMac 9,1
                       nVidia MCP79 Memory Controller
                       nVidia MCP79 Memory Controller
                       Apple Bluetooth Host Controller
                       Apple Built-in iSight
                       Apple Internal Keyboard/Trackpad (ISO)
  /dev/input/event4    Apple Built-in IR Receiver
</pre>
    Kernel: 6.4.0-150600.21-default
    Distribution: openSUSE
    

Output from dracut --force --add-drivers "nouveau"
gradle

dracut[I]: Executing: /usr/bin/dracut --force --add-drivers nouveau
dracut[I]: Module 'systemd-coredump' will not be installed, because command 'coredumpctl' could not be found!
...
dracut-install: Failed to find module 'nouveau'
dracut[E]: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.pciW1F/initramfs -N ^i2o_scsi$ --kerneldir /lib/modules/6.4.0-150600.21-default/ -m nouveau
...

Workaround

Booting from the previous kernel version 5.14.21-150500.298.g40e256at resolves the issue:

    Install and boot from kernel version 5.14.21-150500.298.g40e256at.
    Verify the Nouveau driver is present and functional.

Conclusion

Please investigate the absence of the Nouveau driver in kernel version 6.4.0-150600.21-default and provide a fix or update. This issue significantly affects users relying on the Nouveau driver for their GPU functionality.
Comment 1 Michal Suchanek 2024-06-13 13:41:20 UTC
Do you have the kernel-default-extra and kernel-default-optional packages installed?
Comment 2 Jacopo Radice 2024-06-13 13:50:21 UTC
(In reply to Michal Suchanek from comment #1)
> Do you have the kernel-default-extra and kernel-default-optional packages
> installed?

Hi Michal,

I have checked the packages as you suggested. Here are the results:
Package Check

jacopo@pc0:~> sudo zypper se -i kernel-default-extra
[sudo] password di root: 
Caricamento dati del repository in corso...
Lettura dei pacchetti installati in corso...

S  | Name                 | Summary                                          | Type
---+----------------------+--------------------------------------------------+----------
i+ | kernel-default-extra | The Standard Kernel - Unsupported kernel modules | pacchetto


jacopo@pc0:~> sudo zypper se -i kernel-default-optional
Caricamento dati del repository in corso...
Lettura dei pacchetti installati in corso...

S  | Name                    | Summary                                       | Type
---+-------------------------+-----------------------------------------------+----------
i+ | kernel-default-optional | The Standard Kernel - Optional kernel modules | pacchetto
jacopo@pc0:~> 


After ensuring these packages are installed, I still encounter the issue with the Nouveau driver missing in kernel 6.4.0-150600.21-default.

Please let me know if there are any additional steps I should take or if further information is needed.

Thank you,

-Jacopo
Comment 3 Michal Suchanek 2024-06-13 13:59:32 UTC
It does not say the version, though.
Comment 4 Michal Suchanek 2024-06-13 14:05:40 UTC
eg

rpm -q kernel-default kernel-default-extra kernel-default-optional

should give all versions
Comment 5 Jacopo Radice 2024-06-13 17:45:40 UTC
(In reply to Michal Suchanek from comment #4)
> eg
> 
> rpm -q kernel-default kernel-default-extra kernel-default-optional
> 
> should give all versions

Hi Michal,

Here are the versions of the packages as requested:

jacopo@pc0:~> rpm -q kernel-default kernel-default-extra kernel-default-optionalkernel-default-5.14.21-150500.295.1.g28dcd75.x86_64
kernel-default-5.14.21-150500.294.1.g51d8359.x86_64
kernel-default-5.14.21-150500.293.1.ge008690.x86_64
kernel-default-5.14.21-150500.298.1.g40e256a.x86_64
kernel-default-extra-5.14.21-150500.294.1.g51d8359.x86_64
kernel-default-extra-5.14.21-150500.298.1.g40e256a.x86_64
kernel-default-extra-5.14.21-150500.293.1.ge008690.x86_64
kernel-default-extra-5.14.21-150500.295.1.g28dcd75.x86_64
kernel-default-optional-5.14.21-150500.298.1.g40e256a.x86_64
kernel-default-optional-5.14.21-150500.293.1.ge008690.x86_64
kernel-default-optional-5.14.21-150500.295.1.g28dcd75.x86_64
kernel-default-optional-5.14.21-150500.294.1.g51d8359.x86_64
jacopo@pc0:~> 

I've run the command by booting from the old kernel since with the 6.x version that comes with Leap 15.6 after the update, the graphic card isn't recognized, and I can't do almost any operation.

Please let me know if there are any additional steps I should take or if further information is needed.

Thank you,
-Jacopo
Comment 6 Michal Suchanek 2024-06-14 06:37:49 UTC
It does not show the 6.4 kernel installed at all.
Comment 7 Felix Miata 2024-06-15 05:35:53 UTC
Jacopo, the nouveau kernel driver was intentionally moved into kernel-default-extra several Leap releases back. Kernel-default is not any more enough for FOSS-only NVidia users in need of respectable graphics performance. For every kernel-default installed, its corresponding kernel-default-extra is required as well, lest there be no nouveau kernel module available.

Thus, this bug is invalid as summarized. The question I have is why if you had the 6.4 kernel installed, but removed it because of graphics trouble it seemed responsible for, that the 6.4 kernel-default (apparently) was not accompanied by 6.4 kernel-default-extra, when all your 5.14 kernels were.
Comment 8 Jacopo Radice 2024-06-15 17:04:08 UTC
(In reply to Felix Miata from comment #7)
> Jacopo, the nouveau kernel driver was intentionally moved into
> kernel-default-extra several Leap releases back. Kernel-default is not any
> more enough for FOSS-only NVidia users in need of respectable graphics
> performance. For every kernel-default installed, its corresponding
> kernel-default-extra is required as well, lest there be no nouveau kernel
> module available.
> 
> Thus, this bug is invalid as summarized. The question I have is why if you
> had the 6.4 kernel installed, but removed it because of graphics trouble it
> seemed responsible for, that the 6.4 kernel-default (apparently) was not
> accompanied by 6.4 kernel-default-extra, when all your 5.14 kernels were.

Hi Michal and Felix,

Thank you for your prompt responses. I have reinstalled the 6.4 kernel, and here are the updated package details:
Package Versions

jacopo@pc0:~> rpm -q kernel-default kernel-default-extra kernel-default-optionalkernel-default-5.14.21-150500.295.1.g28dcd75.x86_64
kernel-default-5.14.21-150500.298.1.g40e256a.x86_64
kernel-default-5.14.21-150500.293.1.ge008690.x86_64
kernel-default-5.14.21-150500.294.1.g51d8359.x86_64
kernel-default-6.4.0-150600.21.2.x86_64
kernel-default-extra-6.4.0-150600.21.2.x86_64
kernel-default-extra-5.14.21-150500.293.1.ge008690.x86_64
kernel-default-extra-5.14.21-150500.298.1.g40e256a.x86_64
kernel-default-extra-5.14.21-150500.295.1.g28dcd75.x86_64
kernel-default-extra-5.14.21-150500.294.1.g51d8359.x86_64
kernel-default-optional-5.14.21-150500.295.1.g28dcd75.x86_64
kernel-default-optional-6.4.0-150600.21.2.x86_64
kernel-default-optional-5.14.21-150500.298.1.g40e256a.x86_64
kernel-default-optional-5.14.21-150500.294.1.g51d8359.x86_64
kernel-default-optional-5.14.21-150500.293.1.ge008690.x86_64


Current Issue

After reinstalling the 6.4 kernel and ensuring that both kernel-default-extra and kernel-default-optional packages are installed, I am now able to see the Leap logo during boot. However, I do not reach the DE (Desktop Environment) login page (XFCE). The screen remains blank after the Leap logo is displayed.

Steps Taken

    Reinstalled the 6.4 kernel and verified the installation of kernel-default-extra and kernel-default-optional packages.
    Booted using the kernel-default-6.4.0-150600.21.2.x86_64 kernel.
    Observed the Leap logo appears during boot, but the screen goes blank thereafter, without reaching the XFCE login page.


Additional Information

    The issue was initially related to the missing Nouveau driver, which has now been addressed with the installation of kernel-default-extra.
    The problem now seems to be transitioning from the boot logo to the DE login screen.

Please let me know if there are any additional diagnostics or logs I can provide to help resolve this issue. Thank you for your assistance.

Best regards,

-Jacopo
Comment 9 Jacopo Radice 2024-06-15 17:40:44 UTC
Hi all,

I have added Takashi Iwai to the CC list as he previously resolved a similar issue (ref. Bug 1220030) related to the touchpad not being recognized on my MacBook Pro 5.1 with a different kernel version. His expertise and familiarity with the hardware might provide valuable insights into the current problem with the 6.4.0-150600.21.2-default kernel.

Thank you,

-Jacopo