I am having trouble with flash player. Well first I had some trouble with my router and rebooted linux. Then, flash wouldn’t play sound anymore.
I updated flash etc but still no sound. Then I tried as root administrator and flash sound works fine there.
So I checked the sound preferences from the Control Center and found out, all output devices are set to autodetect instead to one of the output devices I have. But when I switched to the user account to change the preferences accordingly, no sound was played at all… sigh…
Also, when I want to use the loudspeaker icon at the bottom to reach the volume control in the user account, I get an error message stating there was some connection refused.
Note that inappropriate use of user account can really mess up your permissions such that sound will not work and other problem symptoms will result (from inappropriate root use). So hopefully your testing with root was just a simply konsole/terminal test and NOT a log in to X.
Anyway, did you try adding your regular user to group audio? You can do that in YaST.
After adding your user to group audio, you need to log out of Linux and log back in. Restarting may be the easiest way not to get this wrong, after adding your user to group audio.
To see if things work on root I actually hit the “switch user” button. Hope that’s not too much of a problem. Anyway, it did not become worse than it was before. Of course this could mean it was all messed up before and rebooting the system while flash was trying to load a movie was the final push it needed.
I found the audio group, added the user to it and rebooted. Did not change anything.
OK, then since you are using openSUSE-11.1, try removing libflash-support (but keep flash-player) and restart your browser and check as a REGULAR USER.
If that does not work then as a REGULAR USER try to play a flash video. Check the PCM volume levels immediately as soon as the video starts to play and move them up if too low. Does that help?
Advise please if it does not, as there are other things to check.
Deneck wrote:
> Thanks for helping
>
> To see if things work on root I actually hit the “switch user” button.
> Hope that’s not too much of a problem.
logging into any Unix-like OS as root/superuser/ is a no-no, do not do
it even “just to check” and see if it works…because doing so you
have nothing you can use…
dont do it…this is not windoz and root is not administrator…
logging into KDE/Gnome/etc as root 1) opens you up to several
different security problems, 2) too many too easy ways to damage your
system no matter how careful your actions (example: just browsing in
your home directory while logged into KDE/Gnome/etc as root can lock
you out later as yourself due to permissions damage), 3) and, anyway
logging into KDE/etc as root is never required to do any and all
administrative duties…
so, always log in as yourself, and “become root” by using a root
powered application (like YaST, File Manager Superuser Mode) or using
“su -”, sudo, kdesu, or gnomesu in a terminal to launch whatever tool
is needed (like Kwrite to edit a config file)…read more on all that
here:
!!Soundcards recognised by ALSA
!!-----------------------------
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe020000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfdbfc000 irq 19
2 [Audigy2 ]: Audigy2 - Audigy 2 ZS [2001]
Audigy 2 ZS [2001] (rev.4, serial:0x20011102) at 0xcf00, irq 21
From what I can see you have 2 sound devices (I am ignoring the HDMI).
In some cases in KDE, users will have sound devices selected in a specific order in YaST > Hardware > Sound, but will have a different order selected in KDE’s > Configure Desktop Multimedia. This means firefox will try to play sound thru the wrong hardware device and the user will get no sound. I do not know how this works in Gnome, but its possible you have the same problem. I believe you need to ensure you have the same order of device priority in Gnome desktop (pulse audio) settings as you have in YaST.
Also, some users found in firefox they need to go to Firefox > Edit > Applications > Shockwave Flash file and choose “Use Flash Player (default)”
Ok, I did something to the YaST entries and now the sound cards indices are switched. This did not change anything. banshee still plays nicely, flash doesn’t.
I switched from Shockwave Flash to Flash Player in Firefox and nothing happened.
I DID find the PCM volume control! I was always double clicking the icon but right click -> preferences allows me to change the used mixer and then choose to have PCM changed when using the volume control.
How about summarizing where you are wrt this and how you got here.
Are you using ONLY the Novell/SuSE-GmbH packaged flash rpm, or did you go mucking about with the Adobe packaged version?
What is the output of:
rpm -qa '*flash*'
Did you try removing one hardware sound device, configure the other, and see if flash plays then? If that is the case, then it would suggest this is a problem having multiple sound devices with Gnome/Pulse-Audio, which is my suspicion.
hum… it worked. I ‘deleted’ all Soundcards except one from the YaST Sound control thing and restarted.
Actually I am somewhat surprised that the flash player spontaneously switched to the wrong sound card when I rebooted the system.
As long as I do not start playing with synthesizers etc again, I guess it will be ok - uhm I did not play with that in my linux system before just in case your face just hit the keyboard - but I added the second card to use it with my electronic drum set which I used with windows.
I believe there is a way to get this working with gnome and pulse audio with two audio cards, but it requires knowledge of pulse audio that I have either forgotten, or knowledge that I never had.