Gnome Settings: About shows that LLVM graphics is being used (Panfrost + Wayland) #254

Open
opened 2020-12-05 10:30:33 +01:00 by albsod · 6 comments
albsod commented 2020-12-05 10:30:33 +01:00 (Migrated from github.com)

Under Wayland, Gnome Settings: About shows this graphics string: llvmpipe (LLVM 11.0.0, 128 bits) / Unknown Graphics Controller. Under Xorg it correctly shows that Panfrost is being used, however.

Machine model: c201

glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Panfrost (0xffffffff)
    Device: Mali T760 (Panfrost) (0xffffffff)
    Version: 20.2.3
    Accelerated: yes
    Video memory: 4014MB
    Unified memory: yes
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Panfrost
OpenGL renderer string: Mali T760 (Panfrost)
OpenGL version string: 2.1 Mesa 20.2.3
OpenGL shading language version string: 1.20

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 20.2.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
Under Wayland, Gnome Settings: About shows this graphics string: `llvmpipe (LLVM 11.0.0, 128 bits) / Unknown Graphics Controller`. Under Xorg it correctly shows that Panfrost is being used, however. Machine model: c201 ``` glxinfo -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Panfrost (0xffffffff) Device: Mali T760 (Panfrost) (0xffffffff) Version: 20.2.3 Accelerated: yes Video memory: 4014MB Unified memory: yes Preferred profile: compat (0x2) Max core profile version: 0.0 Max compat profile version: 2.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL vendor string: Panfrost OpenGL renderer string: Mali T760 (Panfrost) OpenGL version string: 2.1 Mesa 20.2.3 OpenGL shading language version string: 1.20 OpenGL ES profile version string: OpenGL ES 3.0 Mesa 20.2.3 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 ```
tehbra1n commented 2020-12-06 20:05:19 +01:00 (Migrated from github.com)

same here, FWIW. fresh install of latest PrawnOS

Screenshot from 2020-12-06 14-02-25

same here, FWIW. fresh install of latest PrawnOS ![Screenshot from 2020-12-06 14-02-25](https://user-images.githubusercontent.com/17303996/101289685-f6ad4d80-37f5-11eb-86af-2f086ba83fc9.png)
Maccraft123 commented 2020-12-06 22:46:24 +01:00 (Migrated from github.com)

Can you try with having(one at a time):

  • Your user in 'video' group
  • /dev/dri/* set to 0666 mode
  • Launched Wayland compositor in tty1
    And show what has LLVMpipe renderer and what makes use of Panfrost?
Can you try with having(one at a time): - Your user in 'video' group - /dev/dri/* set to 0666 mode - Launched Wayland compositor in tty1 And show what has LLVMpipe renderer and what makes use of Panfrost?
albsod commented 2020-12-06 22:54:42 +01:00 (Migrated from github.com)

Can you try with having(one at a time):

* Your user in 'video' group

My user was already in the video group

* /dev/dri/* set to 0666 mode

This made no difference

* Launched Wayland compositor in tty1
  And show what has LLVMpipe renderer and what makes use of Panfrost?

I don't understand. Could you explain in more detail what I need to do here?

> Can you try with having(one at a time): > > * Your user in 'video' group My user was already in the video group > * /dev/dri/* set to 0666 mode This made no difference > * Launched Wayland compositor in tty1 > And show what has LLVMpipe renderer and what makes use of Panfrost? I don't understand. Could you explain in more detail what I need to do here?
SolidEva commented 2020-12-07 23:26:37 +01:00 (Migrated from github.com)

this could explain https://github.com/SolidHal/PrawnOS/issues/225
if the compositor/wm isn't getting hw accel from panfrost, the cursor lag could be caused by the sw rendering not being able to keep up.

this could explain https://github.com/SolidHal/PrawnOS/issues/225 if the compositor/wm isn't getting hw accel from panfrost, the cursor lag could be caused by the sw rendering not being able to keep up.
SolidEva commented 2020-12-11 01:39:20 +01:00 (Migrated from github.com)

On gru-kevin, gnome simply reports "Unknown Graphics Controller / Unknown Graphics Controller" which is probably correct, so this issue seems to only effect the c201, or maybe just armhf devices?

On gru-kevin, gnome simply reports "Unknown Graphics Controller / Unknown Graphics Controller" which is probably correct, so this issue seems to only effect the c201, or maybe just armhf devices?
SolidEva commented 2020-12-11 02:20:50 +01:00 (Migrated from github.com)

Tested v1.1 on veyron-speedy, which has the mesa 10.2.1-100 packages built by PrawnOS instead of the upstream debian ones and kernel 5.4.57
The Graphics section in Gnome About is properly populated with Mali T760 (Panfrost) /Mali T760 (Panfrost)

I then upgraded on the kernel to 5.9.12, keeping everything else on the system the same and found the Graphics section to be incorrect, so this is likely a kernel bug or a bug with how mesa/the kernel interact.

Tested v1.1 on veyron-speedy, which has the mesa 10.2.1-100 packages built by PrawnOS instead of the upstream debian ones and kernel 5.4.57 The Graphics section in Gnome About is properly populated with `Mali T760 (Panfrost) /Mali T760 (Panfrost)` I then upgraded on the kernel to 5.9.12, keeping everything else on the system the same and found the Graphics section to be incorrect, so this is likely a kernel bug or a bug with how mesa/the kernel interact.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ev4/PrawnOS#254
No description provided.