/srv/irclogs.ubuntu.com/2009/03/31/#ubuntu-x.txt

pwnguinhow the hell does evdev work?06:32
pwnguinim getting pushback from scottk on closing a bug about requiring root prives to use uinput; im wondering if evdev solves anything06:55
tjaaltonpwnguin: which bug07:20
tjaaltonbryce: so is the pot file in the binary now or just the source package?07:22
tjaaltonbryce: xkeyboard-config..07:22
pwnguinbug #31295707:29
ubottuLaunchpad bug 312957 in cwiid "CWiid Version 0.6.00 unable to open uinput " [Undecided,Invalid] https://launchpad.net/bugs/31295707:29
tjaaltondoes it work in jaunty?07:32
tjaaltonin intrepid evdev grabbed the input devices07:32
tjaaltonbut doesn't do that anymore in jaunty07:32
pwnguinit works as well in jaunty as it ever has07:33
pwnguinthe problem is that the program uses uinput07:33
pwnguinwhich is a security black hole07:33
tjaaltonok07:33
tjaaltonwell, I don't know about that :)07:33
pwnguinthe conclusion ive come to is to just use sudo and be done with it07:33
pwnguinuser beware07:34
tjaaltonwell, the package could use policykit to use the plugdev group for the device07:34
tjaaltonerm07:34
tjaaltonno policykit needed there07:35
tjaaltonPK adds the group for the active user07:35
pwnguinwhen i spoke with scott remnant a year or longer ago07:35
tjaaltonor something like that07:35
pwnguinThis implies to me that any user could insert input events to your X server, and thus click on any part of the screen, etc.07:36
pwnguinThese permissions are definitely inappropriate.07:36
tjaaltonheh, ok then07:36
pwnguinim not about to overrule the udev maintainer ;)07:36
tjaaltonso the driver is faulty07:36
pwnguinthere's no way from here to there07:36
pwnguinim wondering if evdev works substantially differently07:36
tjaaltondoesn't use uinput07:38
tjaaltonanyway, afk->07:38
pwnguinthe uinput.h does say it's substantially copied from evdev07:38
pwnguinso they cant be all that different in practice ;)07:38
pwnguing'nite or whatnot07:39
tjaaltonnight07:43
brycetjaalton: just the source package09:34
tjaaltonok09:35
bryceI trust that's sufficient for rosetta09:42
tjaaltonprobably is09:42
brycefwiw, it wasn't as simple as just running make <foo>.pot; it seems this part of the makefile has bit rotted some09:42
* bryce -> bed09:42
Ampelbeintjaalton: hi. could you have a look at bug #352335, please?13:12
ubottuLaunchpad bug 352335 in xserver-xorg-input-acecad "FTBFS due to xserver-1.6" [High,Confirmed] https://launchpad.net/bugs/35233513:12
AmpelbeinI added a patch and would like you to check if it's ok.13:12
tjaaltonAmpelbein: the patch itself does, but it's a lot of changes for just a simple patch13:18
tjaaltonI'll update them in debian so we can sync them13:18
tjaaltonthere are six input drivers that FTBFS, minus aiptek13:18
Ampelbeintjaalton: i had a little chat with bryce yesterday about using or not using quilt13:18
Ampelbeini've done the change for aiptek using quilt and he said it was ok.13:19
tjaaltonsure13:19
jcristauAmpelbein: the fix should be as simple as updating to the new upstream13:19
tjaaltonall those drivers got a new version because of xserver 1.613:19
Ampelbeinso do we wait until debian has the changes and sync?13:21
tjaaltonit's the least effort (for you anyway ;)13:22
Ampelbeinok, just thought it would be helping.13:22
tjaaltonnp, it was just delayed on my part13:23
tjaaltonheh, I already had the git repos cloned13:27
=== seb128_ is now known as seb128
PolitikerNEUah - maybe you can help me here: Is there a kernel including the openchrome-driver so VIA-chips work out of the box?17:45
laananhello, i have a problem getting 3D acceleration with my Intel 945 gfx in Jaunty. i've asked in #ubuntu+1 and was directed here17:45
tjaaltonPolitikerNEU: there is xserver-xorg-video-openchrome in jaunty, isn't it enough?17:48
tjaaltonlaanan: /var/log/Xorg.0.log plese17:48
tjaaltonpleAse17:48
laananok, just a sec17:48
laanantjaalton, (the Driver "intel" was added by me, no change from the default of nothing): http://pastebin.com/m6f83c26b17:49
tjaaltonlaanan: that's xorg.conf17:50
laanantjaalton, oh sorry17:50
laanantjaalton, http://pastebin.com/m29001fee17:51
tjaaltonlaanan: dri is used, so what doesn't work?17:52
laananif it helps, i seemed to have the same problem with a fresh install of 8.10, and changing `Driver "vesa"` to `Driver "intel"` in xorg.conf fixed it. the problem is all 3D accel. apps seem software rendered17:53
laananthat is, it's more than just sluggish, frame rates are around 1-2hz for most gl screensavers and games17:54
tjaaltonwhat does 'glxinfo| grep direct' say?17:54
laananit says `direct rendering: Yes`, but it said that in 8.10 too and obviously it wasn't (again, adding Driver "intel" fixed it in 8.10)17:55
tjaaltonadding that shouldn't do anything17:55
laananok17:56
jcristaujust pastebin 'LIBGL_DEBUG=verbose glxinfo'17:56
PolitikerNEUtjaalton: At least in 8.10 (was openchrome there?) it was not enough - has the situation changed in 9.04?17:56
tjaaltonPolitikerNEU: try the beta livecd17:56
PolitikerNEUtjaalton: I will - the problem it is not my laptop17:57
laanantjaalton, http://pastebin.com/m1b3276ca17:57
jcristauso it's accelerated alright17:58
tjaaltonyep17:58
laananthe advice i got for 8.10 did fix the problem, and from what i remember glxinfo was pretty much the same before and after the xorg.conf change18:01
jcristauit's not clear to me what the problem is.  you said you wanted 3d accel, you've got that already.18:01
tjaaltonlaanan: gnome or kde?18:02
laanangnome18:02
tjaaltontry with a new user or purge your compiz configuration18:03
tjaaltona livecd would do as well18:03
laananwell, for example, glxgears gives me around 300fps now, it was the same with 8.10 before the change. after the change glxgears in 8.10 runs at over 5 times the speed18:03
tjaaltonglxgears is not a benchmark18:04
jcristaupick another example18:04
laananit's just an indicator, the skyrocket screensaver gets around 1-2hz, GtkRadiant is almost unusable as well18:05
laanantjaalton, could you explain purging my clmpiz configuration ?18:07
tjaaltonlaanan: probably in too many places I don't know.. just create a new user and try there18:08
tjaaltonor try without the effects (ie. with metacity)18:08
laananok, well i have None checked in Appearance/Visual Effects.. i will try to create a new user18:09
tjaaltonyou need to log out and log back in as that user, quick switch to it basically means you got no DRI18:10
tjaaltonin that session18:10
laananok18:10
laananhmm, no change. this problem is not a large issue for me, as 8.10 works fine for the most part. i just wanted to try Jaunty since it seems there was a bug fixed in Mesa affecting one of my apps18:15
laananthank you for the help though, i appreciate it18:17
tjaaltonyou could try the mesa packages at https://edge.launchpad.net/~tjaalton/+archive/ppa18:18
laanani can use those with Intrepid ?18:19
tjaaltonno18:19
laananoh, well from what i gather the bug was unrelated to this current issue18:21
laanan(and i am a Linux newbie, so i'm a little over my head here anyway :))18:22
tjaaltontry a livecd, it should work there18:24
tjaaltonif not, then it's a bug18:24
laananthat's what i tried first (the daily build), same problem18:25
tjaaltonok18:25
laananit was explained to me that my previous 8.10 install was using the generic vesa driver, and was slow even tho direct rendering was enabled. i figured it was the same situation here but apparently not18:28
tjaaltonvesa doesn't support dri18:28
laananyeah, that was the reason was everything crawled there18:29
laananfor me, apparently i need `Driver "intel"` in 8.10 for everything to work as it should.. are you saying that (if everything is goes well) i don't need that in 9.04 ?18:31
tjaaltonyou shoudn't need that in 8.10 either18:32
tjaaltonjust remove the line18:32
laananok, i will try that the next time i am in 8.10. (but the problem still remains with or without that line in 9.04)18:33
laanananyway, if i have time and can get it sorted out, i will come back and let you know. thanks again18:34
tjaaltonnp18:34
Nghmmmm18:38
Ngtjaalton: interesting data point, I just booted a live CD... compiz stuff seems fine :/18:38
Ngso something about my setup which has no appreciable xorg.conf, or .drirc or interesting compiz settings, is very much worse18:39
tjaaltonNg: there you go, upgrades ftl :)18:39
Ngthis could also explain why the 965 belonging to the guy next to me is nowhere near as badly affected as mine18:39
Ngtjaalton: well, I'm not sure it's 100% conclusive, there will be a lot more happening on my install than a live CD18:47
Ngbut I am now very tempted to do a full re-install ;)18:47
tjaaltonheh18:59
Ngaha! a more comparable test from the live CD still shows the same juddering19:03
* Ng feels vindicated and re-assured ;)19:03
BUGabundobryce: ping20:13
BUGabundohow are we with support for intel 8x5 for jaunty?20:13
bryceBUGabundo: piss poor at the moment20:27
bryceBUGabundo: do you have feedback on it?  I asked on the list for input from any 8xx owners but no one responded20:27
BUGabundothanks bryce20:34
BUGabundoi changed xorg to use DRI false20:34
BUGabundoand i can use this test PC20:34
BUGabundoi have a bunch of then to install until saturday20:34
bryceBUGabundo: what chipset?20:34
BUGabundobryce: 86520:34
BUGabundoi comment on the bug20:35
BUGabundodo u need any further testing?20:35
BUGabundoi guess i could give u reverse ssh to it or something20:35
bryceI'm going to limit 304871 to just 845 graphics20:35
brycewhich I think is fixed now20:36
bryce865 will need a separate bug report20:36
BUGabundook20:36
bryce317457 maybe20:36
BUGabundois it opened yet?20:36
bryceBUGabundo: have you filed one for this issue?  If so I'd prefer making that the master since you're more active20:36
BUGabundoi did not20:37
bryceotherwise I guess we can use 31745720:37
bryceok20:37
BUGabundothats why i came here 1st20:37
BUGabundook, i'm subed to it now20:37
bryce328528 is UXA lockup on 86520:37
bryceI've not decided if that's a dupe, I think it may be a separate issue.  You have that one too?20:38
BUGabundolet ne see20:39
BUGabundobryce: i didnt mess much on this xorg20:40
BUGabundojust added dri20:40
BUGabundobryce: is there any thing i can do to make this card run compiz?21:18
bryceBUGabundo: can you try the Legacy3D "false" option mentioned in the bug report?21:20
bryceBUGabundo: did you already try option "AccelMethod" "UXA"?21:20
BUGabundono i did not21:21
BUGabundolet me see if i can do it21:21
BUGabundook now where do i need to add that stuff?21:22
jcristaudevice section of xorg.conf21:22
BUGabundobut keep dri false?21:23
jcristaunot if you want compiz21:23
BUGabundooh21:23
bryceyou can try them both together if you want but disabling dri sort of cancels out uxa21:25
BUGabundoso i add legacy3d and uxa21:26
BUGabundois this ok? http://paste.ubuntu.com/141679/21:26
bryceBUGabundo: can you also try each of those two options separately?21:27
bryceI'd like to know if Legacy3D will solve your issue without also having to go to UXA21:27
BUGabundosure21:27
BUGabundoi'll just make dinner wait a bit more21:27
bryceno prob21:28
BUGabundokilling X now21:28
BUGabundowith both i can login21:30
BUGabundocommenting 3d21:30
BUGabundospoke too soon21:30
BUGabundosystem froze21:30
BUGabundobryce: having both seems like a bad choice on 86521:31
bryce:-/21:31
bryceyeah not many good reports of UXA on 96521:31
bryceer 96521:32
brycedah21:32
bryce88886521:32
bryceBUGabundo: try with only Legacy3d21:32
BUGabundorebooted21:32
bryceI don't expect that will work, but if it does we're golden since I have a patch for that already21:32
BUGabundoand repeated the same thing21:32
bryceok so, the only thing that has worked has been disabling DRI?21:33
bryce(which disables compiz)21:33
BUGabundobryce: now testing with only 3d21:33
yow|x2i dont use compiz, id be happy to test BUGabundo 21:34
BUGabundoafter that i can try wit only uxa21:34
bryceyow|x2: what chipset do you have?21:34
yow|x2intel ich721:35
BUGabundobah21:35
BUGabundocritical bug... Delete will not send to trash21:35
yow|x2945gm / 945gms for video21:36
bryceyow|x2: we're only looking at 8xx for this, but thanks.21:36
BUGabundobryce: just 3d i have a black background21:36
BUGabundosee top and bottom bars21:36
BUGabundomouse moves21:36
yow|x2ack. gotta figure out why im getting freezing so much21:36
BUGabundobryce: want me to test just UXA now?21:37
BUGabundocant even jump to TTY21:37
bryceBUGabundo: if you'd like; we already decided we're not going to do UXA, and I'm pretty sure it won't work for you21:37
BUGabundoalt+sysqr+K just showed blue screen21:37
BUGabundothen black21:38
bryceyeah that's because the kernel kills X but doesn't know how to reset the graphics card to a sane state21:39
bryceprobably have to reboot21:39
BUGabundobryce: FAIL21:42
BUGabundoUXA wont work on this system21:43
BUGabundojust DRI21:43
BUGabundoany more combos u need me to test?21:43
brycenope, that should do it21:44
bryceok, I'll go with the disable DRI patch for 865 then21:44
bryceshame to lose compiz and 3D on that chipset, but better that it not freeze up21:44
BUGabundoso no compoiz?21:44
BUGabundoohh my students wont be able to play with it!21:45
bryceBUGabundo: there was one reporter that said he resolved it on 865 by booting a 2.6.27 kernel21:47
bryceso you could try that, if you just want to be able to show it off21:47
bryceer wait that reporter was on 85521:47
brycestill, booting an earlier kernel might be worth trying if you have one handy21:48
BUGabundobryce: no change. this is a daily jaunty image21:53
brycehrm, too bad21:54
brycetjaalton, superm1: either of you know if anyone is going to up us to the latest -nvidia?  Or should we be skipping it?22:38
superm1bryce, from the looks of it, it's bug fixes, but i'm not positive22:42
bryceI've seen several positive reports around it, and judging from the rate of new bugs against nvidia-180 so far, we could use bug fixes there22:42
superm1bryce, yeah especially KDE plasma fixes22:43
brycegood god, xorg is up to 35 bugs after just a couple weeks23:24

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