PDA

View Full Version : No HDMI sound



Gondarc
03-24-2013, 04:12 PM
Running Knoppix 7.0.5 on USB. Hardware is a near-vanilla 64-bit Acer Aspire X1301 (memory upgrade) with integrated NVidia 9200 video and HD sound. Initial problem was that the nouveau driver would only give upto 1024x768 on VGA (detecting the NVidia card as '8200') when connected to a Samsung LE37 HD TV, and my attempts to follow support threads as to installing the proprietary NVidia drivers kept running into blocks with packages not being found. Much the same situation from a Kubuntu 12.04.2 USB. First cure is an HDMI lead (from the local 99p shop) to use the HDMI port from the integrated card ... and tell the TV not to overscan. However, whilst the vision is crisp there is no sound via the HDMI. Works for the Win7 on the Acer HD, so the communication channel is OK, but nothing from Knoppix. I have followed some support threads and installed Pulsaudio, but apart from cutting the channels to 2 (Master & Capture) in all the audio controls except Pulseaudio, I have no change. Pulseaudio shows two outputs, stereo and headphones, both at 100%, but no output to the TV. Any suggestions? [BTW: Pulseaudio volume can be set to 153%/+11db; but neither alsamixer, aumix nor the taskbar can set sound above 100%/0db. Is any value above 100% valid? If not, why does pulseadio allow it?]

klaus2008
03-24-2013, 05:17 PM
my attempts to follow support threads as to installing the proprietary NVidia drivers kept running into blocks with packages not being found. Did you read Installing nVidia drivers from the repository (http://knoppix.net/forum/threads/30456-NVIDIA-64-bit-Knoppix64-not-working?p=128694&viewfull=1#post128694) ?

What is the output of the command
cat /proc/asound/cards

Gondarc
03-25-2013, 07:59 PM
Did you read Installing nVidia drivers from the repository (http://knoppix.net/forum/threads/30456-NVIDIA-64-bit-Knoppix64-not-working?p=128694&viewfull=1#post128694) ?

What is the output of the command
cat /proc/asound/cards

[1] Yes, and the install command failed twice because it 'could not find package libglx-nvidia-alternatives'. However I have just tried the command again and ths time it worked. I will reboot in a moment to finish the procedure.

[2]
cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe020000 irq 20

Gondarc
03-25-2013, 08:57 PM
OK, the nvidia driver runs in 64-bit, but not 32-bit. I confirmed this from trying 'Preferences/NVIDIA X Server Settings' in both kernels, although it was obvious from the text during the boot procedures before the X server started, that 32-bit did not start the nvidia driver. Has this happened because I ran the command to install the drivers whilst running the 64-bit kernel? Do the procedures from the 'Installing nVidia drivers from the repository' thread have to be run from the 32-bit kernel in order to get xorg.conf configured for both 32-bit and 64-bit operation?

NB: My USB install is via Unetbootin on a Kubuntu box, which installs the Unetbootin flavour of boot files on the USB. [I have tweaked all the relevant entries in /mnt-system/syslinux.cfg for 'lang=uk' and 'tz=Europe/London'.] Entering 'knoppix' or 'knoppix64' at the boot prompt therefore does not work, I have to go through the Unetbootin boot menu. However, what this does mean is that I do not have to add 'xmodule=nvidia' at the boot for knoppix64, the nvidia driver is being used without this requirement. However, as a test I tried adding 'xmodule=nvidia' to the 32-bit kernel options in the Unetbootin boot menu, but this still does not kick in the driver. The xorg.conf is not set up for the 32-bit kernel. When I tried running 'nvidia-xconfig' from a terminal, it complained that there was no driver line in the 'Card 0' section of the xorg.conf file ... which is not surprising because there was no 'Card 0' section in the file.

Still do not have any HDMI sound, even with the proprietary driver on 64-bit.

klaus2008
03-26-2013, 12:41 AM
Today I used Knoppix 7.1 with 64-bit kernel and installed the current nVidia driver from the experimental branch.

During the installation of the package nvidia-kernel-dkms only the kernel module for the running kernel was built.

It is possible to build the kernel module if you know the name and the version of your module and the version of the kernel.

If you issue
sudo dkms status you will get lines of the following format.
nvidia, 313.26, 3.7.7-64, x86_64: builtThe first item is the name of your module (nvidia) followed by the version of the module (313.26) and the kernel version (3.7.7-64).

Supposed you want to build and install a module with dkms for the kernel 3.7.7 you could issue
sudo dkms build -m nvidia -v 313.26 -k 3.7.7
sudo dkms install -m nvidia -v 313.26 -k 3.7.7
sudo dkms status In your case (Knoppix 7.0.5) the kernel version should be 3.6.11.

Gondarc
03-26-2013, 11:08 PM
OK, will try that ASAP ... busy, busy busy. This is proving very timely because a lot of the systems I am trying to use with Knoppix at the moment have Nvidia cards ... until recently I was mainly encountering Intel. Seems to go in phases. Many thanks for the support.

Any news on the HDMI sound?

Gondarc
03-29-2013, 11:02 PM
Right ... I now have the nvidia driver working on both kernels, all I had to do extra was rerun nvidia-xconfig after building the 32-bit version of nvidia-kernel-dkms.

Still no HMDI sound with knoppix on either 32-bit or 64-bit kernel. Same as with the nouveau driver. Any suggestions as to why not would be gratefully appreciated.

klaus2008
03-29-2013, 11:52 PM
When I boot Knoppix onboard sound card and HDMI sound card are detected properly. Thus /proc/asound/cards shows both sound cards. In your case only one is listed in /proc/asound/cards. I found a document by nVidia about HDMI Audio on NVIDIA GPUs (ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html) Maybe this can help you resolve the issue. But I am not sure that your HDMI sound card is really supported by the kernel. Does the command
lspci give any information that there is more than one sound device in your system?

Gondarc
03-31-2013, 09:19 PM
knoppix@Microknoppix:~$ lspci
00:00.0 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a2)
00:01.0 ISA bridge: NVIDIA Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP78S [GeForce 8200] SMBus (rev a1)
00:01.2 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:01.3 Co-processor: NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor (rev a2)
00:01.4 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:02.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:02.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:04.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)v 00:04.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:06.0 IDE interface: NVIDIA Corporation MCP78S [GeForce 8200] IDE (rev a1)
00:07.0 Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)
00:08.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:09.0 SATA controller: NVIDIA Corporation MCP78S [GeForce 8200] AHCI Controller (rev a2)
00:0a.0 Ethernet controller: NVIDIA Corporation MCP77 Ethernet (rev a2)
00:0b.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:10.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:12.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:13.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce 8200] (rev a2)
05:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller
knoppix@Microknoppix:~$

This would appear to suggest that only one audio device is detected, not separate paths for analog and HDMI channels. Pity. Looks like the NVidia driver cannot cope ... but there again, it cannot cope with multiple monitors (on two other systems that I am using) where the nouveau driver can ... c'est la vie, one day we will get it all ... just not right now.