Audio skips when scrolling, skips horribly when watching video with Compiz enabled
[SOLVED!]
Hi, I'm really new to Linux and I am deciding to migrate from Windows once I can fix this. The problem is that when I have Compiz enabled, my sound would skip a lot when I scroll down a page ( With any program, like firefox, pdf viewer), load a page with firefox and it skips for a second when I open an application. When I don't do anything the audio runs pretty smoothly by itself. It especially happens in full screen when I play video with vlc or some other program and with flash videos. To note: I used to have a problem with the video on all the players when compiz is on ( they were skipping/cluttering as well ), I fixed vlc by making it use the X11 output module, and now video runs smoothly but not the audio. When I have compiz off playback works way better, still a little clutter though. Is there any way to run smooth audio in movie playback in fullscreen and have smooth audio while doing other tasks with compiz enabled? Quote:
|
Hi Kib
what distro are you using? did the problem happen under windows? how much ram does your computer have? What kind of sound card does your computer have? does the problem really only happen with compiz or does it happen with other programs? It sounds like compiz enhances the problem so it surfaces. If you supply more info someone will be able to help you. Im not an expert, but we do need more info. Vanessa |
I think if you weren't using the most suitable video driver specified in Xorg.conf could cause similar problem. To start with that line of thinking, do you know if your using ATI video card or NVIDIA card?
Maybe if you do lspci from a command terminal, and post the output of lspci here on this thread, as that will provide lots of info about your hardware. |
Quote:
I'm using Fedora core 10, The problem does not exist in windows I have 2 gb ram, 3.2 ghz CPU It says I have two audio devices, when I typed $ lspci to the console these are the audio devices it displays: Quote:
Yes, the problem really only happens in Compiz, rarely without. And I am using an ATI card, Radeon HD 4850 I believe. Here is the full lspci output: Quote:
|
Quote:
Have a look at your xorg.conf file which is found in the /etc/X11 folder (eg": type into a terminal window gedit /etc/X11/xorg.conf). What you might want to look for is mention of fglrx, which is the video driver you might want to be using because you have an ATI Radeon graphics card. Also check out http://www.fedorafaq.org/#radeon |
I downloaded the official ati drivers for Linux ( http://support.amd.com/us/gpudownloa...6&lang=English ), as I recall compiz did not work without the drivers.
It says I am using fglrx, is that the driver as I mentioned above? Quote:
I don't really remember, but I think I did not have a xorg.conf file at all before, then I created this with some assistance. Is it possible that this xorg.conf does not work or that the real one is in another directory for Fedora 10? |
One more update:
It seems that Xorg cannot find the correct driver for my Video Card when I input Xorg -configure :1 ( to reconfigure the xorg.conf ), but how is the video working at all? What can anybody make of this? Quote:
I'm really new to this, am I doing anything wrong here? EDIT: Quote:
Quote:
Also, why is it pointing at the wrong PCI slot anyway? The PCI slot according to lspci is: Quote:
How come xorg is displaying the GUI at all when it's pointing at the wrong device, if it's wrong... |
Anybody?
|
Do you accidentally have two Device sections in your xorg.conf file? as it is possible to have more than one specified. The "Screen" section of the xorg.conf file is the section where it is specified which "Device" is being used.
I would have thought fglrx driver in the device section of xorg.conf file would be best, but you could try replacing fglrx with ati and see what that does. You can use CTRL+ALT+Backspace to restart X server without full reboot, after editing xorg.conf. and remember to save a backup before you start tinkering with xorg.conf |
Okay I changed the driver fglrx to agi and no luck ( black screen ), I when into command line to debug and it said that I was missing the module 'ati', then it said "Fatal server error: no screens found" or something like that.
Just in case, here is the whole xorg.conf: Quote:
|
These are complete stabs in the dark, but what happens if you try the 'vesa' driver instead? i'd expect compositing desktop not to work, but what about the playback of video and audio when you start moving things around the screen, scrolling PDF files and so on?
Also maybe changing the settings on these: Option "OpenGLOverlay" "off" <-- try "on" Option "VideoOverlay" "on" <-- try "off" |
When I move windows in Compiz the sound and video do not seem to get effected at all, but scrolling pdf files and web pages make the sound clutter a lot. Doing so in metacity, without compiz the sound and video run very smoothly in almost any situation.Stand by as I experiment with the settings...
|
Okay when I changed to vesa it did not work ( half of the screen was cluttery, second half blank, completely crashed X ), changing OpenGLOverlay and VideoOverlay did not help with the sound cluttering, same as before...
|
No ideas anyone?
|
Try rebuilding your xorg.conf. On Fedora that would be system-config-display I think. You may need to change the driver part to fglrx afterwards. Also check if you have a recent version of the ati driver.
|
In fedora 10 command "system-config-display" is "X -configure". However, when I execute "X -configure" it fails to make the file and outputs error 11, mentioned in the above post. How do you find the version of a driver in linux?
|
Excellent news! I followed General Failures advice to update the driver. AMD published a new driver a couple of weeks ago ( http://support.amd.com/us/gpudownloa...6&lang=English ), I tested it out and now everything works perfectly. My previous version of the driver was 9.4, and it seems in 9.5 they fixed it! Thanks man!
|
All times are GMT -5. The time now is 04:08 AM. |