[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
** Changed in: nvidia-graphics-drivers-450 (Ubuntu) Status: New => Invalid -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
Okay, I will create a new bug as suggested and will link here and post this one as fixed. This one is technically fixed as stated because I am able to get full speed out of both video cards now, I just need to do the workaround to get it. -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
Thank you @dtl131 for all your help; it is greatly appreciated. It is this wonderful community that brings me to open source and Linux and is truly one of the most powerful benefits of Linux. -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
Scott, you could file a new bug (against plasma-desktop) and mark this Fixed or Invalid. Or you could edit this report to describe the lack of "Launch on Discrete GPU" option. -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
I am running 20.10 on my laptop now and that options has not been added yet I think. At least it does not show in the advanced part of the application tab for me. -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
I am running 20.10 on my laptop now and that options has not been added yet I think. At least it does not show in the advanced part of the application tab for me. -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
Kubuntu 20.10 may already have that option: https://userbase.kde.org/Plasma/Tips#launch-app-with-discrete-gpu -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
@vanvugt Yea, I am using Kubuntu/KDE. That would be really nice functionality to have in Kubuntu. -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
I tried __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam and for the first time Steam showed the proper Nvidia card for the driver and also showed the proper 3GB for VRAM. I tried running cities skylines and instead of the 21FPS I was getting before I was getting what is probably normal for the Nvidia 1050 card which was around 42FPS and peaking above 60. So, more than double. This workaround will due for now, but it would be nice to have this as a right click menu like Ubuntu. It would also be nice to have a setting to launch all software like this normally as well if possible. -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
@vanvugt: user is running KDE/Kubuntu -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
I've heard that hybrid systems should have a 'Launch on Discrete GPU' menu item. Don't you see that when right clicking on an app icon? https://help.gnome.org/misc/release-notes/stable/ -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
Yes, the output from glxinfo is what you want to see. If you want to run programs on the Nvidia GPU, you have to start them with the variables as in the glxinfo example. (Or if you make an alias, just use prime_run) prime_run -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
Before I did your recommendations I tried running games again to see if there was any improvement. I know it is still not using the dedicated Nvidia 1050, but I think the system may now be using the on board AMD Ryzen graphics. I tried both American truck simulator and Cities Skylines and they received around 30-40FPS where before it was 1FPS. This is much slower still than I would expect from the dedicated card, but still better. -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
** Changed in: xorg (Ubuntu) Status: Incomplete => New ** Package changed: xorg (Ubuntu) => nvidia-graphics-drivers-450 (Ubuntu) -- 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
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
apport information ** Tags added: apport-collected has-workaround reproducible single- occurrence ubuntu ** Description changed: I selected the nvidia driver as I did not know which package to select. I am pretty sure that is not the problem as that driver is supposed to support the hybrid graphics in this laptop. What I was expecting on the clean install of Kubuntu was to use the dedicated Nvidia video card for graphics and I do believe with these hybrid graphics is it supposed to use the on CPU graphics for less intensive graphics. Personally, I would be happy if the dedicated Nvidia card was only used at this point. What has happened is the system is showing AMD RENOIR (DRM 3.38.0, 5.8.0-18-generic, LLVM 10.0.1) in the info centre and the VMWare driver is also showing in Steam. The games I have tried to launch in steam are running at about 1FPS and I have tried games like Farming Similator 2013 which are very old and this computer should be able to run at well above 60FPPS. I get the same problem on Kubuntu 20.04.01 as well as 20.10. Running the Nvidia X Server Settings shows the proper video driver and video card, but it does say None beside display devices. I tried hours to try and fix this problem. I first thought it was a driver issue, but tried deveral different version of the proprietary Nvidia driver with no change. I made sure I am using the latest driver only released a couple months ago still with no change. The open source driver only shows a blank screen. I then thought maybe the computer is only using the on CPU Ryzen graphics; even though that should still get better than 1 FPS. So, I tried solutions to force the dedicated video card. sudo prime-select nvidia says the nvidia profile is already set. The nvidia settings does not have any setting to force the video card as well. prime-select query shows nvidia as well. Most solutions seem to be for intel chipsets with the Nvidia 1050 and I have an AMD with Nvidia 1050. ProblemType: Bug DistroRelease: Ubuntu 20.10 Package: nvidia-driver-450 450.66-0ubuntu1 ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4 Uname: Linux 5.8.0-18-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu45 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: KDE Date: Tue Sep 8 09:22:39 2020 InstallationDate: Installed on 2020-09-08 (0 days ago) InstallationMedia: Kubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200907) ProcEnviron: LANGUAGE=en_CA:en PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_CA.UTF-8 SHELL=/bin/bash SourcePackage: nvidia-graphics-drivers-450 UpgradeStatus: No upgrade log present (probably fresh install) + --- + ProblemType: Bug + .proc.driver.nvidia.capabilities.gpu0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/capabilities/gpu0' + .proc.driver.nvidia.capabilities.mig: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/capabilities/mig' + .proc.driver.nvidia.gpus..01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/:01:00.0' + .proc.driver.nvidia.registry: Binary: "" + .proc.driver.nvidia.suspend: suspend hibernate resume + .proc.driver.nvidia.suspend_depth: default modeset uvm + .proc.driver.nvidia.version: + NVRM version: NVIDIA UNIX x86_64 Kernel Module 450.66 Wed Aug 12 19:42:48 UTC 2020 + GCC version: gcc version 10.2.0 (Ubuntu 10.2.0-6ubuntu1) + ApportVersion: 2.20.11-0ubuntu45 + Architecture: amd64 + BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' + CasperMD5CheckResult: skip + CompositorRunning: None + CurrentDesktop: KDE + CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted + DistUpgraded: Fresh install + DistroCodename: groovy + DistroRelease: Ubuntu 20.10 + DistroVariant: ubuntu + DkmsStatus: nvidia, 450.66, 5.8.0-18-generic, x86_64: installed + ExtraDebuggingInterest: No + GraphicsCard: + NVIDIA Corporation GP107M [GeForce GTX 1050 3 GB Max-Q] [10de:1c91] (rev a1) (prog-if 00 [VGA controller]) +Subsystem: Hewlett-Packard Company GP107M [GeForce GTX 1050 3 GB Max-Q] [103c:87b0] + Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev c7) (prog-if 00 [VGA controller]) +Subsystem: Hewlett-Packard Company Renoir [103c:87b0] + InstallationDate: Installed on 2020-09-08 (0 days ago) + InstallationMedia: Kubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200907) + MachineType: HP HP Pavilion Gaming Laptop 15-ec1xxx + NonfreeKernelModules: nvidia_modeset nvidia + Package: xorg 1:7.7+19ubuntu14 + PackageArchitecture: amd64 + ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-18-generic root=UUID=e9f711ee-9fb0-48e9-95be-c6a57e6cf860 ro quiet splash vt.handoff=7 + ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4 + Tags: groovy ubuntu single-occurrence reproducible has-workaround + Uname: Linux
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
Another thing to try: Change to "on-demand" mode. (I'm not sure, but this may require another reboot or log out): sudo prime-select on-demand Verification (first command should show AMD and second command Nvidia): glxinfo -B __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo -B If all goes well, you can run programs on the Nvidia GPU by by setting the variables as in the previous command. Or, if you don't want to type all that every time, you can make a new command. Note that this long command is all one line: alias prime_run=__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia To make the alias permanent, add the line to the end of ~/.bashrc file -- 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/xorg/+bug/1894852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1894852] Re: Graphics slow on hybrid AMD/Nvidia laptop
Please run the following command to gather the video information: apport-collect 1894852 (Temporarily assigned to xorg to automatically gather video logs with apport.) ** Package changed: nvidia-graphics-drivers-450 (Ubuntu) => xorg (Ubuntu) ** Changed in: xorg (Ubuntu) Status: New => Incomplete -- 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/xorg/+bug/1894852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs