bugMyPaint - Bugs: bug #20834, OS logs out, closing all programs,...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #20834: OS logs out, closing all programs, when eraser is used on tablet

Submitted by:  David <solidsquid>
Submitted on:  Tue 21 May 2013 08:58:48 PM UTC  
 
Severity: 4 - ImportantPriority: 5 - Normal
Status: Need InfoPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 1.1.0Planned Release: None
Operating System: Linux Mint 14 KDE

(Jump to the original submission Jump to the original submission)

Thu 23 May 2013 09:10:21 PM UTC, comment #7:

I can do without, I'd planned to install a couple of games but they performed really badly with the drivers anyway. Thanks again for the help, will stick with the open source drivers like recommended

David <solidsquid>
Thu 23 May 2013 08:35:40 PM UTC, comment #6:

If it was really the AMD driver, and you want to continue using it, it might be worth to try disabling "high quality zoom" in the view preferences. That's about the only thing related to graphic acceleration where we do something special.

Personally I would just stick with the open source driver, because those tend to be tested better, unless you absolutely need the extra 3D features.

Martin Renold <martinxyz>
Project Administrator
Thu 23 May 2013 07:17:30 PM UTC, comment #5:

The xorg log helped me track it down, it seems the problem was the AMD graphics drivers I was using. Uninstalling those and using the open source ones fixed the problem.

Before doing that I tried Gimp and Krita though, neither had the problem but neither registered the eraser correctly either. When I re-tested on MyPaint, the error in the Xorg log was:

fglrx(0): Restoring Recent Mode via PCS is not supported in RANDR 1.2 capable environments.

It then has a large back trace of the error which leads to a segmentation fault, then starts closing everything

I can provide the full error log if needed, but I suspect this is a problem with the work AMD has done rather than the Xorg developers

Also, thanks for your help with this, doubt I would have found out what was triggering it if you hadn't pointed me at the right error logs

David <solidsquid>
Thu 23 May 2013 05:47:16 AM UTC, comment #4:

Another thing worth trying: use a much simpler window manager, to see if it makes a difference. Instead of KDE, choose an XFCE session next time you login (or icewm). Just install the package to get the option in the login screen.

Martin Renold <martinxyz>
Project Administrator
Thu 23 May 2013 05:41:07 AM UTC, comment #3:

I'm pretty sure that there is no difference between individual MyPaint brushes that could cause Xorg to crash.

Use the command "dmesg" after a crash to print the kernel log, which may tell you if something special happened with your devices - for example, you might see an USB un-plug reported every time before a crash, or maybe the wacom driver tells you that something went wrong.

Also, please get the X11 logfile after the crash. It seems to be that X11 is crashing, not MyPaint. You can usually find the last few logs in /var/log/ - if you see the login screen it means that a new X11 session has already started, so you may need to pick the second-newest file (check the timestamps).

And if you can easily reproduce, try to use the tablet without MyPaint, go through the same motions without an application, or within GIMP (with tablet set to "screen" mode) to see if it crashes.

Probably this has to be reported to Xorg developers, but we need more information for that first.

Martin Renold <martinxyz>
Project Administrator
Wed 22 May 2013 10:26:39 PM UTC, comment #2:

Thanks for getting back to me. I went through the things you listed except the dmesg bit (wasn't sure what you meant by doing device unplugging), but none seemed to fix the problem

Tried with the git compiled version again, that still crashes and sends me back to the login screen. Definitely using GTK3, ran it from terminal and it mentions it when starting. Also using python 2.6 json support after building for python 2.7 (both are defaults), don't know if that makes a difference

I ran it from the system console like you suggested, it shows the following two lines before the crash:

device change: Wacom Intuos4 6x9 eraser <enum GDK_SOURCE_ERASER of type GdkInputSource>
(mypaint:7652): Gdk-WARNING **: mypaint: Fatal IO error 0 (Success) on X server :0.

I also managed to duplicate the error for the watercolour brush doing the same thing. It shows the same data as with the other one, but instead of the two lines above it shows the one below before crashing:

(mypaint:8965): Gdk-WARNING **: mypaint: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Let me know if there's anything else I can try or any other data I can provide, and thanks again for helping out with this

David <solidsquid>
Wed 22 May 2013 04:42:25 AM UTC, comment #1:

This is most likely a GTK2 (or Xorg) tablet/input device problem. Please try to reproduce with MyPaint git, which uses GTK3. GTK3 has re-arranged input devices support quite a bit.

If you want a workaround, it may have to do with USB device unplugging (check "dmesg" output). Or check here:

http://wiki.mypaint.info/Development/Debugging_Tablet_Issues

If you want to get a better error message, try to switch to a system console (Ctrl-Alt-F2) and start MyPaint from there (after typing "export DISPLAY=:0"), and switch back (Ctrl-Alt-F7 or similar), or use the "screen" utility instead.

Martin Renold <martinxyz>
Project Administrator
Tue 21 May 2013 08:58:48 PM UTC, original submission:

I installed MyPaint 1.1.0 on Linux Mint 14 KDE (64-bit) so I could get access to the new tools like mirroring and gamut maps. What I found though was that, if I use the eraser on my tablet, my system will drop back to the login screen, closing everything and displaying no warnings or errors. It also seems to sometimes do it when I select the deevad/large_watercolor_fringe brush

The tablet is a Wacom Intuos 4 6x9
OS is Linux Mint 14 KDE (running in 64-bit)
Initially it was installed using the ppa ppa:achadwick/mypaint-testing, but I also tried building it from source and had the same problem
I don't know what error logs are used by MyPaint, but if you can let me know I'll get a copy of whatever is in them post crash

Let me know if there's any other information I can give. Thanks for your help

David <solidsquid>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by martinxyz (Posted a comment)
  • -unavailable- added by solidsquid (Submitted the item)
  • -unavailable- added by solidsquid
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 May 2013 05:41:07 AM UTCmartinxyzStatusNone=>Need Info
    Tue 21 May 2013 08:58:48 PM UTCsolidsquidCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup