tuxedocomputers / tuxedo-control-center

A tool to help you control performance, energy, fan and comfort settings on TUXEDO laptops.
GNU General Public License v3.0
522 stars 69 forks source link

Polaris 15 Graphics switch does not work. #67

Open gampam2000 opened 3 years ago

gampam2000 commented 3 years ago

I have a TUXEDO_Polaris_15_AMD_Gen1 with AMD Ryzen 7 4800H with Radeon Graphics and NVIDIA GeForce RTX 2060. Original Tuxedo Ubuntu 20.04 with LUKS 5.6.0-1034-oem #36-Ubuntu SMP Fri Nov 6 18:22:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

When I use the TCC Menu--> Graphics--> Select built-in it forces a reboot but nothing changes.

When running inxi -G i get with both configurations the same result: Graphics: Device-1: NVIDIA TU106 [GeForce RTX 2060] driver: nvidia v: 450.80.02 Device-2: AMD Renoir driver: amdgpu v: 5.6.0.20.20 Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati,nvidia unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~144Hz OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 450.80.02

The OpenGL renderer stays always GeForce RTX.

What exactly does this Menu option?

What I would like to configure is, that I normally use the AMD GPU and only for certain games to use the Nvidia with the invidia prime offloading option.

tuxedoxt commented 3 years ago

Hello, is this possibly related to #92 ?

For the moment the menu options are just shortcuts to prime-select nvidia/intel.

We do not support or test offloading consistently atm but it is known to work on at least most intel/nvidia combinations with manual configuration. As far as I know we are looking to provide a convenient way for offloading in the future.

To clarify, yes, in this case prime-select intel also means amd built-in ^^

haruzept commented 3 years ago

I can confirme this bug.

inxi -G:
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060] driver: N/A 
  Device-2: AMD Renoir driver: amdgpu v: kernel 
  Display: x11 server: X.Org 1.20.11 
  driver: amdgpu,ati,modesetting,nouveau,nvidia unloaded: fbdev,vesa 
  resolution: 1920x1080~144Hz 
  OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.0-1044-oem LLVM 12.0.0) 
  v: 4.6 Mesa 21.0.3 

Sometimes it seems that the switching works, but often not. On Power-Top I have ~45-50W with AMDGPU and ~22W with NVIDIA GPU.

After swichting via tuxedo control center from ADMGPU to NVIDIA:

inxi -G:


  Device-1: NVIDIA TU106 [GeForce RTX 2060] driver: nvidia v: 470.57.02 
  Device-2: AMD Renoir driver: amdgpu v: kernel 
  Display: x11 server: X.Org 1.20.11 
  driver: amdgpu,ati,modesetting,nouveau,nvidia unloaded: fbdev,vesa 
  resolution: 1920x1080~144Hz 
  OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.57.02```