PRIME GPU Render Offloading/GPU on-demand Mode Guide - TUXEDO Computers

  • Notebooks
    • Notebooks/Laptops with preinstalled and configured Linux and more. TUXEDO Computers are individually built computers and PCs being fully Linux-suitable, custom tailored Linux hardware so to say. We deliver all TUXEDOs ready to go so you only ha...
    • 10-14 inch
    • 15-16 inch
    • 17 inch
    • Immediate shipping
    • Business notebooks
    • Gaming-Notebooks
    • Mobility notebooks
    • Deep Learning AI
    • All Notebooks
  • Computers / PCs
    • Computers / PCs with Linux preinstalled & more TUXEDO Computers are individually built computers and PCs being fully Linux-suitable, custom tailored Linux hardware so to say :) We deliver all TUXEDOs ready to go so you only have to unwrap,...
    • Mini Systems
    • Midi Systems
    • Maxi Systems
    • AMD Systems
    • Intel Systems
    • All Systems
  • Accessories
    • Here you will find accessories, components and peripherals for your TUXEDO system. Nothing suitable found here? Get in touch with us directly!
    • Batteries
    • Displays
    • Dockingstations
    • Books
    • Input Devices & Peripherals
    • Bags & Sleeves
    • Fan Merchandise
    • Notebook Power Supplies & Cords
    • Components & Complements
      • Cables
      • Drives
      • Hard Disk Drives 2.5"
      • Memory
      • PC Power Supplies
      • SSDs 2.5"
      • SSDs m.2 (SATAIII and NVMe)
      • WiFi, LAN & Mobile Network
      • Licenses
  • B2B
    • In this category you can find equipment for your company, office, school, university or educational institution and servers and solutions. Appliances with CRM, ERP and merchandise management, cloud storage, cloud server for self-hosting, services...
    • Business notebooks
    • Business computers
  • Novelties
  •  
    • Notebooks
      • 10-14 inch
      • 15-16 inch
      • 17 inch
      • Immediate shipping
      • Business notebooks
      • Gaming-Notebooks
      • Mobility notebooks
      • Deep Learning AI
      • All Notebooks
    • Computers / PCs
      • Mini Systems
      • Midi Systems
      • Maxi Systems
      • AMD Systems
      • Intel Systems
      • All Systems
    • Accessories
      • Batteries
      • Displays
      • Dockingstations
      • Books
      • Input Devices & Peripherals
      • Bags & Sleeves
      • Fan Merchandise
      • Notebook Power Supplies & Cords
      • Components & Complements
        • Cables
        • Drives
        • Hard Disk Drives 2.5"
        • Memory
          • DDR4 DIMM
          • DDR4 SO-DIMM
          • DDR5 DIMM
          • DDR5 SO-DIMM
        • PC Power Supplies
        • SSDs 2.5"
        • SSDs m.2 (SATAIII and NVMe)
        • WiFi, LAN & Mobile Network
        • Licenses
    • B2B
      • Business notebooks
      • Business computers
    • Novelties
  • Settings

  • Deutsch
  • English

  • Customer Account

  • Log in
  ATTENTION: To use our store you have to activate JavaScript and deactivate script blockers!  
Thank you for your understanding!

PRIME GPU Render Offloading/GPU on-demand Mode Guide

Our notebooks usually have a battery-saving iGPU and a powerful but also power-hungry dGPU. You can now run the entire system on one or the other GPU, depending on what you need. However, you have to restart the PC to switch.

Alternatively, the desktop environment and other programs that don't need much graphics performance are calculated on the iGPU and the dGPU is only activated for the individual games and programs that need it. This technology is called OPTIMUS under Windows and PRIME GPU Render Offloading or GPU on-demand mode under Linux.

Validity

This is a short tutorial on how to use PRIME. The sections "Preparation (TUXEDO OS/Ubuntu(-derivative))" and "Start menu and desktop shortcuts (TUXEDO OS/Ubuntu(-derivative) WebFAI with KDE-Plasma)" refer explicitly to TUXEDO OS and / or WebFAI installations. All other explanations in this manual apply to all Linux distributions, including those not based on Ubuntu.

Prerequisites

This guide only applies if the proprietary NVIDIA driver 470.xx or newer or an open-source driver (amdgpu (AMD/Radeon), Nouveau (NVIDIA), i915 (Intel)) is used as a prerequisite. It explicitly does not work if the proprietary Nvidia driver 390.xx or older or the old open source "radeon" driver is/was used. This means that a NVIDIA GeForce 800M or newer or an AMD Radeon R9 or newer as dGPU is required.

Preparation (TUXEDO OS/Ubuntu(-derivative))

1. activate the PRIME/on-demand mode with
sudo prime-select on-demand
2. install tuxedo-dgpu-run with
sudo apt install tuxedo-dgpu-run
3. restart the PC.

Now the desktop environment runs on the iGPU, but the dGPU can be activated for individual programs at any time.

Command Line

For TUXEDO_OS/Ubuntu(-derivatives) WebFAI: Run the command by typing the following
dgpu-run «code to be run»
For other distributions: The dGPU is used if the environment variables __NV_PRIME_RENDER_OFFLOAD=1, __VK_LAYER_NV_optimus=NVIDIA_only, __GLX_VENDOR_LIBRARY_NAME=nvidia and DRI_PRIME=1 are set with the following command: 
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1 «code to be run»
A brief explanation of what these variables do:
  • __NV_PRIME_RENDER_OFFLOAD=1
    • Vulkan: Enable the implicit overlay for offloading to NVIDIA (which reorders the available GPUs so that the NVIDIA dGPUs come first)
    • OpenGL: Make NVIDIA's implementation check if it is running on a PRIME device (and prevent it from crashing in this case)
  • __VK_LAYER_NV_optimus=NVIDIA_only
    •    Vulkan: make the implicit overlay for offloading to NVIDIA remove all non NVIDIA GPUs from the availability list (optional)
  • __GLX_VENDOR_LIBRARY_NAME=nvidia
    • OpenGL: Use NVIDIA's OpenGL implementation (i.e. use the proprietary NVIDIA driver and not Mesa, which only supports the open source drivers, e.g. i915, AMDGPU and Nouveau)
  • DRI_PRIME=1
    • For PRIME devices with discrete AMD GPU or if Nouveau is used, this variable should be sufficient. The other three variables are ignored if the proprietary NVIDIA driver is not installed.

Start Menu and Desktop Shortcuts (TUXEDO_OS/Ubuntu(-derivative) WebFAI with KDE-Plasma)

Right click on a program shortcut Start application with discrete GPU/Run application with discrete GPU. However, this may not work for shortcuts created by different launchers. Here either the launcher itself must be started on the dGPU, or it must be set in the launcher itself, which programs are to be executed with the dGPU. Here is a guide for all known launchers supported on Linux.

 Steam

1. Open the properties of the game/program.



2. In the Launch Options field in the General tab, add the following:

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
__GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1 %command%



Please ensure that this is at the beginning of the line if there is already another entry there.

Lutris

1. In Lutris, select Configure for the game/program.



2. Check the Enable NVIDIA Prime Render Offload option in the System Preferences/System options tab.

3. Click on Save

Heroic

1. Open the Settings of the game



Add the following to the Advanced Options (Environment Variables) field in the Other tab:

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
__GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1


Bottles

1. Select the bottle that contains the game/program.



2. Select Change launch options for the game/program.



3. Insert the following in the input field: 

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
__GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1 %command%

Please ensure that this is at the beginning of the line if there is already another entry there.


4. Click on Save

Minigalaxy

Menu items/shortcuts created by Minigalaxy, unlike shortcuts created by other launchers, work using the method described in the "Start Menu and Desktop Shortcuts" section. So please do not launch games/programs installed via Minigalaxy from the launcher interface, but create a shortcut and run it on the dGPU as described above. For Minigalaxy to create menu items/shortcuts, follow these instructions before installing a game:

1. From the hamburger menu, select Preferences.



2. Activate Create menu shortcuts.

3. Click on Save.

4. Install the desired game.


PlayOnLinux

Shortcuts created by PlayOnLinux, unlike shortcuts created by other launchers, work using the method described in the "Start Menu and Desktop Shortcuts" section. So please do not launch games/programs installed by PlayOnLinux via the launcher interface, but create a shortcut and run it on the dGPU as described above.

Rare

Rare does not currently allow you to set individual environment variables per game (but the feature will come in one of the next versions).
To use the dGPU anyway:
1. if Rare is started: quit Rare completely (including the icon in the system section/system tray in the system tray).
2. start Rare on the dGPU (see the section "Command line" or "Start menu and desktop shortcuts").
3. start the game.
4. exit Rare completely after finishing the game. Otherwise, the dGPU will remain on and continue to consume power.

GameHub

GameHub currently does not allow to set individual launch options easily per game (the feature has already been worked on, possibly it will come in one of the next versions).
To use the dGPU anyway:
1. if GameHub is started: quit GameHub completely.
2. start GameHub on the dGPU (see "Command line" or "Start menu and desktop shortcuts")
3. start the game
4. quit GameHub completely after finishing the game. Otherwise, the dGPU will remain on and continue to consume power.

itch

itch does not currently allow you to set individual startup options per game.
To use the dGPU anyway:
1. if itch is started: quit itch completely (Including the icon in the system section/system tray in the system tray).
2. start itch on the dGPU (see "Command line" or "Start menu and desktop shortcuts")
3. start the game
4. quit itch completely after finishing the game. Otherwise, the dGPU will remain on and continue to consume power.

Pegasus Frontend

Pegasus Frontend unfortunately does not currently allow you to set individual launch options per game.To still use the dGPU on games it launches directly:
1. when Pegasus Frontend is started: quit Pegasus Frontend.
2. start the Pegasus Frontend on the dGPU (see "Command Line" or "Start Menu and Desktop Shortcuts")
3. start the game
4. quit the Pegasus frontend again after finishing the game. Otherwise the dGPU will stay on and continue to consume power.
If the Pegasus frontend does not start the game directly but e.g., via Steam, please read the explanation about Steam above.

Windows Launcher via Wine (Epic Games Store, Origin, Ubisoft Connect, etc.)

We advise against using the Windows Launcher via wine directly because of the better alternatives in the form of Lutris and Heroic. Even in Lutris, for example, the Epic Games Store should not be installed and used directly, but the games individually. In this case, Lutris installs the Epic Games Store, if needed, in the background itself and the games remain cleanly separated from each other so that Lutris can apply an individual wine configuration per game.

If you still want to use a Windows launcher directly and enable PRIME, the procedure is the same as for the other launchers that don't allow individual launch options per game (itch, Pegasus Frontend). This is due to the principle that these options have to be set before wine is launched.










 

Service & Support

Welcome to TUXEDO Support - how can we help you?

Linux at TUXEDO

Are you wondering if Linux is right for you? Our team will be happy to answer your questions and explain details about the free operating system at TUXEDO.
Let the advantages and services convince you!

Hardware

Notebook, PC, both - and which model? Our technical service team also provides advice on selection, equipment and puts together suitable offers for your technical requirements.

Questions and Answers

Frequently asked questions and the corresponding answers can be found here. If you cannot find a solution to your problem here, it is also worth taking a look at the instructions section.


Find out more

Instructions and Tips

Most situations can be solved quickly and easily by yourself. This saves you time and you can use your device directly again. We provide you with instructions, first steps and short tips for all TUXEDO models.


Find out more

System Recovery

Even in the case of a case, you don't have to rely on us: Your device can be reset to the factory settings - completely automatically! Everything is included with your order and you can get started right away.


Find out more

Technical Service

Our competent technicians are also happy to help with service requests. You have different possibilities to contact us. We are personally there for you Monday to Friday from 9 am to 1 pm and from 2 pm to 5 pm. But also outside these times, you can contact our team with your request by e-mail.
An extra function is available in your customer account for repair requests (RMA).

 

Contact

We are personally there for you Monday to Friday from 9 am to 1 pm and from 2 pm to 5 pm (German time). But also outside these times you can contact our team with your request by e-mail. Please include your customer number, the model name of your laptop or PC and as detailed a description of your request as possible. The more details you give us, the faster we can process your request!

We might not be able to answer questions about third party hardware or software. For questions about popular open source software (Thunderbird, Filezilla...) please contact a forum e.g. ubuntuforums.org. The research effort for application specific setup is immense and not manageable at the current time. Basic compatibility questions e.g. are of course still welcome!

An extra function is available in your customer account for repair requests (RMA).

 

Image of Tux

Linux compatible
image of 5 years warranty badge

Up to 5 Years Warranty
stylized image of a Rocket

Immediately ready for use
image of germany with a wrench in the center

Assembled in Germany
image of germany with a section sign in the center

German Data Privacy
stylized image of a tech support worker

German Tech Support

Guidance

  • Service & Support
  • B2B
  • Newsletter


Mo - Fr: 9-13 & 14-17h
+49 (0) 821 / 8998 2992

About TUXEDO

  • Why TUXEDO
  • TUXEDO Control Center
  • TUXEDO Tomte
  • TUXEDO WebFAI
  • TUXEDO OS
  • TUXEDO Aquaris
  • Individual logos and keyboards

Help & Support

  • Downloads & Drivers
  • System Diagnostics
  • Frequent questions (FAQ)
  • Instructions
  • Help with my device
  • Revocation right
  • Shipping costs & delivery times
  • Payment methods

News & more

  • News & Blog
  • Press
  • Newsletter
  • Event Calendar
  • Jobs & Career
  • Sponsoring

Community


Your Linux specialist since 2004

  • Privacy policy
  • Imprint
  • Battery disposal
  • Conditions of Use

Shipping costs & delivery times

We ship your order to almost all countries, in Europe mostly even free of charge! The respective shipping costs and the cost threshold above which we will cover the costs for you can be found here or for international shipping in the table below.

 


Free shipping within Germany

There are no shipping costs within Germany for goods worth €100 or more.

 

7.99 € shipping cost at max!

No matter how many small articles you order, such as USB stick card reader, LAN adapters or fan articles, with us, you pay a maximum of 7.99 € shipping costs.

  • 7.99 € shipping fee for all orders below 100 € of goods
  • Free shipping from 100 € total value of goods

You can check all occurring shipping costs or if we even deliver for free right before sending your order!

 


International delivery

Here are the shipping costs as well as the amount threshold for your order. The threshold is referring to the total amount of your order, which enables free shipping.
 

Taxes and customs outside the EU:

For orders outside the EU there might be additional duties, taxes or charges needed to be paid by the customer. These don't have to be paid to the supplier, but to local authorities. Please check for any details with your local customs or tax authorities before ordering! But as a benefit you don't have to pay German taxes, this means you save up to 19%!
Due to the Brexit and the associated changes, there may be delays of several days in customs clearance on site for deliveries to the UK. This is not within our sphere of influence, so we ask for your understanding.

 

 
⚠️   Countries to which we unfortunately cannot ship, and information on how you can still order from us, can be found here!
Country Shipping Fee Free Shipping From
Albania 99,00 EUR -
Andorra 59,00 EUR -
Belarus Temporarily no delivery possible 59,00 EUR -
Belgium 8,49 EUR 100 EUR
Bulgaria 15,99 EUR 160 EUR
Denmark 8,49 EUR 100 EUR
Estonia 15,99 EUR 160 EUR
Faroe Islands 129,00 EUR -
Finland 14,99 EUR 150 EUR
France 9,99 EUR 120 EUR
Greece 22,90 EUR -
United Kingdom 9,99 EUR 120 EUR
Hong Kong 199,00 EUR -
India 199,00 EUR -
Ireland 14,99 EUR 150 EUR
Island 129,00 EUR -
Italy 9,99 EUR 120 EUR
Japan 99,00 EUR -
Canada 99,00 EUR -
Croatia 34,90 EUR 500 EUR
Latvia 15,99 EUR 160 EUR
Lithuania 15,99 EUR 160 EUR
Luxembourg 8,49 EUR 100 EUR
Macau 199,00 EUR -
Malta 34,90 EUR 500 EUR
Macedonia 59,00 EUR -
Moldova 199,00 EUR -
Monaco 19,00 EUR -
Montenegro 99,00 EUR -
Netherlands 8,49 EUR 100 EUR
Norway 14,99 EUR 150 EUR
Austria 8,49 EUR 100 EUR
Poland 15,99 EUR 160 EUR
Portugal 14,99 EUR 150 EUR
Romania 15,99 EUR 160 EUR
San Marino 9,99 EUR 120 EUR
Sweden 14,99 EUR 150 EUR
Switzerland 13,99 EUR 150 EUR
Serbia 34,90 EUR 500 EUR
Singapore 199,00 EUR -
Slovakia 15,99 EUR 160 EUR
Slovenia 15,99 EUR 160 EUR
Spain (without Canary Islands) 14,99 EUR 150 EUR
Czech Republic 15,99 EUR 160 EUR
Ukraine Temporarily no delivery possible 129,00 EUR -
Hungary 15,99 EUR 160 EUR
USA including Hawaii 99,00 EUR -
United Arabic Emirates 199,00 EUR -
Cyprus 34,90 EUR 500 EUR
Qatar 199,00 EUR -
⚠️ Countries to which we unfortunately cannot ship, and information on how you can still order from us, can be found here!

 


Time of delivery

If not stated differently in the article's description, we deliver goods in:

  • 7-10 working days within Germany
  • 10-12 working days outside Germany

For orders paid in advance, the delivery time starts with receipt of the payment. Please keep in mind that there is no delivery on Sundays or on holidays.
For goods delivered as download, there will be no shipping fees due.
Access data for downloads are sent out via e-mail 1-3 working days after contract formation. For orders with advanced payment, we will deliver after receiving the payment. You can download the item by using the link sent to you via e-mail.

Self-pick-up of orders is not possible, unfortunately.