Uwe Fechner

Results 232 comments of Uwe Fechner

Perhaps related: https://discourse.gnome.org/t/gdk-x11-surface-get-xid-hard-crashes-on-ubuntu-22-04/16818

Well, I am using X11, but I cannot easily switch the windowing system because I use an nvidia graphics card with the proprietary driver, and it does not support Wayland,...

OK, I tried with different graphic drivers. Not working: Nvidia-535 (tested by Ubuntu) Nvidia-525 Working: nouveau Not the final solution because there is no OpenGL acceleration with the nouveau driver,...

Might this be related: ``` I am now using gdk_x11_surface_get_xid(gtk_native_get_surface(GTK_NATIVE(window))) to get an XID from a GTK window widget. – [Ank i zle](https://stackoverflow.com/users/10696946/ank-i-zle) [Mar 15, 2022 at 2:10](https://stackoverflow.com/questions/71461608/gtk-window-to-gdk-surface-in-gtk4#comment126333979_71461608) ```

> I don't have access to an nvidia graphics card and unlike with an OS I can't just spin up a VM to test it, so this might be hard...

> Does that still crash? Yes, it does: ``` julia> import libadwaita_jll, mousetrap_linux_jll julia> ccall((:adw_init, libadwaita_jll.libadwaita), Cvoid, ()) julia> ccall((:_ZN9mousetrap6detail17initialize_openglEv, mousetrap_linux_jll.mousetrap_julia_binding), Cvoid, ()) [19474] signal (11.1): Segmentation fault in expression...

Looks better: ``` julia> ENV["MOUSETRAP_DISABLE_OPENGL_COMPONENT"] = "TRUE" "TRUE" julia> import Pkg; Pkg.update("mousetrap_linux_jll") Updating registry at `~/.julia/registries/General.toml` Updating git-repo `https://github.com/Clemapfel/mousetrap_linux_jll` No Changes to `~/repos/Mouse/Project.toml` No Changes to `~/repos/Mouse/Manifest.toml` julia> using Mousetrap...

Well, I created a new model, a tether model, which is not possible to solve using Simulink solvers, we need the Julia solvers, they are at least 1000 times faster......

Perhaps you could give me some hints how to start this work... What would be the first step? Define the inputs, outputs, configuration struct and states of my model?