-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with latest parsec #4
Comments
Hello I'm currently giving a try to parsec and found your issue interesting 😋 After installing
But if you use the parsec user then we can see that VA will act differently:
So my current solution is to use the root user if it doesn't work. My Dockerfile: ## Local build command:
# docker build -t docker-parsec:latest .
## Allow X server connections (Some may need to run the next command if they see "No protocol specified. Segmentation fault (core dumped)")
# xhost +
## Start parsec
# sudo docker run -it --rm -e PULSE_SERVER=unix:/run/user/1000/pulse/native -e DISPLAY=unix:0.0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /run/user/1000/pulse:/run/user/1000/pulse --device=/dev/dri:/dev/dri docker-parsec:latest
## If you see a warning about software decoding then use root user
# sudo docker run -it --rm -e PULSE_SERVER=unix:/run/user/1000/pulse/native -e DISPLAY=unix:0.0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /run/user/1000/pulse:/run/user/1000/pulse --device=/dev/dri:/dev/dri -u root docker-parsec:latest
FROM ubuntu:18.04
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
libcairo2 \
libfreetype6 \
libgdk-pixbuf2.0-0 \
libgl1-mesa-glx \
libgl1 \
libglib2.0-0 \
libgtk2.0-0 \
libpango-1.0-0 \
libpangocairo-1.0-0 \
libsm6 \
libsndio6.1 \
libxxf86vm1 \
pulseaudio-utils \
libgl1-mesa-glx \
libgl1-mesa-dri \
xserver-xorg-video-intel \
# i965-va-driver \
va-driver-all \
libva2 \
libva-x11-2 \
libva-glx2 \
vainfo
ADD https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb parsec-linux.deb
RUN dpkg -i parsec-linux.deb
RUN useradd -ms /bin/bash parsec
USER parsec
WORKDIR /home/parsec
CMD /usr/bin/parsecd |
I wonder how, exactly, running parsec as sudo on docker (not parsec on docker as sudo). |
Further investigation shows that when running parsec as sudo on docker, it automatically falls back to software! It does not even try to use the hardware decoder! |
Hi, I have the solution. I found success when I added this in docker file after useradd. Tested on Intel pentium n3700 and debian testing. |
After more testing I found the app_daemon not accessible from the web interface and missing gamepad support. I could fix them both. The clean way to avoid chown would be to use something like fixuid . Here's my solution :
|
@jribal How did you fix the daemon not being accessible from the web interface? I tried your config with |
HI, @jgillich. When I start the container it looks like everything hangs then I get logs when the browser starts to communicate with the daemon. |
No there's no output at all. I've converted the deb with alien and that works for me. |
<img width="277" alt="image" src="https://user-images.githubusercontent.com/61819049/227460455-d31097a7-9341-4099-ae5d-016c240992a6.png" plz need help |
Can you describe your issue better? And fix the link? |
@kajmaj87 while running the client example it's showing XGD runtime not set |
Did you try using the flatpak version of parsec? I didn't use this dockerimage a long time and I'm not supporting this anymore as the flatpak works without any issues for me. |
Hii,
I m using one official git repo for parsec video streaming, with your
permission can I share with you, because I m facing some issues while
running script
Thanks
Pratibha
…On Mon, 27 Mar, 2023, 6:59 pm kajmaj87, ***@***.***> wrote:
Did you try using the flatpak version of parsec? I didn't use this
dockerimage a long time and I'm not supporting this anymore as the flatpak
works without any issues for me.
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOXURKJS6M5XHKCEVV2YVETW6GI3VANCNFSM4FHYCH3Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
All of this is running on manjaro KDE, with intel graphics(made sure to update!)
Parsec versions 146-18 and onwards require libva2 instead of libva1...
Since Ubuntu 16.04 simply does not have libva2, I changed the docker file as such
Line 3: FROM Ubuntu 16.04
to : FROM Ubuntu 18.04
Line 23: libva1
to : libva2
Lines 24-26: libva1
to : libva2
after building Dockerfile successfully, parsec falls back to software again, but it prints some stuff that may be useful!
Console does this:
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns -1
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/vdpau_drv_video.so
libva info: va_openDriver() returns -1
Any help? I can still use the one provided, but I would rather use the latest version of parsec... for HEVC!
The text was updated successfully, but these errors were encountered: