albfan / miraclecast

Connect external monitors to your system via Wifi-Display specification also known as Miracast
Other
3.82k stars 412 forks source link

Pi3 KMS driver Note8 #263

Open Vitalic66 opened 6 years ago

Vitalic66 commented 6 years ago

Hallo,

how to start, great app. I managed to install it on Pi3 with Linux raspberrypi 4.14.18-v7+ #1093 SMP Fri Feb 9 15:33:07 GMT 2018 armv7l GNU/Linux All tests went well and passed, all plugins needed are installed.

After several tries i managed to get a stream from my Note 8 (Android 7.1)

With oem software drivers the stream was ugly and had a delay of 5 seconds. Didn't try audio. So i activated the KMS GL driver in raspi-config.

After that, when a stream is openend, i can see the gstplayer window opening, but than black screen and right after that login screen to Xsession. After login all terminal windows are closed.

albfan commented 6 years ago

Check resolution for a better mirroring https://github.com/albfan/miraclecast/issues/256#issuecomment-364640877 About black screen maybe this could help https://github.com/albfan/miraclecast/issues/183#issuecomment-291012571 Check wiki fag about log for support to check other causes of lag and errors

Vitalic66 commented 6 years ago

Thx for reply. Set back to legacy driver and --res 00,1FFFFFFF,00. Now output is pretty and also fast on omxplayer. gstplayer and VLC have massive problems and cause high cpu usage. OMXplayer has no problems when udp stream is running.

Unfort. it takes 5 to 10 tries to get a working connection. "group owner negotiation failed" comes very often.

Do you have instructions on how to use UIBC? When i click somwewhere in gstplayer window, nothing happens on phone.

albfan commented 6 years ago

You need to use --uibc on miracle-sinkctl to use UIBC. Check if your device support it. At this time only generic mode is supported. Some devices only support HIDC mode