|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Quote:
all the configuration i had was setting apmd to -A (which was from the faq) but playing videos from youtube via mpv shows desynchronization. and playing live streams via mpv, the video stutters (stop and go) every 3-4 seconds. and also the high cpu usage. perhaps you had success because the intel firmware you were using were from another time and had no issues? anyways i've tried various mpv settings.... not much luck when using ao=sndio i get: [ao/sndio] Blocking until remaining audio is played... (sndio design bug). [ffmpeg] tls: error:00000000:lib(0):func(0):reason(0) [ffmpeg/demuxer] hls: keepalive request failed for 'https://video-weaver.tpe01.hls.ttvnw.net/v1/playlist/CqkDUO4BVl-LKxSaRmpGYR9p6-42FFQmHkj62HnSOC4yXi1O_nkKiw06I3aCQv0AaonZtL5hImtX zaWxVoRbMM_oeCqqKeDCfL0T7uNDLOGQ6EOEFY8B5q0v4H3an3 pcG-OZ4T-ROMyj6u3b2ZxylXuecBnFj4YIVjTyivV1a_UDEbYGNQRcsifD6 tXTmlmCjnfeAovjqXAfpuakAyKUfaKaSfL6d07FlZQ7H9LZy24 zJIaO2P2OtHBwaYsBk5beCXddDhSXD6--ywtrqyjByFPmdV8fdxgDqUBGnGq-FQ5onMYRuUKiUfbzfaM-ClevG3PLVwRf7MUuwvYou3o-sbiVAYfWU9on6SYUnos43M7J6atYWEPR6R6iBTvV4zz9erp9Fk M6smE7Vp8hLBVlPQtixhh6hYt7AkypGAONZaGLUbr9g97TFcu4 m7S1mm4-uoDgkSSjXUBvRSSxAsU4QiezqTQYHQT_K95GPp-IQCGd2_gMIfCNKzafOeK22dXCbLrqHN1awgyfzZCQ2PCxqw42T pyMvg2mh1xPCUKi-ovUfm4kaCGIoepMHosSEBIfPv9y41qS9urp7B1urmkaDA5lR7W 4Gc9JIQIOaA.m3u8' when parsing playlist, retrying with new connection: Input/output error Audio/Video desynchronisation detected! Possible reasons include too slow hardware, temporary CPU spikes, broken drivers, and broken files. Audio position will not match to the video (see A-V status field). (Buffering) AV: 00:06:44 / 00:06:45 (99%) A-V: 0.000 Dropped: 2 Cache: 0s+963K [ffmpeg/demuxer] hls: skipping 1 segments ahead, expired from playlists AV: 00:06:47 / 00:06:52 (98%) A-V: 0.000 Dropped: 32 Cache: 4s+2MB Last edited by therue; 17th November 2019 at 08:28 AM. |
|
|||
This specific laptop is used by many people and is reported to work very well out of the box. You must have done something wrong.
The intel firmware is provided by fw_update. We use the same version. Make sure you belong to the staff group (which is the case in a default install when adding a user). Check the output of: Code:
$ ulimit -a Some tools like vmstat, iostat and top could give you clues on what's going on. Once again consider to start over. |
|
|||
ulimit -a:
Quote:
only thing done was adding apmd -A (recommended by the faq) and changing datasize-cur in login.conf from 1536M to 4096M (recommended by many online. but i wouldn't even try this if i had no problems in the first place). |
|
|||
I don't see anything wrong in Xorg.0.log.
Try removing /etc/X11/xorg.conf.d if it still exists and any tweak in /etc/sysctl.conf and mpv. I assume you use xenodm to start a desktop. Which one is it by the way ? What is the output of glxinfo | grep render and glxgears? You can have a look at this https://dri.freedesktop.org/wiki/glxinfo Does the same thing happen with a video located on a local drive? Do you have the same problem with mplayer? |
|
|||||
Quote:
there has never been any tweak to /etc/sysctl.conf, by default that file doesn't even exist unless you create it. so currently there's no sysctl.conf file. there's also no mpv config file by default. while i did try the suggestions from others previously, i have since deleted the file as the configuration settings didn't remedy the situation. xenodm is the default xenodm that came with OpenBSD. i simply set up a .xsession with 3 lines. which are all from the FAQ. export LC_CTYPE="en_US.UTF-8" export ENV=$HOME/.kshrc fvwm Quote:
Quote:
note: by default, openbsd doens't seem to use the inte drm driver from fw_update. it reverts back to modesetting. just installed mplayer. this is the result when attempting to play a regular youtube video: just a plain newly installed mplayer with no extra configs or settings. Quote:
Quote:
Last edited by therue; 17th November 2019 at 01:00 PM. |
|
|||
Sounds good.
What about the last two questions? |
|
|||
the above mplayer entries:
using it to play youtube video using it to play a live stream from twitch. those didn't actually work. it just displayed those info in my terminal window but no video was displayed. regarding playing a video file locally. i did download a sample video and that did work with mplayer - although the file is very small in size and pretty low quality. i'm trying to download a higher quality video file to see if perhaps different encodings and things will cause any problems for mplayer when played locally. |
|
|||
You can use youtube-dl to download a video and then use mpv/mplayer to see if there is any improvement.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2017 OpenBSD Webkit options | shep | OpenBSD Packages and Ports | 8 | 13th February 2017 04:38 AM |
OpenBSD 5.7 Router Issues | Peter_APIIT | OpenBSD General | 8 | 18th June 2015 06:31 AM |
openbsd server optimization | barti | OpenBSD General | 18 | 30th July 2012 02:52 PM |
FreeBSD Kernel Optimization | komodo | FreeBSD General | 5 | 22nd June 2009 07:15 AM |
Gnome issues in OpenBSD 4.2 | Shredder | OpenBSD General | 61 | 27th May 2008 07:34 AM |