Soundcard/video issues with Leap

I’ve already added packman the dvd repos…
With my Mageia Linux on the same box I have no problem watching hulu or youtube with
firefox.

But when I tried that in leap, youtube had no sound and hulu gave me this error:

http://oi63.tinypic.com/2chkl0j.jpg

Then I opened hulu with chromium. But when I tried to play a video I got:

Yet:

So I tried installing pepper-flash but that didn’t work either. And when I tried a youtube
video, there was no sound.

So I found a howto on installing actual google-chrom on leap…
That had no trouble opening the hulu video. but there was no sound.

So I opened a downloaded youtube video with parole… No sound.

Speaking of sound… My favorite music player is Music On Console
But when I tried to play a .wav file I got:

zypper said libtimidity-0_1-0 was installed. But I have no clue where the config file
is supposed to be, nor how to set it up correctly.

When I opened that same .wav file with vlc, it failed until I changed it’s soundcard
settings…
But I think it was vlc (before I told it to use the analog sound device) that gave me
this tidbit.

But once I set vlc’s output device to the analog device it was able to play the .wav file.

According to alsamixer sound card selector there are two sound devices {besides default}:


HDA Intel HDMI
HDA Intel PCH

Selecting either default or the HDMI card results in no available volume controls.
But selecting the PCH {analog} device gives me several output channels. Though that
doesn’t help if the media player involved won’t let me tell it not to lock in on the
NON-functional HDMI device.

How can I change the system default sound card to the analog PCH device???

Is that procedure Hulu wants me to use to “clear” flash’s cache and reset it’s
license files safe?? And if so, is HAL even still available?


JtWdyP

Did you add packman and do a vendor change to it???

It would appear that on Jun 15, gogalthorp did say:

> Did you add packman and do a vendor change to it???

Doh! I knew I forgot something… Though I’m not sure that will affect my default
sound card setting. Or deal with MOC’s timidity problem…

I’ll have to reboot into Opensuse and try the vendor change…

Then I’ll post the results.

Thanks for the suggestion.


JtWdyP

It would appear that on Jun 15, JtWdyP did say:

> Doh! I knew I forgot something… Though I’m not sure that will affect my default
> sound card setting. Or deal with MOC’s timidity problem…
>
> I’ll have to reboot into Opensuse and try the vendor change…
>
> Then I’ll post the results.
>
> Thanks for the suggestion.

Well I did the:


zypper dup --from #

Where # is the number of my packman repo…

It did a lot of stuff that will no doubt make my life easier. But all of the
specific problems I mentioned in my initial post still apply. With exactly the same
errors.

  1. Only sound card aware apps that let me set the use of the analog version of the
    sound device, can output any actual sound. So far that means vlc. Nothing else I’ve
    tried offer the user the choice to select an output channel.

My preferred audio player ‘Music on Console’ still screams something about timidity
and exits.

None of my web browsers offer me that choice, so even google’s propitiatory google
chrome {which is ONLY browser can play a hulu video} doesn’t play sound. Youtube
videos I can download and feed to vlc. But hulu doesn’t let me download.

Btw, when chromium has pepper-flash and it tries to play a hulu video I get:

http://oi65.tinypic.com/f1hxtj.jpg

Which is also what happens to Midori…

Suggestions anyone?


JtWdyP

I don’t think that’s a flash issue, I’m pretty sure Chromium uses html5 to play drm-ed content, check and see if you have chromium-ffmpeg and chromium-widevinecdm-plugin from packman installed, doing a full vendor change with packman should install them, a 2nd way to get drm-ed content working is with wine, install both Firefox for Windows and Flash for Firefox under wine and use that, as Firefox 47 for windows did add support for Google’s Widevine CDM but as Firefox uses Window’s build in codecs and wine does not have them you will need flash.
About the sound issue check and see the selected audio output you might have selected the graphic cards hdmi audio unintentionally or set the volume too low

edit.
it does souind that you have not done a vendor change with packman, google’s Chrome ships with a working version of ffmpeg, for legal reasons openSUSE’s Chromium comes with a crippled striped down version of ffmpeg that will not play mp4 audio or video, do tell us your repo list

zypper lr -d

It would appear that on Jun 15, I A did say:

> I don’t think that’s a flash issue, I’m pretty sure Chromium uses html5
> to play drm-ed content, check and see if you have chromium-ffmpeg and
> chromium-widevinecdm-plugin from packman installed, doing a full vendor
> change with packman should install them,

Well as it happens those two were NOT installed… But they are now and that enabled
chromium to play hulu video as well as google chrome does… That is to say still no
sound…

> a 2nd way to get drm-ed content working is with wine, install both Firefox for Windows and
> Flash for Firefox under wine and use that, as Firefox 47 for windows did add support for
> Google’s Widevine CDM but as Firefox uses Window’s build in codecs and wine does not have
> them you will need flash.

Not for me. I’ve never been able to get anything working in wine. And I dislike the
windows version of Firefox anyway… I note that with my other installed Linux, the
native Linux Firefox can still play hulu video… So even though Firefox is my
preferred browser for this, being able to use Chromium {assuming I can fix the sound}
is a distinct improvement.

> About the sound issue check and see the selected audio output you might
> have selected the graphic cards hdmi audio unintentionally or set the
> volume too low

How? Where? I’m pretty sure I asked how to set that in my initial post…

[quote=““the initial post of this thread””]

How can I change the system default sound card to the analog PCH device???
[/quote

I think I’m looking for a stand alone tool as opposed to a desktop environment
settings dialog, because I use a customized bare openbox. I can optionally point
startx at lxqt or even lxdm. But I’m not aware of any set-up tool therein that lets
me as user or root to set the “default” sound output. Or anything that affects the
volume for the HDMI sound card device. I would very much like to know how to set
the system default sound to the analog device. (the analog one works. But only for
those applications that allow the user to select the output device, so far that
only means vlc itself as that’s the only play back tool in which I’ve found a
set-up dialog where I could do so.)

I’m guessing it’s probably something I’d need to change somewhere in systemd… But
if so I’ve no clue how.

> it does souind that you have not done a vendor change with packman,

As I said:

> jtwdyp;2782368 Wrote:
> >
> > Well I did the:
> > >
> Code:
> --------------------
> > >
> > zypper dup --from #
> >
> --------------------
> > >
> > Where # is the number of my packman repo…
> >
> > It did a lot of stuff that will no doubt make my life easier. But all
> > of the
> > specific problems I mentioned in my initial post still apply. With
> > exactly the same errors.

Doesn’t “Zypper dup --from {repo}” do the vendor change?

> google’s Chrome ships with a working version of ffmpeg, for legal
> reasons openSUSE’s Chromium comes with a crippled striped down version
> of ffmpeg that will not play mp4 audio or video, do tell us your repo
> list

> Code:
> --------------------
> zypper lr -d
> --------------------



-- 
JtWdyP

It would appear that on Jun 17, jtwdyp did say:

> It would appear that on Jun 15, I A did say:
> > About the sound issue check and see the selected audio output you
> might
> > have selected the graphic cards hdmi audio unintentionally or set the
> > volume too low
>
> How? Where? I’m pretty sure I asked how to set that in my initial
> post…
> “the initial post of this thread” Wrote:
> >
> > How can I change the system default sound card to the analog PCH
> > device???

OK so I was also working on a laptop backlight issue that was making it hard to read
the text on the screen… I just got a script based solution to that problem working.
And now can see the screen output better.

That led to a # yast2 soundcard experiment that didn’t work out.

Since I could now see the yast2 output better I noticed there was a sound {module?}
that said there were 2 audio controllers, neither of which had been configured.

They were listed as:


Haswell-ULT HD Audio Controller
8 Series HD Audio Controller

The help text indicated that I’d be able to set the default once configured.
I couldn’t decide which one was more likely to be the analog controller from
the pair that alsamixer had listed as:


HDA Intel HDMI
HDA Intel PCH

But I thought the worst case scenario was that I’d have to change which one was
the default.

I was wrong!

I configured both of them. One at a time, testing sound as I went.

The sound test failed with “8 Series HD Audio Controller” Which I configured first.
Then when I first configured the Haswell-ULT HD Audio Controller, the sound test worked.
So I set it as card 0.
But subsequent sound tests failed.

When I checked the results by attempting to play a .wav file

I found that nothing had changed. The only application that seems able to play sound
is vlc (which won’t help me when I’m in the consoles or I want to hear the sound
portion of a youtube or hulu video…)

I still want Firefox to be able to play hulu’s “protected” content. But I could
survive doing that with chromium or google chrome. IF that is I can get the sound working.

But I don’t seem to have a clue how to solve that problem.

I might have remembered to try yast2 sooner but I use it so seldomly I forgot it was
there. That part was my bad. However, when I did try it the sound devices it
listed by default don’t seem to work. And setting either one of them as card0 has
no effect on the availability of sound after reboot. I tried the ADD button, but none
of the possible devices I could have selected looked anything like “HDA Intel”

{sigh}

What I need card0 (and therefore hopefully the default device) to point at is:
the analog device that alsamixer sees as “HDA Intel PCH”. And recognizes as card1
regardless of what I do with the yast2 sound module.

Anyone know how to do this?

Not having sound means I will only occasionally use Opensuse. It’s the last issue
I NEED to solve, to start using it on a daily basis.

What’s left of the other issues are things I can live with. But I need my Music!


JtWdyP

You might need to configure your sound system (sources/sinks) using the PulseAudio ‘pavucontrol’ utility. (Install it if isn’t already present.)

https://en.opensuse.org/SDB:Audio_troubleshooting#PulseAudio_Volume_Control

If you still have problems, then run the ALSA diagnostic script as explained here

https://en.opensuse.org/SDB:Audio_troubleshooting#Script_to_run_to_obtain_detailed_information

It will upload a file to an online server. You can share the link that it generates here.

It would appear that on Jun 18, deano ferrari did say:

> You might need to configure your sound system (sources/sinks) using the
> PulseAudio ‘pavucontrol’ utility. (Install it if isn’t already present.)
>
> SDB:Audio troubleshooting - openSUSE Wiki
>
> If you still have problems, then run the ALSA diagnostic script as
> explained here
>
> SDB:Audio troubleshooting - openSUSE Wiki
>
> It will upload a file to an online server. You can share the link that
> it generates here.

Well deano, it seams your link solved my sound issue. Once I filtered out the pulse
audio dependence. Which since I use neither kde nor gnome is an added layer of
complexity I don’t need. And it turns out hadn’t installed.

What I did need was to follow the instruction in the “13.1 Intel HDA chipset” section
to make the analog device “Intel HDA PCH” the default {card 0} so that ordinary
applications would send their output to it…

I could get used to using Chromium to watch hulu instead of Firefox. So the browser
part of my audio/video issues have just become a pie in the sky someday project.

Which means that the only remaining significant issue is that I still can’t use my
preferred ‘Music on Console’ to listen to my music files.

I don’t suppose you know of a good how-to for resolving this error:

I ask because I don’t even know what timidity is, never mind where or how to
configure it. I don’t even know where to look for the default config that don’t work.

Thanks for your help.


JtWdyP

Well deano, it seams your link solved my sound issue. Once I filtered out the pulse
audio dependence. Which since I use neither kde nor gnome is an added layer of
complexity I don’t need. And it turns out hadn’t installed.

What I did need was to follow the instruction in the “13.1 Intel HDA chipset” section
to make the analog device “Intel HDA PCH” the default {card 0} so that ordinary
applications would send their output to it…

Glad that you got your sound configured as needed. :slight_smile:

Which means that the only remaining significant issue is that I still can’t use my
preferred ‘Music on Console’ to listen to my music files.

I ask because I don’t even know what timidity is, never mind where or how to
configure it. I don’t even know where to look for the default config that don’t work.

Thanks for your help.


JtWdyP

You should start another thread for that issue. You know how it works. :wink:

It would appear that on Jun 19, deano ferrari did say:

> Glad that you got your sound configured as needed. :slight_smile:

Well you can take a bow for that deano, it was your well chosen link to that well
written howto that pointed out the solution to that problem.

> > Which means that the only remaining significant issue is that I still
> > can’t use my
> > preferred ‘Music on Console’ to listen to my music files.
> >
> > I ask because I don’t even know what timidity is, never mind where or
> > how to
> > configure it. I don’t even know where to look for the default config
> > that don’t work.
> >
> > Thanks for your help.
> >
> > –
> > JtWdyP
> You should start another thread for that issue. You know how it works.
> :wink:

Ok, I guess that’s what I’ll have to do… But that will have to wait a while. I need
to start spending some time with my book, I’ve still got to configure the new leap
install on the new {to me} HP Pavilion desktop. On which PC, I also need to install
and configure some debian based Linux {probably antiX, I’ve had good luck with their
rolling release model}. Then after I’ve fixed a couple chapters of my book, I expect
both my Opensuse Leap installations will remind me to start that thread every time I
automatically type mocp to start up my background music, the same way I listen to it with
the rest of my Linux installations.

That is to say that timidity error will still be there unless some update should
happen to fix it before then. Don’t worry I’ll not be holding my breath waiting for
that to happen.

I will say that so far I’m favorably impressed by Leap. It’s currently the most
cutting edge of my installed systems. And like any Linux I’ve so far tried I’ve found
the initial configuration of my user environment from a ‘clean install’ to be a lot of
work. But with people like you lurking around the help forum, it’s been a lot less
painful than I expected.
Thank you deano!


JtWdyP