View previous topic :: View next topic |
Author |
Message |
vcmota Guru
Joined: 19 Jun 2017 Posts: 367
|
Posted: Fri Jun 18, 2021 10:49 pm Post subject: |
|
|
Thank you NeddySeagoon for your reply.
NeddySeagoon wrote: | vcmota,
Code: | Device Drivers --->
Graphics support --->
Frame buffer Devices --->
<*> Support for frame buffer devices --->
<*> nVidia Framebuffer Support
<*> nVidia Riva support | Almost all the options there are either not useful or interfere with normal video card operation.
Only EFI Framebuffer, VESA Framebuffer and Simple Framebuffer are useful today.
Those options cannot fix your firmware support.
|
I dont know what to tell you. What I did was: 1) make olddefconfig; 2) make menuconfig; 3) set those options above and check for the others in the nvidea gentoo page (all others were already set); 4) make; 5) make modules_install; 6) make install; 7) creating initramfs with dracut; update grub and reboot. After that the error message regarding nvidea and pmu was no more.
NeddySeagoon wrote: |
Your Code: |
~> dmesg | grep firmware | grep nouveau
[ 14.564780] nouveau 0000:2b:00.0: pmu: firmware unavailable
~> | tells of missing power management firmware. Its provided by linux-firmware.
What doesreturn? |
Here it is:
Code: |
~> ls -l /dev/snd/
total 0
drwxr-xr-x. 2 root root 60 jun 18 19:35 by-path
crw-rw----+ 1 root audio 116, 13 jun 18 19:35 controlC0
crw-rw----+ 1 root audio 116, 12 jun 18 19:35 hwC0D0
crw-rw----+ 1 root audio 116, 11 jun 18 19:35 hwC0D2
crw-rw----+ 1 root audio 116, 5 jun 18 19:35 pcmC0D0c
crw-rw----+ 1 root audio 116, 4 jun 18 19:35 pcmC0D0p
crw-rw----+ 1 root audio 116, 7 jun 18 19:35 pcmC0D1c
crw-rw----+ 1 root audio 116, 6 jun 18 19:35 pcmC0D1p
crw-rw----+ 1 root audio 116, 8 jun 18 19:35 pcmC0D3p
crw-rw----+ 1 root audio 116, 9 jun 18 19:35 pcmC0D4p
crw-rw----+ 1 root audio 116, 10 jun 18 19:35 pcmC0D5p
crw-rw----+ 1 root audio 116, 2 jun 18 19:35 pcmC0D6c
crw-rw----+ 1 root audio 116, 3 jun 18 19:35 pcmC0D7c
crw-rw----+ 1 root audio 116, 1 jun 18 19:35 seq
crw-rw----+ 1 root audio 116, 33 jun 18 19:35 timer
~>
|
NeddySeagoon wrote: |
What does
Code: |
less /proc/asound/devices
|
show?
|
Here it is:
Code: |
~> less /proc/asound/devices > temp
~> cat temp
2: [ 0- 6]: digital audio capture
3: [ 0- 7]: digital audio capture
4: [ 0- 0]: digital audio playback
5: [ 0- 0]: digital audio capture
6: [ 0- 1]: digital audio playback
7: [ 0- 1]: digital audio capture
8: [ 0- 3]: digital audio playback
9: [ 0- 4]: digital audio playback
10: [ 0- 5]: digital audio playback
11: [ 0- 2]: hardware dependent
12: [ 0- 0]: hardware dependent
13: [ 0] : control
33: : timer
~>
|
NeddySeagoon wrote: |
Which audio output do you want to use?
|
I just want audio to work regularly, dont need anything special just regular use.
Thank you again for your reply! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54233 Location: 56N 3W
|
Posted: Fri Jun 18, 2021 11:12 pm Post subject: |
|
|
vcmota,
Code: | <*> nVidia Framebuffer Support
<*> nVidia Riva support | are both for cards that have not been made in well over 10 years. nVidia Framebuffer takes control of any nVidia GPU it finds, which stops the driver you really want to use from working.
Your ALSA stuff looks good.
Quote: | I just want audio to work regularly, dont need anything special just regular use. | Speakerns, headphones, HDMI ... it matters.
Code: | 4: [ 0- 0]: digital audio playback
5: [ 0- 0]: digital audio capture | is the default device. Its normally your speakers. In ALSAspeak that's the front speakerns and front Mic.
Sound cards using snd_hda_intel have a wart yo need to be aware of.
They can output sound using the 44.1kHz sample rate or the 48kHz sample rate but not both together. If any 48kHz sample rate output is unmuted all the 44.1kHz sample rate outputs will be silent.
In alsamixer, mute everything except Front, Master and PCM. Set their sliders to about 70% then test.
If you want no use a different output, you will need to tell alsa about it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Fri Jun 18, 2021 11:15 pm Post subject: |
|
|
And plz plz plz set SElinux to permissive for Gods shake.
At least until you can first have a stable functional booting system.
Better still to disabled.
Permanently.
It will be a constant relentless source of problems for you especially in DE rnvironment. _________________
|
|
Back to top |
|
|
vcmota Guru
Joined: 19 Jun 2017 Posts: 367
|
Posted: Sat Jun 19, 2021 1:40 am Post subject: |
|
|
NeddySeagoon wrote: | vcmota,
Code: | <*> nVidia Framebuffer Support
<*> nVidia Riva support | are both for cards that have not been made in well over 10 years. nVidia Framebuffer takes control of any nVidia GPU it finds, which stops the driver you really want to use from working.
Your ALSA stuff looks good.
Quote: | I just want audio to work regularly, dont need anything special just regular use. | Speakerns, headphones, HDMI ... it matters.
Code: | 4: [ 0- 0]: digital audio playback
5: [ 0- 0]: digital audio capture | is the default device. Its normally your speakers. In ALSAspeak that's the front speakerns and front Mic.
Sound cards using snd_hda_intel have a wart yo need to be aware of.
They can output sound using the 44.1kHz sample rate or the 48kHz sample rate but not both together. If any 48kHz sample rate output is unmuted all the 44.1kHz sample rate outputs will be silent.
In alsamixer, mute everything except Front, Master and PCM. Set their sliders to about 70% then test.
If you want no use a different output, you will need to tell alsa about it. |
Thank you NeddySeagoon for your reply. It is partially working now! After messing in the alsamixer eventually the sound came up, but only for the speakers. Nothing for the headphones. When I play something (youtube) the audio comes from the speakers and desapears when I plug the headphones. I can see in the alsa mixer that speaker goes mute and headphone unmute, but no sound from the headphones. |
|
Back to top |
|
|
vcmota Guru
Joined: 19 Jun 2017 Posts: 367
|
Posted: Sat Jun 19, 2021 1:42 am Post subject: |
|
|
alamahant wrote: | And plz plz plz set SElinux to permissive for Gods shake.
At least until you can first have a stable functional booting system.
Better still to disabled.
Permanently.
It will be a constant relentless source of problems for you especially in DE rnvironment. |
Thank you alamahant for your reply. It is in permissive mode and it will be set like this for a while, just after many weeks or months with everything working that I will turn it on. |
|
Back to top |
|
|
vcmota Guru
Joined: 19 Jun 2017 Posts: 367
|
Posted: Mon Jun 21, 2021 3:25 am Post subject: |
|
|
Now all sound devices are working as I need. To solve the headset problem all it took was the suggestion in the alsa gentoo wiki page, to add within /etc/modprobe.d/alsa.conf the following line:
Code: |
options snd-hda-intel model=headset-mic
|
After reboot many additional options related to the headset (microphone and audio) showed up in the alsamixer. |
|
Back to top |
|
|
vcmota Guru
Joined: 19 Jun 2017 Posts: 367
|
Posted: Mon Jun 21, 2021 5:43 pm Post subject: |
|
|
There is some weird issue with my audio, that seems to be in alsa configuration but that I cant figure it out.
I am listening to something (say youtube) from the speakers and then I plug the headset. The desired behaviour would be the sound to keep coming but now from the headset. That is not what is happening, the sound simply stops and I have to manually activate it on alsamixer. But, after activating, if I unplug the headset and just after plug it back, than the sound again desapears and I have to return to alsamixer.
As you can see below, there are so many sound devices on this computer:
Code: |
~> amixer -c 0
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 59 [68%] [-21.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 86 [99%] [-0.75dB] [on]
Front Right: Playback 86 [99%] [-0.75dB] [on]
Simple mixer control 'Headphone Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [30.00dB]
Front Right: 3 [100%] [30.00dB]
Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Headset Mic' 'Headphone Mic'
Item0: 'Headphone Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Headset Mic' 'Headphone Mic'
Item0: 'Headset Mic'
Simple mixer control 'PGA1.0 1 Master',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 32
Mono:
Front Left: Playback 32 [100%] [0.00dB]
Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA2.0 2 Master',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 80
Front Left: Capture 59 [74%] [9.00dB]
Front Right: Capture 59 [74%] [9.00dB]
Simple mixer control 'PGA3.0 3 Master',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 32
Mono:
Front Left: Playback 28 [88%] [-8.00dB]
Front Right: Playback 28 [88%] [-8.00dB]
Simple mixer control 'PGA4.0 4 Master',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 80
Front Left: Capture 54 [68%] [4.00dB]
Front Right: Capture 54 [68%] [4.00dB]
Simple mixer control 'PGA7.0 7 Master',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 32
Mono:
Front Left: Playback 26 [81%] [-12.00dB]
Front Right: Playback 26 [81%] [-12.00dB]
Simple mixer control 'PGA8.0 8 Master',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 32
Mono:
Front Left: Playback 22 [69%] [-20.00dB]
Front Right: Playback 22 [69%] [-20.00dB]
Simple mixer control 'PGA9.0 9 Master',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 32
Mono:
Front Left: Playback 21 [66%] [-22.00dB]
Front Right: Playback 20 [62%] [-24.00dB]
|
but I believe I have found the culprit, it is 'Input Source',0: When the headset is plugged in and there is no sound this is its state:
Code: |
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Headset Mic' 'Headphone Mic'
Item0: 'Headphone Mic'
|
but after manually "fixing" the sound in alsamixer, with audio now coming from the headset as it should, this is its state:
Code: |
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Headset Mic' 'Headphone Mic'
Item0: 'Headset Mic'
|
I have managed to make keybindings for controlling Master, but I have no idea on how to change this behavior. Is there a way?
Thank you all for your attention. |
|
Back to top |
|
|
vcmota Guru
Joined: 19 Jun 2017 Posts: 367
|
Posted: Fri Jul 23, 2021 2:47 am Post subject: |
|
|
Well, I guess I can say the problem has been solved. Although the precise reason for the issue has not been found, in the last week two new source kernels have been released. I have successfully installed both, and the system boots flawlessly with either one of them. In both cases dracut have been used, as well as make oldconfig.
Thank you all for your help! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|