This forum has been archived. All content is frozen. Please use KDE Discuss instead.

broken audio on kde4

Tags: None
(comma "," separated)
jackphil
Registered Member
Posts
9
Karma
0
OS

broken audio on kde4  Topic is solved

Mon Jan 03, 2011 6:05 am
My system is archlinux and up to date. I use kde4. SMplayer(and mplayer) play video with a bad broken audio.

I don't install the gstreamer-plugins, it seems too much addtional packages. anyway, I can playback.

I've tried phonon-xine(default is phonon-gstreamer) and pulseaudio, broken.

If I tried mplayer in twm(not in kde), fine.

smplayer in twm, broken.

in kde, when playing mp3 with mplayer, if I active a qt window(such as about kDE), the sound get worse immediately.

If I minimize the smplayer window, the audio will be better than it actived.

the problem caused by qt or kde?

solved:
I use the following to start kde in .xinitrc that caused the problem:
Code: Select all
exec ck-launch-session startkde

change to:
Code: Select all
exec startkde

the sound crackling disapear, I don't know why, but it works

Last edited by jackphil on Thu Jan 06, 2011 7:30 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: broken audio on kde4

Mon Jan 03, 2011 9:37 am
I seriously doubt that activating any Qt/KDE window (especially those which have no knowledge of the audio system) could in any way directly affect the audio stack.

In terms of audio, how does it get "worse"? If it stutters, you need to investigate your X driver configuration, as the placement of Qt windows (which may use ARGB visuals) above the video area of mplayer may cause additional load which your CPU/GPU cannot handle.

This is also hinted at by the improved playback when it is minimized (if mplayer does anything like VLC does and cease rendering of video when minimized).

In terms of lowering load on your GPU, you may wish to try disabling Desktop Effects.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jackphil
Registered Member
Posts
9
Karma
0
OS

Re: broken audio on kde4

Mon Jan 03, 2011 3:33 pm
1. I doubt it too. So I am confused

2. in terms of "worse", I mean it like speaking with full of water in mouth.

3. I have no xorg.conf, xorg auto detect. and cpu/gpu load is normal. no other window on top of mplayer(smplayer) window.

4. I've tried disable desktop effects, problem is still there.

thx
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: broken audio on kde4

Mon Jan 03, 2011 3:42 pm
did you try the phonon-vlc backend?

in smplayer what audio backend is selected?


OpenSuse Leap 42.1 x64, Plasma 5.x

jackphil
Registered Member
Posts
9
Karma
0
OS

Re: broken audio on kde4

Tue Jan 04, 2011 1:15 am
I haven't tried phonon-vlc, if you suggest, I'll try it later

In smplayer, the audio backend is alsa
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: broken audio on kde4

Tue Jan 04, 2011 2:10 am
try vlc, it can't hurt and might work


OpenSuse Leap 42.1 x64, Plasma 5.x

jackphil
Registered Member
Posts
9
Karma
0
OS

Re: broken audio on kde4

Tue Jan 04, 2011 2:27 am
phonon-vlc now is installed, I got good sounds with:

vlc(fullscreen)+any backends(vlc, gstreamer)=good sounds

any other combinations, still bad sounds:

vlc(normal window) or smplayer(both window and fullsreen)+any backends=bad sounds


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot], Yahoo [Bot]