Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 6.12.0 realtime and Nvidia drivers [fail]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Babiz
n00b
n00b


Joined: 18 Feb 2024
Posts: 21
Location: Dolomiti, Italy

PostPosted: Thu Nov 21, 2024 7:44 pm    Post subject: Kernel 6.12.0 realtime and Nvidia drivers [fail] Reply with quote

Hi. I'm just try out new gentoo-sources 6.12.0 on my Laptop with Nvidia dGPU Dell Inspirion 7510 Plus.

So I do "make oldmodconfig" and after short review of my .config, I'll build successfully the kernel image,
I want to try out the new features like Fully Preemptible Kernel (Real-Time) and better support for latest Intel platform power management, RAPL etc...

Well after do "make modules_install & make install" I rebooted so fine (I setup UKI with dracut no initrd and reFind detects new kernel with no other action needed)

So, after reboot on 6.12 landed to VT shell, cause "make oldmodconfig" not add intel i915 support for unknown reason, then I just review again my .config and enable i915 graphics driver later after step following below.

At this stage when try to emerge @x11-modules-rebuild , it fails compile phase of
x11-drivers/nvidia-drivers-565.57.01-r3:0/565::gentoo

Unlucky I no get more logfile now, I'm return back to Preemptible Kernel (Low-Latency Desktop) instead of Fully Preemptible Kernel (Real-Time) as I want to try out.
I see only few lines of nvidia-drivers ebuild log, calls some check on CONFIG_PREEMPT and this means unable to work with CONFIG_PREEMPT_RT.

This is the facts, only for ask here if this is acceptable issue or not... nvidia-drivers is like a pain to get working on my Inspirion laptop, I know issues about power management / suspend & resume,
over Wayland is complete broken, but I'll write details about on another topic cause I want to full debug this issue in the future...

Here my emerge --info below:
Your paste can be seen here: https://bpa.st/SAMQ

Thank to all you reading, and you are welcome if want to talk about it 8O !
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2872

PostPosted: Fri Nov 22, 2024 12:47 am    Post subject: Reply with quote

You "can" override NVIDIA's sanity check by setting IGNORE_PREEMPT_RT_PRESENCE=1, but be warned that it's not there for fun and *could* result in various issues like the whole system randomly crashing with kernel panics.

NVIDIA itself also won't be truly RT as far as I understand it and could give poor results. If really need RT for e.g. professional audio work then you likely don't want to use nvidia-drivers.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1220
Location: Massachusetts USA

PostPosted: Fri Nov 22, 2024 1:56 am    Post subject: Reply with quote

Kernel 6.12 - booting hanged in real PREEMPT_RT mode has a link to a patch for PREEMPT_RT. It is a large patch.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum