/srv/irclogs.ubuntu.com/2009/06/29/#ubuntu-x.txt

superm1Sarvatt, if just dropping the .id's should fix it, i'll test without it in place. bryce: canonical should have this hardware available already to debug with.06:47
tjaaltonSarvatt: do we still have to change the defaults if those are going to be easily configurable?07:11
Sarvattit should just work with no nv.ids, the primary video device in his xorg.0.log is the 9400M G which isnt supported and is getting matched to -nv because the first card's id matches.. its just whats going to happen with a generic xorg.conf i'm not sure of07:43
Sarvattno xorg.conf -nv is just going to say no so vesa uses it since it'll go through the list of nv vesa then fbdev 07:45
Sarvatti guess it probably will still need the server patch with a generic xorg.conf, nv is going to match from the 10DE catchall and it looks like it only gets 1 try with it there? luckily its just 084x and 086x nvidia device id's that need special handling unless we go nouveau, then we'd need to add those early nvidia cards too08:09
tjaaltonSarvatt: was one of those replies for me?-) I was talking about synaptics :)08:39
Sarvattoh!08:39
tjaaltonwhee, mesa 7.5~rc4-1 in experimental08:40
Sarvattsorry, i was confused by what you meant by easily configurable :D08:40
Sarvattshould have figured you didnt mean the -nv problem08:40
tjaaltonheh08:40
Sarvattwell, i imagine so because xubuntu and kubuntu arent going to have g-s-d to configure it?08:41
tjaaltonI'd have thought kde at least had something similar08:42
tjaaltonsince you can configure *everything* there08:42
tjaalton:)08:42
Sarvattthey do, its called konsole but typing synclient TapButton1=1 is too tough ;D08:43
tjaaltonlunch->08:43
Sarvattoo, did it get released or still unreleased? regarding mesa 7.508:46
Sarvattnevermind, i can look :D08:47
tjaaltonSarvatt: the package is now in experimental, and available for merging09:41
tseliotSarvatt, tjaalton: my daemon will handle touchpads. I only need to write a UI09:42
tseliots/will handle/handles/09:43
Sarvattwhats the daemon for?09:43
tseliotSarvatt: it can load your settings at startup (with a configuration file), it allows to set touchpad (and other input) properties from any language which has dbus bindings. It also allows you to disable the touchpad while you're typing, etc.09:48
tseliotI'll blog about it soon09:48
tjaaltontseliot: isn't it duplicating effort with g-s-d?09:50
tseliottjaalton: I don't think so. g-s-d is just for GNOME while my daemon can be used in KDE or in any other DE09:51
tjaaltonbut if g-s-d will have the same functionality?09:52
tjaaltonor mostly the same09:52
tjaaltonand it's already running on every gnome desktop09:52
tseliotfrom what I have seen, it doesn't09:52
Sarvattit does, just needs to be updated to 2.27.409:52
=== baptiste_ is now known as baptiste
tseliotSarvatt: do you have a link to this?09:53
Sarvatthttp://git.gnome.org/cgit/gnome-settings-daemon/commit/?id=4eb9bd09219afbb56f114a2d10bc585e24db803e09:53
tseliotfrom what I can see they need a function for each property09:54
tseliotwhile my daemon doesn't. You simply pass it the property and a list of values and that's it09:54
tseliotg-s-d deal with a limited set of properties09:55
tseliotdeals09:55
tseliotthanks to my daemon we can have access to any property09:56
Sarvatthave you seen that things dont use SHMConfig anymore and everything is runtime configurable with synclient or input device properties now?09:58
tjaaltonhow do you determine if it should be running or not?09:58
tseliotSarvatt: I use XInput. No shared memory is involved10:00
tseliottjaalton: ?10:01
tseliotit won't be installed by default10:01
tjaaltonah10:02
tjaaltoniow it will be temporary until the native configuration tools do the same :)10:02
tseliotthey would have to rewrite their current system. But yes, it could happen. What I want is a unified system which we can use in any DE. Each DE should have its own frontend but rely on the same backend10:04
tjaaltonit's still yet-another-daemon for a single type of hardware10:04
tseliotwrong. The frontend will be specific to touchpads while the daemon can deal with any kind of input device which supports XInput10:05
tjaaltonok, better :)10:05
tjaaltonso the ui could be the *DE:s native capplet10:06
tjaaltonwhich then would start the daemon if the defaults have been changed10:07
Sarvattahh ok, i was having problems wrapping my head around why you might want to daemonize something that could be done just once at startup and directly at runtime if something needed to be changed10:08
tseliotyes, native applets could be written10:09
Sarvatt(synclient, syndaemon)10:09
tseliotthe daemon does all the work while other applications (or even scripts) can connect to it through dbus to do, for example, what synclient and syndaemon do10:11
tseliotit catches events10:11
tseliotso that when you unplug a device you can get a signal and, for example, refresh the list of devices in a UI, etc.10:12
tseliotor applies the saved settings to the new device10:12
tseliotnothing's set in stone yet though.10:13
Sarvattare there any drawbacks to using the secondary slots allocated for driver detection in xserver? i just made a patch making the first slot default to vesa for 084x and 086x (unsupported 8xxx and 9xxx IGP chipsets) and nv otherwise, but i was thinking that maybe we could add nouveau in the first slot and move the vesa/nv choice down to the second since nouveau isnt installed by default. i know it wouldnt be a problem with no xorg.conf bu10:43
Sarvattt i'm unsure with the default xorg.conf what would happen10:43
Sarvattit'll just fail to load nouveau that doesnt exist with no xorg.conf, thats what happens for me with no i810 driver on intel10:44
Sarvattwe dont have openchrome autodetection support in karmic's xserver but we have the driver, that'd be useful to add10:46
Sarvattthats the next pci id in line after nvidia and before rendition in xf86AutoConfig.c from git master10:47
Sarvattguess i should try building it with nouveau in the first slot and see what happens with the default xorg.conf since i cant follow the source well enough10:48
tjaaltonis it the fedora nouveau patch?10:50
tjaaltonhttp://cvs.fedoraproject.org/viewvc/devel/xorg-x11-server/xserver-1.6.1-nouveau.patch?revision=1.1&view=markup10:50
Sarvattkind of, i ripped it out of that since we dont need the detection for the early cards since -nv supports it10:50
tjaaltonbut AIUI we are going to change to nouveau..10:51
Sarvatti was thinking about having driverList[0] = "nouveau"; and driverList[1] = "nv";10:51
Sarvattwith no xorg.conf it'll just skip nouveau if it isnt installed10:51
Sarvattbut it'd open up the option of having nouveau without explicitly setting it in xorg.conf10:52
tjaaltonthat's the way it's supposed to be done10:53
tjaaltonpatching the server10:53
tjaaltonbecause once the xorg merge is uploaded, new installations don't have xorg.conf anymore10:53
* Sarvatt cant wait for that10:54
tjaaltonI should probably open a bug about defaulting to nouveau, if there isn't one already10:54
Sarvattso much easier to patch it in here than hunt down how every driver pulls ids10:54
tjaaltonit concerns xorg, xserver and the kernel10:54
tjaaltonyeah, forget the ids files10:55
Sarvattif it was up to me i'd make all 10DE default to vesa and opt in ranges for -nv, who doesnt use nvidia binary drivers? :D10:58
tjaaltonlivecd users :)10:59
Sarvatti'm guessing the default device in the default xorg.conf precludes it from using anything but driverList[0], doesnt seem like it tries the rest of the list like it does with no xorg.conf11:02
tjaaltonit's a completely different codepath11:03
tjaaltonit doesn't even generate the list11:03
tjaaltonsee the file where the functions are called from11:03
Sarvattwow, no wonder xorg.conf needs to go looking at this11:16
Sarvattguess a patch for superm1's bug wont be so easy after all unless it does11:17
tjaaltonthe ids patch should be dropped, and xorg.conf removed11:18
* Sarvatt wonders how many little hidden places are making sure theres an xorg.conf like the livecd-rootfs thing11:18
tjaaltonthat's enough11:18
Sarvattwell he'd still need a patch making it drop 086x to vesa instead of nv still after that11:18
tjaaltonyeah, that11:19
Sarvattsilly hybrids11:19
Sarvattat least there arent many nvidia/nvidia ones out there and all are using 086x, it shouldnt have his problem if its intel/nvidia or intel/ati because of the 170_primary_pci_device.patch forcing it to use the card on the bus the system is using at boot time as the primary one11:22
Sarvattif i were him i would just make it use the dedicated video always in bios or something instead of being stuck on the IGP always like he is now11:25
Sarvattand it would solve that problem because it would hook the video bios up to the 9400M so it would use the -nv supported driver11:27
Sarvattif linux didnt report being vista to acpi i would say it'd probably be a good idea for them to add a check on which card to use to the dsdt if osvendor matches linux11:29
Sarvattcant imagine many people want to buy a laptop with a fast GPU and be stuck only using the crappier IGP if they use linux because its not going to support switching in userland anytime soon11:31
Sarvattlol that is exactly what some other vendors do11:49
Sarvattsony ones default to the dedicated video if acpi_osi doesnt match vista11:50
Sarvattof course you have to boot with acpi_osi="!Windows 2006" for that to kick in..11:51
Sarvattthose are intel/nvidia hybrids though11:52
tjaaltonaccording to the spec we are not going to change to nouveau without kms, and since it's not stable yet it's deferred12:28
tjaaltonand our nouveau version is still over two months old12:29
tjaaltonwonder if a newer version would've helpe12:29
tjaaltond12:29
Sarvatttheres a kms enabled nouveau-kernel-source and xserver-xorg-video-nouveau on edgers and nouveau edgers thanks to RAOF12:46
tjaaltonit's newer than the one in karmic?12:47
=== mvo__ is now known as mvo
tjaaltonhmm, the latest mesa change added dri.pc, but in the wrong package12:55
tjaaltonthe changelog entry would suggest that it was meant for libgl1-mesa-dev as in debian, but it was added to mesa-common-dev12:56
jcristaumesa-common-dev is possibly more appropriate12:56
tjaaltono12:57
tjaaltonk12:57
tjaaltonI'll leave it there then :)12:58
jcristaufeel free to move it in the debian branch12:59
tjaaltonsure12:59
tjaaltonwait, debian ships it in libgl1-mesa-dev, ubuntu in mesa-common-dev, but it's not guaranteed to be the same on every arch since it's generated during build?13:03
tjaaltonso isn't libgl1-mesa-dev the best place then?13:03
jcristauhrm.13:07
tjaaltonif it's going to be made arch specific13:07
jcristaui guess that was the reason i put it there13:07
jcristaubut i can't think of a reason it would be arch specific13:07
tjaaltontrue13:08
tjaaltonall the variables should be the same on every arch13:08
tjaaltonit'll need a Replaces too?13:18
jcristauyup13:19
tjaaltondone13:24
tjaaltonand pushed13:24
jcristauthanks13:24
tjaaltonthanks for doing the upload to experimental, it's now ready for karmic13:25
Sarvatttjaalton: hopefully it wont fail building on amd64 90% of the time like it does on PPAs in karmic :D15:53
Sarvattheres a log of a failed one, it'll build right on a retry usually though.. never fails locally or built under a jaunty PPA https://edge.launchpad.net/~sarvatt/+archive/xorg-testing/+build/1095892/+files/buildlog_ubuntu-karmic-amd64.mesa_7.6.0~git20090626.f57280cc-0ubuntu0sarvatt_FAILEDTOBUILD.txt.gz15:55
tjaaltonso it's the glu_mangle.h error15:59
jcristaulooks like it gets installed from both swx11+glu and swx11+glu-static16:01
Sarvattthe file it fails on changes every time, that and gl.pc are where it fails more often than not though16:01
jcristaueasiest way to fix it is disable parallel builds16:05
Sarvattseems like the builds are fine parallel but the installs are racy, but i dont know how to disable the parallel installs without seperating each packages install in rules16:07
Sarvattheyo tormod!16:10
tormodhi Sarvatt!16:10
jcristauSarvatt: something like http://paste.debian.net/40563/?16:13
jcristauneed to make sure it fails if one of the targets fails, but.16:13
Sarvatti will try that right now and upload it to 4 PPAs to see if it fails on any, thanks jcristau16:17
Sarvattack tjaalton updated origin/ubuntu, need to refresh hooks again16:18
Sarvattnice, no hooks needed now actually16:20
Sarvatthmm tormod, auto-xorg-git doesnt work with the mesa version in origin/ubuntu now :D16:38
Sarvattoh he left16:38
Sarvattah its because of the package name16:40
Sarvatthas a space in front of it by mistake16:40
popeyI just got a friend of mine to file bug 393510 which is a quite spectacular xorg crash when he touches the mouse touchpad. Any suggestions on where to look for more info would be appreciated.16:41
ubottuLaunchpad bug 393510 in xorg "X crashes when I touch the mouse pad" [Undecided,New] https://launchpad.net/bugs/39351016:41
jcristauSarvatt: fixed16:43
Sarvattwow, thanks again jcristau!16:43
Sarvattuploaded it to 4 PPAs, it really is a 90%+ FTBS on amd64 so for sure i'll see if its fixed by the install rules change16:52
Sarvattjcristau: the server in sid is exposing dri2 extension version 1.1.0 and the intel 2.7.1 release version doesnt understand that so its still trying to use the old i830DRI2CreateBuffers and i830DestroyBuffers which have been replaced from what I can see? -- http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?h=2.7&id=5ea315944ada3097fe33a14e0c1bdf1268be030817:35
* Sarvatt installs 2.7.1 release to see if i get the same problem17:54
Sarvatti cant even get 2.7.1 release version to work at all on xserver master/dri2proto 2.118:20
tjaaltonSarvatt: heh, the changelog bug was a copypaste error.. damn meld doesn't show the arrows anymore, some gtk bug I guess18:37
=== Duke`_ is now known as Duke`
SarvattDuke`: did you see idr's reply on dri-devel? got some code you want me to test on 7.6?19:26
Duke`yes I've seen19:26
Duke`I'll fill a bug report19:27
Duke`but now I'm eating :p19:27
Duke`Sarvatt: I posted my bug report: https://bugs.freedesktop.org/show_bug.cgi?id=2254020:34
ubottuFreedesktop bug 22540 in Drivers/DRI/i915 "VBO is still mapped after drawing, therefore glMapBuffer fails" [Normal,New]20:34
Sarvattwhat the heck is going on with this fglrx-installer in x-updates.. i think bryce might have ended up binary copying it because the orig.tar.gz's dont match 20:35
Sarvattokie, i'll check it out Duke`20:35
Sarvattyep same error for me on mesa 7.620:49
SarvattBefore copying data, buffer is mapped20:51
SarvattMapping frame 220:51
SarvattMesa: User error: GL_INVALID_OPERATION in glMapBufferARB(already mapped)20:51
SarvattSegmentation fault20:51
bryceerf, sorry yeah I did just binary copy it20:57
bryceI built it in my own ppa and then copied it over; I assumed that'd be equivalent to posting it there directly20:57
brycewhat might be a problem is that I had packaged fglrx-installer myself and posted it for people to test, but meanwhile superm1 also packaged it, and uploaded to ubuntu directly20:58
bryceso the packages I did conflict with superm1's due to differing orig.tar.gz's20:59
superm1bryce, oh what i put into the archive actually had support for 2.6.3020:59
brycereally, my packages should be dropped in favor of new backports of superm1's package20:59
superm1bunch of hacked up patches that I gathered on the internets to make it work21:00
brycecool21:08
brycesuperm1, I never did figure out how to order the 10v with ubuntu with EPP. I ended up just ordering the 10v without the discount.21:09
superm1bryce, oh well.  I sent a website bug about the fact that it wasn't showing up on the normal 10 and 10v pages, and it's been assigned, so it should be sorted out somehow21:10
superm1you might be able to call and get your discount still21:10
bryceit's only $28 so hardly worth the effort, but I might raise it with our program rep on our end; seems weird that it's harder to get the employee discount on stuff running our own software.21:14
brycemaybe there's some switch they can flip or something21:15
superm1hopefully21:16
SarvattDuke`: well your gl demo runs fine on i915simple gallium at least22:13
tormodI am trying stock karmic (believe me) and glxgears is transparent (on radeon RV410), anyone seen this?22:13
Duke`Sarvatt: maybe, but it's totally different code I think22:14
Sarvattyep it is, just trying other things out :)22:14
Duke`:)22:15
Duke`I wonder if it is related to bug f.d.o #2242822:15
Sarvattphew everything is fugly under gallium, textures missing even on the simplest of demos22:16
Sarvattthats the commit i linked isnt it22:17
Duke`yeah I think22:17
Sarvattxdemos/glxcontexts runs fine for me22:18
Sarvatti'm on an aspire one like the original report person is too22:20
tjaaltonbryce: so, xorg and mesa.. could those be uploaded soonish?22:21
brycesure, do you want to upload or would you prefer me to do it?22:22
Sarvattit actually requires dri2proto 2.1 now btw, wont even be able to build it until you bring that over22:30
bryceyeah I'll file a sync request for that22:31
Sarvatthttps://bugs.edge.launchpad.net/bugs/39100522:34
ubottuUbuntu bug 391005 in x11proto-dri2 "[Sync Request] Please sync x11proto-dri2 (2.1-1) from Debian [unstable] (main)" [Wishlist,Confirmed]22:34
tjaaltonbryce: I can do those tomorrow22:35
brycetjaalton, sounds good22:35
bryceSarvatt, huh, wonder why that hasn't gone in22:36
Sarvattintels the only driver that will need a rebuild after updating x11proto-dri2 at least22:36
bryceSarvatt, but only after also updating xorg-server, right?22:37
Sarvattyeah22:37
bryceyeah so it's pretty traditional to do a mass-rebuild of drivers following the xserver update22:38
brycein fact I think tjaalton has a handy dandy script for doing it22:38
Sarvattonly other thing that uses it is ati KMS22:38
bryceSarvatt, I bumped the dri2proto syncreq and subbed pitti, so hopefully that should accelerate it a bit22:41
tjaaltonyeah I have a crude script to do that22:53
Sarvattjcristau: thanks again for the help, breaking up the install in debian/rules for mesa did fix it22:57
Sarvattforgot a ; though, i was slow and uploaded it without that and it took 4 hours for it to build for me to notice :D http://pastebin.com/m433e64d522:59
Sarvattit built on 4 PPAs without any problems vs the 90% failure rate on karmic amd64 normally23:01
lesshasteI was about to upgrade from intrepid to jaunty when it told me there is no fglrx driver for jaunty... what is the situation there?23:02
Sarvattfglrx doesnt support anything under hd 2xxx anymore23:02
lesshasteSarvatt: sorry what is hd 2xxx?23:03
lesshasteand does this mean no accelerated 3d in jaunty for my graphics chip?23:04
Sarvattati HD 2000 series23:04
lesshasteoh so mine is just the rs480 onboard graphics chipset23:04
Sarvattyou use xserver-xorg-video-ati now combined with mesa for 3d23:06
Sarvattthe binary driver doesnt support your card anymore23:06
lesshasteis this the same as the radeon open source driver?23:08
Sarvattyep23:08
lesshasteok.. that's not as bad as it was right?  The specs got released.. or something like that :)23:09
Sarvattit has come a long way since intrepid23:09
lesshasteah.. radeonhd is not the same as radeon :)23:13
lesshasteI am slowly catching up23:13
Sarvatti put a patch here with proper whitespace incase you guys want to use it, its from jcristau and fixes the ftbs with mesa in karmic on PPAs (and probably in the archive) http://sarvatt.com/downloads/mesa_build.patch23:40

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