Problems with VIA Ensemble ICE1724 audio card.

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
globr
Level 1
Level 1
Posts: 4
Joined: Fri Sep 21, 2018 10:22 am

Problems with VIA Ensemble ICE1724 audio card.

Post by globr » Wed Oct 17, 2018 12:35 am

Hi, this is my first post but since it is a bit long suppose I should not post it in the Newbie section...

Windows 10 is not so well supported on my x58 chipset anymore.  Decided time to join the Linux Community :o) After trying a number of Ubuntu & Linux Mint flavors found Xfce to be my favorite.  Like the look & multiple monitor wallpaper is impressive.

My rig: X58 Intel chipset, Core I7-950, 240GB SSD, dual boot Windows 7.

However, the audio card is giving me some problems: VIA Ensemble ICE1724.
I have to kill pulseaudio & reload the alsa drivers several times until the failed:modules still loaded message no longer appears.
Studio-XPS-435MT:~$ pulseaudio -k && sudo alsa force-reload
Terminating processes: 1885.
Unloading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-usb-audio snd-usbmidi-lib snd-hda-codec-hdmi snd-hda-intel snd-hda-codec snd-ice1724 snd-hda-core snd-hwdep snd-ak4113 snd-pt2258 snd-ak4114 snd-i2c snd-ice17xx-ak4xxx snd-ak4xxx-adda snd-ac97-codec snd-rawmidi snd-pcm snd-seq-device snd-timer (failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-usb-audio snd-usbmidi-lib snd-hda-codec-hdmi snd-hda-intel snd-hda-codec snd-ice1724 snd-hda-core snd-hwdep snd-ak4113 snd-pt2258 snd-ak4114 snd-i2c snd-ice17xx-ak4xxx snd-ak4xxx-adda snd-ac97-codec snd-rawmidi snd-pcm snd-seq-device snd-timer.
The sound will work when the result no longer contains the message failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).

These two messages in the log regarding Pulseaudio & ICE1724 seem to be fairly common.
[pulseaudio] pid.c: Daemon already running.
&
snd_ice1724 0000:04:00.0: No matching model found for ID 0x12140324
look what I found poking around in /proc/asound/ICE1724/ice1724
ICEnsemble ICE1724 at 0xcc00, irq 19
EEPROM:
Subvendor : 0x12140324
The numbers match = 0x12140324. This is must be where the audio driver module is called from?

This card works fine under Windows & I can always get it working on Linux so, it makes me think there must be a way to simplify it. Make it easier for pulseaudio to allocate the ICE1724 driver, if that makes any sense.

Would I be right in assuming that another audio card is being allocated by pulseaudio before ICE1724? The on-board sound is disabled in the BIOS (that helped). But there are still audio drivers for the AMD video card = HDA ATI HDMI & the webcam appears in the stack too = USB-Audio. Webcam is working fine.
Studio-XPS-435MT:~$ cat /proc/asound/cards
0 [ICE1724 ]: ICE1724 - ICEnsemble ICE1724
ICEnsemble ICE1724 at 0xcc00, irq 19
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfbefc000 irq 28
2 [U0x46d0x994 ]: USB-Audio - USB Device 0x46d:0x994
USB Device 0x46d:0x994 at usb-0000:00:1a.7-1, high speed
ICE1724 can be in position 0, 1 or 2 & be working. So, having it at the top doesn't appear to matter.


Can I customize the way the audio drivers start or limit some of them from starting altogether? To give ICE1724 the best chance possible for success each time.

1) Was hoping there would be something inside /etc/modprobe.d/alsa-base.conf that I could easily comment out. Like the contents of /var/run/alsa/modules-removed (shown here) where the drivers are easily identified:
snd-seq-midi
snd-seq-midi-event
snd-seq
snd-ice1724
snd-ak4113
snd-pt2258
snd-ak4114
snd-usb-audio
snd-i2c
snd-ice17xx-ak4xxx
snd-usbmidi-lib
snd-ak4xxx-adda
snd-hda-codec-realtek
snd-ac97-codec
snd-hda-codec-hdmi
snd-hda-codec-generic
snd-hda-intel
snd-hda-codec
snd-hda-core
snd-hwdep
snd-pcm
snd-rawmidi
snd-seq-device
snd-timer
I’m thinking this modules-removed file is created after reloading alsa, it’s gone after restarting the PC.

Here are the contents of /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
The ICE1724 audio card driver is called in thru install snd-via82xx. Is that correct?
What does # Prevent abnormal drivers from grabbing index 0 mean? It looks like my VIA drivers might be listed there too.


2) Other threads suggested modifying /etc/modprobe.d/alsa-base.conf
a) comment (#) the following line:
# options snd-hda-intel power_save=10 power_save_controller=N

b) Add a new line
options snd-hda-intel probe_mask=1 model=hp

Replace "hp" with appropriate computer model. See here
I’m not entirely sure how to do this, options snd-hda-intel power_save=10 does not appear in my alsa-base.conf file. It does appear in /var/run/alsa/modules-removed tho. So, a proc must be loading it?


3) Some of the threads I’ve come across suggest creating a custom configuration file called .asoundrc. This sounds most promising. Any help appreciated.

Thank you
Last edited by globr on Thu Oct 18, 2018 2:01 am, edited 1 time in total.
Dell Studio XPS x58 chipset, Intel Core i7-950, Crucial SSD, Envy24 ICE1724 sound card, elpida DDR3 1066 Mhz RAM, ATI/AMD Radeon HD 4850

User avatar
MrEen
Level 7
Level 7
Posts: 1692
Joined: Mon Jun 12, 2017 8:39 pm

Re: Problems with VIA Ensemble ICE1724 audio card.

Post by MrEen » Wed Oct 17, 2018 9:40 pm

Hi globr, and welcome to the forum.

Instead of trying to answer everything in your post I'll offer a potential solution. Install and run PulseAudio Volume Control (pavucontrol) and on the Configuration tab change the Profiles that are not the VIA to Off. It is quite possible your sound was playing to a device that wasn't listening and this should take care of that situation.

If that alone doesn't seem to help, also delete the files in ~/.config/pulse/ then run pulseaudio -k and wait a few seconds and test.

If that doesn't help, we'll explore other options afterwards.

Good luck.

globr
Level 1
Level 1
Posts: 4
Joined: Fri Sep 21, 2018 10:22 am

Re: Problems with VIA Ensemble ICE1724 audio card.

Post by globr » Thu Oct 18, 2018 12:15 am

Hi MrEen,

Except for the webcam I had the other profiles set to off in pavucontrol. The webcam is now off as well.
I deleted the files in ~/.config/pulse/ & ran the pulseaudio -k command.
Unfortunately still no sound.

There is an equalizer like bar bouncing back & forth on pavucontrol while music is playing. That bar is bouncing even when the speakers are not producing sound. So, pavucontrol thinks it's playing music even tho pulseaudio is not delivering sound from Rythymbox to the alsa audio driver?

I just ran this command three times pulseaudio -k && sudo alsa force-reload - or until the failed module message no longer appeared:
(failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).
& now we have sound. That works every time. It only takes me a minute to get the sound working but it is an annoyance. & I'm learning Linux trying to fix it.

thanks for helping
Dell Studio XPS x58 chipset, Intel Core i7-950, Crucial SSD, Envy24 ICE1724 sound card, elpida DDR3 1066 Mhz RAM, ATI/AMD Radeon HD 4850

User avatar
MrEen
Level 7
Level 7
Posts: 1692
Joined: Mon Jun 12, 2017 8:39 pm

Re: Problems with VIA Ensemble ICE1724 audio card.

Post by MrEen » Thu Oct 18, 2018 7:14 am

All right. It really sounds strange that you're able to fix whatever is wrong that way, but it's better than nothing. Then next time sound is gone, play a song or video and run pacmd list-sinks in the terminal. That will tell us where it is playing to that will hopefully give us a clue.

Also, when posting the results of the above add the results of inxi -Fxz and aplay -l as well so we get a full picture of your setup.

globr
Level 1
Level 1
Posts: 4
Joined: Fri Sep 21, 2018 10:22 am

Re: Problems with VIA Ensemble ICE1724 audio card.

Post by globr » Thu Oct 18, 2018 10:00 pm

Yes, here it is. Music playing but no sound.

pacmd list-sinks

Code: Select all

Studio-XPS-435MT:~$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_04_00.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9039
	volume: front-left: 62914 /  96% / -1.06 dB,   front-right: 62914 /  96% / -1.06 dB
	        balance 0.00
	base volume: 41350 /  63% / -12.00 dB
	volume steps: 65537
	muted: no
	current latency: 39.52 ms
	max request: 13 KiB
	max rewind: 256 KiB
	monitor source: 1
	sample spec: s32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 3
	configured latency: 40.00 ms; range is 0.50 .. 743.04 ms
	card: 2 <alsa_card.pci-0000_04_00.0>
	module: 9
	properties:
		alsa.resolution_bits = "24"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ICE1724"
		alsa.id = "ICE1724"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "ICEnsemble ICE1724"
		alsa.long_card_name = "ICEnsemble ICE1724 at 0xcc00, irq 19"
		alsa.driver_name = "snd_ice1724"
		device.bus_path = "pci-0000:04:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/0000:04:00.0/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1412"
		device.vendor.name = "VIA Technologies Inc."
		device.product.id = "1724"
		device.product.name = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller"
		device.string = "front:2"
		device.buffering.buffer_size = "262144"
		device.buffering.fragment_size = "131072"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller Analog Stereo"
		alsa.mixer_name = "VIA Technologies id 83"
		alsa.components = "AC97a:56494183"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output;output-amplifier-on: Analog Output / Amplifier (priority 9910, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output;output-amplifier-off: Analog Output / No Amplifier (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-output;output-amplifier-on>
inxi -Fxz

Code: Select all

Studio-XPS-435MT:~$ inxi -Fxz
System:    Host: daky-Studio-XPS-435MT Kernel: 4.15.0-36-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Xfce 4.12.3 (Gtk 2.24.31) Distro: Linux Mint 19 Tara
Machine:   Device: desktop System: Dell product: Studio XPS 435MT serial: N/A
           Mobo: Dell model: 0R849J v: A01 serial: N/A BIOS: Dell v: 1.1.4 date: 12/21/2009
CPU:       Quad core Intel Core i7 950 (-MT-MCP-) arch: Nehalem rev.5 cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 24471
           clock speeds: max: 3068 MHz 1: 1631 MHz 2: 1595 MHz 3: 1642 MHz 4: 1659 MHz 5: 1612 MHz 6: 1670 MHz
           7: 1667 MHz 8: 1617 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV770 [Radeon HD 4850] bus-ID: 07:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1200@59.95hz, 1280x1024@60.02hz
           OpenGL: renderer: AMD RV770 (DRM 2.50.0 / 4.15.0-36-generic, LLVM 6.0.0)
           version: 3.3 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] RV770 HDMI Audio [Radeon HD 4850/4870]
           driver: snd_hda_intel bus-ID: 07:00.1
           Card-2 VIA VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller
           driver: snd_ice1724 ports: cc00 c880 bus-ID: 04:00.0
           Card-3 Logitech QuickCam Orbit/Sphere AF driver: USB Audio usb-ID: 001-002
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card-1: Intel 82567LF-2 Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: a080 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Wireless 8260 driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 1240.3GB (0.8% used)
           ID-1: /dev/sda model: Crucial_CT240M50 size: 240.1GB
           ID-2: /dev/sdb model: ST31000528AS size: 1000.2GB
Partition: ID-1: / size: 48G used: 9.4G (21%) fs: ext4 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 68.0C mobo: 32.0C gpu: 56.5
           Fan Speeds (in rpm): cpu: 1470 fan-2: 2311
Info:      Processes: 228 Uptime: 5 min Memory: 931.7/11999.9MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
Hmm... Those cpu & mobo temps are reversed.

& aplay -l

Code: Select all

Studio-XPS-435MT:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: ICE1724 [ICEnsemble ICE1724], device 0: ICE1724 [ICE1724]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: ICE1724 [ICEnsemble ICE1724], device 1: ICE1724 IEC958 [ICE1724 IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Thank you
Dell Studio XPS x58 chipset, Intel Core i7-950, Crucial SSD, Envy24 ICE1724 sound card, elpida DDR3 1066 Mhz RAM, ATI/AMD Radeon HD 4850

User avatar
MrEen
Level 7
Level 7
Posts: 1692
Joined: Mon Jun 12, 2017 8:39 pm

Re: Problems with VIA Ensemble ICE1724 audio card.

Post by MrEen » Fri Oct 19, 2018 6:57 am

I am not familiar with the Via ICEnsemble ICE1724 at all, but I'll offer this. As of that posting, your sound was outputting to:
analog-output;output-amplifier-on: Analog Output / Amplifier (priority 9910, latency offset 0 usec, available: unknown)
properties:
Is this where sound should be sent? Are there other options for the Profile on the Configuration tab of pavucontrol for that card? Are there other options on the Output Devices tab besides Analog Output / Amplifier Off?

Assuming none of that helps, give this a shot. In the terminal, type xed admin:///etc/modprobe.d/alsa-base.conf and when the file opens scroll to the bottom and add this new line:

Code: Select all

options snd-hda-intel model=auto
Save the file and reboot and see if things are better.

That is the only alsa-base.conf change that is suggested for the VIA17xx and while it is supposed to be the default behavior, it does help in some cases to add it.

Hope that helps.

marcoingrasci
Level 1
Level 1
Posts: 1
Joined: Fri Oct 19, 2018 8:20 am

Re: Problems with VIA Ensemble ICE1724 audio card.

Post by marcoingrasci » Fri Oct 19, 2018 8:24 am

Same problem:
hp pavilon x2
Intel© Atom™ x5-Z8300 CPU @ 1.44GHz × 4
Graphic: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers
Audio: Card Intel HDMI/DP LPE Audio driver: HdmiLpeAudio Sound: ALSA v: k4.15.0-36-generic

Audio, webcam and microphone aren't working.
please help!!!

globr
Level 1
Level 1
Posts: 4
Joined: Fri Sep 21, 2018 10:22 am

Re: Problems with VIA Ensemble ICE1724 audio card.

Post by globr » Fri Oct 19, 2018 11:20 pm

Hi MrEen,

I disabled the on-board sound (Intel (ICH10 Family) HD Audio Controller) in the BIOS so, it no longer appears in pavucontrol.
In pavucontrol I have the video card audio set to off.
I am trying to disable all output options except for the PCIe ICE1724 audio card.
There are no other output devices currently in pavucontrol & correct, the only other option for the ICE1724 is No Amplifier

Adding options snd-hda-intel model=auto to the end of /etc/modprobe.d/alsa-base.conf did not help.
xed admin: is pretty cool tho. Had discovered gedit, vi & nano - but not xed :)

When I first posted my thought track was perhaps finding a way to alter the start up deck(?) for the alsa drivers, so I could control it. Either the order of initialization or stop some from starting altogether. Modding /etc/modprobe.d/alsa-base.conf looked promising but now does not.
I keep seeing references to a custom configuration file called .asoundrc that I guess can be created in my home folder.

This weekend I'll try to figure out how to create an .asoundrc override & play with /etc/modprobe.d/alsa-base.conf some more. Best way to learn how to fix it is to break it I suppose.

Thanks
Dell Studio XPS x58 chipset, Intel Core i7-950, Crucial SSD, Envy24 ICE1724 sound card, elpida DDR3 1066 Mhz RAM, ATI/AMD Radeon HD 4850

User avatar
MrEen
Level 7
Level 7
Posts: 1692
Joined: Mon Jun 12, 2017 8:39 pm

Re: Problems with VIA Ensemble ICE1724 audio card.

Post by MrEen » Sat Oct 20, 2018 12:09 am

Yeah, that alsa-base.conf file is going to be useless here. I never noticed this part of your inxi report:

Code: Select all

           Card-2 VIA VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller
           driver: snd_ice1724 ports: cc00 c880 bus-ID: 04:00.0
It's not even using snd-hda-intel.

Maybe reloading the sound stuff might help now that onboard is disabled?

Code: Select all

apt remove --purge alsa-base pulseaudio
apt install alsa-base pulseaudio
sudo alsa force-reload
Good luck.

Post Reply

Return to “Sound, Multimedia, & Codecs”