Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-15-2005, 07:45 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 10.1 and KDE
Posts: 11
Rep:
|
Flash animations w/o sound!
I play Neopets alot, and really enjoy some of the Flash games. However, I have just recently (within the last week) switched to Mandrake Linux 10.1 from Windows XP, and I'm still terribly unfamiliar with it. But it was for the best. Windows' service and security sucked anyway.
I installed the latest version of Macromedia Flash Player so I could play my beloved games. But there's no sound! I have no idea what the problem could be, and I wonder if anyone could help me out?

|
|
|
03-15-2005, 08:04 AM
|
#2
|
LQ Newbie
Registered: Dec 2004
Posts: 10
Rep:
|
I have encountered the same exact problem on Slack 10 and FireFox. From the little bit of research I've done, the problem seems to be with ALSA and OSS emulation. I could be wrong about this, but I found a thread concerning this posted somehwere by the guy who worked on the code for the flash linux implementation at macromedia.
I have noticed, however, that I can get sound with Flash when I run FireFox as root. Try this (run your game as root) and see if you get sound. I don't know what is going on, and was hopeing someone could shed light on this oddity for me, but this seems to be the case for me.
|
|
|
03-16-2005, 07:44 AM
|
#3
|
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 10.1 and KDE
Posts: 11
Original Poster
Rep:
|
How do I run FireFox as root?
|
|
|
03-16-2005, 08:32 AM
|
#4
|
Member
Registered: Feb 2004
Location: Italy
Distribution: Ubuntu
Posts: 40
Rep:
|
i.- open the console,
ii.- type: su root
iii.- type your password
iv.- type: firefox & (not sure wheter the f should be upper case... not in my box, so I cannot check it out)
if it doesn´t work, you have to find where the firefox executable is. You may do this using the right mouse butom -not sure about the spelling on that one- on the firefox icon. So you get to where the file is, and type: ./-executable- &.
where -executable- is the name of the file, wich should be firefox -again, not in my box, so cannot check it out. sorry- but anyhow you can see it when you right-click on the icon.
the "&" tells your system that you may keep using the console, and I believe even close it, and the program should keep running.
hope that helped a bit...
the basic idea is: you switch user to root (su root), then call the program (but you need to know where it is and how it's named) and that's it.
|
|
|
03-18-2005, 02:45 PM
|
#5
|
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 10.1 and KDE
Posts: 11
Original Poster
Rep:
|
 That didn't work.
|
|
|
03-18-2005, 03:14 PM
|
#6
|
Member
Registered: Aug 2003
Location: Ohio
Distribution: Ubuntu 12.04, Mint 13, RHES 5.5, RHES 6
Posts: 146
Rep:
|
while logged in as root open a terminal and type
Code:
# find / -name firefox -print
this should tell you were firefox is located.
|
|
|
03-18-2005, 03:16 PM
|
#7
|
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 10.1 and KDE
Posts: 11
Original Poster
Rep:
|
I already know where it is, and tried running it as root. I did not get my sound back.
|
|
|
03-18-2005, 03:37 PM
|
#8
|
Member
Registered: Aug 2003
Location: Ohio
Distribution: Ubuntu 12.04, Mint 13, RHES 5.5, RHES 6
Posts: 146
Rep:
|
Just checking, but your system sound is working right? I mean outside of firefox your sound works?
|
|
|
03-18-2005, 05:53 PM
|
#9
|
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 10.1 and KDE
Posts: 11
Original Poster
Rep:
|
Well, sort of...  I can play music. Hovever, I can no longer hear my system sounds, even after I told it to play system sounds in the 'configure your desktop' option. Why they were de-selected in the first place is beyond me. I did try to use different drivers for my sound card, none of which worked. Upon switching back to the first one, system sounds no longer played, and when I booted up this morning, it said my audio drivers had failed to initialize!  But that got fixed with a reboot.
I've tried downloading an older version of Flash. I've even tried re-installing the new version. I've tried configuring Mozilla Firefox, and I've tried playing with my sound card drivers. I'm becoming really upset! Could my sound card be incompatible? Its an AC'97, I think. Not sure what company made it. Linux would be just perfect if only I had my system sounds and flash sounds!
I'm also having a problem with my directional keys on my keyboard. Some of the flash games on Neopets require their use, but they don't work in those games! It has me wondering if this mess is Flash-related, and that the non-working keys are part of it.
Its just one thing after another! 
Last edited by Tokaia; 03-18-2005 at 05:55 PM.
|
|
|
03-18-2005, 06:07 PM
|
#10
|
LQ Newbie
Registered: Oct 2004
Location: Rio de Janeiro - Brasil
Distribution: Suse 9.2 Pro
Posts: 6
Rep:
|
|
|
|
03-19-2005, 12:49 PM
|
#11
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
open up konsole
then type in
su
then the root password
then type chmod 666 /dev/dsp*
then go into the configure your desktop link in the menu, and then sound options or something(towards teh bottom).
then click on sound server, and tell it to supsend itself after 2 seconds.
then try flash.
|
|
|
03-19-2005, 03:13 PM
|
#12
|
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 10.1 and KDE
Posts: 11
Original Poster
Rep:
|
Well, it worked for a little bit.  But then I tried to play music in amaroK, but it wouldn't play. So I tried to play music in Kaffeine. That worked, but then I lost my flash sound again. I re-did the little trick above, but it didn't work. This is getting irritating!!!
Last edited by Tokaia; 03-19-2005 at 05:39 PM.
|
|
|
03-19-2005, 10:09 PM
|
#13
|
LQ Newbie
Registered: Oct 2004
Location: Rio de Janeiro - Brasil
Distribution: Suse 9.2 Pro
Posts: 6
Rep:
|
I solved this here executing firefox with "aoss" before it, like this:
aoss firefox
Hope it help. By.
|
|
|
03-20-2005, 09:55 AM
|
#14
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
are you using alsa?
if so do this.
create a file
~/.asoundrc
and as it's contents add
pcm.card0 {
type hw
card 0
mmap_emulation true
}
pcm.!output {
type dmix
ipc_key 1234
ipc_key_add_uid 1
slave {
pcm "card0"
period_time 0
period_size 1024
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}
#
# DSNOOP output device
#
pcm.!input {
type dsnoop
ipc_key 4321
ipc_key_add_uid 1
slave {
pcm "card0"
period_time 0
period_size 1024
rate 48000
}
}
#
# ASYM duplex device
#
pcm.!duplex {
type asym
playback.pcm "output"
capture.pcm "input"
}
#
# Make the duplex device default
#
pcm.!default {
type plug
slave.pcm "duplex"
}
#
# OSS Compability
pcm.!dsp0 {
type plug
slave.pcm "duplex"
}
ctl.!mixer0 {
type hw
card 0
}
and then set everything to use alsa. It will allow you to play more than one soudn at once.
Also, go back to that section in the configure your desktop link, and then sound system, and make sure that it is set to Advanced Linux Sound Architecture instead of autodetect.
If you are not using alsa, then switch to alsa.
go into the configure your computer link, and then type in your password, then it's somewhere in sound or hardware or something(haven't used mandrake in a while) and then configure your sound, and when it asks, tell it to use a driver that starts with snd
|
|
|
03-20-2005, 10:54 AM
|
#15
|
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 10.1 and KDE
Posts: 11
Original Poster
Rep:
|
Okay, once I quit out of Kaffeine, my flash sound came back. Hopefully it stays. Hovever, I now have a problem with Fash's video. It keeps sticking every few seconds, and its extremely irritating.
No, i'm not using Alsa. I don't even know what it is.  How do I do all that stuff you described?
Last edited by Tokaia; 03-20-2005 at 02:24 PM.
|
|
|
All times are GMT -5. The time now is 09:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|