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

bryce__tjaalton: you about?21:11
bryce__tjaalton: trying to figure out the libdrm git merge stuff21:11
tjaaltonbryce__: yes, what's up?21:13
bryce__tjaalton: well in this case it's not a git merge against debian but (aiui) bypassing debian to merge straight from upstream21:14
bryce__tjaalton: however I cannot see the upstream branches in this git repo21:14
bryce__I did find a 2.5.4-1 branch you did for debian but it's dated last Nov and seems missing a lot of stuff, so assuming that's not it21:15
bryce__er s/2.5.4/2.4.5/21:15
tjaaltonI'll check the status21:16
jcristau2.4.5 was released in feb so it's probably not dated last nov.21:16
jcristauthe date in the changelog entry is from when that changelog entry was started21:17
bryce__also, there's a lot of unreleased stuff queued up in the ubuntu git; there are 3 patches related to -nouveau - I'm assuming I drop all three, but there's one which is kernel headers which I'm unsure about21:17
tjaaltonbryce__: our kernel doesn't ship nouveau21:18
tjaaltonneither does upstream yet21:18
bryce__so I should omit that as well?21:18
tjaaltonkeep the parts that touch the headers21:18
tjaalton2.4.5 should have the rest21:19
tjaaltonum, it should have it all21:19
tjaaltonthe parts about libdrm-nouveau should be fine21:20
tjaaltonbryce__: the 2.4.5 tag was added after it was released and pulled in debian, that's why it's not there I guess21:22
bryce__ok, so for getting the 2.4.5 bits into our git tree, how do I finagle that?  Mind if I just skip git and merge it manually?21:23
tjaaltonbut if you need to use another origin (=upstream), you need to add the remote21:24
tjaaltonor merge with debian-unstable21:24
tjaaltonand release as -0u121:24
tjaaltonwouldn't be the first time21:24
tjaaltonoh, and because libdrm-intel1.symbols was fixed there, -intel wouldn't need the explicit Depends anymore :) (once built against it)21:27
tjaaltona silly typo that was21:28
tjaaltonor rather a copy-paste error21:28
bryce__is 2.4.5 in debian-unstable?21:28
bryce__sorry, I'm becoming increasingly more confused here21:28
tjaaltonthe branch yes21:28
jcristauyes, 2.4.5 is in the debian-unstable git branch21:28
bryce__any issues holding that branch back, or is it in a releasable state?  I.e., if I git pull that, is there any further work needed?21:30
jcristaunot that i know of21:30
tjaaltonjust fix the conflicts (changelog, control, rules)21:30
bryce__hmm, after dropping the nouveau patches 02 and 03, patch 04 (the headers) no longer applies21:31
tjaaltondrop that as well21:31
bryce__ok21:31
tjaaltonmaybe I didn't make it clear21:31
jcristauthe reason it's not uploaded yet is because it might break mesa and/or drivers in sid, and i don't want to do that before i can upload server 1.6.21:31
tjaaltononly the packaging changes are needed21:31
bryce__jcristau: ok thanks; I put 1.6 in last friday so should be good to go21:32
bryce__dh_install: libdrm-dev missing files (usr/include/nouveau/*), aborting22:29
jcristaubryce__: remove that from debian/libdrm-dev.install22:30
bryce__ok22:32
tormodbryce_: or configure with --enable-nouveau-experimental-api=yes22:37
crdlbis jaunty's X supposed to include the log file path in 'xset q'?22:41
jcristauno22:41
crdlbthe compiz wrapper script currently uses that; is there an alternative?22:42
jcristauno22:42
jcristau:)22:42
tormodcrdlb: what does it use the log for?22:42
crdlbto make sure you're using a good driver22:42
jcristauit should stop doing that22:43
tormodyou should rather check it is using a good 3D driver22:43
crdlbit's a workaround for the fact that checking that isn't reliale22:43
crdlbreliable*22:43
crdlbeg, last I saw, nv will happily whitescreen you with compiz22:44
jcristaunv is not a 3d driver22:44
tormodyou should use "xdriinfo driver 0"22:44
jcristautormod: doesn't work with dri222:45
crdlbright, but it still reports GLX_EXT_texture_from_pixmap even though it's not really supported with software mesa22:45
tormodjcristau: oops. but who uses dri2 :)22:45
jcristaunv doesn't report anything related to 3d...22:45
jcristaumaybe swrast does, but if you know you're on swrast you can bail out anyway22:46
jcristauand that doesn't need the Xorg log22:46
tormodxdriinfo will return "swrast" in that case, no?22:46
jcristautormod: dunno, but glxinfo will tell you 'OpenGL renderer string: Software Rasterizer'22:47
bryce__dh_install: debian/tmp/usr/include/drm/nouveau_drm.h exists in debian/tmp/ but is not installed to anywhere22:48
bryce__dh_install: debian/tmp/usr/include/drm/xgi_drm.h exists in debian/tmp/ but is not installed to anywhere22:48
bryce__dh_install: debian/tmp/usr/include/drm/via_3d_reg.h exists in debian/tmp/ but is not installed to anywhere22:48
bryce__dh_install: debian/tmp/usr/include/drm/r300_reg.h exists in debian/tmp/ but is not installed to anywhere22:48
bryce__dh_install: missing files, aborting22:48
bryce__make: *** [binary-arch] Error 122:48
crdlbyes, the wrapper already checks for swrast with glxinfo22:49
crdlbI guess it was more necessary before swrast, since LIBGL_ALWAYS_INDIRECT=1 glxinfo would still report t_f_p then22:51
tormodbryce__, maybe we can add fglrx cruft detection to the -ati or xorg apport hook?23:12
bryce__tormod: love to see a patch23:21
bryce__tormod: what is your idea re apport hook?  23:21
tormodbryce__: I have to admit I never looked at an apport hook...23:22
tormodBut I imagined something grepping dmesg (or kern.log) for fglrx modules bits for instance23:22
bryce__tormod: and then include that in the bug report, or are you thinking it should inhibit bug reporting in this case?23:23
tormodno, it should add it to the bug report, maybe adding the wiki link so the reporter can clean up, and ask the reporter to close the bug if it fixes it.23:24
bryce__yeah that should be doable with apport23:29
bryce__tormod: if you write a python script that implements that idea, I can integrate it into apport proper23:30
tormodbryce__: I looked at the current ati hook, added this:23:30
tormod    try:23:31
tormod        script = subprocess.Popen(['sh', '-c', 'grep fglrx /var/log/kern.log'], stdout=subprocess.PIPE)23:31
tormod        report['fglrx'] = script.communicate()[0]23:31
tormod    except OSError:23:31
tormod        pass23:31
bryce__ok23:31
tormodthat was just monkey copy and paste but you get the idea23:34
bryce__okay, committed to git23:37
tormodbryce__: cool! we can think about the wiki link later. these sections ends up as attachment right? I will read up about apport another day.23:38
bryce__right23:38
bryce__yeah I suspect most users wouldn't read the bug report and see the wiki link23:39
bryce__I think it is also possible that we could make apport prevent filing the bug if fglrx is installed, and maybe display an error dialog with that wiki link on it (or equivalent directions), but that's beyond my apport-fu at the moment23:40
bryce__whew, libdrm has built23:50
bryce__ok, reboot time, brb23:56

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