Page: 1, 2  Next

[RESOLVED] Unable to boot under kernel 6.1
Fahrenheit451
Status: Curious
Joined: 08 Feb 2023
Posts: 5
Reply Quote
Hi. I am able to boot my PopOS 22.04 system under any kernel version 6.0.x and below, but get a blank/black screen when I switch to any kernel version 6.1.x. There is some initial disk activity when booting 6.1 but that stops after a few seconds and the screens remain blank. Any ideas on what I can do to narrow down the issue?

I am running liquorix with the following kernel parameters as I run virtual machines under PopOS where I pass in the second GPU:

"quiet splash iommu=pt intel_iommu=on pcie_acs_override=downstream"

The second GPU is using a virtio driver.

Here are my system specs if that is of any use:

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy


*-core
description: Motherboard
product: Z97-A-USB31
vendor: ASUSTeK COMPUTER INC.
version: Rev 1.xx
*-firmware
description: BIOS
vendor: American Megatrends Inc.
version: 3503
date: 04/18/2018
*-memory
description: System Memory
physical id: 46
slot: System board or motherboard
size: 32GiB
*-bank:0..4
description: DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
product: CMZ16GX3M2A1866C10
vendor: AMI
size: 8GiB
width: 64 bits
clock: 1333MHz (0.8ns)
*-cpu
description: CPU
product: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
slot: SOCKET 1150
size: 799MHz
capacity: 4400MHz
width: 64 bits
clock: 100MHz
*-pci:0 *-display
description: VGA compatible controller
product: GP106 [GeForce GTX 1060 6GB]
*-pci:1 *-display
*-display
description: VGA compatible controller
product: GM206 [GeForce GTX 960 4GB]

Thanks and regards.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Show at a minimum: inxi -bxxz

much more useful for graphics and display issues.

also, get rid of that 'quiet splash' from your grub kernel boot parameters, 10 to 1 it's booting fine, but the best way to not know is to use those values.

Keep in mind: 'boot' means that the kernel boots, and the operating system is running.
Desktop not starting is totally non related to that process, and is almost never related to boot issues, and almost always related to desktop/xorg/wayland/driver issues.
Back to top
Fahrenheit451
Status: Curious
Joined: 08 Feb 2023
Posts: 5
Reply Quote
Here you go:

:: Code ::
System:
  Kernel: 6.0.0-13.3-liquorix-amd64 x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: GNOME 42.5 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3
    Distro: Pop!_OS 22.04 LTS base: Ubuntu 22.04 LTS Jammy
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A serial: N/A
  Mobo: ASUSTeK model: Z97-A-USB31 v: Rev 1.xx serial: <filter>
    UEFI: American Megatrends v: 3503 date: 04/18/2018
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M325
    serial: <filter> charge: 50% (should be ignored) status: N/A
CPU:
  Info: quad core Intel Core i7-4790K [MT MCP] arch: Haswell speed (MHz):
    avg: 4001 min/max: 800/4001
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Gigabyte
    driver: nvidia v: 515.65.01 pcie: speed: 8 GT/s lanes: 8 ports:
    active: none off: DP-1,DVI-D-1,HDMI-A-1 empty: DVI-D-2 bus-ID: 01:00.0
    chip-ID: 10de:1c03
  Device-2: NVIDIA GM206 [GeForce GTX 960] vendor: eVga.com.
    driver: vfio-pci v: N/A pcie: speed: 2.5 GT/s lanes: 8 bus-ID: 02:00.0
    chip-ID: 10de:1401
  Display: server: X.Org v: 1.21.1.3 compositor: gnome-shell driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
    gpu: nvidia,vfio-pci resolution: 1: 1920x1080 2: 1920x1080~60Hz
    3: 1920x1080~60Hz
  OpenGL: renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
    v: 4.6.0 NVIDIA 515.65.01 direct render: Yes
Network:
  Device-1: Intel Ethernet I218-V vendor: ASUSTeK driver: e1000e v: kernel
    port: f040 bus-ID: 00:19.0 chip-ID: 8086:15a1
Drives:
  Local Storage: total: 912.91 GiB used: 126.72 GiB (13.9%)
Info:
  Processes: 313 Uptime: 1h 30m Memory: 31.29 GiB used: 7.95 GiB (25.4%)
  Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/12
  Packages: note: see --pkg apt: 2962 Shell: Sudo v: 1.9.9
  running-in: gnome-terminal inxi: 3.3.13

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Hmm, try: inxi -Gxxz

that will show the monitors etc. Forgot that -bxxz shows the shorter graphics form.

As I would have bet, nvidia drivers. vfio-pci is a new one for me, never seen that one before.

The goal is to see which device is driving your monitors.

10 to 1 odds that the nvidia driver doesn't support the latest kernel, keep in mind, free drivers mean the code is open and free, and it's generally reasonably safe to keep the graphics at latest kernel, that's not the case with nvidia drivers.
Back to top
Fahrenheit451
Status: Curious
Joined: 08 Feb 2023
Posts: 5
Reply Quote
vfio is for passing through the 2nd GPU in QEMU/KVM. GTX 1060 is the primary GPU with three monitors, and the second GPU is connected to one of the monitors on the monitors 2nd HDMI input.

Here's the graphics section:

:: Code ::
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Gigabyte driver: nvidia v: 515.65.01
    pcie: speed: 8 GT/s lanes: 8 ports: active: none off: DP-1,DVI-D-1,HDMI-A-1 empty: DVI-D-2
    bus-ID: 01:00.0 chip-ID: 10de:1c03
  Device-2: NVIDIA GM206 [GeForce GTX 960] vendor: eVga.com. driver: vfio-pci v: N/A pcie:
    speed: 2.5 GT/s lanes: 8 bus-ID: 02:00.0 chip-ID: 10de:1401
  Display: server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1 compositor: gnome-shell v: 42.5
    driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia,vfio-pci
    tty: 108x47
  Message: GL data unavailable in console for root.


I am reinstalling 6.1 and will boot without the quiet and splash kernel parameters and update shortly.

Thanks for the assistance.
Back to top
Fahrenheit451
Status: Curious
Joined: 08 Feb 2023
Posts: 5
Reply Quote
You were spot on. I went back up to nvidia driver v525 and the system boots up fine with the 6.1 kernel. I'd actually downgraded to 515 from 525 a few months back due to display issues, but now it looks good on 6.1.

Thanks again for the insights.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
I've done this stuff a long time, but have never seen that driver driving an nvidia device. Thanks for clarifying that.

Note also a terminology issue, your system was always booting up fine, what was happening was that when xorg tried to start, it crashed because the nvidia driver didn't support the kernel.

That's an important distinction, booting is one thing, xorg / wayland starting is a totally different thing.

This is one of the things that makes supporting linux desktop users hard.

The easy way to see that the system has booted fine when splash and quiet are being used is to simply wait until the system seems quiet, and go: ctrl + alt + f2 which should generally shift you to the console login screen. On some systems, the graphics is on F1, though usually it's on F6. F2 is almost never used by graphics.

As soon as you see the login screen, you know the system booted fine, and that the display manager or compositor in the case of wayland failed to start, and in the case of nvidia, the driver failed.

You'll get much more graphics data with -Gaz if you don't use root, either regular user + sudo, or just regular user, will give a complete gfx report.
Back to top
Fahrenheit451
Status: Curious
Joined: 08 Feb 2023
Posts: 5
Reply Quote
Hi. The vfio driver is used when you want to pass through a device to a virtual machine. In my case I have a dual GPU motherboard with two GPU's, so I want my first GPU for the host (pop os in my case) and the second to use the vfio-pci driver so it can be passed through to some guest OS. The guest OS will see the GPU as a native device and use it accordingly when the appropriate driver is installed on the guest.

This pass through guide is what I used and explains things: https://forum.level1techs.com/t/vfio-in-2019-pop-os-how-to-general-guide-though-draft/142287

Thanks again for the help.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
well learn something new every day, lol, thanks.

How do you get the system to use the pass through driver? never mind, heh, directions you linked to, no wonder I never heard of this, it's non trivial to get setup.

This kind of general exception is useful for me to know about since it can help explain future issues I might come across in inxi.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
I've also updated sgfxi, which is largely only in maintenance mode now, to add no 515/520 nvidia driver support for 6.x kernels.
Back to top
Display posts from previous:   
Page: 1, 2  Next
All times are GMT - 8 Hours