OpenCanvas 1.1 + Wacom Intuos Oddness

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
TheBaron
Level 1
Level 1
Posts: 6
Joined: Tue Mar 04, 2008 3:39 pm

OpenCanvas 1.1 + Wacom Intuos Oddness

Post by TheBaron »

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,
Dan Kegel

OpenCanvas 1.1 + Wacom Intuos Oddness

Post by Dan Kegel »

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
TheBaron
Level 1
Level 1
Posts: 6
Joined: Tue Mar 04, 2008 3:39 pm

Post by TheBaron »

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.
Dan Kegel

OpenCanvas 1.1 + Wacom Intuos Oddness

Post by Dan Kegel »

On Tue, Mar 4, 2008 at 3:15 PM, TheBaron <[email protected]> wrote:
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.
That's interesting. It might be related.

Say, how do you have your tablet set up in xorg.conf?
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
Those are ok, ignore them.
And then the stacktrace and debug information if/when the divide be zero happens.
Does that happen or before you draw and find the Y axis reversed?
TheBaron
Level 1
Level 1
Posts: 6
Joined: Tue Mar 04, 2008 3:39 pm

Post by TheBaron »

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.
Dan Kegel

OpenCanvas 1.1 + Wacom Intuos Oddness

Post by Dan Kegel »

On Wed, Mar 5, 2008 at 12:18 PM, TheBaron <[email protected]> wrote:
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.
Sexy. But for some reason we're not getting line numbers on that
backtrace. Perhaps you don't have . in your PATH, and ended
up running the system wine instead of the one you just built?
Try invoking wine with a path, e.g. ./wine.

And you didn't quite manage to set the WINEDEBUG
environment variable! If you set it on a separate line, you
have to export it, else it's just a shell variable and not an
environment variable.

(That's two newbie Unix problems. Welcome to Unix, the OS that believes
that a good user interface should hurt the user!)

While we're at it, also set +seh.

To sum up, try
WINEDEBUG=+wintab,+seh ./wine /home/luke/.wine/drive_c/Program\
Files/OpenCanvas/oC11b72.exe > log 2>&1

When I get back home where I have a wacom tablet, I'll try it, too.

Thanks,
Dan
TheBaron
Level 1
Level 1
Posts: 6
Joined: Tue Mar 04, 2008 3:39 pm

Post by TheBaron »

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.
Dan Kegel

OpenCanvas 1.1 + Wacom Intuos Oddness

Post by Dan Kegel »

Much better! But I screwed up, can you run it with wintab32 (I said
wintab by mistake)?

Evidently debugging info is stripped when it's installed?
Dan Kegel

OpenCanvas 1.1 + Wacom Intuos Oddness

Post by Dan Kegel »

On Wed, Mar 5, 2008 at 3:11 PM, Dan Kegel <[email protected]> wrote:
Much better! But I screwed up, can you run it with wintab32 (I said
wintab by mistake)?
Also, can you try this patch? It should at least cure the crashes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atan.patch
Type: text/x-patch
Size: 1012 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-us ... chment.bin
TheBaron
Level 1
Level 1
Posts: 6
Joined: Tue Mar 04, 2008 3:39 pm

Post by TheBaron »

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

OpenCanvas 1.1 + Wacom Intuos Oddness

Post by Dan Kegel »

On Thu, Mar 6, 2008 at 11:41 AM, TheBaron <[email protected]> wrote:
I've applied the patch, and indeed there are no more divide by zero errors;
or at least, none that I could generate.
Great!
(I did get 'unrecognised option --git' when running the attachment, but used the contents anyways.).
WTF? Why did you run the attachment?

How did you apply the patch?
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
That's a good log, thanks.
- Dan
TheBaron
Level 1
Level 1
Posts: 6
Joined: Tue Mar 04, 2008 3:39 pm

Re: OpenCanvas 1.1 + Wacom Intuos Oddness

Post by TheBaron »

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.
srilyk
Newbie
Newbie
Posts: 3
Joined: Thu Jun 26, 2008 1:50 pm

Post by srilyk »

I've got the same problem with the y-axis inversion, does this patch fix it? And I've searched and searched and haven't found exactly how you apply a patch. I'm running ubuntu 8.04, with wine-1.0.

Thanks for the help!
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

OpenCanvas 1.1 + Wacom Intuos Oddness

Post by austin987 »

On Thu, Jun 26, 2008 at 2:12 PM, srilyk <[email protected]> wrote:
I've got the same problem with the y-axis inversion, does this patch fix it? And I've searched and searched and haven't found exactly how you apply a patch. I'm running ubuntu 8.04, with wine-1.0.

Thanks for the help!





$ patch -p1 < /path/to/patch
Locked