Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Problems with X11 and how to solve them.

Name: Princess Pudding !MhMRSATORI 2012-02-21 6:31

GTK and Qt remote display is RUBY SLOW.
Solution: Use X11 the way it was intended instead of compositing whole windows client-side. Add an extension for using OpenGL-style server-side vertex buffers and textures to speed up sprite rendering.

Per-window modesetting doesn't work well.
Solution: Modesetting in client applications is a Windows quirk. Just make your window the size of the screen and let the user choose the graphics mode before running it to get fullscreen. If you want to emulate Windows' behaviour add an EWMH for per-window modesetting because managing windows is the job of the goddamn window manager.

GTK is shit.
Solution: Don't use GTK.

Feel free to add more problems and their solutions. When this thread reaches critical mass I'll send it to freedesktop.org.
Yours truly, Princess Pudding♥

Name: Anonymous 2012-02-21 7:46

Add an extension for using OpenGL-style server-side vertex buffers and textures to speed up sprite rendering.
What? Does the current X implementation render on the client and transfer the result to the server, VNC style?

Name: Anonymous 2012-02-21 10:57

>>2
A little bit, yeah. The native X toolkit works more like >>1-san described. For anything else you need compositor/renderer extensions to get sensible performance.

Name: Anonymous 2012-02-22 11:20

Name: Anonymous 2012-02-22 11:56

>>2

Don't listen to >>3

X11 renders to nothing. Specifically, X11 processes each window in the client application, and then sends the results of each window process to the server.

Also... >>1

The reason why gtk is shit has nothing to do with it being ruby slow. Ruby is slow without try to process a shitty third party library into something usable by the OS's main graphical rendering server engine.

GTK is shit purely because GTK is shit.

If you want to fix X11, focus on X11. If you want yet but another shitty ruby library... or "gem". Just write one. Ruby developers or more than happy accepting shitty libraries, just because there's 1 more person using the language.

Name: Anonymous 2012-02-22 13:51

cli > gui just sayin

Name: Anonymous 2012-02-22 19:07

>>1
Princess Pudding
faggot detected

Name: Anonymous 2012-02-22 20:36


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List