Re: MX-19 RC1 Multiple video cards and hybrid video
Posted: Wed Oct 16, 2019 7:37 pm
Done :)
Support for MX and antiX Linux distros
http://www.forum.mxlinux.org/
D_o just fixed the ddm-mx installer for installs from the test repo--the problems began when we switched the TR to the same no-automatic-upgrades policy as debian backports, so he had to work around that. It should appear as an update soon.fehlix wrote: Wed Oct 16, 2019 6:20 pmI might have a play with one of my hybrids, and try figure whether I can install and then upgrade to testrepo nvidia. Maybe we can apply similar tricks I used for the libreoffice uprade to backports (and also for backwards downgrades), which has kind of similar "no-automatice-upgrade" policy.Stevo wrote: Wed Oct 16, 2019 4:42 pm 3) Do you have any comments, complaints, or suggestions?
64-bit stock Buster Nvidia 418.74 driver and Bumblebee install works out of the box with MX NI, but not the 435.21 driver from the test repo. Currently working with d_o to fix that situation, which seems to be due to the "no-automatic-upgrade" policy now in the test repo. A workaround to upgrade to 435.21 is to upgrade everything "nvidia" related from MXPI test repo tab, including any lib packages.
Code: Select all
glxspheres64
Code: Select all
optirun glxspheres64
If only!Srdjan wrote: Thu Oct 17, 2019 6:59 am Desired behavior would be to use Intel on non-demanding tasks to
save battery, and use nvidia dedicated just on graphic demanding tasks
to get best performance. Is it possible for this to work on linux as it is
working on windows?
The logs say that nvidia-kernel-dkms built successfully, so I am assuming you did a reboot as the pop-up message said you had to do to make sure you weren't getting nouveau loaded at boot.Srdjan wrote: Thu Oct 17, 2019 4:42 pm Ok then, how do I know if nvidia drivers installed correctly?
I posted all the logs here.
Just have checked it and seem to work here well. (Acer A5-A515 Intel/Nvidia hybrid)Srdjan wrote: Thu Oct 17, 2019 4:42 pm Ok then, how do I know if nvidia drivers installed correctly?
Code: Select all
dpkg -l | grep nvidia
ii bumblebee-nvidia 3.2.1-20 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii glx-alternative-nvidia 1.0.0 amd64 allows the selection of NVIDIA as GLX provider
ii libegl-nvidia0:amd64 418.74-1 amd64 NVIDIA binary EGL library
ii libegl-nvidia0:i386 418.74-1 i386 NVIDIA binary EGL library
ii libgl1-nvidia-glvnd-glx:amd64 418.74-1 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant)
ii libgl1-nvidia-glvnd-glx:i386 418.74-1 i386 NVIDIA binary OpenGL/GLX library (GLVND variant)
ii libgles-nvidia1:amd64 418.74-1 amd64 NVIDIA binary OpenGL|ES 1.x library
ii libgles-nvidia1:i386 418.74-1 i386 NVIDIA binary OpenGL|ES 1.x library
ii libgles-nvidia2:amd64 418.74-1 amd64 NVIDIA binary OpenGL|ES 2.x library
ii libgles-nvidia2:i386 418.74-1 i386 NVIDIA binary OpenGL|ES 2.x library
ii libglx-nvidia0:amd64 418.74-1 amd64 NVIDIA binary GLX library
ii libglx-nvidia0:i386 418.74-1 i386 NVIDIA binary GLX library
ii libnvidia-cbl:amd64 418.74-1 amd64 NVIDIA binary Vulkan ray tracing (cbl) library
ii libnvidia-cfg1:amd64 418.74-1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-eglcore:amd64 418.74-1 amd64 NVIDIA binary EGL core libraries
ii libnvidia-eglcore:i386 418.74-1 i386 NVIDIA binary EGL core libraries
ii libnvidia-fatbinaryloader:amd64 418.74-1 amd64 NVIDIA FAT binary loader
ii libnvidia-glcore:amd64 418.74-1 amd64 NVIDIA binary OpenGL/GLX core libraries
ii libnvidia-glcore:i386 418.74-1 i386 NVIDIA binary OpenGL/GLX core libraries
ii libnvidia-glvkspirv:amd64 418.74-1 amd64 NVIDIA binary Vulkan Spir-V compiler library
ii libnvidia-glvkspirv:i386 418.74-1 i386 NVIDIA binary Vulkan Spir-V compiler library
ii libnvidia-ml1:amd64 418.74-1 amd64 NVIDIA Management Library (NVML) runtime library
ii libnvidia-ptxjitcompiler1:amd64 418.74-1 amd64 NVIDIA PTX JIT Compiler
ii libnvidia-rtcore:amd64 418.74-1 amd64 NVIDIA binary Vulkan ray tracing (rtcore) library
ii nvidia-alternative 418.74-1 amd64 allows the selection of NVIDIA as GLX provider
ii nvidia-detect 418.74-1 amd64 NVIDIA GPU detection utility
ii nvidia-driver 418.74-1 amd64 NVIDIA metapackage
ii nvidia-driver-bin 418.74-1 amd64 NVIDIA driver support binaries
ii nvidia-driver-libs:amd64 418.74-1 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs:i386 418.74-1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs-i386:i386 418.74-1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)
ii nvidia-egl-common 418.74-1 amd64 NVIDIA binary EGL driver - common files
ii nvidia-egl-icd:amd64 418.74-1 amd64 NVIDIA EGL installable client driver (ICD)
ii nvidia-egl-icd:i386 418.74-1 i386 NVIDIA EGL installable client driver (ICD)
ii nvidia-installer-cleanup 20151021+9 amd64 cleanup after driver installation with the nvidia-installer
ii nvidia-kernel-common 20151021+9 amd64 NVIDIA binary kernel module support files
ii nvidia-kernel-dkms 418.74-1 amd64 NVIDIA binary kernel module DKMS source
ii nvidia-kernel-support 418.74-1 amd64 NVIDIA binary kernel module support files
ii nvidia-legacy-check 418.74-1 amd64 check for NVIDIA GPUs requiring a legacy driver
ii nvidia-modprobe 418.56-1 amd64 utility to load NVIDIA kernel modules and create device nodes
ii nvidia-settings 418.74-1 amd64 tool for configuring the NVIDIA graphics driver
ii nvidia-support 20151021+9 amd64 NVIDIA binary graphics driver support files
ii nvidia-vdpau-driver:amd64 418.74-1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver
ii nvidia-vulkan-common 418.74-1 amd64 NVIDIA Vulkan driver - common files
ii nvidia-vulkan-icd:amd64 418.74-1 amd64 NVIDIA Vulkan installable client driver (ICD)
ii nvidia-vulkan-icd:i386 418.74-1 i386 NVIDIA Vulkan installable client driver (ICD)
ii xserver-xorg-video-nvidia 418.74-1 amd64 NVIDIA binary Xorg driver
Code: Select all
fehlix@mx19rc1:~/Desktop
$ glxgears
300 frames in 5.0 seconds = 59.997 FPS
300 frames in 5.0 seconds = 59.997 FPS
300 frames in 5.0 seconds = 59.997 FPS
300 frames in 5.0 seconds = 59.997 FPS
300 frames in 5.0 seconds = 59.997 FPS
Code: Select all
fehlix@mx19rc1:~/Desktop
$ inxi -Gxx
Graphics: Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:5917
Device-2: NVIDIA GP108M [GeForce MX150] driver: N/A bus ID: 01:00.0
chip ID: 10de:1d10
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.3.6
compat-v: 3.0 direct render: Yes
Code: Select all
$ optirun glxgears
3848 frames in 5.0 seconds = 769.520 FPS
3823 frames in 5.0 seconds = 764.523 FPS
3873 frames in 5.0 seconds = 774.468 FPS
3918 frames in 5.0 seconds = 783.540 FPS
3866 frames in 5.0 seconds = 773.067 FPS
3995 frames in 5.0 seconds = 798.941 FPS
3962 frames in 5.0 seconds = 792.361 FPS
Code: Select all
$ inxi -Gxx
Graphics: Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:5917
Device-2: NVIDIA GP108M [GeForce MX150] vendor: Acer Incorporated ALI driver: nvidia
v: 418.74 bus ID: 01:00.0 chip ID: 10de:1d10
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.3.6
compat-v: 3.0 direct render: Yes
Code: Select all
┌─[srdjan@Lenovo]─[11:48:21 pm]──────────────────────────────────────────────────────────────────[~]
└─> optirun glxgears
[ 4361.977471] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 4361.977596] [ERROR]Aborting because fallback start is disabled.
┌─[srdjan@Lenovo]─[11:48:29 pm]──────────────────────────────────────────────────────────────────[~]
└─>