Skip to content

Fix the scaling factor issue - #439

Closed
AsaMitakaIT wants to merge 1 commit into
sony:masterfrom
AsaMitakaIT:master
Closed

AsaMitakaIT wants to merge 1 commit into
sony:masterfrom
AsaMitakaIT:master

Conversation

@AsaMitakaIT

@AsaMitakaIT AsaMitakaIT commented May 26, 2025 •

Copy link
Copy Markdown

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
Copy Markdown
Contributor

@taka-okayama could you watch the repos?

@AsaMitakaIT AsaMitakaIT closed this by deleting the head repository Feb 25, 2026
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