Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVD_loader.cpp: failed to get a service for display 4

I am trying to play audio through a WebView built which is built in Swift. Upon playing the audio, sometimes it will play out and other times it'll play for ~2 seconds and stop. I then get an error in the Xcode log:

/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-9.1.6.1/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 4  
like image 655
Justin Bush Avatar asked Feb 19 '16 01:02

Justin Bush


Video Answer


1 Answers

The solution is: app.disableHardwareAcceleration()

like image 136
Pierre Janineh Avatar answered Sep 19 '22 21:09

Pierre Janineh