I have a B9Creator (http://b9creator.com) which I'd like to drive with a Raspberry Pi. For the best interaction, I want to make the Raspberry Pi two-headed. I have that part working with an X11 config that can present each device as a separate screen. One screen will be used to interact with the user and the other will control the projector which cures the resin on the B9Creator.
I have the software ported to the Pi, and it runs on Raspbian, but gives me a segmentation violation when running on ArchLinux.
I'd really like to use ArchLinux because it supports the Plugable.com USB Graphics Adapter out of the box (giving me 2 heads), and I've demonstrated to my satisfaction that it works.
The B9Creator is a Qt-based application (currently Qt4.8). Whether I build it on under ArchLinux or Raspbian, the resulting binary crashes when run under ArchLinux, and appears to run correctly under Raspbian. But Raspbian doesn't support the UGA adapter, so ArchLinux seems like the way to go.
Before I started posting extensive diagnostic data, such as the respective Xorg.log.* files, I thought I'd throw out the question to see if anyone had experience with this. I've searched the net, including these forums, without much luck. Some claim that using Qt5 is much better. I tried a qt5 hellworld program and it crashes immediately under ArchLinux (can't try that on Raspbian currently as I don't have qt5 installed). So maybe if I solved that problem, the other one would be solved as well.
The core dump is pretty useless (stack is trashed, no meaningful stack trace, for both B9Creator and helloworld apps). I'm not missing any packages on ArchLinux that I can tell. The program starts up, does some output, and then crashes after calling the QtApplication object's exec() method.
My guess right now is that it is something to do with Qt4's interaction with X11, but there's a lot of stuff going on (ie. communicating with the B9Creator's arduino via /dev/ttyACM0). However, one reason for suspecting X11 is that if I use SSH X11 forwarding to my mac, the program running on the ArchLinux appears to work fine, which tells me there's something about X11 on ArchLinux that it doesn't like / isn't quite right.
The end result (2 headed Raspberry Pi driving B9Creator) would be pretty sweet.
Hope there are some answers here.
Thanks for reading.