Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25581] No pressure sensitivity in sculpt mode

Date:
2011-01-11 07:47
Priority:
3
State:
Closed
Submitted by:
Juan Pablo Bouza (jpbouza)
Assigned to:
Sergey Sharybin (nazgul)
Category:
Sculpting
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
No pressure sensitivity in sculpt mode
Detailed description
I'm using rev 34246. No pressure in sculpt mode only.

In official 34074 pressure sensitivity works just fine.

Followup

Message
  • Date: 2011-01-11 11:31
  • Sender: Ton Roosendaal
  • We'll investigate it... quite strange though, could you compare with another system, or check if the build you use went OK?
  • Date: 2011-01-11 14:18
  • Sender: Ton Roosendaal
  • never mind, issue confirmed here. investigating...
  • Date: 2011-01-11 15:01
  • Sender: Ton Roosendaal
  • Nicholas has been cleaning up code there, one of the changes made it not work anymore.
    The code is quite weirdo for me :) But fix works, will commit and notify Nicholas.
  • Date: 2011-01-12 23:43
  • Sender: Dan McGrath
  • I am using Ubuntu 10.10 r34288 64bit, and I noticed that I don't have pressure with my tablet either (in image editor or sculpt).

    I figured it was just my X setup, but then I tried GIMP and it works fine.

    My question is, does blender use Xevents to capture tablet pressure etc? I figure that GIMP just uses the device directly while blender may not, in which case this is probably more my end than anything.

    Thanks in advance, l8r.
  • Date: 2011-01-13 10:50
  • Sender: Ton Roosendaal
  • I'm not certain about xevents, but we sure don't use the drivers directly.
    Out of the dozen blender linux users with tablets, one has has pressure issues... we never found out where that is. Driver setup maybe?
  • Date: 2011-01-13 20:16
  • Sender: Dan McGrath
  • As per our irc chat, I am pasting what I had found to be the solution.

    It would appear that my xorg.conf file had device names like "Wacom pen" and "Wacom eraser", which worked fine in GIMP and tablet-capplet.py, but not blender (for pressure).

    While searching around, I found a post from ideasman42 at:

    http://blenderartists.org/forum/archive/index.php/t-167163.html

    Which basically says that r23322 detected the device that goes by the typical name of "stylus". Sure enough, renaming my tablet device name in my xorg.conf to "stylus", immediately made pressure be recocnized in blender scult and texture paint.

    I have attached a python app that I used to have test my pressure. Just be sure to toss the glade file into the /usr/share dir that it errors on when you try run it, and it should start up fine.

    I hope this helps anyone digging around for a solution.
  • Date: 2011-06-02 01:00
  • Sender: Stephan Biniek
  • Sometimes i lose the pressure as well, but i could not yet find out when i get the problem. Last time i reopened blender and it worked again. blender version 2.57b, r36339, wacom Intuos4 PK-440, the small one.
  • Date: 2011-12-29 09:50
  • Sender: Yuri S.
  • Please re-open this ticked. I have similar issue and I can reproduce it.

    I run Gimp and Blender simultaneously to check this and I confirm wacom sensitivity stops working under Blender and at the same time wacom works just fine under Gimp. After some time wacom may start working again...

    Please contact me obana48@gmail.com I would happy to help testing this

    Wacom Intuos3

    CPU: i7-2600K
    RAM: 8 Gb
    GFX: nVidia Geforce 9800gtx+
    OS: Ubuntu 11.10
    kernel: 3.0.0-14
    Drivers: Latest wacom drivers (v12.0)
    Blender: 2.61.0 r42615 (linux 64bits)

    P.S. Another guy who reports similar bug

    http://projects.blender.org/tracker/?group_id=9&atid=125&func=detail&aid=28134

  • Date: 2011-12-29 10:42
  • Sender: Yuri S.
  • Dear friends, I've decided to start blender with -d key and save log. Now I have 2 files representing OK and Buggy state

    What I did in blender step by step

    1. Start
    blender -W -d > log
    2. Load ready made .blend file (subdivided plane)
    3. Start sculpting (only 1 or two strokes)
    4. Quit

    One time my sculpting worked ok with proper sensetivity (ok.log), and another time I've lost sensetivity from the start (buggy.log)

    If you check files you will find that when wacom work OK the "pressure" param is NOT round number and looks like 0.123123.

    When sensetivity doesn't work, the "pressure" is ALWAYS round number and = 1

    I hope this helps!
  • Date: 2011-12-29 12:19
  • Sender: Sergey Sharybin
  • Yuri, might you please check this issue using unbntu 11.10 livedvd so we'll be sure we're using xactly the same drivers, configuration and so on?
  • Date: 2011-12-29 13:58
  • Sender: Yuri S.
  • I've just tried Blender 2.61 (official) on my other linux box (Ubuntu 10.10, 32bits, older kernel with older x11-wacom drivers. All drivers are standard.).

    Same bug. I started blender several times and tried to sculpt. 5 starts out of 10 my wacom lost sensitivity.

    Please check
    http://projects.blender.org/tracker/?group_id=9&atid=125&func=detail&aid=28134

    The guy who reports this problem with 2.57b on ubuntu 10.10 added a note: ******The other poster said he was using Windows and got the same thing.****

    So I believe the problem may exist on Windows too. I will check this later
  • Date: 2011-12-29 14:34
  • Sender: Yuri S.
  • I've attached my wacom intuos3 to the PC with Windows XpSP3 32bits. Blender 2.61 (official) was installed. I have NOT found any issues on windows. However this Windows PC is much much slower than linux one and the bug (if it relates to timings) may not exposed

    I will do more testing in several days with others OSs and PCs.

    At this point Wacom is unsuable in Blender 2.6x under linux at this moment :((
  • Date: 2012-01-04 11:33
  • Sender: Yuri S.
  • I did some more tests over last days using misc configuration and hardware. I can confirm the issue exists when using

    Blender 2.61 (official build. Both 32 and 64bits)

    2 different PC were used.

    1. Ubuntu 11.10 64bits (bootting from official CD) + Wacom Intuos 3 tablet
    2. Ubuntu 11.10 64bits (newest wacom drivers - v0.12.0) + Wacom Intuos 3 tablet
    3. Ubuntu 10.10 32bits (standard wacom drivers) + Wacom Griphire 4 tablet

    So I excluded hardware by using 2 tablets on 2 PCs and linux drivers
  • Date: 2012-01-05 09:59
  • Sender: Yuri S.
  • hi guys, I found how to reproduce the bug and how to fix this. Please see attached image.

    The problem is probably because blender doesn't recognise wacom until you raise the stylus over the pad and then lower it again.

    I have sensitivity problems when I run blender using tablet, go to sculpt mode and start sculpting and my stylus is flying over the pad all the time (within the vertical zone of sensitivity. Zone A in the picture). Once the stylus leave this zone (raised) and then enters the zone again (lowered), blender starts recognizing wacom and pressure sensitivity is back again. So the blender doesn't initilize wacom correctly after the start.

    In Short: wacom stylus should be raised (at least 2-3 cm) and lowered (0-1 cm) to initilize pressure sensitivity.
  • Date: 2012-01-18 12:27
  • Sender: Sergey Sharybin
  • Managed to reproduce. Should be fixed in svn rev43489. If there'll be more issues discovered feel free to poke me here.
    THanks for the report, closing it now.
 

Attached Files:

Name Date Download
tablet-apps-addons.tar.gz 2011-01-13 20:16 Download
ok.log 2011-12-29 10:42 Download
buggy.log 2011-12-29 10:42 Download
wacom_bug.png 2012-01-05 09:59 Download

Changes:

Field Old Value Date By
StatusReopened2012-01-18 12:27nazgul
close_dateNone2012-01-18 12:27nazgul
assigned_toton2012-01-18 12:27nazgul
status_idOpen2012-01-18 12:27nazgul
File Added18937: wacom_bug.png2012-01-05 09:59ygs
StatusFixed / Closed2011-12-29 12:04ton
status_idClosed2011-12-29 12:04ton
close_date2011-01-11 15:012011-12-29 12:04ton
File Added18862: buggy.log2011-12-29 10:42ygs
File Added18863: ok.log2011-12-29 10:42ygs
File Added14525: tablet-apps-addons.tar.gz2011-01-13 20:16dmcgrath
status_idOpen2011-01-11 15:01ton
close_dateNone2011-01-11 15:01ton
StatusInvestigate2011-01-11 15:01ton
assigned_tonone2011-01-11 14:18ton
StatusNew2011-01-11 11:31ton

Changes:

Blender 2.x BF release: Blender 2.6 Bug Tracker
   [#29722] wacom sensetivity is lost. Please reopen #25581 (Relation: Relates to)
   [#29722] wacom sensetivity is lost. Please reopen #25581 (Relation: Duplicates)