-
Notifications
You must be signed in to change notification settings - Fork 23
errors on ubuntu 20.10 #21
Comments
I have multiarch set up, so armhf software should run fine |
@Itai-Nelken Try adding the Like this: |
still doesn't work: itai@UbuntuPi4-ultra-4gb:~$ sudo ~/vdesktop/vdesktop /dev/sdb gui Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757 Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm libepoxy0_1.5.4-1_a 100%[===================>] 167.58K 173KB/s in 1.0s 2020-11-28 18:04:36 (173 KB/s) - ‘libepoxy0_1.5.4-1_armhf.deb’ saved [171604/171604] --2020-11-28 18:04:36-- http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy-dev_1.5.4-1_armhf.deb libepoxy-dev_1.5.4- 100%[===================>] 124.40K 136KB/s in 0.9s 2020-11-28 18:04:37 (136 KB/s) - ‘libepoxy-dev_1.5.4-1_armhf.deb’ saved [127384/127384] Reading package lists... Done itai@UbuntuPi4-ultra-4gb:~$ |
It really shouldn't be saving anything to |
same error I think: itai@UbuntuPi4-ultra-4gb:~$ sudo -E ~/vdesktop/vdesktop /dev/sdb gui Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757 Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm libepoxy0_1.5.4-1_a 100%[===================>] 167.58K 130KB/s in 1.3s 2020-11-28 18:18:29 (130 KB/s) - ‘libepoxy0_1.5.4-1_armhf.deb.1’ saved [171604/171604] --2020-11-28 18:18:29-- http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy-dev_1.5.4-1_armhf.deb libepoxy-dev_1.5.4- 100%[===================>] 124.40K 130KB/s in 1.0s 2020-11-28 18:18:31 (130 KB/s) - ‘libepoxy-dev_1.5.4-1_armhf.deb.1’ saved [127384/127384] Reading package lists... Done itai@UbuntuPi4-ultra-4gb:~$ |
I think the problem is that the .deb's are 32bit, Is there a way to install them from apt? |
Maybe |
I can add a logic switch to skip downloading these packages if those 2 packages are already installed. |
Or, if you wanted to, you can disable virgl. and use vdesktop without it.
|
works, thanks. btw what is virgl? |
VirGL is a virtual GPU that connects with the guest. It provides OpenGL hardware acceleration to supported applications. |
thanks. |
@Itai-Nelken I'm still curious: On your system, does this command work okay?
If it does work, I can make changes to vdesktop to make virgl work on 64 bit systems like yours. |
|
but I think it's something with my system |
Maybe try |
still same error when installing |
running |
I removed the lines that download and install itai@UbuntuPi4-ultra-4gb:~/vdesktop$ vdesktop /dev/sdb gui Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757 Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm meson.build:79:0: ERROR: Dependency "epoxy" not found, tried pkgconfig and cmake A full log can be found at /home/itai/virglrenderer/build/meson-logs/meson-log.txt itai@UbuntuPi4-ultra-4gb:~/vdesktop$ |
I tried compiling virgilrender using the commands from the vdesktop script and I got this error: Run-time dependency epoxy found: NO (tried pkgconfig and cmake) meson.build:79:0: ERROR: Dependency "epoxy" not found, tried pkgconfig and cmake A full log can be found at /home/itai/virglrenderer/build/meson-logs/meson-log.txt |
Maybe try |
itai@UbuntuPi4-ultra-4gb:~$ apt search epoxy --names-only libepoxy0/groovy,now 1.5.4-1 arm64 [installed] itai@UbuntuPi4-ultra-4gb:~$ |
works! here are the steps I did:
|
but now vdesktop doesn't work.. itai@UbuntuPi4-ultra-4gb:~/vdesktop$ vdesktop /dev/sdb gui Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757 Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm spawn /home/itai/vdesktop/nspawn /home/itai/vdesktop/systemd-nspawn-64 /media/pi/vdesktop --bind=/tmp/.virgl_test Hold on... itai@UbuntuPi4-ultra-4gb:~/vdesktop$ |
Oh I know what happened. I need to change any instances of |
I did that, but it still doesn't work, same error
|
Right there. |
how do I fix it? |
I did that with the 'find and replace' function of the text editor |
fixed it with might be a good idea to add it to the vdesktop script instead of |
now the panels in the OS running inside vdesktop (TwisterOS 1.9.1) are malfunctioning with items failing and being removed |
Could you send a screenshot? |
Sometimes the pulseaudio plugin fails to load the first time IIRC. |
I rebooted 3 times.
tomorrow. |
|
I'm writing how I installed all the apps I use on Ubuntu that aren't available in the repositories here if you would like to take a look. |
could you change all |
Ah yes, thank you for reminding me. |
I think desktop generally doesn't work that well on Ubuntu, a few days ago I tried to boot a fresh install of rpiOS, and the rpiOS sort of became a "live wallpaper", the Gnome shell became white and crashed after a while. the system was really unstable until I rebooted.
and maybe add a link to the part where I wrote how to install desktop on Ubuntu in my Ubuntu-on-rpi-fixes. CLI mode works perfectly well, you don't even have to do anything. just use desktop the regular way. it's the GUI mode that doesn't work well (on Ubuntu). |
@Itai-Nelken I could add a statement to vdesktop's page, or I could fix vdesktop on Ubuntu. Now, I've not used Ubuntu much. An I've heard that there are several flavors. Which one are you using? |
I'm using stock Ubuntu 20.10 https://ubuntu.com/download/raspberry-pi I meant to put the statement until it's fixed, just so people know. it could be maybe something like "vdesktop has some bugs on Ubuntu when using GUI mode, a fix is being worked on" |
if you flash Ubuntu, could you try my scripts here please? https://github.com/Itai-Nelken/Ubuntu-on-rpi-fixes I need someone with a fresh Ubuntu install on the pi to test it, to download and run: |
Which Ubuntu release would you prefer I try?
|
There, I added the instability warning to the readme. 5e70caa |
for what? use Ubuntu Desktop 20.10 in my opinion (it's the only version with an actual desktop), but you can also use Ubuntu server and use Desktopify to add a Desktop. just keep in mind it uses about 1.8gb idle, so at least 4gb pi4 if you want to actually use it and test stuff on it. I also have a bug that makes it use 100% cpu when starting up, so what I did is install bleachbit ( Use the fixes here: https://github.com/Itai-Nelken/Ubuntu-on-rpi-fixes I think that after installing zoom (that install pulse audio armhf) sound became choppy, I have a fix there. Hope this helps. |
The 100% CPU may be caused by the compositor. Just a thought. |
maybe, anyway it settles after some time. I actually think it's because it is running startup tasks because it settles down later, but one CPU core stays at 100% all the time. so maybe. |
here is the log when running first time:
log.txt
Ubuntu told me to run
sudo apt install -f
that fixed the dependencieshere is what happend 2nd time I ran:
itai@UbuntuPi4-ultra-4gb:~$ sudo ~/vdesktop/vdesktop /dev/sdb gui
Current config:
VDESKTOP_BOOT_MODE: gui
VDESKTOP_UMOUNT_ON_EXIT: yes
VDESKTOP_USERNAME: pi
VDESKTOP_PASSWORD: raspberry
VDESKTOP_AUTO_LOGIN: yes
VDESKTOP_MOUNTPOINT: /media/pi/vdesktop
VDESKTOP_ENABLE_ROOTMOUNT: yes
VDESKTOP_ENABLE_VIRGL: yes
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS:
Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757
Given /dev/sdb, running in external storage device mode.
Partiton 2 exists.
Mounting /dev/sdb2 to /media/pi/vdesktop, and mounting /dev/sdb1 to /media/pi/vdesktop/boot.
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
Virgilrenderer server not found, but it's enabled in the config file.
Compiling virglrenderer in 10 seconds. To cancel, press Ctrl+C before then..........
Compiling virglrenderer now.
--2020-11-28 09:35:22-- http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy0_1.5.4-1_armhf.deb
Resolving ftp.br.debian.org (ftp.br.debian.org)... 200.236.31.3, 2801:82:80ff:8000::4
Connecting to ftp.br.debian.org (ftp.br.debian.org)|200.236.31.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 171604 (168K) [application/x-debian-package]
Saving to: ‘libepoxy0_1.5.4-1_armhf.deb.1’
libepoxy0_1.5.4-1_a 100%[===================>] 167.58K 166KB/s in 1.0s
2020-11-28 09:35:24 (166 KB/s) - ‘libepoxy0_1.5.4-1_armhf.deb.1’ saved [171604/171604]
--2020-11-28 09:35:24-- http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy-dev_1.5.4-1_armhf.deb
Resolving ftp.br.debian.org (ftp.br.debian.org)... 200.236.31.3, 2801:82:80ff:8000::4
Connecting to ftp.br.debian.org (ftp.br.debian.org)|200.236.31.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 127384 (124K) [application/x-debian-package]
Saving to: ‘libepoxy-dev_1.5.4-1_armhf.deb.1’
libepoxy-dev_1.5.4- 100%[===================>] 124.40K 117KB/s in 1.1s
2020-11-28 09:35:25 (117 KB/s) - ‘libepoxy-dev_1.5.4-1_armhf.deb.1’ saved [127384/127384]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libepoxy-dev:armhf' instead of '/root/libepoxy-dev_1.5.4-1_armhf.deb'
Note, selecting 'libepoxy0:armhf' instead of '/root/libepoxy0_1.5.4-1_armhf.deb'
The following packages will be DOWNGRADED:
libepoxy-dev:armhf libepoxy0:armhf
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Failed to install local dependencies!
Hold on...
Unmounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Unmounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
Cleaning up...
Almost done...
Done!
itai@UbuntuPi4-ultra-4gb:
$ sudo apt install -y --allow-downgrades$ sudo ~/vdesktop/vdesktop /dev/sdb guiReading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
itai@UbuntuPi4-ultra-4gb:
Current config:
VDESKTOP_BOOT_MODE: gui
VDESKTOP_UMOUNT_ON_EXIT: yes
VDESKTOP_USERNAME: pi
VDESKTOP_PASSWORD: raspberry
VDESKTOP_AUTO_LOGIN: yes
VDESKTOP_MOUNTPOINT: /media/pi/vdesktop
VDESKTOP_ENABLE_ROOTMOUNT: yes
VDESKTOP_ENABLE_VIRGL: yes
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS:
Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757
Given /dev/sdb, running in external storage device mode.
Partiton 2 exists.
Mounting /dev/sdb2 to /media/pi/vdesktop, and mounting /dev/sdb1 to /media/pi/vdesktop/boot.
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
Virgilrenderer server not found, but it's enabled in the config file.
Compiling virglrenderer in 10 seconds. To cancel, press Ctrl+C before then..........
Compiling virglrenderer now.
--2020-11-28 09:38:12-- http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy0_1.5.4-1_armhf.deb
Resolving ftp.br.debian.org (ftp.br.debian.org)... 200.236.31.3, 2801:82:80ff:8000::4
Connecting to ftp.br.debian.org (ftp.br.debian.org)|200.236.31.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 171604 (168K) [application/x-debian-package]
Saving to: ‘libepoxy0_1.5.4-1_armhf.deb.2’
libepoxy0_1.5.4-1_a 100%[===================>] 167.58K 121KB/s in 1.4s
2020-11-28 09:38:14 (121 KB/s) - ‘libepoxy0_1.5.4-1_armhf.deb.2’ saved [171604/171604]
--2020-11-28 09:38:14-- http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy-dev_1.5.4-1_armhf.deb
Resolving ftp.br.debian.org (ftp.br.debian.org)... 200.236.31.3, 2801:82:80ff:8000::4
Connecting to ftp.br.debian.org (ftp.br.debian.org)|200.236.31.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 127384 (124K) [application/x-debian-package]
Saving to: ‘libepoxy-dev_1.5.4-1_armhf.deb.2’
libepoxy-dev_1.5.4- 100%[===================>] 124.40K 91.8KB/s in 1.4s
2020-11-28 09:38:16 (91.8 KB/s) - ‘libepoxy-dev_1.5.4-1_armhf.deb.2’ saved [127384/127384]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libepoxy-dev:armhf' instead of '/root/libepoxy-dev_1.5.4-1_armhf.deb'
Note, selecting 'libepoxy0:armhf' instead of '/root/libepoxy0_1.5.4-1_armhf.deb'
The following packages will be DOWNGRADED:
libepoxy-dev:armhf libepoxy0:armhf
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Failed to install local dependencies!
Hold on...
Unmounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Unmounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
Cleaning up...
Almost done...
Done!
itai@UbuntuPi4-ultra-4gb:~$ sudo ~/vdesktop/vdesktop /dev/sdb gui
Current config:
VDESKTOP_BOOT_MODE: gui
VDESKTOP_UMOUNT_ON_EXIT: yes
VDESKTOP_USERNAME: pi
VDESKTOP_PASSWORD: raspberry
VDESKTOP_AUTO_LOGIN: yes
VDESKTOP_MOUNTPOINT: /media/pi/vdesktop
VDESKTOP_ENABLE_ROOTMOUNT: yes
VDESKTOP_ENABLE_VIRGL: yes
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS:
Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757
Given /dev/sdb, running in external storage device mode.
Partiton 2 exists.
Mounting /dev/sdb2 to /media/pi/vdesktop, and mounting /dev/sdb1 to /media/pi/vdesktop/boot.
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
Virgilrenderer server not found, but it's enabled in the config file.
Compiling virglrenderer in 10 seconds. To cancel, press Ctrl+C before then..........
Compiling virglrenderer now.
--2020-11-28 09:39:49-- http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy0_1.5.4-1_armhf.deb
Resolving ftp.br.debian.org (ftp.br.debian.org)... 200.236.31.3, 2801:82:80ff:8000::4
Connecting to ftp.br.debian.org (ftp.br.debian.org)|200.236.31.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 171604 (168K) [application/x-debian-package]
Saving to: ‘libepoxy0_1.5.4-1_armhf.deb’
libepoxy0_1.5.4-1_a 100%[===================>] 167.58K 180KB/s in 0.9s
2020-11-28 09:39:51 (180 KB/s) - ‘libepoxy0_1.5.4-1_armhf.deb’ saved [171604/171604]
--2020-11-28 09:39:51-- http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy-dev_1.5.4-1_armhf.deb
Resolving ftp.br.debian.org (ftp.br.debian.org)... 200.236.31.3, 2801:82:80ff:8000::4
Connecting to ftp.br.debian.org (ftp.br.debian.org)|200.236.31.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 127384 (124K) [application/x-debian-package]
Saving to: ‘libepoxy-dev_1.5.4-1_armhf.deb’
libepoxy-dev_1.5.4- 100%[===================>] 124.40K 134KB/s in 0.9s
2020-11-28 09:39:52 (134 KB/s) - ‘libepoxy-dev_1.5.4-1_armhf.deb’ saved [127384/127384]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libepoxy-dev:armhf' instead of '/root/libepoxy-dev_1.5.4-1_armhf.deb'
Note, selecting 'libepoxy0:armhf' instead of '/root/libepoxy0_1.5.4-1_armhf.deb'
The following packages will be DOWNGRADED:
libepoxy-dev:armhf libepoxy0:armhf
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Failed to install local dependencies!
Hold on...
Unmounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Unmounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
Cleaning up...
Almost done...
Done!
The text was updated successfully, but these errors were encountered: