/srv/irclogs.ubuntu.com/2008/09/16/#ubuntu-x.txt

emmaEver since edgy doing what is on this link made my logitech marble mouse work with scroll wheel ability -- http://ubuntuforums.org/showthread.php?t=16942301:07
emmaIt worked in edgy, feisty, gutsy, and hardy. 01:07
emmaBut now in Intrepid some how X has changed and now I put the same stuff in there and it does not change the behavior of the mouse at all.01:08
emmaDoes anyone have any ideas?01:08
tjaaltonmorning05:06
tjaaltonemma: input-hotplug means that evdev "steals" all your input devices05:07
emmaso that's a bug?05:08
tjaaltonemma: so that's why "mouse" no longer works unless you do other things 05:08
tjaaltonno05:08
emmai see. what other things should a person do?05:08
tjaaltonyou can use 'xinput' to set the options you like (during a session start, for instance.. GUI support coming later), or add an fdi file which does the same05:09
tjaaltonwhich is persistent05:09
emmato me it sounds much more complicated than the old way.05:11
tjaaltonmaybe05:11
emmabut ubuntu's raison de'tre is to be easy.05:12
tjaaltonor you can add 'Option 'AutoAddDevices "false"' to the ServerFlags section05:12
tjaaltonand specify keyboard and mouse like before..05:12
emmai don't want to mess things up if it was made this way now there must be some good reasons.05:13
emmai would just like my marble mouse to be able to scroll wheel effect again.05:13
tjaaltonman xinput then05:13
emmaokay05:13
tjaaltonyou can change those settings while the session is running.. that was not possible before05:13
emmai may stand a chance of figuring it out but not tonight i have to sleep now. after midight here.05:15
emmathanks for the clues. 05:15
tjaaltonsure, np05:15
bryceheya tjaalton05:17
tjaaltonhi bryce05:18
tjaaltonbryce: the autotoolized mesa doesn't build intel DRI drivers for lpia, but is i915_dri.so the only one needed there?05:33
tjaaltonI think it is05:34
tjaaltonI've got also some xkb-data fixes on the radar before a605:34
brycecool05:37
brycedid the autotoolized mesa build them before?05:37
bryceI don't remember that -psb required them, and I don't know if there's any other gfx hw on lpia that uses -intel.  maybe...05:38
tjaaltonthere's bug 27010605:42
ubottuLaunchpad bug 270106 in mesa "several modules missing in lpia build" [High,Confirmed] https://launchpad.net/bugs/27010605:42
tjaaltonso while the DRI driver is never really required, it does help with 3D :)05:43
tjaaltonand it got dropped when the package was autotoolized05:43
tjaaltonwhich was July'ish05:44
brycehrm05:59
bryceany ideas why it got dropped?  would it be easy to add back in?05:59
tjaaltonyes it is. it got dropped by accident, since the list of drivers to build varies based on the architecture06:14
tjaaltonI've got it ready on my tree, but wanted to make sure i915 was enough06:15
bryceah, yeah I believe so06:21
brycei965 might be worth having06:22
tjaaltonok, I'll add that too06:37
=== seb128_ is now known as seb128
=== jcristau_ is now known as jcristau
james_wtseliot: hey, have you seen bug 27098017:44
ubottuLaunchpad bug 270980 in screen-resolution-extra "setVirtual() doesn't set correct value if second display is bigger" [Undecided,New] https://launchpad.net/bugs/27098017:44
tseliotjames_w: let me have a look at it17:45
tseliotjames_w: ok, I'll fix it, however when my patch is accepted the virtual resolution will be calculated by the C part, therefore this is a temporary fix17:52
james_wah, ok.17:53
tseliotjames_w: ok, I have fixed the problem18:19
tseliothow can I associate a commit with a bug?18:19
tseliots/commit/revision/18:20
james_wtseliot: commit with "--fixes lp:12345"18:20
james_wif you have a changelog entry with "LP: #12345" then debcommit in Intrepid will do that for you18:20
tseliotyes, of course the changelog has such entry18:21
tseliotjames_w, bryce: the fix is in this branch: ~albertomilone/screen-resolution-extra/intrepid18:24
tseliotbryce: can you upload it for me (when you have the time), please?18:27
james_wtseliot: I don't see how the new code is any different, what am I missing?18:27
tseliotjames_w: I made it look exactly as the C code18:29
tseliotand it works well here18:29
tseliotI have tested the function and passed it some values in a tuple as the real program would do18:30
tseliotand it works well18:30
james_wok18:31
james_wthe same tests show the old version was broken?18:31
tseliotwait, no, now they don't18:34
* tseliot wonders what happened before...18:34
tseliotjames_w: this makes little sense18:35
brycetseliot: we're in freeze for alpha6 starting today18:35
tseliotthe C part is ok18:35
tseliotbryce: ok, no problem18:35
james_wtseliot: is it whatever passes the values that is wrong then?18:36
tseliotjames_w: the C program passes those values and that part looks good18:38
tseliotjames_w: are we sure that the user chose the right settings?18:40
tseliotit has always worked for me here and it worked for bryce too18:40
james_wtseliot: I'm not sure, I have no prior experience with "Virtual" to know what the correct values are18:40
james_whe does say that changing it gave him a working set up18:41
tseliotyes, and he's right18:41
james_wI can't test at the moment due to other bugs, sorry18:42
tseliotno, problem, I'm too tired to do anything else too18:42
james_wfor param in params[0]:18:44
james_wshould that not be18:44
james_wfor param in params:18:44
james_wso that it considers all of sys.argv18:44
james_wthat will only look at the first, and so could lead to taking max(first) -> first18:45
james_wso if the second is larger it won't get considered18:45
james_wah, def computeVirtual(*params):18:46
tseliotyes18:46
james_wso it get's called like "1024x768:0,0 1280x968:1024,0"18:48
tseliot0,0:1680x1050 0,0:1600x120018:49
james_wno, other way round18:49
james_wyeah18:49
tseliotxposition, yposition, width, height18:49
tseliotxposition, yposition:widthxheight18:50
tseliotthis one looks better ^18:50
tseliotso in your example18:50
tseliotthe x position of the 2nd screen will be 102418:51
tseliotand you will have to add the x position to the width18:51
tseliotand get the highest value18:51
Ngtjaalton: bug 262605 wouldn't be related to seeing mieqEnequeue errors and X getting wedged, right?18:52
ubottuLaunchpad bug 262605 in mesa "[intrepid] X locks up or crashes when screensaver activates" [High,Fix released] https://launchpad.net/bugs/26260518:52
NgI just unlocked the screensaver and was left with just my backdrop and a mouse pointer. sshing in showed a lot of these in X logs:18:52
Ng[mi] mieqEnequeue: out-of-order valuator event; dropping.18:52
Ng[mi] EQ overflowing. The server is probably stuck in an infinite loop.18:52
jcristauNg: seeing mieqEnqueue errors is a symptom of X getting wedged18:52
jcristauor, the gpu locking up18:52
jcristauso that alone doesn't say anything about the cause18:53
Ngthere's nothing of note in syslog18:54
Ngand the Xorg.0.log just goes from EDID output straight into those messages18:54
james_wtseliot: yeah, I can't see what's wrong here18:55
tseliotjames_w: I have asked that user to try again, just to be sure18:58
james_wthanks18:58
tseliotjames_w: thanks for reporting. BTW I subscribed to the bugs of that package.18:59
* tseliot > dinner. Bbl18:59
Ngjcristau: if it happens again, is there anything I can do to get some more useful information?19:00
jcristauNg: see where X is blocked (gdb helps)19:02
jcristaualso if it's reproducible it's easier19:03
superm1bryce, at some point you had a document that referred to setting up faulty keymappings, but i seem to forget where I saw it.  you have a link handy?19:18
bryceprobably http://wiki.ubuntu.com/X/Troubleshooting - the keyboard section19:18
superm1ah yup.  i'll see if this can help get a few missing keycodes sorted out on the latitude xt19:21
superm1thanks19:21
superm1it looks like there is no hotkey defined in input.h to trigger a screen rotation is there?19:37
Ngbryce: OOI, any ideas what intel's plans are for video acceleration?23:19
brycewhat's OOI mean?  or are you spewing binary at me?  ;-)23:20
bryceNg: for acceleration, have you looked at UXA?23:21
NgOut Of Interest23:21
NgI've not looked at anything specifically23:21
NgI'm just curious about video acceleration, because I tried to play a 1080p video earlier on and it sucked23:22
Ng(on a G45)23:22
bryceyeah I think the priority is going to be to get the GEM/UXA stuff worked out first23:24
brycesee http://ph.ubuntuforums.com/showthread.php?t=89084323:25
Ngbryce: that stuff is more about 2D acceleration though, right?23:52
bryceit involves both 2d and 3d23:52
NgI'm thinking more like xvmc23:52
Ngbasically I think a G45 and a Core2Duo 6300 ought to be able to play 1080p H.264 :)23:53
Ngmplayer was close to being able to, with a single thread eating all the CPU and using Xv, so pretty much just using the CPU since no scaling is required23:53
Ngjcristau: ok. so far it's not reproducible, but next time I will ssh in and fire up gdb23:58

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