Talk:Lenovo ThinkPad X13s

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

hardware info

Talk status
This discussion is done as of 2024-02-14.

Is it possible to provide the output of the following commands?

root #lscpu
root #lspci -nnk
root #lsusb
root #lsusb -vt

The output should be in the Hardware section. Check Template:RootCmd/doc.

-- Lars Hint (talk) 06:26, 13 February 2024 (UTC)

The request was fulfilled by Enyalios. -- Lars Hint (talk) 07:22, 14 February 2024 (UTC).

detailed description

Talk status
This discussion is done as of 2024-02-14.

Seems like people want more information on performance and energy savings. [1]

Is it possible to put this kind of information in the introductory paragraph?

-- Lars Hint (talk) 06:33, 13 February 2024 (UTC)

The request was fulfilled by Enyalios. -- Lars Hint (talk) 07:22, 14 February 2024 (UTC).

PulseAudio

Talk status
This discussion is still ongoing.

Is there a reason why PulseAudio is required? Why not use PipeWire directly with the sound-server and pipewire-alsa flags? Firefox doesn't need PulseAudio to work, so what's the reason?

-- Lars Hint (talk) 14:20, 14 February 2024 (UTC)

Is this correct? I was under the impression that firefox only supported pulseaudio for sound so even if you're using pipewire as a sound-server you need pulseaudio emulation enabled. --Enyalios (talk) 15:42, 14 February 2024 (UTC)
Firefox uses ALSA by default, there is no need to specify additional USE flags for www-client/firefox. So yes, PulseAudio is not required in this scheme. Technically, even PipeWire is not required, ALSA is a part of the kernel, but in this case only one application will be able to use ALSA at the same time, so PipeWire is just a manager, which will handle the multiple connections. -- Lars Hint (talk) 15:55, 14 February 2024 (UTC)
Firefox dropped support for alsa 7 years ago https://bugzilla.mozilla.org/show_bug.cgi?id=1345661 . If you install firefox without the pulseaudio use flag, it just installs the apulse wrapper and starts firefox using that. -- Enyalios (talk) 16:14, 14 February 2024 (UTC)
There is no apulse or pulseaudio on my system. Only PipeWire with the with the sound-server and pipewire-alsa flags. Firefox's about:support#media tab shows Audio Backend: alsa. What am I missing? -- Lars Hint (talk) 16:26, 14 February 2024 (UTC)
Look at this line and this line, isn't that ALSA support? -- Lars Hint (talk) 16:50, 14 February 2024 (UTC)
Certainly seems that way, my mistake. Regardless, I couldn't get audio working at all on the x13s using bare alsa. I needed to use pipewire but I hear that pulse also works. Since most things don't support the pipewire API, I thought it would be best to use pipewire as a pulseaudio endpoint and just compile everything for pulse. --Enyalios (talk) 17:49, 14 February 2024 (UTC)
Does the PipeWire + ALSA combination have the mentioned audio glitch? In the current state, it is better to remove the Audio section and make a Troubleshooting subsection, as this section duplicates information from the PipeWire article. I originally asked the question because I thought only the combination mentioned on the page worked. If other options work too, it's better to let others make their own choices. But I found it interesting that there is no sound without PipeWire. There can be two scenarios, the first is that ALSA is occupied by another application (sound mixer?). The second scenario is that something is wrong with ALSA UCM, in which case it is possible to describe the sound card in /etc/asound.conf as a workaround. But in any case, bare ALSA is unusable, what's the point of sound that can't be adjusted without closing Firefox? :) -- Lars Hint (talk) 20:19, 14 February 2024 (UTC)
Just noticed that the Audio section doesn't say anything about the audio group. It is required for ALSA management. -- Lars Hint (talk) 20:29, 14 February 2024 (UTC)