View previous topic :: View next topic |
Author |
Message |
SavageMindz Tux's lil' helper
Joined: 28 Oct 2002 Posts: 87 Location: The bit of hell that has frozen over.
|
Posted: Wed Feb 09, 2005 2:33 am Post subject: xmms and dragging a window.... [SOLVED] |
|
|
Hi all,
Been having this problem for a while and only just got round to trying to find a solution but here goes. When I'm playing MP3s or OGGs with xmms,the sound is smooth until I drag a window after a second or two the sound stops until I release the mouse button.
I should probably point out that I have only noticed this on the second sound card but then I never play music out the first so not sure if it happens there as well. I'm also using the standalone alsa-driver package with 2.6. Alsa is not compiled into the kernel except the soundcore module.
Anyway is anyone else having the same problem or indeed found a solution. If you guys need it I'll be happy to post more info.
Cheers
Savage
Hopefully useful info:
Code: | cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-emu10k1
## OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
#alias sound-service-1-0 snd-mixer-oss
#alias sound-service-1-3 snd-pcm-oss
#alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=3
|
Code: | uname -a
Linux imperator 2.6.10 #6 Wed Feb 2 04:59:38 GMT 2005 i686 AMD Athlon(tm) XP 3200+ AuthenticAMD GNU/Linux |
Last edited by SavageMindz on Thu Mar 03, 2005 9:42 am; edited 1 time in total |
|
Back to top |
|
|
aminalshmu Tux's lil' helper
Joined: 13 Sep 2004 Posts: 78 Location: TX, USA
|
Posted: Wed Feb 09, 2005 4:57 am Post subject: |
|
|
it probably has something to do with xorg hogging so much of the cpu to draw windows. if you use 'top' and drag a window around, you can see how much CPU that X eats up. you can try increasing the cache in xmms or just not dragging windows when playing music |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Wed Mar 02, 2005 5:36 pm Post subject: |
|
|
I have the same issue with Fluxbox. I just came here looking for a way to fix it and this is the first post I found. I have at least 3-4 different Gentoo boxes, and this happens on all of them ---all with different sound cards.
Though the theory of X hogging CPU is a pretty good one, I would think that the interruption in xmms would be brief and choppy, not on or off, like it is for me. _________________ http://dkap.info |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Wed Mar 02, 2005 5:42 pm Post subject: |
|
|
Got it (for flux at least) from here.
Just a matter of enabling the "opaque window moving" menu item from the fluxbox menu. _________________ http://dkap.info |
|
Back to top |
|
|
SavageMindz Tux's lil' helper
Joined: 28 Oct 2002 Posts: 87 Location: The bit of hell that has frozen over.
|
Posted: Thu Mar 03, 2005 9:42 am Post subject: |
|
|
fantastic, thats been bugging me for ages and that has just sorted the problem right out.
Just to note I was also using fluxbox I just never thought it might be the casue of the problem.
Cheers
Savage |
|
Back to top |
|
|
I.C.Wiener Tux's lil' helper
Joined: 25 Jul 2004 Posts: 115 Location: Furtwangen (Germany)
|
Posted: Sat May 07, 2005 1:55 pm Post subject: |
|
|
Had the very same problem with enlightenment.
As a workaround this will help:
Move & Resize Settings -> Move/Resize Methods : Opaque
However there got to be another solution. I think the problem came up after doing "emerge world" some month ago. Perhaps it's something with the kernel or openGL |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Sat May 07, 2005 3:05 pm Post subject: |
|
|
I moved over to mpd because of this. I can move windows like I need (not opaque) and do whatever I want with my harddisk without any skip since.
Cheers
mic |
|
Back to top |
|
|
V-Man n00b
Joined: 19 Jun 2003 Posts: 38 Location: A chair
|
Posted: Sat May 14, 2005 12:53 am Post subject: |
|
|
I noticed this same issue. If I quickly moved a window around, things were ok. But if I took more than a second or 2, XMMS would stop altogether. I found this on the Fluxbox site:
Quote: | Outline moving works by drawing a rectangle of inverted pixels around a window. When you move the mouse, the old rectange is erased (by inverting the pixels again) and a new one drawn. Fluxbox grabs the display to freeze all the applications display windows. If it doesn't to this, then window changes can occur which change bits of the rectangles, ultimately leaving sections of rectangle randomly around the screen.
All window managers that offer outline moving need to enforce the same rule so that the display doesn't become messy with rectange fragments during or after the move operation. If you find one that doesn't let us know
The author believes that applications such as xmms whose primary function is not graphical ought to be able to continue to operate without the display updating (mplayer has a good excuse to pause). However, this behaviour is not under the control of the Fluxbox developers - you should talk to XMMS people to see if they can make it continue playing even without display updates (though I imagine this may also be a difficult problem) |
Looks like XMMS gets upset because it can't repaint visualizations and the scrolling song title.
Anyway, enabling opaque window moving helped me out. Thanks guys! _________________ To err is human; To really foul things up requires a computer.
www.zoto.com |
|
Back to top |
|
|
|