thestr4ng3r / chiaki

Moved to https://git.sr.ht/~thestr4ng3r/chiaki - Free and Open Source PS4 Remote Play Client
https://git.sr.ht/~thestr4ng3r/chiaki
2.17k stars 373 forks source link

Fresh build does not get the list of Audio Devices in the menu #378

Closed Fredrum closed 3 years ago

Fredrum commented 3 years ago

Environment

Describe the bug I got a message from another user saying that the new Audio Out Devices menu does not get populated, he only sees the 'Auto'. I tried building + installing on a freshly flashed SD card and I get the same. No filling in of the Audio devices. As it was changed to async I tried waiting a while and see if it filled in later but it didn't. I tried this in a few different ways. So currently the sound is not working. Strangely it does work on my 'dev' SD card but that has a lot of stuff installed over a couple of months.

To Reproduce Steps to reproduce the behavior:

  1. Build + Install from source on a fresh OS sd card.
  2. Set up your PS4 info.
  3. Run chiaki and go to the settings dialog of the PS4.
  4. Try open the Audio Devices popup menu.

Expected behavior It should fill with a list of the usual suspects of audio out devices.

Log Files I only get this:

qt5ct: using qt5ct plugin
QEGLPlatformContext: Failed to create context: 3009
[I] Discovery Service detected new host with id 709E29C0519B

@thestr4ng3r if that works for you, how to do you install Qt5?

Fredrum commented 3 years ago

Yes it seems like the standard Raspbian Qt5 packages (Qt5.11) haven't got all necessary bits to make the audio work. Unless I missed something. Strangely I can get it to both cmake and build but qt don't get the list of devices so it all falls apart. Iv'e added back the need for Qt5.12 to the RPi install instructions. The async call works fine!