Title: Issues with GUI apps on ROC-RK3588-PC Ubuntu 20.04 Gnome [Print This Page] Author: vga84 Time: 7/11/2022 05:25 Title: Issues with GUI apps on ROC-RK3588-PC Ubuntu 20.04 Gnome There's clearly a problem with many GUI apps on Ubuntu 20.04 Gnome firmware for this board. On my board the LibreOffice suite apps (Writer, Calc, etc) that are preinstalled in Gnome firmware crash when I start them. I also installed some other apps via apt and some of them don't work as well. For example Wireshark crashes just like LibreOffice but it prints a log message about to not being able to run with Wayland. After I've seen this, I have tried to start XOrg session instead of Wayland and hoping that it will fix this, but with XOrg gnome fails to login. I can provide any logs that are required however I don't think this it's necessary since this issues are reproducible in one click on bare bone Ubuntu firmware.
So what should a user that wants to try this machine as a GUI box do?
1) Wait for Firefly crew to release a more refined firmware?
2) Recompile firmware himself with some special flags? Maybe recompile for XOrg?
3) Anything else?
The experience with minimal ubuntu firmware and terminal apps is rather smooth and I have not faced any serious issues. Since this board is so powerfull it's really tempting to try it as a GUI box, however this situation with some GUI apps basically makes it impossible.... What should we do?Author: 799959745 Time: 7/11/2022 10:41
Please provide an example and process that reproduces the problem.Author: vga84 Time: 7/12/2022 03:43 Last edited by vga84 In 7/12/2022 03:46 Editor
Steps to reproduce issues that I mentioned in the first post:
1) Install update_tool (v2.1) for linux RK3588 to /usr/local/bin as Firefly wiki suggests
2) Get current Ubuntu Gnome firmware (ROC-RK3588S-PC_Ubuntu20.04-Gnome-r21164_v1.0.0c_220622)
3) Extract the firmware to your linux box
4) Checksum the image, just to make sure we work with the same firmware (I renamed the firmware file to ubuntu-gnome.img to shorten commands)
$ md5sum ubuntu-gnome.img
354db4fa8b5b4087cf15590f695e8f6d ubuntu-gnome.img
Copy the code
5) Connect ROc-3588S-PC via type-C, push the recovery button and boot the board up
6) Flash the UbuntuGnome firmware as follows
$ sudo update_tool ef ubuntu-gnome.img # erase flash memory
$ sudo update_tool uf ubuntu-gnome.img # do the flash
Copy the code
7) If you have allready plugged an HDMI cable into the board you should see it booting into Ubuntu shortly after the last command has finished successfully
Issue #1: LibreOffice doesn't work
1) Open the terminal and execute
$ libreoffice
Copy the code
javaldx: Could not find a Java Runtime Environment!
Please ensure that a JVM and the package libreoffice-java-common is installed.
If it is already installed then try removing ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml
Warning: failed to read path from javaldx
Copy the code
Installing libreoffice-java-common and deleteing specified configs doesn't help
Issue #2: Wireshark doesn't work
1) Open the terminal and execute
$ sudo apt update && sudo apt install wireshark
$ wireshark
Copy the code
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Cannot find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Segmentation fault (core dumped)
Copy the code
Manipulating the environment variables that are mentioned here doesn't help wireshake to run normally.
I would say that probably Wireshark is not the only app that will have issues with Xwayland compatibility layer. I think that for better user experience with GUI software the firmware should ship with Xorg by default, since it's default for Ubuntu 20.04 for amd64 and probably for arm64 so all the testing was most likely done on Xorg.
Issue #3: Can't loging into Xorg session
1) First you reboot the system. For some reason if right after the first boot I logout the system freezes
2) After reboot you will be loged in as firefly user, noy you need to logout the user
3) Now when you are at the password prompt push the gear icon at the bottom right part of the screen
4) You have 4 options there 2 with Wayland sessions and 2 with Xorg
5) Select any of the Xorg options and try to login
6) You are going to see the screen blink and you are back at the password promptAuthor: BrokenStorie Time: 8/19/2022 20:28
Hey vga84
Thank you for the excellent STR. I've run into the exact issues/bugs you've identified with my exploration too.
Again Thank you! :-D
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)