Open Selaron opened 3 years ago
I can now type the command "fakecam.gui" and launch the gui. The reason for snap-apps not being on path in debian is this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931776
And worked around using this: echo . /etc/profile.d/apps-bin-path.sh >> ~/.bashrc
But still when hitting the buttn "start fakecam" the output does not start but above exception appears on terminal. Maybe We'd need a switch on UI that enables/disables CUDA usage.
I've added some extra checking, and have dropped cuda for now (it makes the snap too big for the store to reliably accept it). Could you try refreshing to the beta channel and give it another go? To get the beta channel run:
sudo snap refresh --beta fakecam
After modprobing again the latest beta seems to work. Not using as much cpu as before. From 500% to 200%. However the gui does not work for me. Perhaps I should do a reboot for that? On Ubuntu 21.10
Running fakecam.gui gives me:
Python path configuration: PYTHONHOME = (not set) PYTHONPATH = '/snap/fakecam/112/usr/lib/python3.8/dist-packages:/snap/fakecam/112/usr/lib/python3/dist-packages:/snap/fakecam/112/usr/lib/python3.8/dist-packages:/snap/fakecam/112/usr/lib/python3/dist-packages:/snap/fakecam/112/gnome-platform/usr/lib/python3.8:/snap/fakecam/112/gnome-platform/usr/lib/python3/dist-packages' program name = 'python3' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/snap/fakecam/112/bin/python3' sys.base_prefix = '/usr' sys.base_exec_prefix = '/usr' sys.executable = '/snap/fakecam/112/bin/python3' sys.prefix = '/usr' sys.exec_prefix = '/usr' sys.path = [ '/snap/fakecam/112/usr/lib/python3.8/dist-packages', '/snap/fakecam/112/usr/lib/python3/dist-packages', '/snap/fakecam/112/usr/lib/python3.8/dist-packages', '/snap/fakecam/112/usr/lib/python3/dist-packages', '/snap/fakecam/112/gnome-platform/usr/lib/python3.8', '/snap/fakecam/112/gnome-platform/usr/lib/python3/dist-packages', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007f44cad77740 (most recent call first):
I have no problems running the latest Edge version via gui.
Hello,
while the current stable version works for me, the beta (3.0.0) stops saying "CUDA driver version is insufficient". I don't have a nvida card.
I launch the app on debian bullseye using "snap run fakecam" as simply typing "fakecam" results in "command not found".
Both versions, stable and beta never give me a GUI. (I'm using xfce4 on lightdm).
How can I get a UI and turn off usage of CUDA?