Skip to content
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

Slow video playback when connected to docking station #211

Closed
UnoSD opened this issue Jun 27, 2020 · 12 comments
Closed

Slow video playback when connected to docking station #211

UnoSD opened this issue Jun 27, 2020 · 12 comments

Comments

@UnoSD
Copy link

UnoSD commented Jun 27, 2020

Initially please make sure the problem hasn't been already addressed:

Some information for baseline would help a lot:

  • Linux distribution and its version
    Arch Linux
  • Linux kernel version
    5.4.49-1-lts
  • Xorg version (if used)
    1.20.8-2
  • Desktop environment in use
    XfCE

I tried upgrading to the latest kernel to see if the issues with the crashes were solved and they weren't; in addition, all the videos played using the GPU were at 1FPS.

I then downgraded back to the 5.4, stability seemed back to normal, but now the video playback is still at 1FPS when connected to the docking station. If I unplug it, videos play at a regular rate.

Using GPU playback from mpv:

[vo/gpu/opengl] EGL_VERSION=1.5
[vo/gpu/opengl] EGL_VENDOR=Mesa Project
[vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES 
[vo/gpu/opengl] Trying to create Desktop OpenGL context.
[vo/gpu/opengl] Choosing visual EGL config 0x15, visual ID 0x21
[vo/gpu/opengl] GL_VERSION='4.6 (Core Profile) Mesa 20.1.2'
[vo/gpu/opengl] Detected desktop OpenGL 4.6.
[vo/gpu/opengl] GL_VENDOR='Intel'
[vo/gpu/opengl] GL_RENDERER='Mesa Intel(R) UHD Graphics 620 (WHL GT2)'
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='4.60'

That is not restricted to mpv only, but anything that uses the GPU for videos, including Firefox on YouTube. When unplugging all works normally. Please let me know if you need more details.

@pbartyik
Copy link

Can you try routing audio to another sink (e.g. laptop's speaker)?

@UnoSD
Copy link
Author

UnoSD commented Jun 29, 2020

@pbartyik that worked! thank you! it's not ideal, but it's a workaround for now.

with the new update, I also notice that it disconnects and reconnects often (every ~15m). but, at least, it doesn't crash the DE. but I guess that's for another GitHub issue...

@pbartyik
Copy link

okay, same issue here then. I'm running linux 5.7.6-arch1-1
This is a tad bit annoying, haven't tried downgrading yet. I don't have the disconnects/reconnects.
How can this be further troubleshooted?

@pbartyik
Copy link

@UnoSD
Copy link
Author

UnoSD commented Jun 29, 2020

@pbartyik thanks. I'm using the linux-lts so it's not the same version, but I guess it may be a change applied to both. I really hope this is the case as I presume it's quicker to fix issues on the Arch/kernel side than evdi.

@displaylink-dkurek
Copy link
Contributor

Please take a look at
https://www.displaylink.org/forum/showthread.php?t=67148

In short, we have raised the issue in Xserver issue tracker https://gitlab.freedesktop.org/xorg/xserver/-/issues/1028
and there is open (at the time beeing) MR with a fix
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/448

This might be the same issue as #181

@pbartyik
Copy link

@displaylink-dkurek not sure how much this has to do with X, I'm experiencing this on wayland.

@UnoSD
Copy link
Author

UnoSD commented Jun 30, 2020

@displaylink-dkurek I should update the issue, as @pbartyik pointed out, my issue is also to do with audio only, I realised it also using and mp3 player and I have the same problem without video.

@displaylink-dkurek
Copy link
Contributor

@pbartyik
From the original message

Xorg version (if used)
1.20.8-2

@UnoSD
Sorry, missed that :)
If it's audio indeed then not sure we can do to much here, EVDI is not
processing audio in any way. :-/

@UnoSD
Copy link
Author

UnoSD commented Jun 30, 2020

@displaylink-dkurek
I did not think that through, I was biased as I just updated kernel and evdi and I assumed the problem was with evdi as it was happening on video playback.
Now that I know it is an audio issue, it's likely to be the kernel and/or docking station audio device.
Thank you, I'll close this issue.

@UnoSD UnoSD closed this as completed Jun 30, 2020
@pbartyik
Copy link

pbartyik commented Jul 6, 2020

@UnoSD fixed in kernel 5.7.7

@UnoSD
Copy link
Author

UnoSD commented Jul 6, 2020

thank you for the heads up @pbartyik

I had to downgrade anyway for stability issues with the latest kernel, I will try again with the next evdi update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants