Start a Conversation

Unsolved

C

1 Rookie

 • 

9 Posts

39

April 11th, 2025 10:09

G15 5520 and Other Laptops Missing ACPI Support for Advanced Optimus on Linux (NVPCF not exposed)

NOTE: THE ISSUE I AM STATING, AND THE SOLUTION I AM PROPOSING ARE NOT SPECIFIC TO UBUNTU. THEY APPLY TO ALL DISTRIBUTIONS USING THE LINUX KERNEL.

Hi all,

I've been using Ubuntu Linux on my Dell G15 5520 (intel 12th gen i9-12900H wt. Nvidia RTX 3070 ti) for a while. This laptop seems to advertise support with Ubuntu (not 100% sure, but there's an ISO for it), but I've been running into some issues regarding how the BIOS (version 1.31.0) exposes Nvidia power management featuers to Linux operating systems (OS).

The main features that I found are impacted are Nvidia Dynamic Boost and Advanced Optimus, which are not properly exposed to the Linux kernel (which the Nvidia proprietary drivers run on).
These features work fine on Windows on my laptop, but they break on Linux. When diagnosing the issue, I found that the nvidia-powerd service outputs the following information:

Apr 11 17:44:40 AdamLaptop /usr/bin/nvidia-powerd[1313]: SBIOS support not found for NVPCF GET_SUPPORTED function
Apr 11 17:44:40 AdamLaptop /usr/bin/nvidia-powerd[1313]: No matching GPU found
Apr 11 17:44:40 AdamLaptop /usr/bin/nvidia-powerd[1313]: Failed to initialize Dynamic Boost
Apr 11 17:44:40 AdamLaptop /usr/bin/nvidia-powerd[1313]: Failed to detach GPU id 256
Apr 11 17:44:40 AdamLaptop /usr/bin/nvidia-powerd[1313]: Failed to initialize Dynamic Boost
Apr 11 17:44:40 AdamLaptop /usr/bin/nvidia-powerd[1313]: Failed to detach GPU id 256

NOTE: Only the first 2 messages are actually going to be discussed. The rest are there for the sakes of providing full context of the error

I'm no expert when it comes to firmware, but I've got a basic understanding, so here's a rundown of what I think is going on:

The linux Nvidia proprietary drivers depend on the System BIOS (SBIOS) exposing support for nvidia features like dynamic boost and Advanced Optimus through the NVPCF ACPI interface, using the ACPI events daemon (daemon is akin to service on windows).

I do not think the Dell G15 BIOS exposes the NVPCF ACPI functions properly to the Linux kernel. This leads to Nvidia's proprietary driver's subsystems that depend on this service (i.e nvidia-drm or nvidia-powerd) to crash, causing the kernel to ignore these features.


I don't really have the money to dish out on another laptop, and I believe that other Linux laptops do have support for the features I need (i.e adv. optimus). From research, recent Nvidia drivers (560+) have exposed the feature to the OS. I am currently using version 570.133.07.

I wanted to bring awareness to this issue in hopes that dell technicians and engineers could find a way to expose the neccessary ACPI methods to allow subsystems like nvidia-powerd to function on linux, or maybe give me some insight as to the problems with solving this issue.

I also sincerely hope for better Linux integration in the Dell laptop ecosystem, so if this bears fruit, maybe we could do a deeper dive into some of the other bugs in Linux. After all, I'm adamant and determined enough to do a significant amount of debugging to solve these issues.

9 Legend

 • 

7.6K Posts

April 11th, 2025 21:56

Your system does not support Ubuntu, only Windows.

1 Rookie

 • 

9 Posts

April 12th, 2025 03:39

hmm. Not to sound annoying, but are you 100% sure?

On the Dell Support page, while they don't explicitely provide drivers, they provide a Dell Recovery Image for Ubuntu 20.04 (LTS).

Frankly, I don't mind if the OS in itself isn't supported, but it would be really nice if a small patch was released or something to allow features like Adv. Optimus, Nvidia Dynamic Boost 3.0 and Intel turbo boost max 3.0 to work...

I could be mistaken about the support, but is it possible for some sort of patch to release to enable support for these features? (I have no clue how hard it would be, but it would be REALLY nice if the Dell G-Series lineup had better Linux compatibility.)

Anyways, here's the image that made me think that the Dell G-series had Linux support. Also, I know Dell offers recovery images and all that for linux (specifically for Dell's OS recovery feature) so I could 100% be mistaken, and my bad if I am.

Also, the Dell Windows Universal Update application has no business there 🤣

Anyways, the Dell G15 5520 is Ubuntu certified so please, if possible, could I enquire about potentially adding patching for these features on the Linux-esq OSs?

I know I am grasping at straws here, but these features already have complete support on Windows, and surely it's possible to expose them to Linux.

Linux is designed to be cross-compatible with many OSs, including Ubuntu, while exposing as much of the hardware and its features to the Kernel as possible.

If a simple patch could be made to expose these features via ACPI, or some other system, it could expand the range of fully-functional OSs tenfold, and that'd really make my day due to how Dell laptops tend to stand out from their exceptional support-base and amazing prices.

(edited)

1 Rookie

 • 

9 Posts

April 12th, 2025 03:46

Note: At this point, this is more of a feature-request or question for Dell Engineers/other, but I'm honestly happy with any information I can get regarding this issue.

9 Legend

 • 

7.6K Posts

April 12th, 2025 06:04

In my reply, I posted a screengrab of support OS from G15 5520 Setup and Specifications 

That could be incorrect since you found Ubuntu 20.04 LTS being listed as supporting OS as well.

When requesting for support, your G15 5520 must be installed with the support operating system your system was shipped with and without any third party components attached or installed.

1 Rookie

 • 

9 Posts

April 12th, 2025 07:02

Dude, I just spent an hour writing a message. then it got whiped by a refresh.....
Ok, well it seems my laptop supports Ubuntu, but to be frank, I did originally have windows 11 on here. Also, all my hardware (bar a keycaps and a wifi card which I replaced when it began faulting)

Anyways, regardless, I decompiled my ACPI table through some linux tools (such that the bios thinks I'm using Windows). I have no clue what's really in it, and I don't want to be complacent with this.

I wanted to ask, is it possible for you to raise this issue with some Dell Engineers or something? I know you may not actually work for Dell, but it'd be nice to have someone who may have some insight into the bigger picture.

Best case scenario, maybe we can find a solution to the issue.

Anyways, I know I may be asking for a lot, but it'd be genuinely amazing if we could get support, somehow.

1 Rookie

 • 

9 Posts

April 12th, 2025 07:03

Also, I still have my old wifi card. it's just not installed.

1 Rookie

 • 

9 Posts

April 12th, 2025 07:06

Oh, yeah, and I know I shouldn't be saying this as someone who really doesn't develop firmware, but there seems to already be an in-built support for Linux, and support for NVPCF (maybe exclusive to windows though) on the ACPI tables.

9 Legend

 • 

7.6K Posts

April 12th, 2025 07:21

I don't work for Dell but I brought attention to the Community Manager about the documentation for this system.

Only when there are multiple reports about drivers or firmware, the issue would be brought to attention of Dell engineers for resolutions.  From what I've seen so far, requesting for widely Linux support is not one of them.

1 Rookie

 • 

9 Posts

April 12th, 2025 08:24

Ok. Until we see some more influx of people with the same issue, I might see what I can do then.

Also, regarding my previous statement about this is issue affecting the wider Linux community, despite the connotations, it was more of a statement about the probable cause, rather than an actual OS fact.

I don't mean to try explain anything to you, because you may already know this, but just to bring some light as to the context of my statment:

The reason that I stated this would aid in "Linux support" rather than "Ubuntu support" is because Linux is not an OS. It is a kernel between hardware and software that the OS (Ubuntu) uses to manage resources, among other things. I was really hoping to try and get support for the ACPI headers or what-not on this laptop mainly because it would mean that any OS using the linux kernel would have improved hardware functionality.

Anyways, SINCERELY, thanks for the help. I'll try see what I can do in the meantime.

Maybe I'll try find people in the Linux community who may have the same issue, or I could try brute-force a fake ACPI table for debugging purposes (maybe I'll be able to make a custom patch).

Anyways, thanks for your willingness to help again, although I wouldn't say the issue is solved just yet.

(edited)

1 Rookie

 • 

9 Posts

April 12th, 2025 08:39

I read over the previous message real quick.

It sounds kinda rude, but that's not the intent.

I know you probably know a whole bunch of stuff about this too, and that I don't need to explain things. I left that explaination in mainly for anyone else reading this who may not be enlightened to this kinda stuff.

Community Manager

 • 

56.2K Posts

April 12th, 2025 11:38

We offered the Linux Ubuntu ISO recovery image as a consideration to Linux users. The installation and usage in Linux Ubuntu are not supported by Dell.

I doubt that the engineers will spend the time and monetary resources to fix this on the 2022 released G15 5520.

No Events found!

Top