2016-06-27, 08:03
I use my pc mainly with kodi. So, when i boot up, arch linux starts kodi standalone, with kodi user, that launches the kodi interface without having to log in another specific user.
The problem I've been facing these last month is that the audio does not work most of the times and I seem to solve it rebooting. This has been happening 1 out of ten times I boot, I. E. But lately, it's very common to have to reboot 4 or 5 times in order to get the audio working.
Now, the problem might be that I also have kde installed, just in case I need to use the computer for anything other than playing media, so, if i need to use kde, I would go to any free console with ctr+alt+FX combination, login as a normal user and run: systemctl stop kodi && startx
This would log me in to kde and let me do whatever I want.
I discovered I can run pavucontrol and there, I can see the different HDMI outputs. It seems like the correct output is hdmi 2 but by default, hdmi 1 gets selected, which appears as "unplugged ". Once I run pavucontrol, everything works fine again. I can log out from kde and run kodi again and boom! Let there be sound!
How can I set this to choose the correct pulseaudio configuration by default? Maybe there is some other audio subsystem in conflict? I'm a bit lost here and the pulseaudio wiki seems overwhelming.
I've read on arch forums this might be a bug happening in kodi, and I'd like to help debugging it: Just tell me what info is needed
Any help would be nice!
The problem I've been facing these last month is that the audio does not work most of the times and I seem to solve it rebooting. This has been happening 1 out of ten times I boot, I. E. But lately, it's very common to have to reboot 4 or 5 times in order to get the audio working.
Now, the problem might be that I also have kde installed, just in case I need to use the computer for anything other than playing media, so, if i need to use kde, I would go to any free console with ctr+alt+FX combination, login as a normal user and run: systemctl stop kodi && startx
This would log me in to kde and let me do whatever I want.
I discovered I can run pavucontrol and there, I can see the different HDMI outputs. It seems like the correct output is hdmi 2 but by default, hdmi 1 gets selected, which appears as "unplugged ". Once I run pavucontrol, everything works fine again. I can log out from kde and run kodi again and boom! Let there be sound!
How can I set this to choose the correct pulseaudio configuration by default? Maybe there is some other audio subsystem in conflict? I'm a bit lost here and the pulseaudio wiki seems overwhelming.
I've read on arch forums this might be a bug happening in kodi, and I'd like to help debugging it: Just tell me what info is needed
Any help would be nice!