You are not logged in.

#1 2024-05-04 14:39:34

Neonci
Member
Registered: 2024-05-04
Posts: 6

Nvidia discrete graphics not working on linux-zen

I have an optimus laptop with zen kernel and nvidia-dkms drivers. When i switch discrete graphics to switchable graphics in my bios settings the system works fine, but with discrete graphics i just see a blinking cursor after booting, i tried to restart gdm.service but it didnt do anything

Kernel: 6.8.9-zen1-1-zen GPU: NVIDIA GeForce RTX 3050 Mobile CPU: I5 11400H

status of gdm.service: active(running) enabled Gdm: child process -814 was already dead Gdm: GdmDisplay: session never registered, failing Gdm: child process -814 was already dead Gdm: GdmDisplay: session never registered, failing Gdm: child process -827 was already dead Gdm: GdmDisplay: session never registered, failing Gdm: child process -827 was already dead Gdm: GdmDisplay: session never registered, failing

Offline

#2 2024-05-04 14:56:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,277

Re: Nvidia discrete graphics not working on linux-zen

dkms status

https://archlinux.org/packages/extra/x8 … n-headers/

Otherwise please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#3 2024-05-04 18:17:52

Neonci
Member
Registered: 2024-05-04
Posts: 6

Re: Nvidia discrete graphics not working on linux-zen

seth wrote:
dkms status

https://archlinux.org/packages/extra/x8 … n-headers/

Otherwise please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

 
http://0x0.st/XXIY.txt
there is a log

nvidia/535.171.04, 6.8.8-zen1-1-zen, x86_64: installed

Also i tried dkms nvidia drivers, they are both not working

Last edited by Neonci (2024-05-04 20:51:59)

Offline

#4 2024-05-05 07:45:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,277

Re: Nvidia discrete graphics not working on linux-zen

мая 04 21:08:55 laptop kernel: Linux version 6.8.9-zen1-1-zen (linux-zen@archlinux) (gcc (GCC) 13.2.1 20240417, GNU ld (GNU Binutils) 2.42.0) #1 ZEN SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:48:53 +0000
мая 04 21:08:55 laptop kernel: pci 0000:01:00.0: [10de:25e2] type 00 class 0x030000 PCIe Legacy Endpoint
мая 04 21:08:55 laptop systemd-modules-load[362]: Failed to find module 'nvidia-uvm'

You've an nvidia GPU but the kernel you're booting is newer than the one dkms built a module for.
=> Make sure to have the linux-zen-headers installed and rebuild the dkms modules. Pay attention to any errors.

Offline

#5 2024-05-05 08:54:37

Neonci
Member
Registered: 2024-05-04
Posts: 6

Re: Nvidia discrete graphics not working on linux-zen

The linux-headers installed and i rebuilt dkms modules, but nothing changed

Last edited by Neonci (2024-05-05 08:54:58)

Offline

#6 2024-05-05 11:10:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,277

Re: Nvidia discrete graphics not working on linux-zen

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

When you say "nothing changed", does that include the dkms status, ie. is there still no module for the kernel you're booting?

uname -a
pacman -Qs | 'kernel|nvidia'
dkms status
lsmod | grep nvid

Offline

#7 2024-05-05 11:26:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Nvidia discrete graphics not working on linux-zen

Neonci wrote:

The linux-headers installed and i rebuilt dkms modules, but nothing changed

Who said anything about linux-headers?

Offline

#8 2024-05-05 11:45:42

Neonci
Member
Registered: 2024-05-04
Posts: 6

Re: Nvidia discrete graphics not working on linux-zen

After booting i still see missing 'nvidia-uvm' module.

    Interface for userspace programs to export a filesystem to the Linux kernel
    Linux kernel packet control tool (using legacy interface)
    Linux kernel module management tools and library
    Userspace interface to kernel DRM services (32-bit)
local/lib32-nvidia-utils 550.78-1
    Userspace interface to kernel DRM services
    Library providing an API to the in-kernel connection tracking state table
    Low-level library for netfilter related kernel/userspace communication
    The Linux kernel and modules
    The Linux ZEN kernel and modules
    Headers and scripts for building modules for the Linux ZEN kernel
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/nvidia-dkms 550.78-1
local/nvidia-prime 1.0-4
local/nvidia-settings 550.78-1
local/nvidia-utils 550.78-1
local/opencl-nvidia 550.78-1

Linux laptop 6.8.9-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:48:53 +0000 x86_64 GNU/Linux
nvidia/550.78, 6.8.9-zen1-1-zen, x86_64: installed
nvidia             60510208 0 

Offline

#9 2024-05-05 11:52:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,277

Re: Nvidia discrete graphics not working on linux-zen

seth meant to wrote:

pacman -Qs 'kernel|nvidia'

but the kernel module now exists and gets loaded.
=> Post an updated system journal

Offline

#10 2024-05-05 12:18:34

Neonci
Member
Registered: 2024-05-04
Posts: 6

Re: Nvidia discrete graphics not working on linux-zen

https://0x0.st/XXkN.txt

Last edited by Neonci (2024-05-05 12:18:50)

Offline

#11 2024-05-05 12:20:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Nvidia discrete graphics not working on linux-zen

мая 05 15:14:15 laptop systemd-modules-load[355]: Module 'nvidia_uvm' is deny-listed (by kmod)

Why did you do this? See /etc/modules-load.d/*

Offline

#12 2024-05-05 12:33:22

Neonci
Member
Registered: 2024-05-04
Posts: 6

Re: Nvidia discrete graphics not working on linux-zen

Solved the problem by deleting bumblebee
Thanks for help

Offline

#13 2024-05-05 13:22:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,277

Re: Nvidia discrete graphics not working on linux-zen

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB