linuxmint / cinnamon-settings-daemon

The settings daemon for the Cinnamon desktop
GNU General Public License v2.0
57 stars 58 forks source link

Wacom Intuos S : cinnamon-settings wacom dumps core #294

Open wujastyk opened 4 years ago

wujastyk commented 4 years ago

 * 32 or 64 bit
`64`

**Issue**

I have a Wacom Intuos S tablet.

Cannot start the cinnamon-settings wacom

**Steps to reproduce**

$ cinnamon-settings wacom Using PAM module (python3-pam) /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:426: DeprecationWarning: Gtk.Window.set_wmclass is deprecated self.window.set_wmclass(wm_class, wm_class)

(cinnamon-settings.py:218872): wacom-cc-panel-WARNING : 19:47:20.625: Could not set the current stylus ID 0x0 for tablet 'Wacom Intuos S', no general pen found wacom-cc-panel:ERROR:csd-wacom-device.c:1890:csd_wacom_device_set_current_stylus: assertion failed: (device->priv->styli) Bail out! wacom-cc-panel:ERROR:csd-wacom-device.c:1890:csd_wacom_device_set_current_stylus: assertion failed: (device->priv->styli) Aborted (core dumped)



**Expected behaviour**

Start wacom tablet settings menu.

**Other information**
NovaViper commented 3 years ago

I'm having the same issues aswell with my Lenovo Thinkpad L390 Yoga, running Cinnamon on Manjaro Cinnamon 20.1.1. The laptop itself is a tablet since it is a 2-in-1 hybrid laptop

wujastyk commented 3 years ago

Did you see this solution https://github.com/linuxmint/cinnamon-control-center/issues/212#issuecomment-681278552? It worked for me.

NovaViper commented 3 years ago

@wujastyk I actually just tried that but it still didn't work :(

ItzSwirlz commented 3 years ago

212 is a different error message than what we have here.

norbusan commented 3 years ago

Hi @wujastyk Dominik, nice to see you here, just came from the related Debian bug as I am maintaining Cinnamon - how small the world is :-D

wujastyk commented 3 years ago

Small world indeed, Norbert! How are you? Still in Japan?

It seems a long time since our beer in Hof 1! Dagmar and I have now been living in Canada for five years. There's much to like here, but our hearts still ache for central Europe.

Warm regards, Dominik

-- Professor Dominik Wujastyk https://apps.ualberta.ca/directory/person/wujastyk ,

Singhmar Chair in Classical Indian Society and Polity ,

Department of History and Classics http://historyandclassics.ualberta.ca/ , University of Alberta, Canada .

South Asia at the U of A:

sas.ualberta.ca

On Tue, 27 Oct 2020 at 06:01, Norbert Preining notifications@github.com wrote:

Hi @wujastyk https://github.com/wujastyk Dominik, nice to see you here, just came from the related Debian bug as I am maintaining Cinnamon - how small the world is :-D

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/linuxmint/cinnamon-settings-daemon/issues/294#issuecomment-717195625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF2DBR25IHVIMC7P5WQK5TSM2ZCBANCNFSM4PGI5D6A .

stefan123t commented 2 years ago

Dear @wujastyk,

I assume it might have something to do with either the IDs or the Names of your tablet stylus. There have been reports that sometimes xsetwacom does not accept IDs but only names. Or it simply does not detect your stylus for some strange discovery / naming.

  1. Could you supply the output of your devices xinput --list and xsetwacom --list commands ?

  2. You may even run the small script get_wacom_setup.sh attached to another issue https://github.com/linuxmint/cinnamon-control-center/issues/76#issuecomment-944886743

Regarding your error message, the following is shown on my side, where it is working though with an Cintiq 12WX =^/

$ cinnamon-settings wacom 
Using PAM module (python3-pam)
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:427: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)

** (cinnamon-settings.py:3000887): WARNING **: 10:24:43.815: Automatically mapping tablet to heuristically-found display.

So the your actual error is this:

(cinnamon-settings.py:218872): wacom-cc-panel-WARNING **: 19:47:20.625: Could not set the current stylus ID 0x0 for tablet 'Wacom Intuos S', no general pen found
**
wacom-cc-panel:ERROR:csd-wacom-device.c:1890:csd_wacom_device_set_current_stylus: assertion failed: (device->priv->styli)
Bail out! wacom-cc-panel:ERROR:csd-wacom-device.c:1890:csd_wacom_device_set_current_stylus: assertion failed: (device->priv->styli)
Aborted (core dumped)
  1. Is or has your pen been in proximity to the tablet in order to get detected ?
stefan123t commented 2 years ago

It is at the end of csd_wacom_device_set_current_stylus were it Bails out.

stefan123t commented 2 years ago

Could you check whether the solution proposed by rjv23 is also applicable to your problem ? https://github.com/linuxmint/cinnamon/issues/9538#issuecomment-699433842

At least the error being related to Intuos S not able to find its default stylus seems to be the same here, there and in https://github.com/linuxwacom/libwacom/issues/281

stefan123t commented 2 years ago

This looks very much like https://github.com/linuxmint/cinnamon-settings-daemon/issues/332 too which got fixed (or at least a workaround to prevent the core dump sic) by the https://github.com/linuxmint/cinnamon-settings-daemon/commit/7b9638d13c8db35f483b725a79dc9c0c4c944aee

wujastyk commented 2 years ago

The solution I mentioned on Oct 13 last year fixed my problem at that time. Since then, I haven't used the tablet at all, so I'm afraid I'm not in a position to give you the diagnostic outputs you ask about. Sorry!

stefan123t commented 2 years ago

@wujastyk thanks for confirming that your initial problem has been solved by the workaround described under https://github.com/linuxmint/cinnamon-control-center/issues/212#issuecomment-681278552

@NovaViper do you have the information (adding libwacom-list-local-devices) that is required to progress this issue further or would you prefer to log an issue for your Laptop / Tablet combination (i.e. Lenovo Thinkpad L390 Yoga) ?

@ItzSwirlz & @norbusan other than that, I assume we can conclude that the issue reported by Dominik here as https://github.com/linuxmint/cinnamon-settings-daemon/issues/294 is the same as https://github.com/linuxmint/cinnamon-control-center/issues/212 and may be closed as fixed. The problem was a missing Styli definition for his tablet and the code in cinnamon-settings-daemon wacom which did previously core dump was fixed in 7b9638d.

stefan123t commented 2 years ago

@NovaViper you have already logged issue https://github.com/linuxmint/cinnamon-control-center/issues/250 for your case.

genderfreak commented 2 years ago

Having this issue as well.