To set your default audio card to use do the following:
Open YAST (need root password). Go to Hardware -> Sound.
Select the card you want from the list to be primary, go to Other (on the lower right), select the Set as Primary card option.
Select other card (onboard) click delete to disable it. Won’t show in your audio devices anymore. A better option would be to go to your BIOS settings and disable the onboard soundcard from there.
Install pavucontrol (search for it in Yast -> Software Management). This will allow you to better control your audio setup, changing default profiles, outputs and inputs of cards, volume levels etc. It’s a must if using Pulseaudio (default on OpenSUSE).
Optional: As per https://features.opensuse.org/310668 (please vote), changing the /etc/pulse/daemon.conf line ; flat-volumes = yes to flat-volumes = no (mind the ; missing from the begging of the line), will make you master audio level not get changed by changing another app’s volume level. Makes for a better audio session than the current default.
Execute the ‘speaker-test’ commands suggested there, or try
speaker-test -D default -c 6 -t wav
If you cannot get sound with the ‘speaker-test’ commands, then move on to diagnostics section: STEP-3: Checking your audio setup for detailed information. In particular, you should run the diagnostic script (as root)
Often the first time you run this script, it will note there is an update available, and ask if you wish to update. Select YES. If you are running this in a terminal/konsole with root permissions, the script will update. Then run the script a second time. When it is complete, it will pass you a URL. Take a look at the contents of the URL, as it passes to you useful information. Also keep a record of the URL provided by the script as it can come in useful for passing to others who are trying to assist you (on one of the forums, or on an IRC channel). Then go to the next step of this guide.
hw0:0 and hw0:1 correspond to your onboard sound device (analog and digital)
hw1,3 and hw1,7 and hw1,8 and hw1,9 correspond to your HDMI 0, 1, 2, 3
hw2,0 and hw2,1 correspond to your Creative sound blaster analog and digital audio
So lets try this in a konsole to push sound through your Creative sound blaster , with a direct alsa utility app, which will bypass pulse audio (note I don’t recommend bypassing pulse audio nominally - I am just trying to locate the problem area):
speaker-test -c2 -D hw:2,0 -l1 -twav
and if that gives no sound try this:
speaker-test -c2 -D hw:2,1 -l1 -twav
try both as a regular user, and also try with root permissions.
Do either of those yield any sound ?
Be 100% certain you have your speaker cables plugged in to the correct output slot.