cancel
Showing results for 
Search instead for 
Did you mean: 

I built my image with my STM32MP157F-DK2 board How can I Create a file with this argument check GPU readme file exist.

Gencay
Associate III

When I open it with this command,

less README-CHECK-GPU
Check GPU
=========
 
GPU can be deactivated by fuse or not present in some SOC
 
So in case the GPU is not present, you must configure weston on pix-man by creating this file :
/etc/default/weston with this content :
 
OPTARGS=--use-pixman
 
 

So what does this mean and what should I do?

1 ACCEPTED SOLUTION

Accepted Solutions
OlivierK
ST Employee

Hi Gencay (Community Member),

Yes you can ignore this README-CHECK-GPU file, it is only relevant to non GPU enabled products. I agree that the "CHECK" in the file name is misleading.

I have the same as you on my MP157F DK with GPU enabled.

root@stm32mp1:~# cat /etc/default/weston                     

WESTON_USER=weston  

On non GPU enabled product, I have this:

#Autogenerated

OPTARGS=--use-pixman 

WESTON_USER=weston

-> if I comment OPTARGS on this non GPU product, then weston doesn't launch.

Regards,

Olivier

View solution in original post

3 REPLIES 3
PatrickF
ST Employee

Hi @Gencay​ 

some more info in this wiki page:

https://wiki.st.com/stm32mpu/wiki/Wayland_Weston_troubleshooting_grid

You should accept the EULA at the beginning of the build to allow GPU drivers to be included.

You should have this line commented to use the GPU (as it is present on STM32MP157F).

Regards

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Gencay
Associate III

Well, for

less /etc/default/weston 

it outputs only

WESTON_USER=weston

so there is no such line as

OPTARGS=--use-pixman 

So its just a message I need to ignore? By the way this file is in /home/root directory not in /home/weston. I just wanted to know if something is wrong.

OlivierK
ST Employee

Hi Gencay (Community Member),

Yes you can ignore this README-CHECK-GPU file, it is only relevant to non GPU enabled products. I agree that the "CHECK" in the file name is misleading.

I have the same as you on my MP157F DK with GPU enabled.

root@stm32mp1:~# cat /etc/default/weston                     

WESTON_USER=weston  

On non GPU enabled product, I have this:

#Autogenerated

OPTARGS=--use-pixman 

WESTON_USER=weston

-> if I comment OPTARGS on this non GPU product, then weston doesn't launch.

Regards,

Olivier