wimpysworld / umpc-ubuntu

Scripts for UMPCs such as GPD Pocket, Pocket 2, MicroPC & TopJoy Falcon
https://ubuntu-mate.org/gpd-pocket/
MIT License
216 stars 51 forks source link

audio issues on pocket 1 #34

Closed freakedenough closed 2 years ago

freakedenough commented 2 years ago

i did a fresh install of kubuntu 21.10 and updated the kernel to 5.16.3. afterwards i ran your script with gpd-pocket for model 1.

the sound worked out of the box even before using your script, however when i watch videos which are accelerated by i965 vaapi (vlc,firefox) then the audio all of sudden stops playing after about 1:30min and i get a high pitched permanent beep until i close the application that played the video. restarting the video gives me another 1:30 minutes of sound until the beep reoccurs...

i didnt find any solution on google ...any advice?

freakedenough commented 2 years ago

output of vlc console:

pulse debug: started
main warning: playback too late (66038): up-sampling
pulse debug: changing sink 0: alsa_output.platform-cht-bsw-rt5645.HiFi__hw_rt5645__sink (Eingebautes Tongerät Headphones + Speaker)
main debug: resampling stopped (drift: 66793 us)
main warning: playback too late (66790): up-sampling
main debug: resampling stopped (drift: -3191 us)
main debug: auto hiding mouse cursor
main warning: playback too late (63571): up-sampling
main warning: playback way too late (372449): flushing buffers
vlcpulse debug: write index corrupt
pulse debug: cannot synchronize start
pulse debug: deferring start (1098551 us)
vlcpulse debug: write index corrupt
pulse debug: cannot synchronize start
pulse debug: deferring start (1095644 us)
pulse debug: deferring start (2048885 us)
freakedenough commented 2 years ago

solution i ran the script adapted to pocket 1 (changed .sh file accordingly), however, it copied a file called "alsa-pocket-3.conf" to /etc/modprobe.d/. its content: options snd-intel-dspcfg dsp_driver=1 BUT the right option for pocket 1 is options snd-intel-dspcfg dsp_driver=2 thus i expect a file called alsa-pocket-1.conf with above option being copied to /etc/modprobe.d/ by the script.

flexiondotorg commented 2 years ago

Closing this as it looks like you didn't change the value of UMPC to gpd-pocket prior to running the script which is why the applied hardware configuration was incorrect :slightly_smiling_face: