Bug 217510 - Creative AE-7 working only from Live Distributions
Summary: Creative AE-7 working only from Live Distributions
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: Intel Linux
: P3 high
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-30 13:47 UTC by Evgenii
Modified: 2024-05-05 18:06 UTC (History)
10 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Alsamixer (90.90 KB, image/png)
2023-05-30 13:47 UTC, Evgenii
Details

Description Evgenii 2023-05-30 13:47:11 UTC
Created attachment 304358 [details]
Alsamixer

I am facing a bug that looks like inability to boot in most distributions when Creative AE-7 plugged. During boot into possible to boot distributions it might fail or require to not use graphical splash screen that happens before loading mouse cursor and login manager starting graphical session. It looks differently on different distributions, but it lagging awaiting something from sound card and live distribution then booting normally, but for now only Manjaro working more normally then Artix Plasma images only that booting only from DVD (latest kernels made it harder to boot and unofficial images had higher chance to do so).
Usually during boot of most distributions I've tested or after installation system hangs with error about soft or hard lock of the CPU. Gentoo, Void, Arch, Antix, Clear Linux and many others failed to boot. Usually boot possible if there is no graphical install available
The only way to boot to installed system is to remove Intel GPU firmware from kernel and for Artix worked only kernel 5.10. This results in 1024x768 resolution cap.

Here are test of my system that also had troubles with mei_me that required blacklisting of it to boot:

https://linux-hardware.org/?probe=676d83919f

There wrong detection of the Creative AE-7 itself, but here alsa-info.sh results:

http://alsa-project.org/db/?f=b057ed2270b971b189a01a91d1b823b651c26037

So it possible to make it working, but almost impossible to force it working. For now I not tried only full blacklisting of snd_hda modules to load them later manually or using script cause blacklisting of snd_hda_codec_ca0132 only result in not working outputs. Alsamixer don't see it then. And here are link on proof that there not only I experiencing such troubles:

https://www.reddit.com/r/SoundBlasterOfficial/comments/10kmsv0/problem_with_creative_ae7_any_linux_doesnt_start/


And additionally here are screenshot that proves AE-7 working and switch on headphones works.
Comment 1 Bagas Sanjaya 2023-05-31 05:39:18 UTC
Can you provide dmesg? You may need to attach serial console to your computer in this case.
Comment 2 Artem S. Tashkinov 2023-05-31 10:30:26 UTC
(In reply to Bagas Sanjaya from comment #1)
> Can you provide dmesg? You may need to attach serial console to your
> computer in this case.

You need to provide alsa-info.sh output. Dmesg would be nice to have as well.
Comment 3 Evgenii 2023-05-31 11:28:09 UTC
(In reply to Bagas Sanjaya from comment #1)
> Can you provide dmesg? You may need to attach serial console to your
> computer in this case.

Dmesg actually on the bottom with lots of links in the first link, but here exactly dmesg on working system

https://linux-hardware.org/?probe=676d83919f&log=dmesg
Comment 4 Evgenii 2023-05-31 11:29:10 UTC
(In reply to Artem S. Tashkinov from comment #2)
> (In reply to Bagas Sanjaya from comment #1)
> > Can you provide dmesg? You may need to attach serial console to your
> > computer in this case.
> 
> You need to provide alsa-info.sh output. Dmesg would be nice to have as well.

It is here in the center of initial message, I did it cause thought any info could help to find a solution.

http://alsa-project.org/db/?f=b057ed2270b971b189a01a91d1b823b651c26037
Comment 5 Evgenii 2023-05-31 14:14:30 UTC
Basically troubles not present on logs when everything working. System hangs during boot even is snd-hda-codec-ca0132 not loaded and only loaded intel HDA driver.
It once booted normally, but for that chance less then 0,5%.
Debugger for cca0132 could show something specific for sound card only when system booted. So errors reported in current logs shows that actually maybe thanks to some another bug it might work. But for example kernel 6.1.29 boots fine while 6.1.30 have less then 20% chance to boot. Even that small changes almost killing boot process on Manjaro that mainly used sine booting from DVD way longer and there are graphical glitches included.
Someone in kernel made huge troubles that kernel 5.15 won't boot up without firmwares and blacklisted ca0132 module if that must work with Alder Lake firmwares that should work.
Also tried FreeBSD boot and since there in stable and latest versions used Linux drivers sound card detected, but after last word about Creative AE-7 system hangs too. Drivers for FreeBSD and firmwares seems taken from Linux. So this might tell that most troubles in these two places.
Comment 6 Pascal Pharand 2023-05-31 15:07:07 UTC
If I can interject here. I'm one of the other person in the soundblaster reddit link who is having this issue. I was about to report the same thing here. I cannot boot any distro with the AE-7 plugged in live or not. It's constant in my case. Never seen any linux distro boot with the card in. If I can help in anyway I'll gladly do so. I'll try to add probe and logs ASAP if I'm permitted to. I tried many kernel lts and back to 5.15 and non of them works. I even tried the latest RC. Like Evgenii said, I get stall on cpu / cpu lock. 

Here are some screenshot of the booting sequence with arch and the error I get.

https://imgur.com/a/GKZ7LI1

I'll try to add more logs soon. Otherwise let me know if I need to open my own bug request.
Comment 7 Evgenii 2023-05-31 16:22:04 UTC
(In reply to Pascal Pharand from comment #6)
Hello and for sure you can and even should if you want cause negative experience also priceless and could help to find a bug.
Such images vaary from one distribution to another, but those who show comething always point on PCI2 in my case and waiting tiome 65536 (long bootup almost always meant that its stuck on newer 80% failure to boot up kernels).
In my case I saw additional bug when if I building for Artix after installation and booting (without AE-7) to download and build 5.10 kernel in works fine. But if I adding firmware to it for graphics card it stays there while kernel statically linked without modules and deleted firmware later.
Also I had a bug with slow work and then I had 30 second to figure out what dmesg shos and it said that my BIOS/UEFI have a bug, then system hangs.
The only workaround for now is installation, manually build kernel or as in Void Linux just install 5.10 branch (but in my case because of MSI Z790-A BIOS bugs it not installs while Artix been staying in BIOS boot menu after deletion of everything on the SSD that had only some sectors broken, but controller must mark them automatically and fix it).
So, if there are conflicting modules in dmesg then blacklist them. The only one time I booted up with firmware was 5.10 kernel and it happened once or twice for many days of happy testing.
Installing separate graphics card might fix rest problems.
Before buying AE-7 I saw such reports and your mesage too, but been sure that I can overcome any troubles and been quite surprized cause there was someone who wants great sound and trust that everything works fine, but people don't have to trust everything in the internet.
Latest RC kernel also stuck on my machine. For me strange to see that 
flags such as acpi=off during boot completely turning off sound card while bugs with ACPI are pretty common.
I don't think that spreading forces about one bug would result in better results, but you could make your system up and running if you have not so buggy config as mine or have graphics card supported by 5.10 kernel.
I think people here know how to compare logs difference and will not spend much time to find difference and your participation might help as well if you will not just fly away listening beloved music albums.
Comment 8 Pascal Pharand 2023-05-31 23:35:39 UTC
Here is the hw probe of my system with the card in but snd_hda_intel blacklisted. https://linux-hardware.org/?probe=8bc281486e it's the only way I can boot with the card in. I can also disable the specific device with some modprobe option and boot with snd_hda_intel enable but any attempt to load the snd_hda_intel with the card in ends up with the computer freezing and rebooting. If you guys have any suggetsions on how to approach this I would happily try them. I've added ignore_loglevel kernel option at boot to have full debug but right now it's showing more info but nothing meaningful. Iǜe tried checking previous boot attempt with journalctl -k -b -1 or -2 after a few attemps but I don't see any errors in the logs. Whatever is happening is not logged.
Comment 9 Evgenii 2023-06-01 01:46:48 UTC
(In reply to Pascal Pharand from comment #8)

Well, first of all try to change distribution. Manjaro Plasma and unofficial images shown most stable positive result in my case. If you also have DVD drive you could try Artix. I used USB adapter with additional power that also might affect the result where I would plug third additional power - to motherboard USB slot or it will be separate power unit from my router that also require adapter to fit into hole on adapter. 
Artix could refuse to boot until additional power source will not be swapped if you would attach the drive using USB  (DVD drive might not require 3 connections). Booting Manjaro from USB flash results in mount of DVD during boot, but this way it wastly reduce its chance to boot, but might be okay if boot chance is about 50% anyway to wait less before it will try to boot.
I would suggest to focus your attention on Manjaro and try to boot it pressing ESC key in different time when logo appears,so you could figure out when press delay might help you to boot cause on latest images that also might affect the result.

https://manjaro.org/download/

https://artixlinux.org/download.php
Comment 10 Evgenii 2023-06-01 09:29:47 UTC
Additional links on reports about this bug:

4 months ago with pictures of this bug
https://askubuntu.com/questions/1449430/i-tried-to-install-kubuntu-22-10-from-a-usb-on-b550-and-creative-ae-7-sound-card



I tried Kubuntu 22.10. When the Creative AE-7 sound card was installed the Linux installation didn't start. I uninstalled the sound card and wow! Linux was installing and it simply worked. I installed the Creative AE-7 sound card on Intel p8z77v Core i5 3550, inserted a USB flash drive with Kubuntu and the Kubuntu installation didn't start.

Hardware error:

cpu soft lockup 
cpu hard lockup

----------------------------------------------------

Also this is what we facing here also. Such messages I seen in many dostros.
Author just used only driver name without its normal name.
He seems had AE-5 or SB Z or another card in ca0132 pack.

https://bugzilla.kernel.org/show_bug.cgi?id=196143
Comment 11 Evgenii 2023-06-01 10:26:07 UTC
One of most informative hangs looks like:

snd_hda_intel 0000:02:00.0: CORB reset timeout#2, CORBRP = 65535
hdaudio hdaudioC1D1: no AFG or MFG node found
snd_hda_intel 0000:02:00.0: no codecs initialized
Comment 12 Pascal Pharand 2023-06-02 18:58:03 UTC
I have been trying for the last 2 days to make the kernel output something meaningful to debug this but there is nothing. I`ve tried disabling modeset to see more of the startup process, add ignore_loglevel to make the log level ouput the max amount of data. Tried booting to the rescue or emergency shell as well. I`ve also tried manjaro but it does not boot with the card in for me whatever I do. Next thing I'll be trying is to enable some debug flags and compile the latest mainline kernel. See if I can get something. I`ve also tried looking at previous boot attempt with journalctl -b-1 there is nothing meaningful in the logs. I'm a computer analyst/tech and i've been working with all kind of os and logs. This one is really silent. If it's a kernel panic it does not show anywhere and nothing is getting logged.
Comment 13 Evgenii 2023-06-03 02:34:44 UTC
Here for you additional proofs that there also Artix exists

https://linux-hardware.org/?probe=1c7cc37995

https://linux-hardware.org/?probe=1c7cc37995&log=dmesg

Have you pushed ESC during boot when logo with dots appears? It stuck on that moment on previous releases, but 100% been booting in one of modes, even if proprietary drivers unused such mode could be the only option, but if  its bugged could work open source drivers option, both with ESC on logo. Just try 10 time pushing ESC.
If after pressing ESC new strokes not appear it almost for sure stuck. If it tries to load 2 things with red dots it should boot.
Also try Artix. Manjaro seems don't like custom built kernels. And pacman -S linux510 not making it happier.
Artix booting 100% with old kernel. Of course this is not great, but Nvidia driver should work on 5.10 kernel in your case cause its separate from kernel version as in my case or with integrated GPU in your 7950x.
Install Artix. remove the card, boot up, build 5.10 kernel (actually 5.10 version had bug and not built from kernel.org) and install original.
You maybe try to chmod to folder where your system is mounted to make some moves, but Manjaro not always been able to do it showing errors time to time, so try chroot /installed/system/root/folder /bin/bash.
If fails runit version then try OpenRC one. And again, I boot it only from DVD.
There are two options to manually load from flash or DVD, so prefer usage of only DVD if you have one. Such requirements exist if you installing on system with installed card. But its only okay in combination with chroot that not always working cause anyway will need to remove card to boot up.
For now only Artix could boot up installed kernel. And ony 5.10 for me. Forget about most recent until it would not be fixed. Man that written driver did it for 5.10 kernel. It will be supported several years more, so in your configuration you will don't have only working integrated graphics which is okay. I don't have for now separate graphics card to test it, so try to remove video card too until you will boot if there will be no result.
This is compatible hardware, so it not must work out of the box. There might be need some tricks with PCIE in BIOS, but first you must have capable to boot system.
Manjaro could boot from USB flash, but only in live mode.
If absolutely need new kernel I think I saw some distribution that let people to choose any kernel they want to run during work just swapping them anytime by clicking on version they want to use. With such trick I think its possible to force Creative AE-7 to work if Artix way won't help you.
Comment 14 Pascal Pharand 2023-06-03 17:00:44 UTC
Yes I've tried many times to boot pressing escape. I`ve tried all kernel version from 6.4rc4 to 5.10 and none of them work for me with the card in and no blacklist. 

Even if I boot inside linux and try to enable the card by forcing modprobe to charge snd_hda_intel the same thing happens. The computer just freeze and then the screen blacks out and reboot. There is nothing logged in dmesg. This is the same thing when I boot with no module blacklisted.

I don't have a DVD in my computer. I`ve not used one for the last 10 years. So I have to use a USB drive.

As for Endeavour OS (archlinux) it's the same as your version of manjaro it does not seems to like custom built kernels as 6.4rc4 does not boot all the way to GUI but it's not completely frozen as I can get a command line if I do CTRL+ALT+F9 and if I do a CTRL+ALT+DEL it does shutdown and reboot. (with the blacklist though)

I have a workaround to get into linux if I want to. I have onboard audio that works. my MEG X670E ACE has 5.1 onboard audio that work with linux and I'm able to blacklist only the AE-7 and have snd_hda_intel working anyway. Actually after playing a little with my onboard soundcard I find the audio the same if not better then the AE-7. That might be weird but i'm able to get 5.1 @ 32 bits 192khz with the onboard soundcard but not with the AE-7 on windows. 

For now I have stuck the card on a open bench with an older motherboard so I can debug this as much as I can but I don't have high hopes at the moment. The issue is replicating there also. So i'm going to try other video card see if there is a link there. I might 

With this I can conclude the following at the moment :

- The issue is not platform related seeing both of our computer are completely different.
- The issue is still present with older hardware. My test bench can replicate the issue on a rampage V extreme LGA 2011.
- Nothing meaningful is being logged in whatever the logging level. If it's a panic it just reboot the computer.
- It happens with less recent Nvidia video card as well if there is any relation to that but since you have the same issue with intel graphic card it's most likely not a graphic card conflict.
- Most likely related to the kernel somewhere or the drivers. A conflict of some kind or some condition that occurs.

Is your AE-7 recent ? I bough mine a month or so ago. I'm wondering if there isn't a change in the recent models that causes this. Drivers might work fine on the older version of the card. My card says under SB1800 : R-R-C2T-SB1800
Comment 15 Evgenii 2023-06-03 20:29:53 UTC
I don't think recent version or not used matters. When I turn off fastboot hanging system just awaits something without freeze using Manjaro booting from hard drive.
If you don't have a DVD then the only option I see for you is to remove AE-7, install exactly Artix, install 5.10 Artix kernel, compile kernel from kernel.org using "make localmodconfig" and then adding additional 4.19 kernel to boot anyway. Its booting, but don't see AE-7 in Artix, but in Manjaro bug lasts.
After having bunch of 5.10 kernels and 4.19 one you may plug you card back.
For now try this option since you don't have a DVD drive.
I buying only CD's so don't see reason to refuse using a DVD drive.
Music on CD already sounds perfect to me and seems its quality such that good card here somehow matters.
Music from Youtube sounds as from barrel after that on cheap Sennheizer CX 80s plugs that lacks the bass on it while CD's just perfect.
Onboard audio not workaround. I would prefer to use Windows instead not matter how I don't like it cause after using Windows10Debloater it not ultra aggressive to its owner.
So try to use real workaround to make your card working under real system if that's possible.
I only blacklisted ca0132 module. Not snd-hda-intel itself. Artix could boot then regular kernels rarely. But works only SPDIF that means it not works and after turning ca0132 with modprobe it not change anything, so maybe its useless to blacklist at all.
Try to install somethign that works in my case first before wasting tons of time oving somewhere into forest. Its not bad to do something as others.
I don't know if it would help, but my system capable to work. Debug and workaround different things. Workaround consists of some moves that will let you to do something. You don't have to know how lift working to use buttons.
Comment 16 Evgenii 2023-06-07 15:19:20 UTC
The only thing that might be an issue I think is that I use USB 2.0 memstick to boot Manjaro. So it might be required to use USB2 port or use command to force USB3/4 to work as USB2.
Cause Plasma version of Manjaro usually hangs and unable to get out from sleep state its necessary to use something like Sway version that usually the only up to date.
Plasma version the only working on Artix pack of variants. Without graphics might boot up too, but it mostly to install it without removing AE-7 out.
It simply works out of the box without issues.
Only need to install manjaro-alsa to use alsamixer in Sway image.
Also got some new messages about buffer.

Linux manjaro-sway 6.1.31-1-MANJARO #1 SMP PREEMPT_DYNAMIC Tue May 30 23:14:35 UTC 2023 x86_64 GNU/Linux

dmesg -l3

[    3.517695] blacklist: Problem blacklisting hash (-13)
[    3.517696] blacklist: Problem blacklisting hash (-13)
[    3.517712] blacklist: Problem blacklisting hash (-13)
[    3.517726] blacklist: Problem blacklisting hash (-13)
[    3.517745] blacklist: Problem blacklisting hash (-13)
[    3.517756] blacklist: Problem blacklisting hash (-13)
[   41.072528] ntfs3: Unknown parameter 'windows_names'
[   41.469975] snd_hda_intel 0000:02:00.0: Too many BDL entries: buffer=1572864, period=49152
[  826.061226] snd_hda_intel 0000:02:00.0: Too many BDL entries: buffer=1572864, period=49152
[ 2844.524553] snd_hda_intel 0000:02:00.0: Too many BDL entries: buffer=1572864, period=49152
[ 4873.248411] vhba: version magic '6.1.31-2-MANJARO SMP preempt mod_unload ' should be '6.1.31-1-MANJARO SMP preempt mod_unload '
[ 4873.492150] vhba: version magic '6.1.31-2-MANJARO SMP preempt mod_unload ' should be '6.1.31-1-MANJARO SMP preempt mod_unload '
[ 4883.301206] vhba: version magic '6.1.31-2-MANJARO SMP preempt mod_unload ' should be '6.1.31-1-MANJARO SMP preempt mod_unload '
Comment 17 someguy108 2023-10-04 15:01:05 UTC
i found this from searching because i have the same issue. just bought a ae-7. works wonderfully well in windows 11, but i cannot boot ANY linux at all. i don’t even get errors. just a hard freeze during the boot process when ~linux~ loads. i tried arch, endeavouros, and nobara linux. all same issue.

oddly enough if i put my old ae-5 i bought in 2018 back in, linux works just fine. but i bought the ae-7 because i fried the microphone port on my ae-5…

my hardware is a intel 13900k, msi z790 edge wifi ddr5, 64gb ddr5 6000, full specs: https://i.imgur.com/MrrvVpa.png
Comment 18 Evgenii 2023-10-06 09:27:29 UTC
There might be some changes, but more or less working Manjaro only and Artix from USB DVD in Live mode.
There is no big issue to use it like that if you would update most required stuff and I'm using Manjaro Sway on 6.5 kernel just fine, but it hardly awakes from sleep so maybe it could be fixed by prohibiting powering off USB or in Sway you could just click on turn off sleep on panel and then just load your config file after copying it.
All these operations could be done with a script so any distribution updates could be done in a few seconds. Kernel 6.1 might have higher chance to load you could try stable kernel if there are issues with the newest since graphics been untouched since Alder Lake launch.
But since there was issues in 5.10 since its too old with integrated graphics you could try to turn IGP off in your UEFI and look if it works.
So try only this if you don't have a DVD drive

https://manjaro.org/download/
Comment 19 someguy108 2023-10-07 13:27:41 UTC
manjaro doesn't work for me either. same as arch, endeavouros, and nobara. so far only windows 11 works perfectly. i can take my ae-7 apart and take some photos to see if anything on the card has changed since release if that would help.
Comment 20 someguy108 2023-10-08 19:31:36 UTC
ok i received my new ae-5 plus and it works wonderfully well in any linux i tried so far. just like my original release day ae-5 non plus.

since i took out my ae-7, i went ahead and took it apart to take some photos of it. here they are:
https://i.imgur.com/zFjvGIs.jpg
https://i.imgur.com/8iheiHE.jpg
https://i.imgur.com/EoYObid.jpg

comparing my ae-7 to release day ae-7's, photos from here:
https://thepcenthusiast.com/creative-sound-blaster-ae-7-pcie-sound-card-review/
in particular, this photo:
https://thepcenthusiast.com/wp-content/uploads/2019/10/Creative-Sound-Blaster-AE-7-Sound-Card-Review-11.jpg

the biggest thing i noticed was the change from the IDT pci-express controller chip to a asmedia pci-express to pci controller chip. i wonder if this is what's causing the AE-7 to not just not work, but prevent any linux from booting up by hard freezing during the boot up process.

from googling the asmedia model number, asm1085, this is it: https://www.asmedia.com.tw/products-list/aDcYq0BxZfuH9Nz5/2f2yq89xz7URBZqD
Comment 21 Evgenii 2023-10-09 10:21:41 UTC
Arch works only from USB DVD for me, but loads most of the time.
Manjaro works from USB, but depending on kernel version it might work most of the time on 6.1 kernel and one per 10 times on latest.
I have MSI Pro Z790-A WiFi motherboard and it works okay right now.
All other distributions have own launch scripts most of the time bugging on load. Some could load into console, but not working well.
Asmedia USB used on Asus Strix Soar and other cards works fine in Linux and have no issues, so I think you been digging the wrong way since it seems using standard driver.
Try to remove video card first and boot with IGP only if that possible with Manjaro if you don't have a SATA to USB adapter to launch Arch version with Plasma since others bugged too.
I tried to write to MSI so they would fixed some issues with Linux, but its not the main goal for them. So you could try to update it since they actually been fixing some stuff that made troubles in Linux too.
Comment 22 someguy108 2023-10-09 18:25:31 UTC
i don't think i'm digging the wrong way. a simple search shows asmedia asm1085 and asm1083 to have issues on linux. asm1085 not as bad as 1083, but still has issues with some stuff. these are NOT usb controllers. they are pci-express to PCI bridge controllers. completely different.
Comment 23 Evgenii 2023-10-11 09:33:27 UTC
Today I had power off for long so my UPC not been able to hold it. So I checked out my AE-7 and it also have ASM1085 on board.
So this is not the issue.
Issue that I not faced is kernel 6.5 very lwo chance to load that at first loaded just fine from first try.
So you could or press Reset button to speed up load process or try Sway version with stable 6.1 kernel that still available and boots in about 10% attempts.
Or Artix Plasma from DVD (USB DVD in my case).
6.5 stucks in many places, so if you plan to reboot to Windows its better to look for 6.1 or Artix Plasma that have great chance to load.
If you absolutely don't trust people I could post my card photo, but still it is not my problem to load Linux at all.
Comment 24 Evgenii 2023-10-11 13:43:21 UTC
If you see that during boot system struggles at some point usually it means that its gonna halt.
But if you see red stars loading it almost complete.
So if it gonna halt just reboot so you will don't need to power system off and on again.
You could try other live distros, but most likely you will see soft or hard lock of your CPU.
If you don't see all the time soft or hard lock it could boot.
I start thinking that even mood affecting that cause it could fail 50 attempts, then load several times. Most important to don't mix Sway configs cause it could freeze your system, so its better to move or rename Sway config to something like config.old then config2. Then Meta (win logo) + Shift + C to reload config or reload it if you don't see a bar on top.
And here are proof that AE-7 compatible with 6.5 kernel.

https://imgur.com/58MYnWS
Comment 25 gexdigital 2023-11-18 03:49:38 UTC
This is another proof that AE-7 was supported for me from kernels 6.1 to 6.6. But I was using a z590 platform with an Intel Core i9 11900KF and an Nvidia RTX 4070ti.

A few days ago, I swapped out the mobo and CPU for a z790 with an Intel Core i9 14900KF and an RTX 4090. Since then, I can log into Ubuntu and stream live to other distros, but the audio always mutes for a few seconds. later. The solution here is to switch to another heatsink and then back to AE7, but also, a few seconds or maybe minutes later, the audio goes silent again. I will miss this fantastic sound card.

https://imgur.com/a/BXemlUU (alsamixer screenshot)
https://imgur.com/mrnsbF1 (Sound settings...) It's working but there's no audio.

Based on the AE7 installed on a z590 chipset with rtx 4070ti with Ubuntu 22.04.3 never gave me problems, I think this is a platform related issue + something is happening at the c0132 driver level.
Comment 26 Stefan W. 2024-01-01 22:47:19 UTC
On my PC I'm not able to boot any Linux distribution with the Creative AE-7 installed.
I tried Ubuntu 22.04 and 23.10, Manjaro, Pop-OS, Nobara38 and 39 and the small gparted-live.
The boot process always hangs on this CPU hard- and soft-lockups. Nobara39 for example:
https://i.postimg.cc/mDGL8Ggy/DSC-1611x.jpg

The only way to boot the distros is blacklisting the sound module via start-command-line:
"module_blacklist=snd_hda_intel"

Nobara 39 for example (no sound of course):
https://i.postimg.cc/CLrGRcc4/Screenshot-20240101-161131.jpg

Maybe there are different revisions of the AE-7, so my card still has the boot-problem.

08:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Bus: primary=08, secondary=09, subordinate=09, sec-latency=32
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: fc700000-fc7fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>

09:00.0 Audio device: Creative Labs Device 0010 (rev 01)
	Subsystem: Creative Labs Device 0081
	Flags: medium devsel, IRQ 255
	Memory at fc704000 (64-bit, non-prefetchable) [disabled] [size=16K]
	Memory at fc700000 (64-bit, non-prefetchable) [disabled] [size=16K]
	Capabilities: <access denied>
	Kernel modules: snd_hda_intel

My system:
Gigabyte B650E Aorus Master
AMD Ryzen 7800X3D
G.Skill Flare X5 32GB DDR5-6000 CL30 (@4800 CL40 - Expo not activated for now)
Samsung M2 SSD 980 Pro 2TB
Creative SoundBlaster AE-7

Greetings,
Stefan
Comment 27 Evgenii 2024-01-03 16:08:31 UTC
Stefan, how turning off the driver would affect success rate?
You may try something like Void Linux and see that while its in console mode its working.
You may try Slackware distro from AlienBob where all working as on installed.
But best would be trying another driver like amdgpu instead of modesetting depending on which one been used.
I am so sure that you could launch your system with some 4.19 Linux kernel.
The trouble might be in Intel HDA driver.
If system without graphics driver works always in console mode with kernel 5.10 why it hangs is a bugged situation and probably only who written this driver could fix that in the near future.
We cannot know how screwed logic was in his head, how he had to adopt to screwed logic of Creative hardware and why it locks CPU while its working in graphical mode.
For example you might install FreeBSD, but won't boot up.
There is no need to dig into hardware cause trouble shown in CPU that must seems to do some work, but getting error that is pretty common situation, but there is no work what to do with unpredicted result while processor trying to mix warm with soft is how I see it.
You may try to load older 4.19 kernel to boot and then make live update to a newer kernel if that would work for you, Its a feature for servers to not stop them while they must stay online updating kernel, but kernel are also updates drivers, so why don't use it to boot up system with a longer cascade of actions?
Comment 28 Paul Dufresne 2024-01-05 11:34:30 UTC
I have open the following bug for AE-9:
https://bugzilla.kernel.org/show_bug.cgi?id=218344

For now, I am able to have sound from the motherboard using snd_hda_intel.enable=Y,Y,N.

For others that would be snd_hda_intel.enable=Y,N,Y

The idea is to disable the Sound Blaster card by software, to be able to boot and continue to have sound from an other device without completely blacklisting snd_hda_intel.

It is a workaround until a better solution is found.
Comment 29 Fabian Rensen 2024-02-16 21:17:11 UTC
I have the exact same issue. Upgraded from a Sound Blaster Z to a Sound Blaster AE-7. The Z was working totally fine on my Mint 21.3 installation using pipewire. Even with full driver support.
Since I plugged in the AE-7, I can't get any Linux not even Live images to boot. My Mint also fails with the soft lockup output mentioned here. For the live images, I did not try to boot so extremely often, maybe just 2-3 times per distro. My installed Mint I tried at least 20 times, 0% success rate.
I tried several live images, all failed (MX, Ubuntu, Mint, KDE neon, Fedora, elementaryOS, EndeavourOS, ...).
Only way to boot is, as mentioned, to blacklist the snd_hda_intel kernel module.

My system:
Gigabyte X570 Aorus Pro rev. 1.2
AMD Ryzen 5900X
DDR4-3666 (OCed)
RTX 3070 Ti
SoundBlaster AE-7

Btw, my on-board sound chip is disabled in the BIOS, did not make any difference to enable it, though.
Comment 30 Pascal Pharand 2024-03-06 12:58:11 UTC
From my understanding of how linux bug fix works, the reason we don't get an answer from the dev is that he might not use this bug reporting system to acknowledge bugs. Someone might have to try to reach him directly using his email address up in the ticket or a mailing list which most linux support happens.

Other than that, as Paul Dufresne said, you can disable only the soundcard when in linux by doing the following :

Remove the card and boot to your favorite linux distro

cd /etc/modprobe.d/
sudo nano snd_hda_intel.conf
add "options snd_hda_intel enable=1,0,1" (no quotes, you might have to play around with the order of the 1 and 0 here)
save and exit (ctrl+x and y)

Reinstall the card and boot your computer in your linux distro. If done properly, you should boot no problem. At the moment I have to use my onboard soundcard to get audio which is annoying as it's not better than the AE-7.
Comment 31 Evgenii 2024-04-13 16:53:01 UTC
Just returned to digging out for reasons why CORB timeout stops boot process in Artix and reason is weird USB controller port. In my case I put ancient 1Gb USB stick without cache etc into top blue port and got only errors and stuck, while red ports underneath on NSI Z790-A seems more okayish and system could boot up. So maybe if you guys trying thinking that there is no difference, then seems there are and stuck message probably could be overcomed with additional USB controller to boot up system at least from USB.
Comment 32 Shengyu Qu 2024-04-18 14:10:12 UTC
Same problem here on AE-9. using Asus Prime X670E-Pro WIFI + 7950x. My AE-9 is also using ASM1085. Maybe This is an HW bug for ASM1085? How can we get ASM guys to help on this?
Comment 33 Evgenii 2024-04-19 01:28:41 UTC
Who knows. I have revision 1 in lspci -vv on AE-7. AE-9 not been even planned to be supported cause Creative not sent its cards to an author. So you could only try to look for an author of this driver and send card to him or work online under driver as variant. I saw such online mods been done by man with its notebook and its patches of course not approved by an upstream at least for now. Still, system works fine. Maybe will be enough to work with virtual machine at range for him as well as with WSL if you have Windows running.
Comment 34 Shengyu Qu 2024-04-19 02:15:36 UTC
(In reply to Evgenii from comment #33)
> Who knows. I have revision 1 in lspci -vv on AE-7. AE-9 not been even
> planned to be supported cause Creative not sent its cards to an author. So
> you could only try to look for an author of this driver and send card to him
> or work online under driver as variant. I saw such online mods been done by
> man with its notebook and its patches of course not approved by an upstream
> at least for now. Still, system works fine. Maybe will be enough to work
> with virtual machine at range for him as well as with WSL if you have
> Windows running.

Well I planned to try to support ae-9 by myself. I have contacted with ae-7 support’s author and he gave me some useful information and tools. But when I bought and installed AE-9 to my pc, I’m blocked by this asm chip… I have sent an email to asmedia for tech support but haven’t received any reply yet.
Comment 35 Evgenii 2024-05-05 18:06:52 UTC
Okay, seems BIOS revision probably with IntelME and other anal probes might greatly affect experience. After getting into installed graphics card troubles increased compared to simple setup and even getting BIOS back not fixed effect of almost not chance to load. It goes till pretty low stages, but chance to load is like 0,1% for Manjaro and much more for Artix Plasma Runit.
After getting latest BIOS i see only Artix Base could load almost always and many other only console install distributions. So deleting Pulseaudio and installing Pipewire goes with OpenRC into iswsues that requires to write in .bash_profile such strokes taken from Gentoo, but in reality launching pipewire not necessary and its simply work with naked ALSA just great:

# Ensure XDG_RUNTIME_DIR is set
if test -z "$XDG_RUNTIME_DIR"; then
    export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
fi

Nn /etc/asound.conf just added

defaults.pcm.card 2
defaults.pcm.device 0
defaults.ctl.card 2


Artix Base Runit have a bug and not showing nor users, nor password, so after loading the system stays unusable.
There seems no better solution then simple live distribution without WM or DE for now.

Note You need to log in before you can comment on or make changes to this bug.