Skip to content

Conversation

@AsaMitakaIT
Copy link

@AsaMitakaIT AsaMitakaIT commented May 26, 2025

The issue occurs when using the --force-scale-factor=<value> startup parameter with the gbm backend.
IMG_3624
Before the modification, the logical size was incorrectly multiplied by the scaling factor, which caused the canvas to exceed the display.
IMG_3626
I am not familiar with C++, so I’m unsure whether this has led to other issues.

Commands:

sudo apt install libegl1-mesa-dev
cmake -DBUILD_ELINUX_SO=ON -DBACKEND_TYPE=DRM-GBM -DCMAKE_BUILD_TYPE=<Debug || Rlease> ..
mv libflutter_elinux_gbm.so .../flutter-elinux/flutter/bin/cache/artifacts/engine/elinux-<ARCH>-<debug || release>/libflutter_elinux_gbm.so

@HidenoriMatsubayashi
Copy link
Contributor

@taka-okayama could you watch the repos?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants