last day (16 days later) » 

21:14
2
Q: No sound in 24.04 LTS, Sound settings list "No Output Devices"

jim greenI have Ubuntu 24.04.1 LTS on a Dell XPS 9320. Since I upgraded from 22.04 last month, my internal speakers have not worked. In Settings, Sound Output lists "No Output Devices". I do get sound via USB devices (speakers or earbuds). I've tried many suggestions from many related questions (see below...

Try this... remove your audiofix.conf file. Edit alsa-base.conf and add "options snd-hda-intel model=dell-headset-multi" (no quotes) to the end of the file. Reboot. See if the sound works and see what the Sound control panel reports now. Report back.
I can't find an audiofix.conf file. I added the line to the end of alsa-base.conf and rebooted. Sound Settings still say no output device. Thanks for the suggestion.
YOU created the audiofix.conf file at "I used sudo gedit to create /etc/modprobe.d/audiofix.conf". You MUST delete this file if my patch has any chance of working. Show me "tail /etc/modprobe.d/alsa-base.conf".
Turns out I removed the audiofix.conf file after it didn't work. I'll add the tail output at the end of my question, above.
In your alsa-base.conf file, what it this... "# options snd-hda-intel model=auto -- tried & failed for audio fix 27Oct2024". Remove it, reboot, and retest sound.
And... "# blacklist snd_soc_avs".
If you boot to a Ubuntu 24.04 USB flash drive, does the sound work? What does the Sound control panel indicate?
21:14
I removed those lines from alas-base.conf and rebooted; still no sound. I'm now getting 24.04 on a USB, hoping to try that soon.
Booting from USB sound did not work. Sound settings listed Dummy Output as the sound device.
Try creating a 24.10 USB flash drive and see if it makes any difference. I want to try and eliminate a kernel issue. You may still need a patch like mine to get rid of Dummy Output, but of course you can't do that on a flash drive, only a real installation. Ventoy may allow that though. ventoy.net/en/index.html Report back.
Same result from 24.10. I also tried Ventoy, but was not able to make a USB that would boot.
I suspect a kernel problem at this point. Edit your question and show me "uname -r" and "ls -al /boot". Temporarily comment out my patch in alsa-base.conf. At the GRUB menu, if you select the oldest kernel showing, does the sound come back? Go to github.com/bkw777/mainline and follow the brief instructions at the INSTALL heading. We'll use the "mainline" tool in our next step.
Use the "sudo dmidecode -s bios-version" to determine your current BIOS version, then go to the Dell website to see if there's a newer version.
Did you install the "mainline" application? If so, start it the same way that you start any application, and take a look around. I'll give more instruction later.
Do you have a Nvidia video card? Show me "dkms status". Turn off Secure Boot in your BIOS.
I've got mainline working; it shows a long list, with 6.8.0-48.48 Running and many more Installed. video card is Intel (see end of question, above). $ dkms status ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu2~24.04.1, 6.8.0-48-generic, x86_64: installed
Installing a lower kernel from mainline may effect your use of the ipu6 dkms module (What is that, by the way?), and VirtualBox. But, for testing purposes, it'll serve its purpose. First, turn off SECURE BOOT in your BIOS. Then, in mainline, you can select (single click) on a kernel (not any of the FC kernels) and click INSTALL. Then reboot. Test sound. Since you're running 6.8.0 kernel now, select one of (6.7.10, or 6.6.51, or 6.5.11). Report back. So as I don't miss your comments, begin your comments with "@heynnema", no quotes.
21:14
@heynnema Secure Boot off, I used Mainline to Install 6.5.11 and rebooted, but the kernel did not change (still 6.8.0-49-generic). Mainline shows many earlier kernels Installed, with 6.8.0-49.49 Running. I am missing some step(s),
@jimgreen At the GRUB menu, choose Additional Options, and then choose the 6.5.11 kernel (not recovery). Test the sound. You may need to use my earlier patch if there are still problems with the sound. Report back.
@heynnema I cannot find the GRUB menu. ESC at boot-up takes me to a grub command-line prompt; there, TAB lists many lines of possible commands, but I don't find menu.
@jimgreen Try the SHIFT key at boot time.
@heynnema The SHIFT key (press or hold) had no effect on the boot process. F12 gives me various options, but no GRUB menu. BTW I used flash drives to boot 20.04 LTS and still no sound; that showed a much earlier kernel (5...). Since the older Ubuntu releases also don't see my speakers, maybe I have a hardware problem?
@jimgreen Do you dual boot... ie: Windows or Ubuntu? I suspect not. The timing of the ESC/SHIFT key is important, and you should be tap-tap-tapping the SHIFT key at the critical timing point. It may take a few attempts before you catch it correctly. Try a few more times.
@jimgreen Did your XPS come with Windows, or Ubuntu, or both? In briefly looking at support.dell.com, I found the Ubuntu restore disk ISO image at dell.com/support/home/en-us/drivers/…. We may need to try installing Ubuntu 22.04 back to factory, as Dell supplies extra software for Ubuntu to make it work on their Dells, and that's what may be missing on your computer.
21:14
@heynnema Dell xps 9320 came pre-loaded with Ubuntu. I have the system-restore on USB, but it will reformat, so I need some time to confirm my backups. Also I will try more with the ESC timing. It's likely to be tomorrow before I'm ready to try the restore. Thanks for you efforts here!
 
2 hours later…
23:29
You might check the version of Ubuntu on the USB vs on the ISO (at the link that I gave you). I think the ISO is 22.04. During the install, you can disable format during the initial few steps. It's a very small checkbox. Also, if you select manually setup partitions, and you correctly select your existing partition layout, you may also forgo formatting... I don't remember which it is...
Remember, you may still need my alsa-base.conf patch if you end up with 24.04 or 24.10.
23
Q: Is it possible to install Ubuntu without formatting any partitions?

DumindurrCan I install Ubuntu without formatting any partitions on my hard drive? I am already running Windows 7 and I want to install Ubuntu as well without formatting any of the partitions I have already created.

@jimgreen I forgot to mention, please continue to use the @heynnema so that I'll get notifications of your new comments.

  last day (16 days later) »