CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.94k stars 552 forks source link

VBE Canvas - positioning issue #3009

Closed Szymekk44 closed 6 months ago

Szymekk44 commented 7 months ago

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

funcieqDEV commented 7 months ago

me too have this bug

blackneeed commented 7 months ago

Skill issue Uh i didnt say nothiing

MrJachowski21 commented 7 months ago

I have the same bug

Szymekk44 commented 7 months ago

more like cosmos skill issue 🗿

blackneeed commented 7 months ago

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

zarlo commented 7 months ago

can you post a recreate able test

Szymekk44 commented 7 months ago

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 commented 7 months ago

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)

Szymekk44 commented 7 months ago

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 commented 7 months ago

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

Szymekk44 commented 7 months ago

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

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