Skip to main content
Visitor II
August 19, 2022
Solved

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

  • August 19, 2022
  • 3 replies
  • 1568 views

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?

    This topic has been closed for replies.
    Best answer by OlivierK

    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

    3 replies

    Technical Moderator
    September 1, 2022

    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'

    GencayAuthor
    Visitor II
    September 9, 2022

    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.

    OlivierKAnswer
    Technical Moderator
    September 9, 2022

    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