ftarz
Posts: 7
Joined: Thu Jan 24, 2019 1:46 am

Can Box86 work with a desktop environment other than stock Raspberry Pi OS?

Mon Sep 20, 2021 9:48 pm

I am trying to build a Pi based box for web surfing, Youtube, Netflix, etc that uses a large-screen TV as a monitor. I would also like to have Zoom working using Box86 on the Pi.

If I use the stock Raspberry Pi OS environment then I get Widevine support, Box86 and Zoom working. My problem with this configuration is that the URL location bar on Chromium does not scale with the desktop and is unreadable on a large screen from a distance.

I can get the URL location bar to correctly size with the desktop settings by switching to a different desktop environment like Mate.

However switching the desktop-environment, even after Box86 is built and successfully working stops it from working. Zoom will start and briefly flashes on the screen, but then disappears. Box86 complains about missing libraries.

Has anyone gotten Box86 to build and work with a desktop-environment other than stock Raspberry PI OS?

Frank

User avatar
B.Goode
Posts: 13025
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Can Box86 work with a desktop environment other than stock Raspberry Pi OS?

Mon Sep 20, 2021 10:48 pm

ftarz wrote:
Mon Sep 20, 2021 9:48 pm
I am trying to build a Pi based box for web surfing, Youtube, Netflix, etc that uses a large-screen TV as a monitor. I would also like to have Zoom working using Box86 on the Pi.

If I use the stock Raspberry Pi OS environment then I get Widevine support, Box86 and Zoom working. My problem with this configuration is that the URL location bar on Chromium does not scale with the desktop and is unreadable on a large screen from a distance.

I can get the URL location bar to correctly size with the desktop settings by switching to a different desktop environment like Mate.

However switching the desktop-environment, even after Box86 is built and successfully working stops it from working. Zoom will start and briefly flashes on the screen, but then disappears. Box86 complains about missing libraries.

Has anyone gotten Box86 to build and work with a desktop-environment other than stock Raspberry PI OS?

Frank


The installation documentation lists many other platforms besides RasPiOS. https://github.com/ptitSeb/box86


If that isn't clear perhaps you could contact the developer - who occasionally contributes to these forums - via the project Issues page: https://github.com/ptitSeb/box86/issues

User avatar
Gavinmc42
Posts: 6211
Joined: Wed Aug 28, 2013 3:31 am

Re: Can Box86 work with a desktop environment other than stock Raspberry Pi OS?

Tue Sep 21, 2021 1:07 am

You could try Twister OS, that comes with it standard.
https://twisteros.com/
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
RasPiGaming
Posts: 215
Joined: Mon Jul 26, 2021 1:06 pm

Re: Can Box86 work with a desktop environment other than stock Raspberry Pi OS?

Tue Sep 21, 2021 2:23 am

I use Box86 and Box64 on Ubuntu (which uses GNOME), and they both work just fine.
An RPi can be a gaming PC. As long as you have the right packages and software anyway.
Using a RPi4 8GB with Ubuntu Desktop 21.04, main interests are gaming and programming. Also occasionally uses two RPi3B+ and a RPi3B.

bjtheone
Posts: 1527
Joined: Mon May 20, 2019 11:28 pm
Location: The Frozen North (AKA Canada)

Re: Can Box86 work with a desktop environment other than stock Raspberry Pi OS?

Tue Sep 21, 2021 11:49 am

I suspect your environmental configuration is messed up with Mate. It should work.

I would dump your environment from both a "stock" (LXDE) install and your Mate install and look for differences. "LD_LIBRARY_PATH" is a likely candidate.

ftarz
Posts: 7
Joined: Thu Jan 24, 2019 1:46 am

Re: Can Box86 work with a desktop environment other than stock Raspberry Pi OS?

Wed Sep 22, 2021 2:31 am

So here's the shell environment difference before and after installing the MATE software collection to my freshly installed Raspberry PI box.

uname -a reports: Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux

A diff of the shell environment shows only:
pi@raspberrypi:~ $ diff en*0 en*1
21a22
> GTK_MODULES=gail:atk-bridge
38d38
< NO_AT_BRIDGE=1
44c44
< PPID=4566
---
> PPID=1110
48a49
> QT_ACCESSIBILITY=1
54,55c55,56
< SSH_AGENT_PID=631
< SSH_AUTH_SOCK=/tmp/ssh-WpUd2sEyEsh7/agent.599
---
> SSH_AGENT_PID=666
> SSH_AUTH_SOCK=/tmp/ssh-ORyT0nck7bHf/agent.629
77,78c78,79
< _=set
< _LXSESSION_PID=599
---
> _=--color=auto
> _LXSESSION_PID=629

When I try to start Zoom via Box86 after installing the Mate software collection I see this in the Box86 output:
pi@raspberrypi:~/apps/zoom $ ./zoom
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for ./zoom
Using native(wrapped) libdl.so.2
Using native(wrapped) libX11.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libxcb-xfixes.so.0
Using native(wrapped) libxcb-shape.so.0
Using native(wrapped) libxcb-shm.so.0
Using native(wrapped) libxcb-randr.so.0
Using native(wrapped) libxcb-image.so.0
Using native(wrapped) libxcb-keysyms.so.1
Using native(wrapped) libxcb-xtest.so.0
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXtst.so.6
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libdbus-1.so.3
Using emulated libQt5Quick.so.5
Using emulated libQt5Gui.so.5
Using emulated libQt5Core.so.5
Using native(wrapped) libpthread.so.0
Using emulated libicui18n.so.54
Using emulated libicuuc.so.54
Using emulated libicudata.so.54
Using emulated /lib/i386-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using emulated /lib/i386-linux-gnu/libgcc_s.so.1
Using native(wrapped) libgthread-2.0.so.0
Using global g_threads_got_initialized for gthread2 (0xbea3e020:0x2bafcd4)
Using native(wrapped) libGL.so.1
Using emulated libQt5Qml.so.5
Using emulated libQt5Network.so.5
Using emulated libQt5Widgets.so.5
Using native(wrapped) libgobject-2.0.so.0
Using emulated libQt5Script.so.5
Using emulated libQt5DBus.so.5
zoom started.
Client: Breakpad is using Single Client Mode! client fd = -1
Using emulated /home/pi/apps/zoom/platforms/libqxcb.so
Using emulated libQt5XcbQpa.so.5
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libSM.so.6
Using native(wrapped) libICE.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXcursor.so.1
Using emulated /home/pi/apps/zoom/xcbglintegrations/libqxcb-glx-integration.so
Using emulated /home/pi/apps/zoom/platforminputcontexts/libcomposeplatforminputcontextplugin.so
Using emulated /home/pi/apps/zoom/imageformats/libqsvg.so
Using emulated libQt5Svg.so.5
Warning, CPUID command 3 unsupported (ECX=6c65746e)
Warning, CPUID command 8 unsupported (ECX=6c65746e)
[CZPClientLogMgr::LogClientEnvironment] [MacAddr: DC:A6:32:B0:2E:8E][client: Linux][OS: Raspbian GNU/Linux 10 (buster)][Hardware: CPU Core:4 Frenquency:1.5 G Memory size:7897MB CPU Brand: Intel(R) Pentium(R) 4 CPU 1500MHz GPU Brand:][Req ID: ]
Linux Client Version is 5.4.2 (53391.1108)
QSG_RENDER_LOOP is
XDG_CURRENT_DESKTOP = LXDE; GDMSESSION = lightdm-xsession
Graphics Card Info::
Zoom package arch is 32bit, runing OS arch is i386
AppIconMgr::systemDesktopName log Desktop Name: LXDE-pi
Using emulated /home/pi/apps/zoom/QtQuick.2/libqtquick2plugin.so
Using emulated /home/pi/apps/zoom/QtQuick/Controls/libqtquickcontrolsplugin.so
Using emulated /home/pi/apps/zoom/QtQuick/Layouts/libqquicklayoutsplugin.so
Using emulated /home/pi/apps/zoom/QtQuick/Window.2/libwindowplugin.so
Using emulated /home/pi/apps/zoom/imageformats/libqdds.so
Using emulated /home/pi/apps/zoom/imageformats/libqgif.so
Using emulated /home/pi/apps/zoom/imageformats/libqicns.so
Using emulated /home/pi/apps/zoom/imageformats/libqico.so
Using emulated /home/pi/apps/zoom/imageformats/libqjp2.so
Using emulated /home/pi/apps/zoom/imageformats/libqjpeg.so
Using emulated /home/pi/apps/zoom/imageformats/libqmng.so
Using emulated /home/pi/apps/zoom/imageformats/libqtga.so
Using emulated /home/pi/apps/zoom/imageformats/libqtiff.so
Using emulated /home/pi/apps/zoom/imageformats/libqwbmp.so
Using emulated /home/pi/apps/zoom/imageformats/libqwebp.so
link image0 hasn't been detected!
Could not resolve property : pattern0
Using native(wrapped) libpulse.so.0
Cannot resolve 'dbus_free' in your libdbus-1.
Aborted

This looks more like Box86 has a conflict with something installed as part of the Mate software collection than a shell environment issue.

Frank

User avatar
Botspot
Posts: 1777
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Can Box86 work with a desktop environment other than stock Raspberry Pi OS?

Wed Sep 22, 2021 4:00 pm

ftarz wrote:
Mon Sep 20, 2021 9:48 pm
My problem with this configuration is that the URL location bar on Chromium does not scale with the desktop and is unreadable on a large screen from a distance.
You have two options:
  • Enable pixel-doubling with the Raspberry Pi Configuration tool. After a reboot, this will cut the resolution in half and make everything appear twice the size on your screen.
  • Change Chromium's scale-factor.

    Code: Select all

    chromium-browser --force-device-scale-factor=2
    I discovered this flag by reading through this list of Chromium flags.
Easily install apps on your Pi with Pi-Apps! Over 500k users.
Includes two Zoom desktop apps, 3 ways to run Minecraft, 10 web browsers, appearance themes, and 105 more.
More info: https://github.com/Botspot/pi-apps

bjtheone
Posts: 1527
Joined: Mon May 20, 2019 11:28 pm
Location: The Frozen North (AKA Canada)

Re: Can Box86 work with a desktop environment other than stock Raspberry Pi OS?

Thu Sep 23, 2021 4:01 pm

Could you clarify how you build the sd with Mate on it. Did start from Lite and add X + Mate, or did you start from a Desktop build (with LXDE) and add Mate so that you have both DMs?

It may work better if you build one from scratch just with Mate. There are reports of it working properly with Gnome, in various other distros. I have had no issues with any application with my Mate install, but I have not run Box86 specifically.

Return to “Advanced users”