question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rendering directly on ubuntu server without setting Application.UseSystemConsole = true is broken

See original GitHub issue

I created a fresh ubuntu20.04.3 (server) server VM, installed the dotnet sdk, checked out gui.cs, ran dotnet run --project UICatalog and it looked like this:

grafik

In my app, I notice severe drawing issues as well (dead “pixels”, skewed graph axes, …). Am I doing something fundamentally wrong?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
tznindcommented, Nov 10, 2021

What are you using to access the server? are you directly logging in or using ssh? what does $TERM show (i.e. echo $TERM)? Typically you can get odd colours or not showing colors if you are using a different terminal protocol. For example to get putty to work you need to set the app to use xterm-256color (https://github.com/migueldeicaza/gui.cs/discussions/1455)

1reaction
BDispcommented, Nov 1, 2021

Setting Application.UseSystemConsole = true makes the CPU usage go to 100%, are there ways around that?

With a Thread.Sleep (10) inside the while (true) of the WaitWinChange () method will improve the performance.

And can I set it easily for the entire catalog to test it?

dotnet run --project UICatalog -usc

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rendering directly on ubuntu server without setting ...
I created a fresh ubuntu20.04.3 (server) server VM, installed the dotnet ... UseSystemConsole = true is broken Rendering directly on ubuntu ...
Read more >
AMD GPU Rendering not working (Ubuntu PPA) : r/kdenlive
When I attempt to use the AMD VAAPI profile, but GPU usage only goes up by about 4%, which makes no sense if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found