Giter Site home page Giter Site logo

Comments (7)

zhouziyang avatar zhouziyang commented on July 26, 2024

I miss the minijail repo in manifest, but the docker image should be updated.
Did you build by your own?
Anyway, I will update manifest, and thanks for reporting this,

from redroid-doc.

zcadqewxs avatar zcadqewxs commented on July 26, 2024

是的,我自己构建的
是需要加上 minijail 这个就可以吗?
我试试看

from redroid-doc.

zcadqewxs avatar zcadqewxs commented on July 26, 2024

修改了minijail后可以启动scrcpy了,但是画面非常卡,3~4fps左右,请问这个是什么情况呢?

from redroid-doc.

zhouziyang avatar zhouziyang commented on July 26, 2024

from redroid-doc.

zcadqewxs avatar zcadqewxs commented on July 26, 2024

使用的是intel集显

getprop ro.hardware.gralloc =>
gbm


adb logcat | grep surfaceflinger =>
08-24 23:31:05.403 0 0 I init : Sending signal 9 to service 'surfaceflinger' (pid 406) process group...
08-24 23:31:05.611 0 0 I init : Command 'restart surfaceflinger' action=onrestart (<Service 'servicemanager' onrestart>:5) took 208ms and succeeded
08-24 23:31:05.825 0 0 I init : Service 'surfaceflinger' (pid 406) received signal 6
08-24 23:31:05.825 0 0 I init : Sending signal 9 to service 'surfaceflinger' (pid 406) process group...
08-24 23:31:09.896 0 0 I init : starting service 'surfaceflinger'...
08-24 23:31:09.974 0 0 E DEBUG : pid: 729, tid: 729, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-24 23:31:09.979 0 0 E DEBUG : #7 pc 0000000000002670 /system/bin/surfaceflinger (main+48) (BuildId: d04e94e97039f31ab770396ee60e851b)
08-24 23:31:24.513 0 0 I init : Parsing file /system/etc/init/surfaceflinger.rc...
08-24 23:32:03.369 208 633 I ActivityManager: ntv ?? 31693: surfaceflinger (pid 100) native


docker 启动命令 =>
docker run -v ~/data:/data -itd -p 5555:5555 --rm --memory-swappiness=0 --privileged redroid_t1 redroid.gpu.mode=host


from redroid-doc.

zhouziyang avatar zhouziyang commented on July 26, 2024

surfaceflinger crashed several times, and it should not happen. and typically, don't need to force host gpu mode (it's automatically checked).

check your gpu info:
lspci -nnk | grep -i vga -A3
ll /dev/dri

check log info from surfaceflinger
logcat -p <pidof surfaceflinger>

from redroid-doc.

zhouziyang avatar zhouziyang commented on July 26, 2024

stale

from redroid-doc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.