servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics
Apache License 2.0
3.6k stars 201 forks source link

Demo rendering errors and system freeze #410

Open DorianRudolph opened 4 years ago

DorianRudolph commented 4 years ago

The demo/native renders incorrectly as depicted below:

pathfinder

It looks much worse while moving around and flickers badly. My entire system freezes (or rather the GPU driver crashes?) if I click the little button between the + and - buttons.

Here is a very unprofessional video of my screen since I can't use screen recording if my GPU crashes... https://1drv.ms/v/s!AuBFUYtk7aRLwTagqae0dIkrlAMR

If I click 3D, the app crashes: crash.txt

The nanovg demo works fine.

System information:

pcwalton commented 4 years ago

Have you tried D3D9 mode?

chris-morgan commented 4 years ago

I observe the same crash on clicking on clicking on 3D or VR on my Surface Book, Windows 10, OpenGL (D3D11 level), GeForce GPU/PCIE/SSE2. (Though not the bad rendering.)

DorianRudolph commented 4 years ago

D3D seems to work fine (including AA). Although the subpixel AA option breaks it.

Screenshot_20200723_174657

The fact that the entire GPU driver dies I still find quite worrysome. It cannot only be a bug in pathfinder.

s3bk commented 4 years ago

I still find it rather worrysome that basically my entire graphics driver crashes. This cannot only be an issue with pathfinder.

Welcome to the wonderful world of graphics drivers…