Skip to content
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

VBE Canvas - positioning issue #3009

Closed
SzymekkYT opened this issue Apr 29, 2024 · 11 comments
Closed

VBE Canvas - positioning issue #3009

SzymekkYT opened this issue Apr 29, 2024 · 11 comments
Labels
Area: CGS For issues and pull requests that are related to the Cosmos Graphics Subsystem Bug

Comments

@SzymekkYT
Copy link
Contributor

SzymekkYT commented Apr 29, 2024

Area of Cosmos - What area of Cosmos are we dealing with?

VBE Canvas/Graphics

Expected Behaviour - What do you think that should happen?

(SVGAII Canvas)

obraz_2024-04-29_205308616

Actual Behaviour - What unexpectedly happens?

(VBE Canvas)

obraz_2024-04-29_205543430
obraz_2024-04-29_205333885
^Real hardware

Reproduction - How did you get this error to appear?

Just make a vbe canvas
GUI.MainCanvas = new VBECanvas(new Mode(GUI.ScreenSizeX, GUI.ScreenSizeY, Cosmos.System.Graphics.ColorDepth.ColorDepth32));
and draw multiple (like 3) images.

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Devkit - latest c6155b9

@SzymekkYT SzymekkYT added the Bug label Apr 29, 2024
@funcieqDEV
Copy link

funcieqDEV commented Apr 29, 2024

me too have this bug

@Blackneeed
Copy link
Contributor

Skill issue
Uh i didnt say nothiing

@MrJachowski21
Copy link

I have the same bug

@SzymekkYT
Copy link
Contributor Author

more like cosmos skill issue 🗿

@Blackneeed
Copy link
Contributor

Emmmm, ..., i think i meant that (maybe)

@zarlo
Copy link
Member

zarlo commented Apr 29, 2024

can you post a recreate able test

@SzymekkYT
Copy link
Contributor Author

Okay, also i think that only drawing images is bugged
SVGAIICanvas
obraz_2024-04-30_173334505
VBE
obraz_2024-04-30_173433188

Code here cuz github deleted whitespaces

@valentinbreiz
Copy link
Member

valentinbreiz commented Apr 30, 2024

I also had this bug on virtual box, "fixed" by implementing compositing

The weird thing (if I remember well) is it was working fine on VMWare with VBE (not SVGAII)

@SzymekkYT
Copy link
Contributor Author

Well i cant do compositing because i have to change many images multiple times. Also first frame is good, but then its all broken
first frame:
obraz_2024-04-30_175502764
later:
obraz_2024-04-30_175417992

@valentinbreiz
Copy link
Member

Really weird
I'll investigate when I will have time. But you still should implement compositing I think

@SzymekkYT
Copy link
Contributor Author

Yea but it still cant handle more than 2 images
SVGAIICanvas
image

VBE:
obraz_2024-04-30_180906855
(just change i < 1)

@SzymekkYT SzymekkYT changed the title VBE Canvas positioning issue VBE Canvas - positioning issue Apr 30, 2024
@zarlo zarlo added the Area: CGS For issues and pull requests that are related to the Cosmos Graphics Subsystem label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: CGS For issues and pull requests that are related to the Cosmos Graphics Subsystem Bug
Projects
None yet
Development

No branches or pull requests

6 participants