I have successfully scons-ed powder toy on Ubuntu Linux, as recommended by jacob1 in "A search for a missing header". TPT has been built and runs well. A few minor issues remain, perhaps platform specific? TPT complains in the following way:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x3c00003
Serial number of failed request: 245
Current serial number in output stream: 247
Similar things happen in every run of TPT, but seems to be harmless enough: there are no crashes. A slightly more annoying problem has to do with full screen mode. In Ubuntu, it seems, TPT has little control over the resolution. After one go at reducing the screen resolution and failing to reset it, TPT seems to have given up on trying. No problems - I wrote a script to manually set and unset low resolution using xrandr.
But the worst problem has to do with the mouse restrictions. In fullscreen mode, it seems that I cannot click the 'next' button in the online save previewer, nor can I prompt the right element menu to switch between categories. Is this problem common? How might it be fixed? I am not aquainted with TPT source. Where would I be without the highly interesting Second Page!?
Further investigation shows that the mouse problem is general: A strip on the right side of the screen is unresponsive to the mouse. The problem only applies to fullscreen mode.
I'm having difficulty reproducing this...
If I boot a 64 bit Ubuntu 14.10 live CD in a virtual machine and compile TPT, it seems to work fine. No X errors, fullscreen works, I can click anywhere.
Which version of Ubuntu? What is your screen resolution (the physical resolution, and the resolution you set it to manually for fullscreen mode)? Are you using multiple monitors? What's the furthest right coordinate that does respond to mouse clicks (try drawing some dust in different places)?
OK, heres some info:
Ubuntu 12.04 running off of a bootable USB, AMD64 architecture, compiled as such.
My script sets the resolution to 640x480 (TPT fits as it would on Windows) and then back to 1366x768 (recommended in System Settings).
Single monitor Acer netbook... other hardware details should be irrelevant? My X server bolt-on thing is the default LightDM (I am an expert of course).
<MAGIC> After a restart today (Merry Easter!) TPT seems to be working fine... The mouse is free and TPT is responsive. I will monitor the X errors and report back soon.
<UnMAGIC> And... it broke again. Same mouse error and the auto fullscreen is still not working. On the canvas, the mouse can reach X:572, the zoom tool allows access to higher x coordinates, so the problem lies with the mouse and not just the canvas cursor.
Here is a collection of errors:
========
Sun Apr 5 09:09:26 EST 2015
========
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x3a00003
Serial number of failed request: 197
Current serial number in output stream: 199
========
Sun Apr 5 09:09:49 EST 2015
========
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x3600003
Serial number of failed request: 196
Current serial number in output stream: 198
========
Sun Apr 5 09:10:15 EST 2015
========
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x3600003
Serial number of failed request: 197
Current serial number in output stream: 199
========
Sun Apr 5 09:12:55 EST 2015
========
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x3600003
Serial number of failed request: 201
Current serial number in output stream: 203
Just curious, why are you still running 12.04?
My internet is slow and its the only image I have. It took 3 hours to install TPT from the command line. $60 AUS for 4 GB every month, plus shaped internet when I use too much. pitiful. Think I should update? Maybe I'll find a torrent.
honestly if your internet costs that much it's not really worth the update
The plot thickens... The fullscreen mouse error occurs when I Run in Terminal my startup script (the double click option) but NOT when I simply Run. Running TPT directly doesn't invoke fullscreen properly.
The script:
#! /bin/bash
xrandr -s 640x480
echo "" >> stderr
echo "========" >> stderr
date >> stderr
echo "========" >> stderr
./powder64 > stdout 2>> stderr
xrandr -s 1366x768
I have no clue as to what's happening.