It's impossible to easily switch between integrated AMD GPU and dedicated NVIDIA card without rebooting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-440 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
xserver-xorg-video-amdgpu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have a laptop with both AMD Raven and Nvidia GTX 1050 video adapters. I wanted to test the new game mode in Ubuntu 20.04, and noticed that only the AMD Raven actually works. To do the test, I tried launching a terminal and running gxgears, both in a normal way, and then using the "start using dedicated video adapter" (or whatever it really is in English) option in gnome-shell.
Using the standard video adapter (probably the AMD Raven), it works, but slowly.
Using the dedicated video adapter, I get the following:
juloliv@juloliv:~$ glxgears
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateCon
Value in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 26
NB: in both cases, I tried launching nvidia-settings and got the following:
juloliv@juloliv:~$ nvidia-settings
ERROR: Unable to load info from any available system
(nvidia-
** Message: 12:33:29.273: PRIME: No offloading required. Abort
** Message: 12:33:29.273: PRIME: is it supported? no
And then a blank window...
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020
GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
BootLog: Error: [Errno 13] Permission non accordée: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: GNOME
Date: Sat Apr 25 12:26:50 2020
DistUpgraded: 2020-04-24 17:27:13,114 ERROR got error from PostInstallScript ./xorg_
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus: nvidia, 440.64, 5.4.0-26-generic, x86_64: installed
EcryptfsInUse: Yes
ExtraDebuggingI
GraphicsCard:
Subsystem: ASUSTeK Computer Inc. GP107M [GeForce GTX 1050 Mobile] [1043:1bb1]
Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Picasso [1043:1bb1]
InstallationDate: Installed on 2020-02-07 (77 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: ASUSTeK COMPUTER INC. VivoBook_ASUSLaptop X570DD_D570DD
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to focal on 2020-04-24 (0 days ago)
dmi.bios.date: 06/28/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X570DD.300
dmi.board.
dmi.board.name: X570DD
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: VivoBook
dmi.product.name: VivoBook_ASUSLaptop X570DD_D570DD
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.
nvidia-settings:
ERROR: Unable to load info from any available system
ERROR: Unable to load info from any available system
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.
version.
version.
version.
version.
version.
version.
version.
affects: | xorg (Ubuntu) → nvidia-graphics-drivers-440 (Ubuntu) |
summary: |
- 3D acceleration not working with NVidia driver + Launching apps on the Nvidia GPU via PRIME does not work |
summary: |
- Launching apps on the Nvidia GPU via PRIME does not work + [amdgpu] Launching apps on the Nvidia GPU via PRIME does not work |
summary: |
- [amdgpu] Launching apps on the Nvidia GPU via PRIME does not work + [amdgpu] Launching apps on the Nvidia GPU via PRIME does not work (in + the presence of an integrated amgdpu) |
tags: | added: amdgpu nvidia |
summary: |
[amdgpu] Launching apps on the Nvidia GPU via PRIME does not work (in - the presence of an integrated amgdpu) + the presence of an integrated amdgpu) |
summary: |
- [amdgpu] Launching apps on the Nvidia GPU via PRIME does not work (in - the presence of an integrated amdgpu) + [amdgpu] Nvidia driver doesn't work out of the box (installed through + Additional Drivers) |
tags: | added: hybrid |
summary: |
- [amdgpu] Nvidia driver doesn't work out of the box (installed through - Additional Drivers) + It's impossible to easily switch between integrated AMD GPU and + dedicated NVIDIA card without rebooting |
PS: Forgot to say that I'm using nvidia-driver-440 installed through "additional drivers".