How to set full scene antialiasing in RTX3050 in on-demand mode

anton.vakulenko

New Member
Joined
Aug 17, 2025
Messages
4
Reaction score
0
Credits
32
Dear friends!
In the performance mode Prime profile, there is a page in the settings where I can select anti-aliasing, anisotropic filtering, etc. There I set the maximum parameters and in applications I see high image quality. If I select the on-demand profile, then the page with anti-aliasing settings is missing. Accordingly, in the application I see jagged edges of images (poor anti-aliasing). How can I fix this?
I am using Kubuntu 24.04 and 3050. Drivers proprietary 575.64.03.
I launch the application like this:

Code:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia kicad
 


Here it is
 

Attachments

  • Screenshot_20250817_104102.png
    Screenshot_20250817_104102.png
    109.1 KB · Views: 203
Yes, it's dual gpu laptop. The problem is that when I run app with __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia the image gets worse...
 
gets worse...
NVIDIA On-Demand means that a game or any other program will use iGPU ("i" means integrated) instead of discrete GPU (your Nvidia GPU), and switch to Nvidia only if there is demand, and then switch back to iGPU when there is no demand.

Using iGPU results is poor graphics performance since iGPU is much weaker GPU.

Likely reason why you don't see AA settings when selecting NVIDIA On-Demand is either because iGPU driver doesn't support it or because the setting can't be guaranteed for both GPU's, so it's omitted.

Anyway for gaming you don't want On-Demand profile active, iGPU is always bad for gaming.
 
Here it is
nvidia-settings doesn't support Wayland, so I doubt any settings you change there will do anything for you unless you are using Xorg but looking at just that screenshot you are also using Wayland because if that were opened in Xorg you would have a lot more settings available.
 
Last edited:
NVIDIA On-Demand means that a game or any other program will use iGPU ("i" means integrated) instead of discrete GPU (your Nvidia GPU), and switch to Nvidia only if there is demand, and then switch back to iGPU when there is no demand.

Yes, you are right. But I start application with these environment variables telling OS to use dedicated nvidia gpu for this application:

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia app-name

And still have no image improvement.
 
But I start application with these environment variables telling OS to use dedicated nvidia gpu for this application
Is your game using Vulkan/EGL or GLX? That's the first question you need to answer.

If it's using Vulkan/EGL then __GLX_VENDOR_LIBRARY_NAME should be removed:
To configure a graphics application to be offloaded to theNVIDIA GPU screen, set the environment variable __NV_PRIME_RENDER_OFFLOAD to 1. If the graphics application uses Vulkanor EGL, that should be all that is needed. If the graphicsapplication uses GLX, then also set the environment variable__GLX_VENDOR_LIBRARY_NAME tonvidia, so that GLVND loads theNVIDIA GLX driver.

You can try removing __GLX_VENDOR_LIBRARY_NAME=nvidia and just use:
__NV_PRIME_RENDER_OFFLOAD=1 app-name

Then start the game and test it.
 


Follow Linux.org

Members online


Top