Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 228298] 48khz sound stuttering

2 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
May 16, 2018, 12:56:04 PM5/16/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228298

Mark Linimon <lin...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|bu...@FreeBSD.org |multi...@FreeBSD.org

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-m...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multime...@freebsd.org"

bugzilla...@freebsd.org

unread,
May 16, 2018, 1:02:58 PM5/16/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228298

--- Comment #1 from SF <shit...@hotmail.com> ---
Changing kernel-behaviour to always choose the last cpu/thread for
soundprocessing should solve this.

bugzilla...@freebsd.org

unread,
May 16, 2018, 2:13:46 PM5/16/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228298

Jan Beich <jbe...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |d...@FreeBSD.org,
| |ger...@FreeBSD.org
Flags| |maintainer-feedback?(gerald
| |@FreeBSD.org),
| |maintainer-feedback?(dbn@Fr
| |eeBSD.org)

--- Comment #2 from Jan Beich <jbe...@FreeBSD.org> ---
Does the issue affect only Wine? Can you attach .wav sample?

Try a different audio backend instead e.g., ALSA or PulseAudio. Maybe Wine
developers don't test OSS backend enough (if at all).

Try changing buffering latency i.e., hw.snd.latency and hw.snd.latency_profile.

(In reply to SF from comment #1)
> Changing kernel-behaviour to always choose the last
> cpu/thread for soundprocessing should solve this.

Do you mean pthread_setaffinity_np(3)? It's up to an application or the sound
daemon.

bugzilla...@freebsd.org

unread,
May 16, 2018, 2:23:27 PM5/16/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228298

--- Comment #3 from SF <shit...@hotmail.com> ---
dev.pcm.0.play.vchanrate=192000

This affects performance within games very much, but as far as i know it should
affect any program on freebsd because the processing is done on cpu1. This
should be switched to the last cpu. I recognised some interactions of this
several times, putting this on cpu1 is not good.

If oss is the default sound-implementation then this should be changed.

bugzilla...@freebsd.org

unread,
May 27, 2018, 6:02:22 PM5/27/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228298

Gerald Pfeifer <ger...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags|maintainer-feedback?(gerald |
|@FreeBSD.org) |

--- Comment #4 from Gerald Pfeifer <ger...@FreeBSD.org> ---
I'm afraid I cannot contribute to this.

bugzilla...@freebsd.org

unread,
Jun 2, 2018, 12:30:37 PM6/2/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228298

David Naylor <d...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags|maintainer-feedback?(dbn@Fr |
|eeBSD.org) |

--- Comment #5 from David Naylor <d...@FreeBSD.org> ---
I'm not sure how to test this, but I changed all my PCM devices to 192k (e.g.
dev.pcm.0.play.vchanrate=192000) and didn't encounter any sound issues with
either Wine or VLC.

If this is the correct way of testing then perhaps something else is the
problem besides Wine?
0 new messages