37
votes
How NVIDIA On-Demand option works in NVIDIA X Server Settings?
Ok I finally figured it out.
As this moment, it appears that NVIDIA can do offload rendering for OpenGL and Vulkan apps.
In order to enable this offload rendering, you have to put the Prime profile on ...
- 965
26
votes
How do I install the Nvidia drivers?
First of all you should identify your NVIDIA graphics hardware - so open a terminal and execute:
lspci -k | grep -EA2 'VGA|3D'
The following options should not all be taken.
Stop when you reach what ...
- 30.6k
20
votes
Accepted
ATI/Intel hybrid graphics 16.04 LTS
To use the AMD Graphics card, execute this command:
DRI_PRIME=1 ./executable
If you want to run a Steam game with AMD Graphics Card, you should set the Game Launch Options on Steam with this command:
...
- 216
18
votes
Accepted
Can't get internal and external monitor working simultaneously with 20.04 on laptop with AMD Ryzen 7 4800H and Nvidia RTX 2060
I managed to the the AMD graphics working using the experimental support for Renoir in the Linux kernel that ships with Ubuntu 20.04.
You need to add amdgpu.exp_hw_support=1 to /etc/default/grub.
To ...
- 196
14
votes
Accepted
How NVIDIA On-Demand option works in NVIDIA X Server Settings?
From: Part I. Installation and Configuration Instructions
Chapter 35. PRIME Render Offload
PRIME render offload is the ability to have an X screen rendered by one GPU, but choose certain applications ...
- 97.8k
13
votes
How NVIDIA On-Demand option works in NVIDIA X Server Settings?
as extension to Md Narimani answer:
i can confirm this is actually working for me on kubuntu 19.10 with nvidia driver version 440
some background info can be found at Chapter 34. PRIME Render Offload
...
12
votes
Accepted
NVIDIA card for CUDA and AMD card for display on Ubuntu 16.04
Before starting I recommend to install ssh in order to be able to shutdown the system remotely if something goes wrong. To do so use this command:
sudo apt-get install ssh
and to shutdown your ...
- 451
11
votes
Intel/AMD Hybrid graphics Ubuntu 18.04
I have the exact same setup (Intel Latitude E5570 / Hybrid graphics, Intel/AMD). I have installed Ubuntu 18.04 very recently.
Here are my experiences:
Although I marked Install third-party software ...
10
votes
How to set up nVidia Optimus/Bumblebee in 14.04
I have been facing the same issue for quite some time. I had to reference many article online however I never got any help.
So I wrote a blog post of my own and I got very positive response. Many ...
- 204
7
votes
Discrete graphics always DynOff
On my Ubuntu 18.04, I solved it this way. There is no need to edit /etc/default/grub file.
Check that the integrated GPU is used by default by running glxheads
$ glxheads ...
- 191
7
votes
How to turn off nvidia (hybrid graphics)
I've been struggling repeatedly on my Asus N55S with an NVidia GT 635M. Especially after the upgrade to Ubuntu 14.04. NVidia is just so evil with the Linux community and its drivers are a well known ...
- 1,030
7
votes
Accepted
choose which GPU to use for each application
COPY-PASTED FROM HERE
The current version of nvidia-prime uses one graphics card for the complete desktop. You either login with nvidia or intel.
I have had problems with bumblebee since 13.10. What ...
- 7,770
7
votes
How do I install the Nvidia drivers?
You don’t need to use command line nor software centre to install NVIDIA drivers (also its best not to install it this way because sometimes you may boot to black screen.).
Ubuntu comes with NVIDIA ...
- 7,770
7
votes
Accepted
How to make steam games use my AMD GPU instad of my Intel GPU?
Launch Steam from terminal using DRI_PRIME=1 steam. Now every game you launch from Steam will use the AMD GPU.
Alternatively, if you are using GNOME, you can right-click the steam icon then choose &...
- 1,472
6
votes
How do I install the Nvidia drivers?
The recommended way is to install the drivers from Ubuntu repositories.
Now all Nvidia adapters are supported by the drivers included in Ubuntu repositories. But this was not always the case and in ...
- 87.5k
5
votes
Hybrid graphic card drivers (AMD® Radeon HD 8570 + Intel HD Graphics 4000)
For mesa, This is the best documentation right now in the web. The quick howto is to update the drivers and kernel, the more recent the better. If possible, update the distro or use oibaf PPA. Then do ...
- 2,071
5
votes
How do I install the Nvidia drivers?
Let the built-in ubuntu-drivers program decide automatically which proprietary graphics drivers to install. Open the terminal and type:
sudo ubuntu-drivers autoinstall
sudo reboot
The ...
- 107k
5
votes
Accepted
Is my AMD hybrid-graphics card supported by Ubuntu 16.04 driver?
In 16.04 the AMD graphics card driver is AMDGPU. The list of supported cards is here . This says your card is fully supported.
- 1,407
5
votes
Accepted
Disable NVIDIA Optimus Graphics Card
Uninstall the proprietary NVIDIA drivers and disable the use of the nouveau drivers.
Open a terminal and execute :
sudo apt-get install gksu
gksudo gedit /etc/default/grub
Add nouveau.modeset=0 ...
- 30.6k
5
votes
Accepted
How to configure an application to always run with DRI_PRIME=1 set? Is there an other way besides terminal?
Here is a little light reading on environment variables for those sleepless nights, but to cut to the chase, I quote:
"A suitable file for environment variable settings that affect the system as a ...
- 992
5
votes
Accepted
GNOME does not show the option to use dedicated graphics card on right click
GNOME requires switcheroo-control in order to detect whether the system has a hybrid graphics configuration. Check this for more on that.
The fix was as easy as running one command:
sudo apt install ...
- 1,472
4
votes
Accepted
AMDGPU with hybrid graphics 16.04
I had to update to the the mainline kernel 4.6.3 before DRI_PRIME=1 glxinfo | grep "OpenGL renderer" returned my AMD card.
I am on a thinkpad s531 with an i7 processor and a Radeon HD8600.
I followed ...
- 66
4
votes
Accepted
safely install opensource or proprietary amd driver in ubuntu 14.04
In order to show all the proprietary drivers that are available to be installed from the default Ubuntu repositories and are compatible with your hardware, open the terminal and type:
ubuntu-drivers ...
- 107k
4
votes
Intel/AMD Hybrid graphics Ubuntu 18.04
In my case (HP 15-N, Radeon 8670m), I had the same problem, but I fixed it. Earlier it was:
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload ...
- 41
3
votes
Accepted
Disabling NVIDIA card on hybrid graphics laptop
Yes, you can:
Open NVIDIA X Server Settings.
Go to PRIME Profiles.
Select Intel.
Log out and back in or reboot.
Now you are using Intel graphics.
Update addressing your comments that you cannot ...
- 30.6k
3
votes
How to switch to discrete graphics with Ubuntu 14.04
You need to install a proprietary driver by running
sudo apt-get install fglrx-updates
Then you can swithch to discrete graphics by
sudo aticonfig --px-dgpu
to integrated graphics by
sudo ...
- 87.5k
3
votes
How can I use my secondary (nvidia) graphics card
My understanding is that more recent NVIDIA hardware/software combinations are unlikely to work well with bumblebee/optirun type solutions. What works reliably for me is:
> sudo nvidia-settings
...
- 236
3
votes
Accepted
Would this Arch Wiki fix for enabling GPU apply to Ubuntu?
It looks like the ACPI firmware fix can be applied in a similar fashion to Ubuntu. The boot configuration works differently though because Ubuntu 16.10 uses Grub instead of systemd-boot.
Install ...
- 35.5k
3
votes
Intel/AMD hybrid graphics on Ubuntu 16.04: How activate the other one?
just type in console:
DRI_PRIME=1 application name
- 31
3
votes
Accepted
Can't see my dedicated video card
You don't see it because the lspci line does not contain VGA.
If you run
lspci -nn | grep -E 'VGA|Display'
you will see both cards.
If you are unsure what to filter, run it without grep
lspci -nn
- 87.5k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hybrid-graphics × 358amd-graphics × 127
nvidia × 105
graphics × 86
drivers × 64
intel-graphics × 59
radeon × 49
nvidia-optimus × 36
14.04 × 29
16.04 × 29
12.04 × 24
nvidia-prime × 24
bumblebee × 22
vgaswitcheroo × 20
gpu × 19
fglrx × 17
xorg × 16
multiple-monitors × 13
11.10 × 12
12.10 × 10
laptop × 10
switchable-graphics × 10
overheating × 9
13.04 × 8
suspend × 8