[Bug 974963] Re: [soundnua]: hdmi audio missing in sound settings

2012-09-29 Thread Peter Willett
Hi David

I don't know whether this is the right forum to continue with my
problem. No doubt someone will tell me if I need to raise it else where.
In any event if someone stumbles on this as I did then they may find my
comments useful.  I think I know what is going on in my case.

When the PC powers up without the TV switched on. There is no handshake
between it and the TV over the HDMI cable. The video driver defaults to
the expected value but the system disables the video codec. When the TV
is switched on, it does not trigger a restart of the video flgrx driver
and in turn the audio remains disabled. (Wouln't it be nice if the
system detected the TV and this triggers a X server restart.)

I base this on my observations that a HDMI cable unplug and replug
triggers a X restart and audio appears. That if I kill the video with
sudo pkill X in a terminal and relogon the audio appears. If I start
the PC after the TV has been switched on the audio appears. The pin 3
results are as you describe above.

Further reading of forum messages on here and elsewhere seems to show
that many have overcome this problem by installing the newer video
drivers from AMD website. The Ubuntu ones are old and the post release
fglrx update in Additional drivers does not work for me and many others
from what I can see in the forums. I have not had success installing a
newer driver from the AMD site, the process fails for me. I have even
tried the latest beta version which apparently has Ubuntu support. I
need to pursue this when I have time.

I am sure that if Ctrl-Alt-Backspace was available that would be an easy
way to restart the x server and the situation would be acceptable. With
Mybuntu I can't enable the feature on the keyboard. I have seen that Alt
(Right)- K-PrintScreen restarts the X server but not for me. I am able
to add buttons to the mythtv frontend (I have buttons to Power_off and
Reboot). I think I will add a button to kill the X server and it will
restart. This is fine but the process does not remember that it should
autologin but that is better than continually unplugging and replugging
in the HDMI cable.

Anyhow, that is as far as I have got.

Peter

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/974963

Title:
  [soundnua]: hdmi audio missing in sound settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/974963/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 974963] Re: [soundnua]: hdmi audio missing in sound settings

2012-09-27 Thread Peter Willett
Hi David

Thank you for responding quickly.

No I don't recall unplugging it after 90 seconds. And, I know the HDMI
cable is good because I swapped it when I first found the fault, and
looking at dmesg I could see something about HDMI pin3.

I use this machine with Mythbuntu and the machine comes on at a set time
from the bios rtc. The TV is switched on later. I have noticed that if I
power the PC after switching on the TV then I do have sound (this is my
perception and I need to record if this is 100% true on all occasions).

I am not sure what you mean about seeing it in sound settings. In
Mythbutu this is Frontend/Setup/Audio and can only be seen after it has
booted.  I think that, in the past, when I have looked at it, it had a
comment Not Connected, but looking today this is not there. In the
past I have tried changing drivers back to others and back to the HDMI
one without getting sound. Unplugging and replugging seems the only
thing I can do if I don't want to reboot the system

Below is a test results from the kernel log that I have just done. I
booted up with the TV off and got no sound. I then unplugged and plugged
back in the HDMI cable and got sound. I can see that the lack of sound
may be due to the fglrx (Radeon) drivers? And that the unplug/Replug in
event caused something to happen which got me sound.

Sep 27 10:08:33 lounge-tv kernel: [   14.676878] NFSD: starting 90-second grace 
period
Sep 27 10:08:34 lounge-tv kernel: [   15.751924] r8169 :04:00.0: eth0: link 
up
Sep 27 10:08:34 lounge-tv kernel: [   15.752401] ADDRCONF(NETDEV_CHANGE): eth0: 
link becomes ready
Sep 27 10:08:34 lounge-tv kernel: [   16.143481] fglrx_pci :00:01.0: irq 42 
for MSI/MSI-X
Sep 27 10:08:34 lounge-tv kernel: [   16.144774] [fglrx] Firegl kernel thread 
PID: 1383
Sep 27 10:08:34 lounge-tv kernel: [   16.145000] [fglrx] Firegl kernel thread 
PID: 1384
Sep 27 10:08:34 lounge-tv kernel: [   16.145149] [fglrx] Firegl kernel thread 
PID: 1385
Sep 27 10:08:34 lounge-tv kernel: [   16.145332] [fglrx] IRQ 42 Enabled
Sep 27 10:08:34 lounge-tv kernel: [   16.224126] dvb-usb: recv bulk message 
failed: -110
Sep 27 10:08:34 lounge-tv kernel: [   16.374829] [fglrx] Gart USWC size:508 M.
Sep 27 10:08:34 lounge-tv kernel: [   16.374837] [fglrx] Gart cacheable 
size:198 M.
Sep 27 10:08:34 lounge-tv kernel: [   16.374846] [fglrx] Reserved FB block: 
Shared offset:0, size:100 
Sep 27 10:08:34 lounge-tv kernel: [   16.374851] [fglrx] Reserved FB block: 
Unshared offset:fe67000, size:199000 
Sep 27 10:08:34 lounge-tv kernel: [   16.374856] [fglrx] Reserved FB block: 
Unshared offset:17ff4000, size:c000 
Sep 27 10:08:34 lounge-tv kernel: [   16.617887] Diwic: hdmi_unsol_event, res = 
0x401
Sep 27 10:08:34 lounge-tv kernel: [   16.617915] Diwic: read_pin_sense for pin 
0x3, result = 0x
Sep 27 10:08:34 lounge-tv kernel: [   16.619331] Diwic: hdmi_unsol_event, res = 
0x402
Sep 27 10:08:34 lounge-tv kernel: [   16.619352] Diwic: read_pin_sense for pin 
0x3, result = 0x
Sep 27 10:08:44 lounge-tv kernel: [   26.400068] eth0: no IPv6 routers present
Sep 27 10:11:21 lounge-tv kernel: [  183.362555] Diwic: hdmi_unsol_event, res = 
0x400
Sep 27 10:11:21 lounge-tv kernel: [  183.362664] Diwic: read_pin_sense for pin 
0x3, result = 0x7fff
Sep 27 10:11:39 lounge-tv kernel: [  200.917283] hda-intel: IRQ timing 
workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
Sep 27 10:23:41 lounge-tv kernel: [  923.455448] Diwic: hdmi_unsol_event, res = 
0x403
Sep 27 10:23:41 lounge-tv kernel: [  923.455485] Diwic: read_pin_sense for pin 
0x3, result = 0x7fff
Sep 27 10:23:44 lounge-tv kernel: [  925.863772] Diwic: hdmi_unsol_event, res = 
0x401
Sep 27 10:23:44 lounge-tv kernel: [  925.863805] Diwic: read_pin_sense for pin 
0x3, result = 0x
Sep 27 10:23:44 lounge-tv kernel: [  925.865192] Diwic: hdmi_unsol_event, res = 
0x402
Sep 27 10:23:44 lounge-tv kernel: [  925.865218] Diwic: read_pin_sense for pin 
0x3, result = 0x

As a tempory fix, is there a bash script that I could run that will
reinitiate the driver in the same way that an unplug and replug in does?
If so, I can add a Sound Button to the MythTV front end that calls up
this script and I am fine. At least it will keep my wife happy.

Thank you for your endevours so far.

Peter

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/974963

Title:
  [soundnua]: hdmi audio missing in sound settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/974963/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 974963] Re: [soundnua]: hdmi audio missing in sound settings

2012-09-26 Thread Peter Willett
Hi David

I too have the HDMI sound problem.
System E350M1 card with 64 bit mythbutu 12.04 with all the updates up to 25 
September on it. The card has the Radeon Graphics hardware on it.
Sound can be restored by unplugging and plugging the HDMI lead back in.
I sometimes have the PC start up without the Samsung TV on and, it may be my 
imagination, but then HDMI sound will not work.
Have been experimenting with /etc/init.d/xxx restarts to no purpose
  
I see no one else has given you a copy of their log and have attached one to 
aid you if you need it.

Regards


** Attachment added: log with diwic info
   
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/974963/+attachment/3344504/+files/kern.log

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/974963

Title:
  [soundnua]: hdmi audio missing in sound settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/974963/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs