Skip to content

Problem running flutter-pi in virtual environment #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
irisrucia97 opened this issue Nov 20, 2020 · 2 comments
Closed

Problem running flutter-pi in virtual environment #124

irisrucia97 opened this issue Nov 20, 2020 · 2 comments

Comments

@irisrucia97
Copy link

irisrucia97 commented Nov 20, 2020

[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. 
WARNING: Error getting last vblank timestamp. drmCrtcGetSequence: Invalid argument
VSync will be disabled.
See https://github.com/ardera/flutter-pi/issues/38 for more info. 
=================================== 
display mode:
resolution: 800 X 600 
refresh rate: 60Hz
 physical Size: 0mm X 0mm
flutter device pixel ratio: 1.000000
 =================================== 
VMware: No 3D enabled (0, Success). 
[flutter-pi] Could not create GBM Surface. gbm_surface_create_with_modifiers: Function not implemented

The execution environment ran on ubuntu 18.04 and the virtual machine used is oracle VM virtualBox.
Doesn't work with virtual machines? Or is the other part wrong?

@ardera
Copy link
Owner

ardera commented Nov 20, 2020

The cause is right there in the log:

VMware: No 3D enabled (0, Success).

flutter-pi needs 3D acceleration / OpenGL. Otherwise it won't work. I don't know how to enable 3D acceleration for VMware.

@ardera ardera changed the title Problem running plotter-pi in virtual environment Problem running flutter-pi in virtual environment Nov 20, 2020
@irisrucia97
Copy link
Author

Thank you for answer!

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

No branches or pull requests

2 participants