/srv/irclogs.ubuntu.com/2010/04/26/#ubuntu-x.txt

Sarvattbryceh: amazing how many people are trying to literally run apport-collect BUGNUMBER in response to your automated replies :D02:02
RAOFSarvatt: Good $TIME_OF_DAY02:26
RAOFIs there anyone around to sponsor an xserver-xorg-video-intel upload?  We need to drop the DRI-disablement patch before release.02:41
rafiyrI need a touch of help debugging driver assignment for an input device.05:41
RAOFI'm not particularly experienced in that area, but need experience in that sort of debugging.  want to learn together? :)05:49
rafiyrSure05:50
rafiyrLet the fun begin05:50
RAOFSo, what's the problem?05:51
rafiyrI'm just trying to verify the n-trig stuff gets setup correctly.  Its a pen+multitouch sensor in the screen05:51
rafiyrAtm, the wacom driver is best for the pen and evdev for touch.05:51
rafiyrAnd lucid beta 1 was assigning them correctly (I think).  But the current images are assigning both to evdev.05:52
rafiyrThere seem to be pattern matches for all sorts of stuff in /lib/udev/rules.d and /usr/lib/X11/xorg.conf.d05:52
RAOFI think that we switched to the xorg.conf.d work between beta 1 and now.  This would probably be the cause of the switch.05:53
rafiyrAnd I tweaked both (when booting off a live image on a usb stick)05:53
RAOFRight.  My understanding of the way these interact is that udev can tag devices with particular information, and the rules in xorg.conf.d use that information to match appropriately.05:53
rafiyrSo if I change the files in that dir, should an X (gdm) restart reassign the drivers?05:53
rafiyrOr am I going to have to poke at the image before booting on it?05:54
RAOFThat is my understanding.05:54
rafiyrhm05:54
RAOFYou shouldn't have to reboot.05:54
rafiyr2 minutes until my usb stick is ready for another test (decided to clean it before trying again)05:55
RAOFUnless you're fiddling with udev rules; I believe that would require that you re-run the udev scanning stuff, which might not be possible on a running system.05:55
rafiyrI tried fiddling with udev, hal/fdi, and the xorg.conf.d and restarted all the udev services and gdm05:55
rafiyrbut let me try just fiddling with xorg.conf.d when it comes back up05:56
RAOFhttps://fedoraproject.org/wiki/Input_device_configuration is some documentation, if you haven't found it yet.05:56
RAOFStupid killswitch.  Keeps getting accidentally triggered.05:56
rafiyrinteresting05:58
rafiyrHave to admit, that I'm still just used to configuring everything myself05:58
RAOFI know why.  It's relatively easy to do, once you've learnt how.05:59
rafiyrAnd this automated stuff just makes life so much harder06:01
RAOFUntil it works, at which point you no longer notice it :)06:02
rafiyrLike screen resolutions and dpms.  One of my video drivers started deciding it knows best, and since I didn't use a compliant identifier for my monitor, it ignored my modelines.06:02
rafiyrYeah, hoping so.  This n-trig stuff certainly is a pain without auto-config.  The best way to use it seems to be to target 2-3 event nodes, which of course may move around on every boot06:03
RAOFWithout knowing the details of the hardware, it would seem to me that you should be able to match on Vendor and/or Device to do that configuration?06:04
RAOFOr possibly just MatchIsTouchscreen "on" ?06:05
rafiyrHave to match the product id (thanks for that link the explanation of the pattern keys helped) since I want to use different drivers for the pen and touch06:06
rafiyr(added the sensor types to the name in the kernel a couple months ago)06:06
RAOFAha!06:06
rafiyrSo, if you have a pen, how would you assign the buttons06:07
rafiyrthe tip is of course left click or btn0 (or 1 depending on who you ask)06:07
rafiyrthere is a barrel switch, which seems to default to btn 2 (middle)06:07
rafiyrand a button a little further up the side which switches to eraser06:08
rafiyrbut in eraser mode that too emits a left click for normal desktop use06:08
RAOFWhat does the tip button emit when in eraser mode?06:08
rafiyrleft06:09
rafiyrseems to me to be a bit wasteful06:09
RAOFIt's always left, as is the erasor buttor?  That's… odd.06:09
rafiyrI personally map them to tip left, tip+barrel -> right, and tip+eraser -> middle06:10
RAOFIncidentally, I know that bryceh is doing some multitouch work with an n-trig device - you might want to check in with him when it's not 10pm on a Sunday :)06:10
rafiyryeah, been working with him for a while now06:11
RAOFI've never really played with a pen, so I'm not sure what the ergonomic constraints are on button placement :)06:12
rafiyrYeah, I figure I should figure out who is familiar with the conventions so I can maintain some consistency06:12
RAOFSo the n-trig stuff isn't working out of the box on the RC?  It sounds like we should be able to fix that.06:14
rafiyrwell, that link was what I needed, so thank you for that.  I figure the rest is just tuning and shouldn't be a problem once I figure out what the proper behavior is.06:14
rafiyrWell, 1 line in 10-wacom.conf06:14
rafiyrMatchProduct "N-Trig Pen"06:14
rafiyrinstead of "HID 1B96:0001"06:15
rafiyrbut I'm experimenting with the button maps now, to see if I can make those sensible06:15
rafiyrGimp only seems to draw on button1.  So I'd better leave that one alone.  But I see no reason not to prefer right over middle for the button on the side of the pen06:18
rafiyrSeems to me that when you only have 2 buttons, right trumps middle06:19
RAOFAck.06:22
rafiyrI suppose I should open a bug report and email a few people06:28
RAOFA bug report would be good; xserver-xorg-input-watcom seems like a good target.06:28
rafiyrok06:29
ricotzRAOF, hello06:30
RAOFricotz: Howdie.06:31
ricotzRAOF, are you using edgers ppa with nouveau?06:31
RAOFI have been in the past.06:32
* RAOF is currently using the nvidia netbook to test out GPU video decoding capabilities.06:32
ricotzfor me with xserver 1.8 , X freezes on logout06:32
ricotzRAOF, ok06:33
RAOFI haven't tested xserver 1.8; there's still a bit of fallout from the way upstream fixed the GEM object leak, though.  It's possible you're seeing that.06:34
RAOFOr just some other random X bug! :)06:34
ricotzi am seeing no other problem, 3d is working fine, and so on, only when i try to shutdown X it freezes, but i am not sure if nouveau or xserver is the problem here06:36
ricotzthe gem_object leak is no problem for me, enough ram here06:36
RAOFricotz: Either you're restarting X frequently, or you'd be noticing the GEM leak; even with 4 GiB you'll notice when 3GiB have been stolen by gem :)06:42
ricotzi know, having 8gb ;-), it will take some time to fill them06:43
rafiyrRAOF: thanks for your help.  I'd better get some sleep.  btw, a user had already opened a bug.06:53
RAOFI wish i915 was slightly less *totally silent* during startup.  It might be nice if it mentioned what displays it thought were connected, for example.07:57
KiBi/C/C11:58
KiBihmpf. :)11:59
mvotseliot: I updated bug #568041 (if you haven't see already), it would be interessting to ask him to re-test with network13:08
ubottuLaunchpad bug 568041 in jockey "[Lucid] Upgrade from Karmic broke nVidia installation on cdrom only upgrade (without network)" [Undecided,Won't fix] https://launchpad.net/bugs/56804113:08
mvotseliot: but I think it will work just fine then (it does for me)13:08
bjsniderRAOF, what hardware does the netbook have?13:26
tseliotmvo: ah, so that was the problem13:46
tseliotmvo: thanks for dealing with that report14:34
mvonp14:35
=== vish is now known as Vish
=== Vish is now known as vish
=== vish is now known as Vish
Sarvatthttps://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/565981/comments/77 -- that is a very good point, the slowdown that lead to those reverts was indeed the memory leak problem16:41
ubottuUbuntu bug 565981 in xorg-server "[KMS] gem objects not deallocated" [Critical,Fix released]16:41
LLStarksOpenGL vendor string: VMware, Inc.21:04
LLStarksOpenGL renderer string: Gallium 0.4 on i915 (chipset: 945GM)21:04
LLStarksOpenGL version string: 1.3 Mesa 7.9-devel21:04
LLStarksi find that to be very sexy.21:04
Ngeep, just updated the X40 since all the DRI disablement got dropped, and it won't start X21:42
Ngwith -intel 2:2.9.1-3ubuntu4 or 5 (the only two debs on there). I just get a black screen21:43
Ngaha, it's the kernel21:46
Ng-19 works, -21 doesn't21:46
Ng-20 works too22:51
Ngbryceh: please can I be more important than the people who wanted 8086:3582 blacklisted from KMS? ;)22:51
Nghrm, and now an oops from -20 in intel_release_load_detect_pipe22:55
brycehNg, my eyes don't matter - you need kernel team luv23:08
brycehNg, any changes to that now would require rolling a kernel change23:08
brycehapw, ^^  we're getting a lot of anti-votes for blacklisting kms on 8xx23:43
brycehNg, it would be interesting if you booted the kernel with the blacklist (-21 or newer) and see if it works if you force kms on (i915.modeset=1) if it starts working23:44
ilmaribryceh: any tips on debugging #568138?23:46
ilmarideadlock in i915_gem_*_ioctl23:46
brycehilmari, nope23:46
brycehnothing beyond the usual anyway.  see the ubuntu-x wiki.23:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!