Monero Integration in Whonix

Install mesa-utils then run glxinfo | grep OpenGL

If 3D is being emulated in pure software because no acceleration it will say llvmpipe. At least it’s the case with KVM. This isn’t future proof and makes no sense in vulkan environments.

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
1 Like

VirtaulBox host setting VMSVGA 3D acceleration seems to be working.

  • Without, 3D acceleration disabled the CPU utilization is higher as expected (100%).
  • With, 3D acceleration enabled the CPU utilization is lower (30%).

The output of glxinfo is exactly the same with and without 3D acceleration.

I can’t find any way to figure that out from inside the VM. The only way to find this out is by testing. Environment variable QMLSCENE_DEVICE=softwarecontext is either required or not.

QMLSCENE_DEVICE=softwarecontext monero-wallet-gui

or

monero-wallet-gui

For VirtualBox, this will be simplified in the future in Whonix ™ 15.0.1.3.4 (and above) which is coming soon. QMLSCENE_DEVICE=softwarecontext will be globally set as environment variable if VirtualBox is detected. Script:

vm-config-dist/20software_rendering_in_vms at master · Kicksecure/vm-config-dist · GitHub

1 Like

Seeing the exact same behavior described in bug reports. Expected because 3D acceleration is not fully ready yet for KVM on Debian stable.

1 Like

any way to test if it works for kvm?

1 Like

/etc/X11/Xsession.d/20software_rendering_in_vms

1 Like
1 Like
1 Like

Uploaded Monero GUI 0.17.1.1 just now.

1 Like

Monero and Whonix 15.0.1.5.1 bug (possibly actually non-bug)

Upgraded to 0.17.1.4 just now.

Upgraded to 0.17.1.6 just now.

Upgraded to 0.17.1.7 just now.

Upgraded to 0.17.1.9 just now.

1 Like

Upgraded to 0.17.2.1 just now.

2 Likes