I tried the recommendations and it does not seem to change anything. I do not know if I am doing something wrong. When I do the glxinfo -B I do get the AMD like you mentioned and when I do the __NV_PRIME_RENDER_OFFLOAD=1 I do get the proper nvidia information. I placed the outputs of both below.
I tried the alias prime_run=__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia from the CLI and also added it to the bashrc file like you said, but I have not noticed any changes. I made sure it was one line and I do not recieved any errors or any other feedback from the system. __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo -B : name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: AMD RENOIR (DRM 3.38.0, 5.8.0-18-generic, LLVM 10.0.1) (0x1636) Version: 20.1.5 Accelerated: yes Video memory: 512MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 312 MB, largest block: 312 MB VBO free aux. memory - total: 3009 MB, largest block: 3009 MB Texture free memory - total: 312 MB, largest block: 312 MB Texture free aux. memory - total: 3009 MB, largest block: 3009 MB Renderbuffer free memory - total: 312 MB, largest block: 312 MB Renderbuffer free aux. memory - total: 3009 MB, largest block: 3009 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 512 MB Total available memory: 3584 MB Currently available dedicated video memory: 312 MB OpenGL vendor string: X.Org OpenGL renderer string: AMD RENOIR (DRM 3.38.0, 5.8.0-18-generic, LLVM 10.0.1) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.5 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.5 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.1.5 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 ~$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 3072 MB Total available memory: 3072 MB Currently available dedicated video memory: 3011 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GTX 1050/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 450.66 OpenGL core profile shading language version string: 4.60 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.6.0 NVIDIA 450.66 OpenGL shading language version string: 4.60 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none) OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 450.66 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1894852 Title: Graphics slow on hybrid AMD/Nvidia laptop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-450/+bug/1894852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs