Comments (10)
Have a look at the /etc/bumblebee/xorg.conf.nvidia and compare it with Ironhide's one. Perhaps adding some modelines improves performance or change DFP if /var/log/syslog
reports a warning, otherwise I have no idea what makes the difference.
from bumblebee.
Ironhide is defunct and irrelevant. Don't compare against it. Though,
if I recall correctly, it used Xv by default.
The use of VirtualGL itself as a transport is a self-imposed bottleneck.
Once we figure out how to access the Nvidia framebuffer directly,
don't be surprised if there is at least a 5x performance increase
(according to my testing).
from bumblebee.
Although Ironhide is deprecated, it uses the virtualgl application too. Did you have 3D
acceleration and a correct resolution when using Ironhide?
from bumblebee.
Yes, I had 3D acceleration with Ironhide (but isn't that required anyway for glxspheres to run?). What do you mean by correct resolution? I'm just running glxspheres in its default window and I have two displays both with 1920x1080 resolution.
I tried using ironhide's xorg.conf.nvidia file (based on https://github.com/MrMEEE/ironhide/blob/master/conf/xorg.conf.nvidia but leaving out the BusID line and using "DFP" as the connected monitor). I saved this file as /etc/bumblebee/xorg.conf.nvidia-ironhide and then modified bumblebeed.conf to use this file. Xorg.8.log reports that it is using it, so it looks like the re-configuration works fine.
However, I get the same framerates as when I use bumblebee's xorg.conf.nvidia file, ie it doesn't look like the modelines make any difference.
syslog reports:
Jan 23 21:56:23 sierra bumblebeed[10909]: [XORG] (WW) NVIDIA(0): No valid modes for "1920x1200"; removing.
Jan 23 21:56:23 sierra bumblebeed[10909]: [XORG] (WW) NVIDIA(0): No valid modes for "1600x1200"; removing.
Jan 23 21:56:23 sierra bumblebeed[10909]: [XORG] (WW) NVIDIA(0): Option "TwinViewXineramaInfoOrder" requested "DFP", but no
Jan 23 21:56:23 sierra bumblebeed[10909]: [XORG] (WW) NVIDIA(0): such display device could be found, or all display devices
Jan 23 21:56:23 sierra bumblebeed[10909]: [XORG] (WW) NVIDIA(0): by that name are currently unavailable.
Jan 23 21:56:23 sierra bumblebeed[10909]: [XORG] (WW) NVIDIA(0): Option "TwinViewXineramaInfoOrder" requested "TV", but no such
Jan 23 21:56:23 sierra bumblebeed[10909]: [XORG] (WW) NVIDIA(0): display device could be found, or all display devices by
Jan 23 21:56:23 sierra bumblebeed[10909]: [XORG] (WW) NVIDIA(0): that name are currently unavailable.
I also tried changing Option "ConnectedMonitor" to "CRT" instead of "DFP" in xorg.conf.nvidia-ironhide, but syslog still reports the DFP error and there's no change in framerates.
from bumblebee.
By "resolution" I meant to ask whether the screen resolution of the primary display was not 1024x768 (vesa). A final change that may improve performance for some machines is VGL_READBACK
:
VGL_READBACK=pbo optirun glxspheres
Docs: http://virtualgl.svn.sourceforge.net/viewvc/virtualgl/vgl/trunk/doc/index.html#VGL_READBACK
from bumblebee.
Thanks! With VGL_READBACK=pbo I get framerates up around 150 fps again.
Can I set this to be the default in a configuration file somewhere?
from bumblebee.
Nope, as a workaround you can create a wrapper that sets it:
mkdir -p ~/bin
printf '#!/bin/sh\nVGL_READBACK=pbo /usr/bin/optirun "$@"\n' >> ~/bin/optirun
chmod +x ~/bin/optirun
You may need to re-login if ~/bin
did not exist before.
from bumblebee.
Thanks.
from bumblebee.
My optirun does not seem to work well, and change my screen resolution
$ glxspheres
Polygons in scene: 62464
Visual ID of window: 0x95
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ironlake Mobile GEM 20100330 DEVELOPMENT x86/MMX/SSE2
26.110448 frames/sec - 29.139260 Mpixels/sec
26.335447 frames/sec - 29.390358 Mpixels/sec
$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
[VGL] WARNING: The OpenGL rendering context obtained on X display
[VGL] :8 is indirect, which may cause performance to suffer.
[VGL] If :8 is a local X display, then the framebuffer device
[VGL] permissions may be set incorrectly.
Context is Indirect
OpenGL Renderer: Software Rasterizer
4.899283 frames/sec - 5.467600 Mpixels/sec
4.950187 frames/sec - 5.524408 Mpixels/sec
from bumblebee.
VGL_READBACK=pbo
will be set in the Ubuntu PPA packages version 3.0-1~...ppa4` and later.
from bumblebee.
Related Issues (20)
- Cannot run vmware by optirun
- [Doubt] Do I need to install Bumblebee ? HOT 1
- Error compiling with gcc 10.2.0 HOT 2
- bumblebee + vm
- Multi monitor setup Optimus/Bumblebee with Cinnamon Desktop Environment HOT 1
- Unloading module nvidia-drm in use on Ubutnu 20.10 HOT 1
- [XORG] (EE) Failed to load module "glx" (module does not exist, 0) HOT 4
- Bumblebee does not work in SecureBoot
- unreferenced object in kmemleak HOT 1
- Two graphic cards and no HDMI out
- Bad Performance With Bumblebee HOT 2
- Nvidia card always starts turned ON
- Proprietary drivers: Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d" HOT 10
- Optimus AMD + NVidia HOT 2
- Website partially unreachable (on IPv6 or without www) HOT 1
- [issue] [primus] [steam] `primus: fatal: failed to load ligGL.so`
- [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module.
- [ERROR]No integrated video card found, quitting. HOT 1
- [ERROR]No discrete video card found, quitting
- Download page not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bumblebee.