Skip to content

[Bug] GPU驱动建议用 Freedreno #558

Description

@coffeeseven

设备型号

联想Y700 第三代+一加pad2pro

操作系统版本

安卓16未root

小小容器版本

4.0+xfce

是否最新版?

若非最新版,必须说明不使用最新版的原因

github.com/lfdevs/mesa-for-android-container/blob/adreno-main/.github/docs/zh-HanS/README.md
tiny@localhost:~$ MESA_LOADER_DRIVER_OVERRIDE=kgsl glmark2
MESA-LOADER: failed to retrieve device information

glmark2 2023.01

=======================================================
OpenGL Information
GL_VENDOR: freedreno
GL_RENDERER: FD750
GL_VERSION: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175)
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed

[build] use-vbo=false: FPS: 1977 FrameTime: 0.506 ms
[build] use-vbo=true: FPS: 2163 FrameTime: 0.463 ms
[texture] texture-filter=nearest: FPS: 2075 FrameTime: 0.482 ms
[texture] texture-filter=linear: FPS: 2051 FrameTime: 0.488 ms
[texture] texture-filter=mipmap: FPS: 2065 FrameTime: 0.484 ms
[shading] shading=gouraud: FPS: 2238 FrameTime: 0.447 ms
[shading] shading=blinn-phong-inf: FPS: 3361 FrameTime: 0.298 ms
[shading] shading=phong: FPS: 3215 FrameTime: 0.311 ms
[shading] shading=cel: FPS: 3286 FrameTime: 0.304 ms
[bump] bump-render=high-poly: FPS: 3273 FrameTime: 0.306 ms
[bump] bump-render=normals: FPS: 2425 FrameTime: 0.412 ms
[bump] bump-render=height: FPS: 2097 FrameTime: 0.477 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 2153 FrameTime: 0.465 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1955 FrameTime: 0.512 ms
[pulsar] light=false:quads=5:texture=false: FPS: 1890 FrameTime: 0.529 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 1236 FrameTime: 0.809 ms
[desktop] effect=shadow:windows=4: FPS: 1548 FrameTime: 0.646 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 495 FrameTime: 2.024 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 432 FrameTime: 2.318 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 579 FrameTime: 1.729 ms
[ideas] speed=duration: FPS: 1121 FrameTime: 0.892 ms
[jellyfish] : FPS: 1808 FrameTime: 0.553 ms
[terrain] : FPS: 580 FrameTime: 1.725 ms
[shadow] : FPS: 1659 FrameTime: 0.603 ms
[refract] : FPS: 1000 FrameTime: 1.000 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1867 FrameTime: 0.536 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1887 FrameTime: 0.530 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1868 FrameTime: 0.535 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1896 FrameTime: 0.527 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1886 FrameTime: 0.530 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1898 FrameTime: 0.527 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1906 FrameTime: 0.525 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1862 FrameTime: 0.537 ms

                              glmark2 Score: 1870 

=======================================================
os_same_file_description couldn't determine if two DRM fds reference the same file description. (Function not implemented)
Let's just assume that file descriptors for the same file probablyshare the file description instead. This may cause problems whenthat isn't the case.
最后这个提示是我设备未root原因造成,无法从底层锁定GPU最高频率。
APP中是否能增加关于Freedreno 实验性功能

重现问题的操作过程

github.com/lfdevs/mesa-for-android-container/blob/adreno-main/.github/docs/zh-HanS/README.md
tiny@localhost:~$ MESA_LOADER_DRIVER_OVERRIDE=kgsl glmark2
MESA-LOADER: failed to retrieve device information

glmark2 2023.01

=======================================================
OpenGL Information
GL_VENDOR: freedreno
GL_RENDERER: FD750
GL_VERSION: 4.6 (Compatibility Profile) Mesa 26.2.0-devel (git-14fd4ce175)
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed

[build] use-vbo=false: FPS: 1977 FrameTime: 0.506 ms
[build] use-vbo=true: FPS: 2163 FrameTime: 0.463 ms
[texture] texture-filter=nearest: FPS: 2075 FrameTime: 0.482 ms
[texture] texture-filter=linear: FPS: 2051 FrameTime: 0.488 ms
[texture] texture-filter=mipmap: FPS: 2065 FrameTime: 0.484 ms
[shading] shading=gouraud: FPS: 2238 FrameTime: 0.447 ms
[shading] shading=blinn-phong-inf: FPS: 3361 FrameTime: 0.298 ms
[shading] shading=phong: FPS: 3215 FrameTime: 0.311 ms
[shading] shading=cel: FPS: 3286 FrameTime: 0.304 ms
[bump] bump-render=high-poly: FPS: 3273 FrameTime: 0.306 ms
[bump] bump-render=normals: FPS: 2425 FrameTime: 0.412 ms
[bump] bump-render=height: FPS: 2097 FrameTime: 0.477 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 2153 FrameTime: 0.465 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1955 FrameTime: 0.512 ms
[pulsar] light=false:quads=5:texture=false: FPS: 1890 FrameTime: 0.529 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 1236 FrameTime: 0.809 ms
[desktop] effect=shadow:windows=4: FPS: 1548 FrameTime: 0.646 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 495 FrameTime: 2.024 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 432 FrameTime: 2.318 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 579 FrameTime: 1.729 ms
[ideas] speed=duration: FPS: 1121 FrameTime: 0.892 ms
[jellyfish] : FPS: 1808 FrameTime: 0.553 ms
[terrain] : FPS: 580 FrameTime: 1.725 ms
[shadow] : FPS: 1659 FrameTime: 0.603 ms
[refract] : FPS: 1000 FrameTime: 1.000 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1867 FrameTime: 0.536 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1887 FrameTime: 0.530 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1868 FrameTime: 0.535 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1896 FrameTime: 0.527 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1886 FrameTime: 0.530 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1898 FrameTime: 0.527 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1906 FrameTime: 0.525 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1862 FrameTime: 0.537 ms

                              glmark2 Score: 1870 

=======================================================
os_same_file_description couldn't determine if two DRM fds reference the same file description. (Function not implemented)
Let's just assume that file descriptors for the same file probablyshare the file description instead. This may cause problems whenthat isn't the case.
最后这个提示是我设备未root原因造成,无法从底层锁定GPU最高频率。
APP中是否能增加关于Freedreno 实验性功能

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions