-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Milestone
Description
Would be nice to provide a shell script or something to automatically check that various libraries (2x libglx.so, 3x libGL.so.1) are in correct places.
- Verify that direct rendering is available on primary X, and is hardware-accelerated
- Verify that direct rendering is available on secondary X, and is hardware-accelerated
- Verify that running via primusrun actually invokes primus
- All of the above for 32-bit libs/apps on x86-64
- Quickly check relative performance of iGPU/dGPU/primus?
- Probably would be nice to do something about compositing as well.
- Try to report to the user what's missing (e.g. wrong libGL, missing 32-bit primus, etc) and how to fix it.
Please throw in your ideas.
Thinking about whether this can be useful, I see two scenarios:
- Systems clobbered with manual installation of nVidia driver, or switched to nVidia GLX on primary X.
- Clear diagnostics for missing 32-bit libs. Well, 32-bit primus, once installed, will complain about the other two, but when neither 32-bit primus nor 32-bit nVidia is installed, the application runs on Mesa without any warning.