Commits on Source (28)
-
Bastien Nocera authored838d0563
-
Bastien Nocera authored
--gpu=X was documented, but --gpu X was expected. Fix both to work.
f251554f -
Bastien Nocera authored6b5dd1fd
-
Bastien Nocera authored
Two tests with the same name meant that one of those wasn't getting run.
a6455eef -
gasinvein authored
The __NV_PRIME_RENDER_OFFLOAD env var causes the special Vulkan layer VK_LAYER_NV_optimus to be loaded which, in turn, reorders GPUs reported to the app so that Nvidia GPUs come first. The app is supposed to select the first GPU, but it appears to be not always the case, especially for Wine. To make sure that Vulkan apps always use the Nvidia dGPU, set __VK_LAYER_NV_optimus=NVIDIA_only, which tells the special layer to report only the Nvidia GPUs, thus, leaving the app no other choice. Closes: #22
d2c85f57 -
gasinvein authoredc9ae9bc3
-
gasinvein authoredc23fd437
-
Bastien Nocera authored
Add the python suffix.
ad82eb5d -
Bastien Nocera authored
unittest_inspector.py lists the tests in the integration-test.py script, which are then added as individual tests.
fdae539c -
Bastien Nocera authored
/etc should be left for sysadmin overrides. Closes: #26
085091fd -
Bastien Nocera authored
WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300
0eba9b40 -
Bastien Nocera authored
For machines with dual-GPUs by 2 different vendors, setting the VK_ICD_FILENAMES envvar reduces the GPUs it can detect to those of that vendor, effectively forcing a particular GPU to be chosen. For machines with dual-GPUs, the variable will have no effect, and things will work as if no selection had been made, just like for NVidia GPUs. Closes: #23
de360742 -
Bastien Nocera authoredd3d83998
-
Bastien Nocera authored
display-manager.target doesn't exist, but display-manager.service does. That's the one we want to start before. Closes: #21 Fixes: 3592c1c4
e04cb14f -
Bastien Nocera authored99297791
-
Bastien Nocera authored
/usr/include/glib-2.0/glib/gmacros.h: In function ‘get_drm_cards’: /usr/include/glib-2.0/glib/gmacros.h:1212:17: warning: ‘parent’ may be used uninitialized [-Wmaybe-uninitialized] 1212 | { if (_ptr) (cleanup) ((ParentName *) _ptr); } \ | ^ ../src/switcheroo-control.c:367:32: note: ‘parent’ was declared here 367 | g_autoptr(GUdevDevice) parent; | ^~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1212:17: warning: ‘parent’ may be used uninitialized [-Wmaybe-uninitialized] 1212 | { if (_ptr) (cleanup) ((ParentName *) _ptr); } \ | ^ ../src/switcheroo-control.c:339:32: note: ‘parent’ was declared here 339 | g_autoptr(GUdevDevice) parent; | ^~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1212:17: warning: ‘parent’ may be used uninitialized [-Wmaybe-uninitialized] 1212 | { if (_ptr) (cleanup) ((ParentName *) _ptr); } \ | ^ ../src/switcheroo-control.c:289:32: note: ‘parent’ was declared here 289 | g_autoptr(GUdevDevice) parent; | ^~~~~~
7708dd70 -
Bastien Nocera authored
On a Raspberry Pi 3. Before: $ switcherooctl $ After: $ switcherooctl Device: 0 Name: Unknown Graphics Controller Default: no Environment: DRI_PRIME=platform-soc_gpu
13e2c2dd -
Bastien Nocera authored
This works around non-Intel platforms not setting the "boot_vga" sysfs attribute.
b5b7ef96 -
Bastien Nocera authored774fc5ca
-
Bastien Nocera authored
This reverts commit d3d83998.
b804d601 -
Bastien Nocera authored
This reverts commit de360742. The Vulkan support breaks when the exact paths don't exist in the app's view of the filesystem, such as when containers are used and have a different hierarchy than the host. Closes: #30
76b64c22 -
Bastien Nocera authored
In https://github.com/python/cpython/commit/664448d81f41c5fa971d8523a71b0f19e76cc136 the "errors" attribute was removed from the _Outcome object. Adapt the code to print the daemon log after a failed run().
d104ce41 -
Bastien Nocera authored
We never used autotools or libtool.
97dc05e3 -
Bastien Nocera authored
Closes: #27
1b86ae31 -
Bastien Nocera authored276b87e7
-
Bastien Nocera authoreddac36758
-
Bastien Nocera authored0dd257ed
-
Jeremy Bicha authored52d4fe90
tests/unittest_inspector.py
0 → 100755