You are not logged in.

#1 2012-10-23 17:42:41

jemofthewest
Member
Registered: 2012-02-27
Posts: 37

Xorg segfault while entering tabletmode

Hi forum!

Sorry if this is the wrong spot, I'm posting here because the issue occurs on the most recent kernel, but not the LTS so I'm wondering if its a kernel issue...

I have a Lenovo ThinkPad X201t tablet computer, and its been running ArchLinux fine for 6 months now.  However, within the last month I've noticed a problem where when I flip the screen around for tablet mode, Xorg crashes and drops me out in a terminal.  This is the Xorg.0.log file.

http://sprunge.us/aLgJ

I've never noticed the video/tabletmode ACPI event before, so I'm wondering if that is a new kernel feature or if it has been around for awhile?  It occurs when a Windows computer would flip the screen automatically for tablet mode, so I get the feeling that it has something to do with that ACPI event but I haven't told acpid to do anything for that event.  Any ideas?  Let me know if you need more info, or if this fits better in another topic.  I put it here again because I don't get this issue when I boot into Linux-LTS.  Thanks!

Offline

#2 2012-10-23 22:48:22

wes
Member
Registered: 2011-03-05
Posts: 67

Re: Xorg segfault while entering tabletmode

What video driver do you have?  Not sure if this is the issue, but in a recent
version of xf86-video-intel (2.20.9) performing xrandr stuff would crash the
sna driver.  If that is the issue, I can give you a patch.  (The new version
fixes this, but other stuff seems slow, so I would recommend 2.20.9 + patch).

*EDIT* you can test my theory with

xrandr --output LVDS1 --rotate inverted

and see if it crashes on both kernels.

Last edited by wes (2012-10-23 22:51:56)

Offline

#3 2012-10-24 12:05:46

jemofthewest
Member
Registered: 2012-02-27
Posts: 37

Re: Xorg segfault while entering tabletmode

Thanks for the reply wes!

That is my driver, but I have the latest (2.20.12) installed and that command didn't crash it, so I believe xrandr is functioning ok... I'll try to upgrade to devel in the AUR and report back.  I didn't think to check drivers... Thanks again!

Offline

#4 2012-10-24 12:23:39

jemofthewest
Member
Registered: 2012-02-27
Posts: 37

Re: Xorg segfault while entering tabletmode

Ok, so I've tried installing both -devel and -git and -devel pkgbuild didn't work for me (DRI problems like other posters, but removing --enable-dri just resulted in a different error... plus I'm worried I don't have the skill to run a -devel driver), and -git didn't fix the problem...

Offline

#5 2012-10-24 13:02:53

jemofthewest
Member
Registered: 2012-02-27
Posts: 37

Re: Xorg segfault while entering tabletmode

I've also tried installing lib32-drm (it was one of the solutions I saw...) and trying both sna and uxa to no avail.

Offline

#6 2012-10-24 23:06:11

wes
Member
Registered: 2011-03-05
Posts: 67

Re: Xorg segfault while entering tabletmode

Sorry it didn't help : (  It sounded so much like the I problem I had with my
X220T that I may have jumped to conclusions.  I should have noticed that you
say your acpi handler *does nothing* at the moment...  o.o

Anyhow, I'll let you know if I think of something else.  Good luck.

Offline

#7 2012-11-02 12:54:32

jemofthewest
Member
Registered: 2012-02-27
Posts: 37

Re: Xorg segfault while entering tabletmode

So lets try an easier question...

Any tips where to go from here?  I'd like to file a bug report, but I'm not sure where... Xorg? The driver? All of the above?  Thanks...

Jeremy

Offline

#8 2012-11-03 05:56:30

wes
Member
Registered: 2011-03-05
Posts: 67

Re: Xorg segfault while entering tabletmode

I browsed your Xorg log and compared it with mine; you have a few errors that
I do not (the only ones I have are regarding the wacom tablet).  Not sure if
this is of much consequence though.

Other thoughts:  have you tried stopping acpid and then flipping the screen?
Also, do you have a DE running that might be listening for these events and
doing something?  Maybe try startx with a barebones X setup, as per the wiki,
and then try it?  If this does not help in narrowing things down, I guess I
would start with Xorg for a bug report.  But I'm a linux noob, so you probably
shouldn't listen to me : )  Good luck.

Offline

Board footer

Powered by FluxBB