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

There is a problem with UI rendering #172

Closed
cossonleo opened this issue Jan 28, 2020 · 8 comments
Closed

There is a problem with UI rendering #172

cossonleo opened this issue Jan 28, 2020 · 8 comments
Labels
question Further information is requested
Milestone

Comments

@cossonleo
Copy link
Contributor

On win10 intel gpu
rev: 69f20f9

There is a problem with UI rendering, seems text rending

图片

@hecrj
Copy link
Member

hecrj commented Jan 28, 2020

Most likely a driver issue. Could you try a wgpu example and see if any graphical glitches happen? Also, ensure your graphics drivers are up-to-date.

@cossonleo
Copy link
Contributor Author

cossonleo commented Jan 29, 2020

@hecrj
wgpu's examples run correct. And iced's todos still run abnormal on other win10. So it seems isn't wgpu or driver's problem. it seems is iced problem.
myFile

@hecrj
Copy link
Member

hecrj commented Jan 30, 2020

And iced's todos still run abnormal on other win10.

Are they both using Intel integrated graphics? This may be related to #96.

I'd appreciate it if you could try running the wgpu_glyph examples and report back.

@hecrj hecrj added the question Further information is requested label Jan 30, 2020
@hecrj hecrj added this to the 0.1.0 milestone Jan 30, 2020
@ikazos
Copy link

ikazos commented Feb 1, 2020

I'm also having similar glitches (with tour and todos). Here's some info about my machine/environment:

  • My OS: Windows 10 Home 64-bit (10.0, Build 17763)
  • My graphics card: NVIDIA GeForce GTX 1650
  • rustc --version: rustc 1.41.0 (5e1a79984 2020-01-27)

tour: text blinks upon mouse movement / keyboard strokes, scales randomly. Here are some screenshots.

capture1
capture2
capture3

wgpu_glyph (I have opened a PR that fixes a small problem): runs fine, no blinking. Here are screenshots for hello, depth, clipping, listed in order.

capture4
capture5
capture6

@hecrj
Copy link
Member

hecrj commented Feb 3, 2020

@ikazos Do you have an integrated GPU in your setup? The current renderer will default to using an integrated GPU if available to save power. If this is the case, the patch mentioned in #148 should fix the issue for you while we sort things out.

@ikazos
Copy link

ikazos commented Feb 7, 2020

@hecrj I followed this patch in #148 as you mentioned and the examples work. Thanks!

@cossonleo
Copy link
Contributor Author

@hecrj It is still not fine with winit 0.21

@cossonleo
Copy link
Contributor Author

cossonleo commented Feb 26, 2020

it use vulkan backend as default on my win10,.Due to driver's problem, the examples render not correct. But it use dx12 so that examples work fine when I set application setting.antialiasing true.
@hecrj Thanks for your work and this crate awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants