Re: [gentoo-user] Re: ALSA forgot default device
On Sat, 30 Apr 2022 21:56:11 -0400, Grant Edwards wrote: > > On 2022-05-01, Grant Edwards wrote: > > > >> The usual fallback is wiki.archlinux.org, but its instructions to > >> place the following in /etc/asound.conf or ~/.asoundrc doesn't work: > >> > >> defaults.pcm.card 1 > >> defaults.ctl.card 1 > > > > wiki.gentoo.org is back, and it says to use something like this in > > /etc/asound.conf > > or ~/asoundrc: > > > > defaults.pcm.!card 1 > > defaults.pcm.!device 0 > > defaults.ctl.!card 1 > > > > That also does nothing. Using card names as shown at > > https://wiki.gentoo.org/wiki/ALSA#Files also does nothing. > > > > Yes, I'm restarting alsasound after changing /etc/asound.conf > > Apparently, restarting alsasound after changing /etc/asound.conf isn't > enough. A reboot was required. > > I never saw that mentioned in any of the half-dozen sources I read > about alsa configuration, so I presume it's a personal problem? These configurations are in /etc/modprobe.d/alsa.conf as to which is the default sound card and its parameters. The name might not be alsa.conf, but you would have to unload the module and reload, that is why you had to do a reboot. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
[gentoo-user] Re: ALSA forgot default device
On 2022-05-01, Grant Edwards wrote: > >> The usual fallback is wiki.archlinux.org, but its instructions to >> place the following in /etc/asound.conf or ~/.asoundrc doesn't work: >> >> defaults.pcm.card 1 >> defaults.ctl.card 1 > > wiki.gentoo.org is back, and it says to use something like this in > /etc/asound.conf > or ~/asoundrc: > > defaults.pcm.!card 1 > defaults.pcm.!device 0 > defaults.ctl.!card 1 > > That also does nothing. Using card names as shown at > https://wiki.gentoo.org/wiki/ALSA#Files also does nothing. > > Yes, I'm restarting alsasound after changing /etc/asound.conf Apparently, restarting alsasound after changing /etc/asound.conf isn't enough. A reboot was required. I never saw that mentioned in any of the half-dozen sources I read about alsa configuration, so I presume it's a personal problem? -- Grant
[gentoo-user] Re: ALSA forgot default device
On 2022-05-01, Grant Edwards wrote: > On Gentoo, with OpenRC, how do you configure the default board/device > for ALSA? > > I've asked Google, and all the links it comes up with are for sites > that are broken because of PHP or database failures (e.g. wiki.gentoo.org > and forums.gentoo.org). > > The usual fallback is wiki.archlinux.org, but its instructions to > place the following in /etc/asound.conf or ~/.asoundrc doesn't work: > > defaults.pcm.card 1 > defaults.ctl.card 1 wiki.gentoo.org is back, and it says to use something like this in /etc/asound.conf or ~/asoundrc: defaults.pcm.!card 1 defaults.pcm.!device 0 defaults.ctl.!card 1 That also does nothing. Using card names as shown at https://wiki.gentoo.org/wiki/ALSA#Files also does nothing. Yes, I'm restarting alsasound after changing /etc/asound.conf The only way I can get sound is to specify the card using -D with aplay, or using -ao alsa:device= with mplayer, or by manually choosing the correct output device in VLC.
[gentoo-user] ALSA forgot default device
After a recent update ALSA stopped working. Apparently, ALSA now defaults to a device that doesn't work (fails to open, or just hangs). On Gentoo, with OpenRC, how do you configure the default board/device for ALSA? I've asked Google, and all the links it comes up with are for sites that are broken because of PHP or database failures (e.g. wiki.gentoo.org and forums.gentoo.org). The usual fallback is wiki.archlinux.org, but its instructions to place the following in /etc/asound.conf or ~/.asoundrc doesn't work: defaults.pcm.card 1 defaults.ctl.card 1 Likewise the wiki.archlinux.org advice to set ALSA_CARD to the card name shown by aplay -l also doesn't work. How do you set the devault card/device for ALSA on Gentoo? -- Grant
Re: [gentoo-user] Some symbols render incomplete in text mode
пт, 29 апр. 2022 г. в 00:42, Frank Steinmetzger : > > Am Thu, Apr 28, 2022 at 09:20:08PM +0300 schrieb gevisz: > > ср, 27 апр. 2022 г. в 13:55, Frank Steinmetzger : > > > > > > Am Sun, Apr 24, 2022 at 11:57:49PM +0300 schrieb gevisz: > > > > > > > After a recent update of my Gentoo system, I have noticed that some > > > > symbols may be rendered incomplete in a text mode. > > > > > > What exactly do you mean with “text mode”? > > > > By "text mode" I mean that "it happened in Gvim, in a web-browser > > and in a dialog-window for saving files" but not in videos or pictures. > > I see, you mean text that was actually rendered and not part of an image. Yes. Thank you for replying to this thread once more. Yesterday evening I finally managed to catch the problem with incomplete rendering of cyrillic letters "in text mode" and make a screenshot of it. This time, it happened in html page that was open in google-chrome. A properly cropped screenshot of it is attached to this email. As it may happen that you and other readers of this thread are not familiar with cyrillic letters to the extent needed to see that they are rendered incomplete, I also add a screenshot of the same text rendered complete. I made it this morning with the same google-chrome. By the way, this means that the problem appears from time to time and does not look to be easily reproducible. I even assume that it may be a hardware problem as my computer is quite old, but unfortunately can not check this assumption so far. > I noticed that those applications you mention are all GTK-based. Yes, I try not to mix GTK and Qt on this old computer as much as possible to reduce the time needed to update the system. So, most of the applications on it use GTK. The only one that I know uses Qt is VLC as it does not work properly with GTK. However, I use it quite rarely. > Do you have any available that are built on Qt (or any other toolkit)? I am afraid that VLC is the only one. Once tried Qutebrowser was removed a long time ago. > I can’t say that I have seen that youtube issue before. But I also have no > idea what it could be or how to solve it. Could you create a new browser > profile and check whether the issue is still present there? This could tell > us whether it’s an issue with your existing profile. I will try to create a new user and run google-chrome from his profile and report the result here. However, when the disk with my /home directory was for a few months installed on another computer also runned by Gentoo with similar configuration I have not noticed such problems. Moreover, I am starting to suspect that the problem with incomplete rendering letters "in text mode" and the problem with symbols in the youtube video player toolbar may be separate ones as the latter is much more reproducible and appears only in google-chrome (have not noticed it in Firefox, for example, though I quite rarely use Firefox to view youtube videos).