Since I do not have the hardware it takes to make videos, check out these tutorials
https://www.youtube.com/results?search_ ... d+graphics
To any users. Can you add your procedure to get it working on various computers as a comment of this post?
[INFO] Arch Linux hybrid graphics ArcoLinux
- erikdubois
- Captain
- Posts: 5934
- Joined: Tue Nov 07, 2017 3:45 pm
- Location: Belgium
- Contact:
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
Hi, thank your GUIDE, i think i installed NVIDIA Legacy and Optimus Manager successfull on Dell Inspiron 3558, would you take little look? Cause i dont know how to properly check it working or noterikdubois wrote: ↑Fri Mar 20, 2020 8:05 am Since I do not have the hardware it takes to make videos, check out these tutorials
https://www.youtube.com/results?search_ ... d+graphics
To any users. Can you add your procedure to get it working on various computers as a comment of this post?
Here my probe: https://linux-hardware.org/?probe=420ccdfca6
Why i cant see NVIDIA GPU use % in above?
inxi -b
Code: Select all
System:
Host: tran-inspiron3558 Kernel: 6.1.9-arch1-2 arch: x86_64 bits: 64
Desktop: Xfce v: 4.18.1 Distro: ArcoLinux
Machine:
Type: Laptop System: Dell product: Inspiron 3558 v: N/A
serial: <superuser required>
Mobo: Dell model: 0G1TDD v: A00 serial: <superuser required> UEFI: Dell
v: A21 date: 07/09/2020
Battery:
ID-1: BAT0 charge: 30.0 Wh (88.5%) condition: 33.9/41.4 Wh (81.7%)
CPU:
Info: dual core Intel Core i5-5200U [MT MCP] speed (MHz): avg: 2559
min/max: 500/2700
Graphics:
Device-1: Intel HD Graphics 5500 driver: i915 v: kernel
Device-2: NVIDIA GK208BM [GeForce 920M] driver: nvidia v: 470.161.03
Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB
driver: uvcvideo
Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
dri: iris gpu: i915 resolution: 1366x768~60Hz
API: OpenGL v: 4.6.0 NVIDIA 470.161.03 renderer: NVIDIA GeForce
920M/PCIe/SSE2
Network:
Device-1: Intel Wireless 3160 driver: iwlwifi
Device-2: Intel Bluetooth wireless interface type: USB driver: btusb
Drives:
Local Storage: total: 471.36 GiB used: 21.45 GiB (4.5%)
Info:
Processes: 257 Uptime: 22m Memory: 7.67 GiB used: 3.99 GiB (52.0%)
Shell: Bash inxi: 3.3.24
Code: Select all
Graphics:
Device-1: Intel HD Graphics 5500 driver: i915 v: kernel
Device-2: NVIDIA GK208BM [GeForce 920M] driver: nvidia v: 470.161.03
Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB
driver: uvcvideo
Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
dri: iris gpu: i915 resolution: 1366x768~60Hz
API: OpenGL v: 4.6.0 NVIDIA 470.161.03 renderer: NVIDIA GeForce
920M/PCIe/SSE2
Code: Select all
nvidia_drm 73728 8
nvidia_modeset 1478656 6 nvidia_drm
nvidia 40116224 483 nvidia_modeset
video 65536 4 dell_wmi,dell_laptop,i915,nvidia_modeset
https://drive.google.com/file/d/1nBcE3d ... share_link
Xorg.0.log
https://drive.google.com/file/d/12xv5Wd ... share_link
Last edited by oldman33 on Tue Feb 07, 2023 7:55 am, edited 2 times in total.
I see you are able to bring up nvidia-smi as well as the Nvidia Settings window, it typically indicates the Nvidia drivers installed OK.
inix -G also reports Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
Which mode you are using in Optimus Manager - Nvidia, integrated or hybrid ?
I have included some additional commands which can help out in debugging.
If you have prime-run installed and are using hybrid, you can run an application solely on the Nvidia GPU using
Alternatively, run (Tested on Wayland, however should work under X11)
Here is an example for Discord:
Check the output when running this inside a terminal to identify any problems.
Finally look at nvidia-smi then check the running processes.
inix -G also reports Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
Which mode you are using in Optimus Manager - Nvidia, integrated or hybrid ?
Well it all depends on whether you are doing anything which relies on GPU processing, obviously if you are not doing anything inside Discord then you won't see the GPU % usage increase.Why i cant see NVIDIA GPU use % in above?
I have included some additional commands which can help out in debugging.
If you have prime-run installed and are using hybrid, you can run an application solely on the Nvidia GPU using
Code: Select all
prime-run $application_name
Code: Select all
__NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia $application_name
Code: Select all
__NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia discord
Finally look at nvidia-smi then check the running processes.
Arch Wiki: https://wiki.archlinux.org
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
Thank sir!fennec wrote: ↑Tue Feb 07, 2023 11:37 am I see you are able to bring up nvidia-smi as well as the Nvidia Settings window, it typically indicates the Nvidia drivers installed OK.
inix -G also reports Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
Which mode you are using in Optimus Manager - Nvidia, integrated or hybrid ?
Well it all depends on whether you are doing anything which relies on GPU processing, obviously if you are not doing anything inside Discord then you won't see the GPU % usage increase.Why i cant see NVIDIA GPU use % in above?
I have included some additional commands which can help out in debugging.
If you have prime-run installed and are using hybrid, you can run an application solely on the Nvidia GPU using
Alternatively, run (Tested on Wayland, however should work under X11)Code: Select all
prime-run $application_name
Here is an example for Discord:Code: Select all
__NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia $application_name
Check the output when running this inside a terminal to identify any problems.Code: Select all
__NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia discord
Finally look at nvidia-smi then check the running processes.
Code: Select all
$ inix -G also reports Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
bash: inix: command not found
It was a typo disregard.$ inix -G also reports Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
bash: inix: command not found
You don't need prime-run installed.And currently im running Optimus-Manager as you can see previous my post, didnt install prime-run. Can i using both prime and optimus manager on a system as i machine? or any alternative command to run your commands in optimus manager?
This is just a wrapper script which invokes:
Code: Select all
#!/bin/bash
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia $application_name
Disclaimer: I don't use Optimus Manager anymore, and switched over to EnvyControl for GPU switching.
Arch Wiki: https://wiki.archlinux.org
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
Thank but i think will pin with Optimus Manager, cause everytime swithc graphics card need reboot with envycontrol. Why you decide using enycontrol?fennec wrote: ↑Sat Feb 11, 2023 11:37 amIt was a typo disregard.$ inix -G also reports Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
bash: inix: command not found
You don't need prime-run installed.And currently im running Optimus-Manager as you can see previous my post, didnt install prime-run. Can i using both prime and optimus manager on a system as i machine? or any alternative command to run your commands in optimus manager?
This is just a wrapper script which invokes:
There are many options just test them and find out which works for you.Code: Select all
#!/bin/bash __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia $application_name
Disclaimer: I don't use Optimus Manager anymore, and switched over to EnvyControl for GPU switching.
Yes,
Code: Select all
inxi -G
Code: Select all
#!/bin/bash
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia $application_name
Code: Select all
chmod + x
Code: Select all
$ su ./2.sh
su: user ./2.sh does not exist or the user entry does not contain all the required fields
I chose EnvyControl since I wanted a more lightweight solution to Optimus Manager.
Optimus Manager was also slowing down my boot time and I had to apply a patch to speed things up: https://arcolinuxforum.com/viewtopic.php?t=3362
Plus, I only use Hybrid mode on the Linux LTS kernel, rebooting isn't a real issue for me.
For more details on EnvyControl see: https://arcolinuxforum.com/viewtopic.php?t=3422
Obviously change $application_name to an actual application name.
Optimus Manager was also slowing down my boot time and I had to apply a patch to speed things up: https://arcolinuxforum.com/viewtopic.php?t=3362
Plus, I only use Hybrid mode on the Linux LTS kernel, rebooting isn't a real issue for me.
For more details on EnvyControl see: https://arcolinuxforum.com/viewtopic.php?t=3422
su isn't required here just use$ su ./2.sh
su: user ./2.sh does not exist or the user entry does not contain all the required fields
Code: Select all
./2.sh
Arch Wiki: https://wiki.archlinux.org
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html