Home / Linux / Bumblebee guys, try PRIME render offload. Performance on a par with Windows. : linux

Bumblebee guys, try PRIME render offload. Performance on a par with Windows. : linux

Bumblebee guys, try PRIME render offload. Performance on a par with Windows. : linux

❯ inxi -CGMz
Machine:   Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <filter> 
           Mobo: Dell mannequin: 0YH90J v: A04 serial: <filter> UEFI: Dell v: 1.18.zero date: 11/17/2019 
CPU:       Topology: Quad Core mannequin: Intel Core i7-7700HQ bits: 64 sort: MT MCP L2 cache: 6144 KiB 
           Speed: 1000 MHz min/max: 800/2800 MHz Core speeds (MHz): 1: 1000 2: 1000 three: 1000 four: 1000 5: 1000 6: 1000 7: 1000 
           eight: 1001 
Graphics:  Device-1: Intel HD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 440.64 
           Display: x11 server: X.Org 1.20.7 driver: modesetting,nvidia unloaded: vesa decision: 3840x2160~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2) v: four.6 Mesa 19.three.four 

~
❯ prime-run inxi -CGMz
Machine:   Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <filter> 
           Mobo: Dell mannequin: 0YH90J v: A04 serial: <filter> UEFI: Dell v: 1.18.zero date: 11/17/2019 
CPU:       Topology: Quad Core mannequin: Intel Core i7-7700HQ bits: 64 sort: MT MCP L2 cache: 6144 KiB 
           Speed: 2579 MHz min/max: 800/2800 MHz Core speeds (MHz): 1: 2393 2: 1921 three: 2333 four: 2225 5: 2185 6: 2240 7: 2310 
           eight: 2194 
Graphics:  Device-1: Intel HD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 440.64 
           Display: x11 server: X.Org 1.20.7 driver: modesetting,nvidia unloaded: vesa decision: 3840x2160~60Hz 
           OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: four.6.zero NVIDIA 440.64

I don’t play a lot recreation. But generally.

My setup was bumblebee. optirun(primusrun + primus_vk(when taking part in by way of wine) is working nicely principally. But it is efficiency shouldn’t be good as native run on Windows.

Once, I attempted nvidia-xrun with steam. It’s efficiency was good. Same with Windows. But it’s clunky and inconvenient.

So right now I attempted new one.

https://wiki.archlinux.org/index.php/PRIME#PRIME_render_offload

bumblebee blacklist nvidia module in /usr/lib/... not /and so forth/modprobe.d/... . I eliminated it and put in nvidia-prime.

❯ yay -Ql nvidia-prime
nvidia-prime /usr/
nvidia-prime /usr/bin/
nvidia-prime /usr/bin/prime-run
nvidia-prime /usr/share/
nvidia-prime /usr/share/X11/
nvidia-prime /usr/share/X11/xorg.conf.d/
nvidia-prime /usr/share/X11/xorg.conf.d/20-nvidia-prime.conf

Reboot. Check it really works.

❯ prime-run glxinfo | grep "OpenGL renderer"
OpenGL renderer string: GeForce GTX 1050/PCIe/SSE2

~
❯ prime-run glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0x14e (eight/eight/eight/zero)
Visual ID of window: 0x2f9
Context is Direct
OpenGL Renderer: GeForce GTX 1050/PCIe/SSE2
61.184080 frames/sec - 469.486862 Mpixels/sec
59.934468 frames/sec - 459.898153 Mpixels/sec

❯ nvidia-smi
Mon Mar 30 15:38:07 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64       Driver Version: 440.64       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   zero  GeForce GTX 1050    Off  | 00000000:01:00.zero Off |                  N/A |
| N/A   47C    P8    N/A /  N/A |    103MiB /  4042MiB |      zero%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process identify                             Usage      |
|=============================================================================|
|    zero      1092      G   /usr/lib/Xorg                                102MiB |
+-----------------------------------------------------------------------------+

Now time to do actual factor.

$ prime-run steam

I’ve tried three video games. Steam, Proton-5.zero.5

  • Factorio : It has native linux assist. Pretty enjoyable and really nicely made secure recreation. 1800+ hour performed. this recreation is okay with Intel Kabylake G630 if not tremendous megabase. so dont actually need nvidia gpu. however it was some hassle with primusrun. decrease fps than Intel. But now it is working fairly good. All grphics choices turned on, loaded my most large saved recreation. Yes, fixed 60fps. Good

  • Factory Town : It labored with primus-vk beforehand however decrease fps than native Windows run. Now identical with Windows. Smooth. Good.

  • Banished : was identical state of affairs with manufacturing facility city. Now superb.

  • ioquake3 : It’s not steam recreation. Pretty fixed max fps on 4k(3840×2160). Good

About Agent

Check Also

SpaceX Successfully Launches 60 More Starlink Satellites as it Continues Towards 2020 Service Debut

SpaceX Successfully Launches 60 More Starlink Satellites as it Continues Towards 2020 Service Debut SpaceX …

Leave a Reply

Your email address will not be published. Required fields are marked *