~olablt


#472 Longer paths converting to horizontal/vertical lines 2 months ago

on ~eliasnaur/gio

~olablt, I'm thinking that you can search for the RenderDoc snapshots that I've added on the Slack channel and try to report the issue on the mesa freedesktop gitlab instance, maybe somebody there can help, who knows, this might fix many visual bugs that nobody knew where they came from.

#472 Longer paths converting to horizontal/vertical lines 2 months ago

Comment by ~olablt on ~eliasnaur/gio

Hey,

I appreciate your detailed investigation and the clarity of your findings.

Regarding the limitation with rendering edges wider than 511px on the X axis, I am keen to understand if there are any possible workarounds or future plans to address this issue with NVIDIA GPUs. Are there specific driver updates, Gio patches, or configuration changes that might mitigate this problem? Any guidance or suggestions would be greatly appreciated as I continue to develop applications with Gio on NVIDIA-equipped Linux systems.

On Wed, Mar 27, 2024 at 10:37 AM ~schnwalter outgoing@sr.ht wrote:

I was able to reproduce this on an NVIDIA laptop with openSUSE Leap using the official non-free nvidia.com driver repository and also on Debian inside QubesOS.

> inxi -G
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nvidia
    v: 550.54.14
  Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.5 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 1: 1920x1080~60Hz
    2: 1920x1080~240Hz
  API: OpenGL v: N/A renderer: N/A

To reproduce the bug you just need to render any polygon that has an edge which is at least 512px on X, it's not about the total length, it's about the length on the X axis, I wasn't able to reproduce this on Y.

The RenderDoc snapshots that I caught showed the error on the same laptop, but the numbers were correct and the same snapshots looked correct on a different non-NVIDIA laptop. I would say that the error is on the rendering side and outside the scope of Gio.

Basically on NVIDIA you can't have edges that are wider than 511px on X.

-- View on the web: https://todo.sr.ht/~eliasnaur/gio/472#event-338257

#472 Longer paths converting to horizontal/vertical lines 4 months ago

Comment by ~olablt on ~eliasnaur/gio

I was having this problem with my old Linux system. Now upgraded to a new hardware&OS with an RTX 4090 and the latest Nvidia drivers, but the issue persists :( . Any hints on how to fix this issue would be welcome. Maybe it is common to Linux OSes with proprietary Nvidia drivers? I am developing a Gio UI app and I am loving it, but this bug is driving me crazy. gioui.org v0.5.0 OS: Rocky Linux 9.3 (Blue Onyx) x86_64 Host: B760I AORUS PRO DDR4 -CF Kernel: 5.14.0-362.13.1.el9_3.x86_64 Resolution: 3840x2160 WM: i3 CPU: 13th Gen Intel i7-13700KF (24) @ 5.300GHz GPU: NVIDIA GeForce RTX 4090 Memory: 7398MiB / 31659MiB Nvidia Driver Version: 545.23.08 CUDA Version: 12.3

#475 Ctrl Press and Release events 1 year, 2 months ago

Comment by ~olablt on ~eliasnaur/gio

Thank you for your response. I appreciate the information on the Modifiers field of the pointer.Event. However, this only solves half of my problem. I am also looking for a way to display pointer suggestions when the Ctrl key is pressed and hide these suggestions when Ctrl is released.

Is there a way to detect when the Ctrl key is being pressed or released in the gio program?

#476 Outlined text? 1 year, 5 months ago

Comment by ~olablt on ~eliasnaur/gio

Thank you!

#476 Outlined text? 1 year, 5 months ago

Ticket created by ~olablt on ~eliasnaur/gio

Is it possible to draw outlined text? For example, white text with a black outline?

#475 Ctrl Press and Release events 1 year, 5 months ago

Ticket created by ~olablt on ~eliasnaur/gio

I couldn't find a way to monitor the status of the Ctrl and Shift keys in my application. I need to react to pointer press events while either of these keys are pressed, but I only receive the key 'Press' event and not the key 'Release' event.

#474 Unwanted stroke contouring on path segments intersection 1 year, 5 months ago

Comment by ~olablt on ~eliasnaur/gio

You can run gio code in go playground? Or you just pasting code there?

I get errors opening your links: Cannot load shared snippet; try again.

#472 Longer paths converting to horizontal/vertical lines 1 year, 5 months ago

Comment by ~olablt on ~eliasnaur/gio

I can confirm there is no such bug on Fedora 37 Asus laptop.

Any chance to make it work on my main machine with Fedora 31 GeForce RTX 2080 Ti?

#472 Longer paths converting to horizontal/vertical lines 1 year, 6 months ago

Comment by ~olablt on ~eliasnaur/gio

$ go build -tags noopengl main.go && ./main
2023/01/19 16:48:22 x11: no available GPU backends