ashbb / green_shoes

Green Shoes is one of the colorful Shoes written in pure Ruby.
Other
204 stars 37 forks source link

Mac OS X + Green Shoes = Odd slowness #40

Closed krainboltgreene closed 8 years ago

krainboltgreene commented 13 years ago
$ ruby -e "p require 'green_shoes'"
Xlib:  extension "RANDR" missing on display "/tmp/launch-TQ1yDK/org.x:0".
true

After running line 1, there's about a 15 second pause, everything slows down (5-8s response time on actions), and the output pops up. Then X11 is opened in the background, and remains open after the ruby process is done.

I somehow doubt this is the intended result from simply requiring green shoes.

uname: Darwin Kurtis-Rainbolt-Greenes-Mac-mini.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

krainboltgreene commented 13 years ago

Found some information on the Xlib bit:

It definitely is just a warning. It occurs whenever an app tries to query the RANDR extension. It notices that the extension is missing and disables whatever optional support it would've had for that extension. gtk2 based applications will do this every time they start... probably any app that uses a toolkit higher level than libXt, libXaw, or motif will omit such a message.