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

Sarvattsure, pass it along RAOF :)01:40
RAOFSarvatt: It's in xorg-edgers.  Seems to work for me, but my nv40 cards have ceased to be an interesting test :)02:03
Sarvattwould be nice to know why we have to remove quiet from the boot line on nouveau :D02:07
RAOFNote: that definition of "we" does not include me :)02:07
RAOFThat particular strangeness got fixed somewhere in the last weeks for me; probably it was mad framebuffer related craziness.02:08
Sarvattoh? must be nice!02:08
Sarvattmaybe if i blacklist vga16fb, still havent done that on that machine02:08
RAOFI think the -9 kernel fixed stuff, too.  Maybe.02:09
Sarvattremoved my firmware files, upgrading now02:09
Sarvattgot a ton of dmesg spam for 5 seconds about 20 seconds in but seems to be working ok, firmwares there and got loaded02:22
RAOFSuperlative.02:27
* Ng sulks. I was copying a bunch of data to a USB disk and it took out X12:11
mac_vNg: karmic?12:36
hyperairtook out meaning X lagged like hell or something else?12:56
hyperairimo we've got some big issues with IO and interactivity12:57
* mac_v had somewhat similar X crashes when system was doing heavy read/write operations... but using lucid kernel 32.* solved it ..13:11
mac_vx restarts*13:11
Ngmac_v: lucid. looks like the kernel oopsed becuse of something relating to the USB disk and the xlog suggests it then segfaulted, but I could still see it, which was a bit odd. ssh'd in and rebooted13:35
hyperairhmm  i wouldn't know, i didn't use .31 for long. had a great number of ext4 issues13:46
Ng(I couldn't interact with it in any way though, so I can well believe that X had died and the framebuffer just stayed as it was)13:50
Ngquite annoying though, I bought the USB disk so I'd be able to take regular rdiff-backup snapshots of my laptop while I'm running lucid on it ;)13:51
tjaaltontseliot1: I noticed you updated the halsectomy-spec. there's no working wacom driver atm, so you sed evdev which doesn't work properly with it16:01
tseliot1tjaalton: yes, I also tried to contact pitti and you but I was disconnected from IRC16:02
tseliot1tjaalton: aah, it's evdev then16:02
tjaaltonthere will be a new xf86-input-wacom RSN, and I hope ron finds it good enough to package for experimental16:06
tseliot1tjaalton: well, I think it would be better than using evdev anyway16:07
tjaaltonI tried to find an intuos4 M/L, but they were out of stock..16:08
tjaaltontseliot1: it sure would16:08
tseliot1tjaalton: (just FYI) this is the only change that I would need to apply to X in order to get the alternatives system to work: http://pastebin.ubuntu.com/345406/16:09
tseliot1I don't even have to touch mesa16:10
=== mac_v is now known as _vish
tjaaltontseliot1: do libdri/libglx need to be moved to another path for it to work?16:22
tseliot1tjaalton: they live in /usr/lib/xorg/modules/extensions/standard/ and, when you use open drivers, you will have links to them in /usr/lib/xorg/modules/extensions/16:23
tseliot1in the case of nvidia you use libdri.so from /usr/lib/xorg/modules/extensions/standard/ and libglx.so from /usr/lib/nvidia-current/xorg/libglx.so16:24
tseliot1then a simple update-alternatives --set gl_conf $master link and you can switch between them16:25
tseliot1where $master_link is /etc/standard-x11/standard.conf in the case of X11 and open drivers16:26
tseliot1therefore, in order to switch to open drivers (the default):16:26
tseliot1update-alternatives --set gl_conf /etc/standard-x11/standard.conf16:26
tseliot1while, for example, for nvidia-current:16:26
tseliot1update-alternatives --set gl_conf /etc/nvidia-current/ld.so.conf16:27
tseliot1of course jockey will deal with this16:27
tseliot1oh and of course "ldconfig" is required after these commands16:28
tjaaltonok16:29
tjaaltonwhy not just installlibdri/glx directly to the correct path instead of moving them around?16:30
tjaaltonand if the confs aren't meant to be admin-configurable, shouldn't them be under /usr somewhere?16:31
tjaalton*they16:31
tseliot1tjaalton: update-alternatives doesn't create links if the file already exists16:33
tseliot1tjaalton: what do you mean by admin-configurable? You can do it manually if you want16:34
tseliot1i.e. install the packages, update alternatives, set the driver in xorg.conf and reboot16:34
tjaaltonI mean the file content probably will never change16:35
tseliot1tjaalton: what file?16:35
tjaaltonand cleaning conffiles from /etc is more troublesome16:35
jcristau/etc/nvidia-current/ld.so.conf < that file16:36
tseliot1aah16:36
tseliot1those files are not a problem unless something links to them16:36
tseliot1and when you uninstall the packages the alternative is removed and so are the links16:37
jcristaubut the file isn't16:37
tseliot1why not?16:38
jcristaubecause conffiles aren't removed on package removal16:38
jcristauthey're removed on purge, except when they become obsolete and you forget about them16:38
tjaaltonexactly :)16:38
tseliot1aah, now I see your point16:39
jcristauso for something that's not supposed to be configurable, installing it in /etc leads to pain down the road16:39
jcristauor cruft, or whatever16:39
tseliot1I can either make the postrm deal with that or simply install them in /usr/...16:40
tseliot1I remove the alternative in the postrm, therefore I think it's better if I remove the file there16:41
tjaaltonbetter in /usr, otherwise it would also "pollute" the namespace in /etc16:42
jcristauyou should remove the alternative in prerm16:42
tseliot1that would be a solution too16:43
tseliot1good idea16:43
tseliot1shall I use /usr/share/nvidia-current etc, or /usr/lib/nvidia-current (that I already use). The former makes more sense to me16:46
jcristaulib imo16:46
tseliot1right, after all is an ld.so.conf file, which is relevant to that directory16:47
tseliot1also, is there a point in adding a prerm.in instead of a prerm in X?16:52
tseliot1it's not a template16:52
tseliot1oh, there's the #INCLUDE_SHELL_LIB# thing16:55
jcristauprerm gets removed by xsfclean16:55
tseliot1ok, I'll use a .in file16:55
tseliot1that's why I asked16:55
tseliot1jcristau: are templates (i.e. .in files) automatically detected?17:01
tseliot1or shall I add the prerm.in file somewhere?17:03
jcristausee the genscripts rule in xsfbs.mk17:07
=== _vish is now known as \vish
tseliot1ah, nice, thanks17:13
tseliot1jcristau, tjaalton: better? http://pastebin.ubuntu.com/345439/17:27
jcristaunot sure what the point of /usr/lib/standard-x11/standard.conf17:28
jcristauis17:28
jcristauoh. default alternative.  /dev/null would work as well :)17:29
tseliot1it's an empty file since we're going to use the libraries that come with X/mesa17:30
tseliot1e.g. libGL.*.so, etc.17:30
tseliot1while fglrx and nvidia use their own libraries17:31
tseliot1and yes, that's for alternatives, as you said17:31
superm1tseliot1, rather than relying on jockey to update the alternatives, why not do it right in the postinst?18:02
superm1the less custom work that jockey has to do, the better (imo)18:02
jcristaui guess because alternatives have static priorities, which can't take into account the actual hardware on the machine, so can't decide between nvidia-current or nvidia-last-year or fglrx-current or fglrx-legacy, or or..18:04
superm1well if you run update alternatives and they do have static priorities, then that will be a no-op18:10
superm1eg current should always be newer than last year which should always be newer than last-last-year18:10
superm1but if you run jockey it can override such priorities?18:10
jcristauwhat will be a no-op?  if you have multiple nvidia driver packages for different generations of chips which one gets higher priority?18:12
tjaaltonor fglrx over nvidia?18:12
tjaaltonthat's why I didn't think alternatives would work, but making the user choose via jockey is the only way18:14
jcristautseliot1: maintainer scripts have update-alternatives in $PATH no need to use the full path18:18
jcristaualso no need to use $(CURDIR) when you don't need an absolute path18:22
jcristauand echo \n is not portable :)18:22
superm1if they all need to have the same priority set, then maybe a debconf to select among the priorities18:26
superm1*debconf question18:26
jcristautjaalton: not sure if you saw, the testsuite failure on sparc/ppc should be fixed in master now18:33
tjaaltonjcristau: ah, good. didn't see that18:41
tjaaltonsuperm1: that just moves the question to a different layer18:42
superm1tjaalton, but then you can interactively ask18:42
superm1if there is only one option available, then you wouldnt have to, but if there are a few, then you can present them to the user18:43
tjaaltonsuperm1: if you only have one blob installed manually, it'll have a higher priority than the default18:43
tjaaltonso no need to ask anything there18:44
superm1right, and then if you have two blobs, then you ask the question18:44
tjaaltonwell there should be a way to not ask it if the choice is already made by jockey18:45
tjaaltonor rather, by using jockey18:46
superm1jockey uses debconf noninteractively currently18:46
superm1so it would have to preset that value18:46
superm1this can just be for a second iteration of changes though, because it will require work on the jockey end that may be non-trivial18:47
tjaaltonsure18:52
* bryce_ waves19:14
tseliot1superm1: priorities work when in automatic mode19:36
tseliot1in jockey I would switch to manual mode by using update-alternatives --set19:36
tseliot1do we really want to use debconf for this?19:37
tseliot1hey bryce_19:37
tseliot1jcristau: ah, thanks, I'll just use update-alternatives without the full path then19:42
bryce_heya tseliot119:45

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