Giter Site home page Giter Site logo

Comments (6)

ShadowMarker789 avatar ShadowMarker789 commented on July 19, 2024

Beginning to diagnose this

Drawing a line with the Skia context via Vulkan

Skia on WTS
image


Skia on normal session
image

Isolated the issue to the Skia implementation in GodotSkiaGpu

from estragonia.

ShadowMarker789 avatar ShadowMarker789 commented on July 19, 2024

Currently I'm suspecting something is going wrong with elements that are NOT redrawn constantly.

Your hello world example seems to render, and it has animations.

I get this on startup.

image

But then when I resize the window I do get the Avalonian content rendered.

image

Can you confirm whether you get issues for situations where all of the controls in Estragonia are not animated?

I can alleviate the issue by having in _Process() calls to QueueRedraw in the User-Interface godot control.

It's like the first few _Draw calls are not actually done or executed. For instance, to get the Skia content drawn I had to repeatedly call QueueRedraw.

I can unfortunately confirm that the first two _Draw calls do not result in content rendered.

	public override void _Process(double delta)
	{
        if (_drawCount < 2)
            this.QueueRedraw();
	}

The above code - you see nothing when the window goes on screen.

	// Called every frame. 'delta' is the elapsed time since the previous frame.
	public override void _Process(double delta)
	{
        if (_drawCount < 3)
            this.QueueRedraw();
	}

But in the above code - you do see the content when the window goes on screen.

This upsets me immensely, and I'm considering that perhaps it's not Estragonia's fault but Godot's fault.

To my dismay, I can also confirm that delegating all Skia drawing operations by several frames also results in everything rendering correctly.

from estragonia.

MrJul avatar MrJul commented on July 19, 2024

Thank you for the report!

Is that an AMD GPU? If yes that's probably #5.
Currently, I can't reproduce with a remote RTX 4080.

from estragonia.

ShadowMarker789 avatar ShadowMarker789 commented on July 19, 2024

Thank you for the report!

Is that an AMD GPU? If yes that's probably #5. Currently, I can't reproduce with a remote RTX 4080.

Negative, that's an Nvidia Quadro P1000 on the work PC.

from estragonia.

MrJul avatar MrJul commented on July 19, 2024

@ShadowMarker789 If possible, can you please try Estragonia 1.2.0-preview1 (targeting Godot 4.3-beta1)?

There have been efforts to fix the corruption on AMD GPU, and I believe the better Vulkan synchronization might have fixed this issue. (At least I can't see any issues on RDP sessions with both Nvidia and AMD GPUs.)

from estragonia.

MrJul avatar MrJul commented on July 19, 2024

I'm closing this as potentially fixed in 1.2.0-preview1 - feel free to reopen if you can still reproduce the issue with that version.

from estragonia.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.