WebGL does not work properly on Raspberry Pi Chromium Browser - raspberry-pi

I have a problem with WebGL on Raspberry Pi 3's Chromium browser. I did the settings required but nothing happened.
Here is my information
Device : Raspberry Pi 3
OS : Linux raspberrypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux(Raspian Stretch with desktop, i also try lite)
Browser : chromium-browser version => Chromium 60.0.3112.89 Built on Ubuntu 14.04, running on Raspbian 9.3
Graphics Driver : vc4-kms-v3d
Here are the get.webgl.org results:
Here is the threejs.org example ("webgl_animation_cloth") results:
I tested the same websites on firefox iceweasel.
They work as shown by these screenshots:
I tried several settings on chrome://flags but nothing is changed
Edit : when i use the command line to open chromium, the chromium opened but gives this error;
libgl error: MESA-LOADER: failed to retrieve device information

My same question is anwered at raspberrypi.stackexchange.com, i try it and it works,
After the enable KMS from raspi-config, remove "--disable-gpu-compositing'' from /etc/chromium-browser/customizations/00-rpi-var
Thanks to #joeyck

Related

Windows error 126 when opening proficy Hmi/Scada

Hi I was trying to run a program (Proficy Hmi) but I got more than one dll error, Windows error 126
I have attached all the error images here with the Windows version
Device type ("All-in-One" 15-panel marine)
Windows version (Windows XP for embedded systems)
Also I downloaded all the missing dll files but it didn't solve the problem
I can't change Windows
Picture of: ifix startup . version 4.0 [build 6192]
Picture of: ifix startup program error code : 126
Picture of : ifix startup error
Picture of:startup history

Emulator Error : x86 emulation currently requires hardware acceleration, dunno what i can do

I use VSCode for Flutter.
When start debugging I get this error:
Failed to launch pixel: emulator: ERROR: x86 emulation currently
requires hardware acceleration! Please ensure Intel HAXM is properly
installed and usable. CPU acceleration status: HAXM is not installed
on this machine
and
C:\user(Username)\AppData\Local\Android\Sdk\extra\intel
I found out intelhaxm-android.exe but it can't install.
What should I do?
You'll have to install it through Android Studio SDK Manager.
You can as well follow the instructions here to see if it fixes your issue.

tns run android displays colours instead of actual application

I'm following the tutorial on how to setup the android emulator through https://docs.nativescript.org/angular/tooling/android-virtual-devices.
I ran these commands
Change into the tools bin dir
: cd /usr/local/android/sdk/tools/bin
: sudo chmod +x
Install system images (must be done as root)
: sudo ./sdkmanager "system-images;android-25;google_apis;x86"
: sudo ./sdkmanager --licenses
Say 'y' to all
: sudo touch ~/.android/repositories.cfg
List available Android Virtual Devices to install (done as user)
: ./avdmanager list
: ./avdmanager create avd -n test -k "system-images;android-25;google_apis;x86"
Now I get the following when I list through avdmanager
: ./avdmanager list avd
: Available Android Virtual Devices:
: Name: test
: Path: /root/.android/avd/test.avd
: Target: Google APIs (Google Inc.)
: Based on: Android 7.1.1 (Nougat) Tag/ABI: google_apis/x86
Now try and run the android emulator
: cd ~/code/MyApp
: tns run android
Once this is started the Android emulator does start up on my Debian 8 thin client but it shows up like the attached image.
Update: Running through Android Studio
It's the same result. I've got this type of result also running the the command line. Funny enough you can actually click buttons when it looks like this and still use it, although it's pretty useless.
Update: Can run through X2go
I ran a test remotely today using the same server and I can run the emulator through the X2go remote login software, but not natively on the thin client. I'm starting to think this is a specific problem of running android emulators under LTSP (thin client).
As I'm running the emulator on a thin client it doesn't look like I can use the 3d hardware acceleration so I've managed to turn it off with the following and the emulator now works pretty good.
$ANDROID_HOME/emulator/emulator -avd test -gpu guest
I'm also using the i3 tiled windows manager and had to force floating on this window;
# Set floating windows
for_window [title="Android Emulator - test:5554"] floating enable

Seeing "Couldn't statvfs() path: No such file or directory" when running Android emulator on Ubuntu 18.04

When running the emulator from Android Studio 3.3.2 on Ubuntu 18.04.2 I'm getting the dreaded
Emulator: Couldn't statvfs() path: No such file or directory
message in the Event Log. The emulator seems to be running ok.
I've already installed the 32 bit libraries that are required to run Android Studio as per https://developer.android.com/studio/install#linux. My laptop is a Dell XPS 13 9380 with an Intel 915 chipset so the recommendations I found to install nVidia drivers do not apply.
Also tried switching between hardware and software rendering for the emulator, both with the same effect.
This was my video cards driver, Ive updated that for the vendor drivers and works wonderfully

Android emulator on Windows Hypervisor Platform error on Hyper V enabled system

When I started emulator on my WIN 10 PRO with
Emulator -avd Android_Accelerated_X86_Oreo -partition-size 512 -feature WindowsHypervisorPlatform
i've got the error:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Windows Hypervisor Platform (WHPX) is properly installed and usable.
#little-monkey
Unfortunately its no way to set it enabled becouse I dont have this option in menu like: properly options in WIN 10
I'd tried scf and dims to resolve error in Windows Update packages but it was useless. Thank you for help in advance!!!!