Hi all. I'm having some oddness with Wine running OpenCanvas 1.1, the old free version with networking. My system is running Ubuntu 7.10 Under Wine 0.9.46, the version in the ubuntu repositories, openCanvas seems to work fine, albeit pressure sensitivity is missing. Unfortunately the program isn't much without the pressure sensitivity. Under Wine 0.9.55 from this site, pressure sensitivity works... however the tablet behaves very oddly when drawing on the canvas. The Y axis seems inverted, so if I draw in the top left, ink appears in the bottom left. There are also minor oddities such as sudden vertical lines of ink suddenly appearing. Finally the program frequently hangs with divide by zero exceptions. The tablet works perfectly fine under applications such as Inkscape and Gimp. Any help getting the program to work fully, if that's possible, would be helpful. Regards,
Interesting. I've filed this as http://bugs.winehq.org/show_bug.cgi?id=11838 Can you update to 0.9.56, get a log of running with WINEDEBUG=+wintab32 wine ... (keep the run short, just demonstrate the problem quickly), and attach the log to that bug report? Thanks! - Dan
Thanks for the response. I'll compile 0.9.56 for use tomorrow and see how it goes. I tried the lines you mentioned with 0.9.55 but only got the line. fixme:wintab32:X11DRV_WTInfoW Return proper size This line seems to appear whenever one of the sub windows in openCanvas is clicked. I don't think it's related to the problem. There is also lots of the following, although they appeared before I used the WINEDEBUG line, and appear when almost anything happens in the program. I don't think it's related to the problem, but I'll post it just in case. fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: pixel format conversion And then the stacktrace and debug information if/when the divide be zero happens.
Ok. I've compiled and ran the program using a freshly compiled 0.9.56. The entire output is available at http://docs.google.com/View?docid=df8c5djt_2zqvd3df2. Y axis is still inverted. I only get the divide by zero error messages when drawing using the tablet. There's another small oddity that I've missed last time; when I take the stylus off of the tablet, a line is drawn vertically up/down to the centre of the screen. Turning off opacity varying on pressure made this more apparent. I'll try and get an image up somewhere of what the canvas looks like when all this happens. I downloaded, installed and ran ArtRage in this version of wine also, and the tablet there works perfectly, with pressure etc.. so it seems to be localised to openCanvas.
As far as I know the system wine is the one I've just compiled. make install was ran, and wine --version returns wine-0.9.56. Environment variables always confused me. Not something I've paid much attention to. Even so, I've ran the command you suggested, and updated my Google doc with the new output. http://docs.google.com/Doc?id=df8c5djt_2zqvd3df2 I had to do two takes on this, first time I tried and tried and couldn't get a divide by zero, although the axis inversion and jumping still ocoured. Thanks muchly for the help with this.
I'll run wine from the source folder for now. Seems to be the safest option. I've applied the patch, and indeed there are no more divide by zero errors; or at least, none that I could generate. (I did get 'unrecognised option --git' when running the attachment, but used the contents anyways.). Thanks for fixing that one. Here's the output from loading oC, writing Test, then closing. Anything more and the log file gets a bit huge. Y axes still inverted, and still the odd jumps to the center of the screen when the pen leaves the tablet. http://docs.google.com/Doc?id=df8c5djt_2zqvd3df2
Dan Kegel wrote:> > WTF? Why did you run the attachment? >Complete lack of experience. A .bin looked like it might be runnable. Sorry about that. Dan Kegel wrote:> > How did you apply the patch? >I installed git-core and figured out (what I think is) the proper way to apply the patch. Either way it updated wintab.c to use atan2. Hope the information is useful. If you need anything longer, or anything else, let me know.