cancel
Showing results for 
Search instead for 
Did you mean: 

Weston Error:- atomic: couldn't commit new state: Invalid argument; repaint-flush failed: Invalid argument

adnan_pasha
Senior

Hi,

We are using a display with the Sitronix ST7701S IC. We received the initialization parameters from the vendor and updated our display driver accordingly. After these changes, the psplash screen appears correctly when the driver loads from kernel. However, once psplash exits and Weston starts, the display goes blank and nothing is shown.

We are using custom image with custom board with mickeldore yocto branch .

Regards,
Adnan

2 REPLIES 2
adnan_pasha
Senior

Hi,

I have attached my weston logs says invalid argument.
will i have to chnage some display timing params in my st7701 sitronix driver or is it related to some weston configuration?

Error:-
[09:52:15.475] atomic: couldn't commit new state: Invalid argument
[09:52:15.475] repaint-flush failed: Invalid argument

Weston.ini file
[core]
shell=desktop-shell.so
backend=drm-backend.so
idle-time=0
repaint-window=100
require-input=false

[shell]
background-image=/usr/share/splashscreen/semnox_boot_image.png
background-color=0x00ffffff#0xff002244
#background-type=scale-crop
clock-format=none
panel-color=0x00ffffff
panel-position=none
locking=false
animation=none
startup-animation=none
close-animation=none
focus-animation=none
binding-modifier=ctrl

[output]
name=DSI-1
mode=480x854@59.4
transform=normal

[libinput]
touchscreen_calibrator=true
calibration_helper=/bin/echo

[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
adnan_pasha
Senior
Hi,

Original display resolution:- 480x854
Working display resolution:- 480x800

if we configure the display vactive timing parameter in driver to 800 instead of 854 we are able to get both splash screen and weston desktop environment but part of the display area remaining 54 is either blurred out or blank (both screen shots attached)

if we use 480x854 resolution we are able to get the psplash without any problem but weston initialisation is not happening. But both splash screen and weston display environment works fine for 480x800 is there any limitation on te weston environment where 480x854 can't work or do we need to configure something in weston.ini or driver file.

We are working on the STM32MP157f-dk2 processor with the existing Linux driver for the Sitronix IC ST7701 panel (panel-sitronix-st7701.c). We have modified the timing parameters, GIP sequence, and initialization sequence as provided by display vendor.

Weston error (complete error file is also attached):-
[09:52:15.475] atomic: couldn't commit new state: Invalid argument
[09:52:15.475] repaint-flush failed: Invalid argument​


Since the glass resolution is fixed and cannot be changed.
Please suggest how to utilize the full 854 display resolution without running into Weston environment display issue.

Regards,
Adnan