Skip to content

The '-o' doesn't work (Could not create GBM Surface. gbm_surface_create_with_modifiers: Function not implemented) #247

Closed
@eximius313

Description

@eximius313

I'm trying to run my app in different orientation.

I've tried both:
flutter-pi -o landscape_right my_flutter_assets/
flutter-pi -o portrait_down my_flutter_assets/

but I end up in this error:

[locales] Warning: The system has no configured locale. The default "C" locale may or may not be supported by the app.
[flutter-pi] WARNING: display didn't provide valid physical dimensions. The device-pixel ratio will default to 1.0, which may not be the fitting device-pixel ratio for your display.
===================================
display mode:
  resolution: 1920 x 1080
  refresh rate: 60Hz
  physical size: 0mm x 0mm
  flutter device pixel ratio: 1.000000
===================================
[flutter-pi] Could not create GBM Surface. gbm_surface_create_with_modifiers: Function not implemented

I have set dtoverlay=vc4-kms-v3d-pi4 in /boot/config.txt as shown in this thread but it didn't help

I know that Could not create GBM Surface. gbm_surface_create_with_modifiers: Function not implemented could appear in Virtual Machine, but it's not my case - I'm running pure RPi

What can I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions