-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No sound on clean install only with clear linux #1911
Comments
Most important debug info I need: |
did you switch this to |
In Plus my nVidia HDMI is connected to the monitor's speakers and there is nothing coming out of them when I play a sound. Unless I switch to the nVidia HDMI from the gnome > settings > sound panel and then the sound does come out of the monitor (but it sounds terrible ... bad integrated speakers, and the nVidia device is never known for good sound quality). I need the Creative, that is the real card - the rest is coincidental bonus from the hardware. The integrated audio card from the motherboard is always off in the BIOS, so that one never appears. |
I didn't realize you have a separate audio card - do the other Linux OS's have a specific kernel module that they load? Can you check (e.g. ubuntu live CD?) and see if you can identify the module? We likely just don't have the right module enabled in our kernel. |
Do you have the module |
I guess I wrote too much stuff and it kind of gets lost ... I just wanted to give as much info, because I know it's meant to be helpful. As I mentioned before there was a version of clear linux from september or october 2019 (the first time I tried it) which had sound and everything was perfect. I don't see a reason why this would change. I also wrote the output of I was just wondering if this was the module ... yes, snd_hda_codec_ca0132 is loaded. OK, so how do I do that ... to enable |
Could have been changes in the driver since then, not sure without digging deep into history. I'm enabling that option in our kernel now, which simply enables that behavior in the existing snd_hda_codec_ca0132 driver. Should show up in linux-5.6.5-940. |
Yes, I found two So, how do I update the kernel, just use swupd and add the package ? How do I check if it is already the right one (with |
Right. It has to go into the next release, which will probably happen on Monday. With this option enabled, the driver should automatically load the firmware. Unfortunately, my knowledge of the sound subsystem is pretty outdated at this point, so it'll take us more digging to figure out if there's something else that needs to happen, too. |
I see ... well, thanx to both of you for the effort and ... we'll see on Monday. :D |
Thanks for the very detailed report - that really helped. |
Hi again, I actually tried and recompiled a kernel by following the clear linux docs on the internet and succeeded. In the Now I have sound. There is another problem (I have not much experience with compiling kernels) - the nvidia driver cannot find the correct kernel headers ... at least one is missing in the source dir even after build (idk why), but I am not trying to open another topic. So, basically its either sound or 3d acceleration at the moment. Except after many tries of different things I simply kept the name of the kernel as in the repo and now I'm using the 937 native headers from the swupd bundle for the original kernel with the new compiled 937 native kernel. But I sure hope everything will be fine on Monday, so I can have both sound and 3D acceleration the right way. I hope all the right optimization flags for my temporary kernel have been applied automatically (I'm not sure I know how to set them since the last time I was trying to do something like that). |
Follow this guide to install NVIDIA drivers with dkms, which will automatically rebuild them when the new kernel to fix your sound issue is released: |
I did follow the tutorial and if I don't use the compiled kernel it works just fine, but if I use the compiled one it doesn't because it want some kind of headers. Plus if I don't use the clear linux tools for deploying the kernel and kernel headers, I wonder can I easily switch between the compiled kernel headers and the bundled ones, hence can I use the boot manager option to choose different kernel - I would guess - not. My major issue here is that the kernel |
This allows loading DSP firmware for cards such as the Sound BlasterX AE-5. Should resolve clearlinux/distribution#1911
The updated kernel is in release 32890, which is available now. |
Hello, I installed the new version - 32890, now :D Everything works just fine. Everything is stable. There are no bugs. Everything in alsamixer works. There are no issues so far. Thanx for the help. |
Hello,
There is no sound after install of the latest 32860 clear linux and there is no sound in the live cd, either. I tried several 30xxx, 31xxx and 32xxx versions and even one from last year and there is no sound. My audio card is Creative Sound BlasterX AE-5. My motherboard is ASUS ROG Strix z390-e. My sound is working just fine in win 10, win 8.1, opensuse tumbleweed, Pop!_os and ubuntu. Last year I had tried a version of clear linux in which I had sound, but I don't want to roll back and I don't remember which one. The speakers are always plugged in the right place, no hardware changes.
currently I have the latest:
32860
uname -a
My alsamixer is set just fine: nothing is muted, nothing is at or close to 0; the settings are as in other distros.
The FN + +/- keyboard keys work just fine and show a decent sound level.
The sound bar at the top right corner of gnome is just fine.
gnome -> settings -> sound show that my sound card has been selected right and the sound/level/ meter bar below the selector is moving as if sound is being pushed towards the card. The "Output Device" selector says: "Line out - HDA Creative" (my PCIe Creative Soundblaster AE-5 card). Clicking on the test icons for Left and Right channels gives no sound but the animation plays as if the sounds are being played.
The
pavucontrol
detects both the nVidia HDMI card I don't use and the main SB AE-5 card, as : "HDA Creative Analog Stereo" with Port: "Line out (Plugged in)".On the surface everything appears to be fine, but it isn't.
Audacious does not work with either pulseaudio or alsa. And normally it does work with both.
Both brave and firefox have no sound, and normally they both do. Video plays, no errors, gnome sound bar and pavucontrol both say it's all fine and the sound/volume/level meter bars are moving with the sound being pushed to the device but nothing ever comes out of the speakers.
Removing bundles
desktop, desktop-autostart and pulseaudio
and adding bundles
sddm and desktop-awesome
does not help - I can still run audacious with the ALSA output plugin but there is no sound.
Browser gives no sound, both firefox and brave.
I have no weird or exotic hardware, everything is high-end and just fine.
aplay -L
gives:I am attaching the alsa-info.sh output as a file (it is huge):
alsa-info.txt
lsmod|grep snd
the
lsmod|grep snd
is EXACTLY the same in opensuse tumbleweed. But in opensuse the gnome settings sound actually writes the name of the cardin the selector dropdown list for active device - Sound BlasterX, and there was soemthing else different, like "Core3D" or something similar (if I remember correctly). I always use 2 speakers stereo configuration in every distro and the speakers are always plugged right, although my card can do surround.and some dmesg messages (but no errors):
sudo dmesg|grep snd
(seems to be fine)dmesg_snd.txt
sudo dmesg|grep sound
(seems to be fine)dmesg_sound.txt
sudo dmesg|grep -i creative
(seems to be fine)dmesg_creative.txt
journalctl
does give plenty of errors, however:the search string I use is ALSA
these may not be all errors, including with the word ALSA
they are sequential, yet not neccessarily consecutive messages
/usr/lib64/pulse-12.2/modules
is full of files, and they have the names of the ones not found according to journalctl, but the extensions are.so
, not.so.avx2
.pulseaudio --dump-modules
givespa-dm.txt
Sometimes audacious gives me the error:
I need a really really really fast linux, and I don't want to try any other - so, please can you fix this absurd bug ? I don't want to use another distro, I need clear linux.
There are two simmilar topics here and they were both closed, as a matter fo fact the authors claimed that everything is fine now. Well, I am getting that bug with every version of clear linux that I try (besides a very old one from last year). Google helps not. I tried a lot of topics ... and ... not a thing.
Thanx in advance,
Butterfly Collector
The text was updated successfully, but these errors were encountered: