/srv/irclogs.ubuntu.com/2009/12/07/#ubuntu-x.txt

johanbrstill the same hard lockup00:02
johanbrno visible difference with nouveau.modeset=100:02
Sarvattyeah its not working here either http://sarvatt.com/downloads/gallium.txt00:03
Sarvattgdm stuck on a garbled screen00:03
Sarvatti'm trying with noagp=1 now too00:03
Sarvattoh wait a sec, old xorg.conf... sheesh00:05
RAOFSarvatt: Yeah, I broke xserver-xorg-video-nouveau in xorg-edgers; I was updating the archive package, and forgot that the PPA nouveau-kernel-source had dropped the linux-nouveau-modules Provides:00:06
SarvattXorg.0.log looks fine but i'm stuck on a blinking cursor screen00:10
Sarvattno errors in dmesg either00:10
Sarvatthttp://sarvatt.com/downloads/nouveau.txt00:12
johanbrcan you do anything at that point?00:12
johanbrswitch tty etc?00:12
RAOFDoes the console work?00:12
Sarvattno go on vt's or anything, sysrq keys work00:14
Sarvattnetworks up, i can ssh in fine00:14
RAOFTry rebooting, disabling boot splash?  I seem to recall running into strangeness where nouveau fights with usplash before.00:14
Sarvattyou know i had that problem too before on that livecd i made, didnt used to have usplash installed even back then00:16
Sarvattthat worked, removed quiet splash and now i'm in gnome00:16
johanbrit worked for me just a week ago, with the X server from karmic00:17
johanbrI upgraded the X server bits to get working xv, but everything stopped working instead00:18
Sarvattgalliums alot better now on nouveau too, nice00:18
RAOFjohanbr: You could probably have got working xv by running the metacity compositor, too :)00:18
johanbrI know :)00:18
johanbrSarvatt, you're saying the hang disappeared when you removed "quiet splash" ?00:19
Sarvattyeah00:19
Sarvattusplash definitely doesnt cooperate with nouveau00:19
johanbrweird... I removed splash, but not quiet, and still got the hang00:20
johanbrI don't even have usplash installed00:20
RAOFActually, it plays nicely with my nv4b; it's obviously not quite so deterministic.00:20
Sarvattyou have nouveau.modeset=1 too? i have it in a /etc/modprobe.d/nouveau.conf too00:20
Sarvattoptions nouveau modeset=100:20
Sarvattwe have the same exact video card00:20
johanbrwhich kernel are you running?00:21
RAOFAnd which nouveau-kernel-source?  The latest nouveau-kernel-source should (a) enable kms by default, anb (b) add nouveau to the initramfs.00:22
Sarvattyours is a dell and mine is a HP going by the subvendor though :D00:22
Sarvatt2.6.32-600:22
Sarvattedgers00:22
johanbrI've mostly tried 2.6.32-7-generic (64-bit)00:22
johanbrand same n-k-s, 0.0.15+git20091204-0~10.04~ppa100:23
johanbranything special in xorg.conf ?00:23
Sarvattphew darn thing is gonna catch on fire trying to play neverball :D00:23
SarvattSection "Device"00:23
Sarvatt        Identifier "nouveau"00:23
Sarvatt        Driver "nouveau"00:23
SarvattEndSection00:23
Sarvattthats it00:23
johanbrthat's a bit less than mine - I'll try that00:24
Sarvatthttp://sarvatt.com/downloads/nouveau.txt00:24
Sarvattthats the working logs00:25
=== freeflyi1g is now known as freeflying
johanbralright, one more try...00:26
Sarvattyeah nouveau gallium is still pretty much unusable, i915 is almost the same speed as classic mesa00:32
johanbrwhaddayaknow, it works!00:32
johanbrI think it had issues with something in my old xorg.conf00:33
johanbrand xv works too :)00:35
Sarvattif you want to play with gallium for some 3D ya can just check out mesa git and run ./autogen.sh then ./configure --enable-glx-tls --with-dri-drivers= --enable-gallium-nouveau --disable-gallium-intel --disable-gallium-radeon --disable-gallium-svga --with-state-trackers=glx,dri --with-demos=xdemos,demos,trivial,tests then run any 3D app with something like LD_LIBRARY_PATH="/opt/mesa/lib/" LIBGL_DRIVERS_PATH="/opt/mesa/lib/gallium" glxinfo00:35
Sarvatti just made a bash alias for that called gallium so i run "gallium openarena"00:35
RAOFSarvatt: How does nouveau gallium fare with, say, gnome-shell?  It's kinda-sorta-almost working on my nv4x.00:36
Sarvatthmm cant start gnome shell00:37
SarvattTypelib filoe for namespace Clutter not found hmm00:37
RAOFHeh.00:38
Sarvattcan't run it in xephyr either, i think its screwed up in the repos00:38
Sarvattor i need aiglx...00:39
johanbrcan you run compiz?00:39
Sarvattsoftware rendering detected, falling back even though i ran it with the gallium env variables00:40
Sarvattnot trying to install gallium dri system wide to get it working :D00:40
Sarvattseems exactly the same as it was 6 months ago at any rate, same bugs too.. lol00:44
Sarvattmaybe the plymouth thats coming in a few days will fix that though00:46
=== _stink__ is now known as _stink_
Sarvattopened the lid 30 minutes later and its frozen with a blinking cursor again :D01:04
johanbrso the machine was suspended?01:07
Sarvattguess i rebooted it after i shut it and forgot to remove quiet splash from /etc/default/grub01:09
Sarvatt...and i forgot a / in my gallium env variables on that machine and was using swrast, no wonder it was slow01:09
Sarvattthats more like it! OpenGL renderer string: Gallium 0.3 on NV8601:11
SarvattOpenGL version string: 2.1 Mesa 7.8-devel01:11
SarvattOpenGL shading language version string: 1.2001:11
Sarvattcompiz is working but slow01:13
johanbrcool :)01:18
Sarvattopenarena is great, over 100 fps at 1280x80001:18
RAOFHow nicely is xorg-edgers playing on Lucid's intel right now?01:21
Sarvattwe really need to package gallium if we're going to use nouveau, this works great01:23
Sarvattintel's got alot of problems on 2.6.32 for me01:23
RAOFSarvatt: Feel free to --enable-gallium-nouveau on your next mesa upload to xorg-edgers :)01:24
Sarvattif only it was that easy! lol01:24
RAOFIt builds a totally different mesa? :)01:26
Sarvattgonna have to have alternatives for the main libgl i guess01:27
RAOFOr just overwrite the existing libgl, and get people to not install it on !nouveau :)01:29
Sarvattheck, I would probably stick to nouveau fulltime if gallium was packaged, this is fast enough01:29
Sarvattglxgears caused a gpu freeze01:33
Sarvatthmm guess i should be compiling in the mesa state tracker too?01:52
RAOFProbably a winner.01:52
RAOFI just pull in all the trackers.  Gets you bonus xvmc acceleration!01:53
RAOFOk.  I think I've ballsed up xserver-xorg-video-nouveau git sufficiently that I can now re-do the pristine-tar stuff cleanly.02:00
RAOFHm.  Darktama thinks that nouveau.ko should work with an unmodified drm from 2.6.32.  That would make nouveau inclusion substantially simpler!02:19
RAOFI think it's time to play "what happens if I drop drivers/gpu/drm/nouveau into lucid's kernel tree"02:57
johanbrhmm... X restarts when I resume from suspend03:00
RAOFAvec nouveau?03:00
johanbroui03:01
johanbractually, it restarts with the nvidia 195 driver too03:01
johanbrso it might not be nouveau-specific03:01
RAOFThat seems like a safe call, yes.03:01
johanbr:)03:01
johanbrit did resume just fine in karmic03:02
RAOFMaybe it's an xserver 1.7 issue?03:02
johanbrcould well be03:05
johanbrapparently X segfaults on resume: http://pastebin.com/f49fbee3c03:05
RAOFAnd it doesn't seem to be anywhere near nouveau; maybe it's a synaptics issue?03:07
johanbrquite possibly03:09
johanbrI'll try downgrading the synaptics package03:09
johanbrthere was also libpthread in there... I just upgraded that03:12
RAOFMan, "git add -i" has to be one of the least intuitive interfaces in the whole of the git suite.03:16
RAOFARGH!  "git add -p" -- it's like "bzr shelve" except _totally inscrutable_.03:22
Sarvattyou cant really downgrade synaptics, distro stuff wont work in xserver 1.7+03:39
Sarvattwonder if it has anything to do with the new pm-utils 1.30rc that was just uploaded03:39
Sarvattor is that just video quirks..03:41
johanbryes, I noticed03:41
Sarvattwhats your /var/log/pm-suspend.log look like?03:41
johanbrhttp://pastebin.com/f238ce74503:42
johanbrdon't see any problems there03:43
RAOFOk.  Anyone know how to update the kernel configs?03:43
johanbrbut this in the X log makes me wonder: "[    0.000666] (II) Cannot locate a core pointer device."03:43
johanbrRAOF, update kernel configs how?03:44
RAOFAs in: take the ubuntu kernel, add drivers/gpu/drm/nouveau, and update the build config to enable the build.03:45
RAOFNever mind, it seems I've found the kernel team wiki.03:45
johanbrdepends on whether nouveau drm is built in-tree or out-of-tree03:46
RAOFI'm building it in-tree.03:47
RAOFThe idea is to work out whether or not we can just drop drivers/gpu/drm/nouveau into the current kernel build & expect it to work.03:47
johanbrin that case, I guess the nouveau drm patch itself should add a kernel Kconfig option03:47
RAOFBecause _that_ would mean that it'd be actually possible to ship nouveau by default without killing the other drm drivers.03:47
RAOFjohanbr: It does; I'm trying to find out how the kernel team runs "make silentoldconfig", because it's special.  It occurs to me that perhaps #ubuntu-kernel is going to be more helpful, though :)03:48
johanbr:)03:49
johanbrcan't you just check out the kernel source package, patch with the nouveau patch, enable the nouveau Kconfig option and then build the deb as usual?03:51
RAOFNo, because the kernel build system copies a stored kernel config on build.03:51
johanbroh03:51
RAOF(Because it wants to build a hojilion different configs)03:51
RAOFKernel build timer started: 3:06 pm04:08
johanbrare you building all the possible flavours?04:11
RAOFNo.04:12
RAOFKernel build timer stopped: Error at 3:12 pm :)04:12
johanbroh :(04:12
johanbrwell, at least it was quick :)04:12
johanbrin the nouveau part or somewhere else?04:13
RAOFIn the nouveau part, where I forgot to copy over the i2c directory :(04:13
RAOFNew start: 3:13 pm :)04:13
Sarvatthow long have you been using edgers on lucid johanbr? just wondering if you had that crash on resume before the switch from hal to udev around december 2nd or so04:33
johanbrthat sounds about right for when the crash started appearing04:33
RAOFBalls.  Things build better when you include the include files.04:41
johanbroh... another restart?04:47
RAOFYup.  3:47pm04:47
RAOF:)04:47
johanbr:)04:47
johanbrupdated a few things... off to see if resuming works better now04:47
johanbrhmm... no luck... X still restarts on resume05:09
RAOF4:32pm - /home runs out of space :(05:35
johanbrjust no end of troubles today05:39
tjaalton"Your branch is ahead of 'origin/ubuntu' by 3293 commits."09:51
tjaaltonmerging mesa is fun09:51
jcristaumoving to 7.7?09:54
tjaaltonnah, merging with unstable09:54
jcristauheh09:54
tjaaltonbut git was neglected for a number of months09:54
jcristauok09:54
tjaaltonit was actually quite easy, the diff is quite manageable09:55
tjaaltonok, maybe it's time to push all this crap to lucid ;)10:06
RAOFCool.  nouveau actually builds against (very nearly) stock lucid drm.  Lets see how well it works.10:27
tjaaltonRAOF: we need a new patch for libdrm 2.4.1510:29
tjaaltonor .1610:29
jcristautjaalton: lolz. even the diffstat is above the limit for commit mails.10:40
RAOFtjaalton: Yeah, that's right.  I was thinking of the kernel component; I was assuming libdrm 2.4.16 would be ambling into lucid sometime in the not-too-distant future.10:44
tjaaltonjcristau: heh, so it seems11:05
tjaaltonRAOF: it should yes11:05
tjaaltonjcristau: there's a request to include the synaptics headers (bug 340340), fedora does it too. what should it be called, x-x-i-synaptics-dev?11:38
ubottuLaunchpad bug 340340 in xserver-xorg-input-synaptics "Provide header files and .pc file " [Wishlist,Incomplete] https://launchpad.net/bugs/34034011:38
jcristauyeah probably11:39
jcristauare you uploading the new server today?11:41
tjaaltonyes11:41
tjaaltonthough the build seems to have failed..11:41
tjaaltonhad to try it first11:42
tjaaltonseems like patch 177 broke it11:42
tjaaltonstruct _DeviceIntRec has no member named 'isMaster'11:42
tjaaltonwell, should be fixed anyway11:44
tormodtjaalton, re mesa merge, do you remember I retro-pushed ubuntu releases to git (see ML)?11:44
tjaaltontormod: when was that?11:45
tjaaltonah, found it11:45
tormodso I guess that was wasted time11:48
tjaaltonI was abroad when you sent that, sorry :)11:48
tjaaltonbut it's nice that all the changes are there as separate commits.. maybe it could be force-pushed11:52
tjaaltonI'll check the script11:52
tjaaltonyou should apply for pkg-xorg :)11:54
tjaaltonmaybe the script could be used with synaptics..11:55
tormodwell I think Bryce reviewed it half way but did not push it11:56
tjaaltonthough most of the changes between the previous git push and now were just added patches from upstream. the diff is almost identical12:01
tjaaltonpushing your repo would also add the tags?12:05
tormodyes, I made tags also12:10
tjaaltonwe haven't tagged the releases from ubuntu branches, to avoid cluttering up the list. don't know if it matters much, but12:12
tormodisn't that useful, to easily git-diff between versions?12:13
tjaaltonnormally I just diff the head of ubuntu12:13
tjaaltonbut yes, it's useful to have the debian releases tagged ;)12:14
tormodI understand, the tag list is global, so we can not "hide" ubuntu tags, they will uglify the gitweb list12:15
tjaaltonand tab-completion with zsh ;)12:16
tormodwith bash also I think12:17
tjaaltontseliot: what's the status with synaptics? not maintained in git anymore it seems, but are you going to merge it or should I? (for xserver 1.7)12:27
tseliottjaalton: in the debian git, do you mean?12:27
tjaaltonyes12:28
tseliotaah12:28
tseliottjaalton: feel free to merge it. I have a lot of things to deal with right now12:29
tjaaltonok12:29
tseliotand thanks12:29
tseliot:-)12:29
tjaaltonnp12:29
tjaaltonxserver build failed again, now due to patch 13512:35
jcristauthat patch seems to make the server do some things from the signal handler which i'm not sure are safe12:37
tjaaltonerror: 'signo' undeclared12:38
tjaaltonwell, apport isn't run anyway yet, so I'll just disable it for now12:38
tjaaltonyes, built without it12:48
tseliottjaalton: let me know if my patches for synaptics fail to apply and I'll adapt them for you13:26
tjaaltontseliot: ok, thanks. fixing the server one more time..13:28
tseliot:-)13:28
tjaaltonsigh.. what to do with -ati..13:53
tjaaltonthe version is bigger than in debian, so can't be synced. maybe just a rebuild then13:53
tjaaltondon't feel like pulling in a random snapshot13:53
tseliota rebuild should be enough then13:56
tjaaltonthere, pitti synced these http://pastebin.ubuntu.com/336548/14:02
tjaaltonapart from the xcb stuff which is in quilt3.0 format and soyuz can't handle it yet14:03
jcristaunothing needs it yet so that should be fine14:04
tjaaltonyep, figured as much14:04
jcristaunew intel will, but...14:05
tjaaltonopenchrome failed to build14:46
tjaaltonhttp://launchpadlibrarian.net/36533009/buildlog_ubuntu-lucid-i386.xserver-xorg-video-openchrome_1%3A0.2.904%2Bsvn812-1_FAILEDTOBUILD.txt.gz14:46
tjaaltonagainst the old server, but anyway14:46
jcristauold xserver + new proto14:50
jcristauthat's expected to break14:50
tjaaltonah, ok14:50
tjaaltonit should be the only driver without the bumped build-dep14:50
tjaaltonlooks like fedora has had fixes for ABI_INPUT_VERSION 7 for the drivers that haven't seen releases for 7.514:55
tjaaltonwonder why they haven't been pushed upstream14:55
tjaaltonoops14:56
tjaaltoncorrection, they are upstream but no release has been made14:57
jcristauoh, i guess i forgot those had been pushed14:58
jcristaumaybe you can do the releases then :)15:00
tjaaltonheh, maybe later :)15:01
tjaaltontseliot: the jumpy cursors patches don't work, since there will be no fdi file anymore15:03
tjaaltonand I don't know how it works in the udev world. But I guess it can be disabled for now15:04
tseliottjaalton: but the udev rule that pitti wrote makes use of it and it works15:05
* jcristau would like to not put any options in the udev rules15:05
tjaaltontseliot: oh right, they are there15:06
* tseliot would like to live in a world in which quirks are not required...15:07
tjaaltonit's just a matter of where they should live..15:07
jcristautseliot: if quirks are required, they should not live in udev rules.15:07
tseliotgive me another sensible place for the quirks and I'll change my patch ;)15:07
jcristauyour kernel15:07
jcristauor the X driver, maybe15:08
tseliotjcristau: I discussed this with whot but he doesn't seem to want it in the X driver and I'm not really sure about how I could translate my patch into a kernel patch (because of what it does)15:10
jcristauwhat it does is detect what machine it's running on and set different default values for some options?15:12
tjaaltontseliot: the first part of the jumpy patch fails to apply15:16
tseliottjaalton: can you upload the synaptics source somewhere, please?15:17
tjaaltonI'll push it to git, clone from there15:17
tseliottjaalton: can you give me the link to the branch, please?15:19
tjaaltongit clone git://git.debian.org/pkg-xorg/driver/xserver-xorg-input-synaptics.git15:21
tjaaltongit checkout -b ubuntu origin/ubuntu15:21
tjaaltonguess I have to drop wacom from input-all until it works15:23
tseliottjaalton: ok, thanks I'll update the patch ASAP15:30
Sarvattwe need a 190.xx or newer nvidia blob to work with xserver 1.7 too15:31
tjaaltontseliot: thanks15:32
tseliotSarvatt: right. It's on my TODO list15:33
tseliottjaalton:  np15:33
Sarvattopenchrome should build against xserver 1.7, i pushed a patch for it upstream like 6 months ago15:35
Sarvattoh sorry misread, old server new libs15:35
tjaaltonyep15:36
tjaaltonxserver failed to build on sparc, powerpc:16:01
tjaalton/xi2/eventconvert/XIDeviceChangedEvent: **16:01
tjaaltonERROR:../../../test/xi2/protocol-eventconvert.c:714:test_values_XIDeviceChangedEvent: assertion failed: (k->length == bytes_to_int32(sizeof(xXIKeyInfo)) + k->num_keycodes)16:01
tjaalton/bin/bash: line 5: 13949 Aborted                 ${dir}$tst16:01
tjaaltonFAIL: protocol-eventconvert16:01
jcristaufun.16:01
jcristauendianness bug?16:02
tjaaltonprobably something like that..16:05
tjaaltonshouldn't matter though16:05
tjaaltonat least not for a116:05
tjaaltonmesa built fine.. I'll upload it and take a break16:08
Sarvattwhere can you see the buildlogs for debian experimental powerpc xserver?16:19
jcristauyou can't16:21
jcristauexperimental autobuilding is fucked up atm16:21
jcristauhttp://lists.debian.org/debian-wb-team/2009/12/msg00002.html16:22
Sarvattahh darn16:33
jcristaulooks like the sparc x tinderbox machine is b0rked as well.  yay.16:35
Sarvattdoesnt look like they're even building xserver on powerpc either16:37
Sarvattoh sheesh i'm blind this morning16:37
jcristauyeah both are failing on libs earlier16:38
=== stgraber_ is now known as stgraber
ScislaCI recall seeing discussion about HAL going away for 10.04, is that still planned?17:55
jcristausee https://lists.ubuntu.com/archives/lucid-changes/2009-December/001427.html17:55
jcristauand friends17:56
ScislaCjcristau: Thanks! Is it known yet if the udev stuff is playing nicely with drawing tablets?17:58
=== yofel_ is now known as yofel
tjaaltonScislaC: 0.10.2 should work, but it's not packaged yet19:15
tjaaltonso wacom on alpha1 doesn't work at all19:16
ScislaCtjaalton: excellent, I will hold off for now then19:16
tjaaltonduh, somehow missed -ark, -apm, -neomagic when requested pitti to sync the drivers19:28
tjaaltonok, video drivers should be good now (apart from blobs)20:58
jcristauand sparc :)20:58
tjaaltonobviously :)20:59
tjaaltonI guess only i386 and amd64 matter at this point20:59
tjaaltonand armel20:59
johanbris 2:1.7.99.2~git20091207.fd867387-0ubuntu0sarvatt a real, existing version of xserver-common?21:35
johanbrxserver-common depends on that package21:35
johanbrsorry, I mean xserver-xephyr depends on that package21:35
tjaaltonif you run xorg-edgers, yes21:36
tjaaltonor should be anyway21:36
johanbrxorg-server - 2:1.7.99.2~git20091207.fd867387-0ubuntu0sarvatt exists as a source package21:37
johanbrbut didn't produce an xserver-common package at all21:37
johanbroh, maybe that's because the 386 build isn't finished yet21:38
RAOFSweet.  With a simple patch to export a couple more ttm symbols, nouveau build & runs against lucid's kernel drm.22:16
johanbrcool22:20
johanbryou cleaned out your /home ? :)22:20
RAOFIndeed.22:20
RAOFWhy are all the git defaults exactly backwards? :(22:21
tormodRAOF, I will keep on updating the -nouveau in xorg-edgers. was there something special about your upload?22:28
tormodapart the broken parts :p22:28
RAOFtormod: It was basiacally testing for an upload to Lucid; feel free to keep updating it in edgers.22:28
tormodRAOF, okdok22:29
RAOFThat's also why it was broken; it was based on Karmic's package, which the PPA packages have diverged from :)22:29
johanbrhmmm... just did a complete dist-upgrade to Lucid, and X still segfaults on resume: http://pastebin.com/f48826e9022:54
johanbrapparently, it's probably this (just fixed) bug: https://bugs.freedesktop.org/show_bug.cgi?id=2533923:22
ubottuFreedesktop bug 25339 in Server/general "segfault unplugging HAL input device" [Normal,Resolved: fixed]23:22

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