/srv/irclogs.ubuntu.com/2010/01/05/#ubuntu-x.txt

Sarvattguess I had a saved session or something -- Window manager warning: Failed to read saved session file /var/lib/gdm/.config/metacity/sessions/108b2bba67abe815cb1259blahblah00:00
=== dyek_ is now known as dyek
Sarvatttjaalton: progs/objviewer is now huge  -- yeah we're deleting everything in there in edgers, huge chunk of stuff thats not even shipped00:06
Sarvattlooks like just adding the inputclass stuff bumps the abi, and it was already bumped to 8 earlier just before 1.7.99.2. probably would be easier to just go with xserver 1.8 than try to backport all those patches, that seems a bit tricky?00:58
=== Amaranth__ is now known as Amaranth
aratseliot, feliz año!08:05
tseliot¡Gracias ara! ¡Feliz año nuevo!08:07
tseliotara: no se si te has enterado de que hay drivers Nvidia en mi PPA08:08
aratseliot, I saw something, how do I install them? 08:09
tseliotara: you'll have to install/update all of the packages in my PPA08:11
aratseliot, OK, I will do. How do you want me to report back to you? trough the ubuntu-x mailing list?08:12
tseliotara: and edit your xorg.conf (I haven't uploaded the new jockey yet)08:12
tseliotara: sure, that would be fine08:13
tjaaltontseliot: you should mention the ppa on the bug too :)08:13
tseliottjaalton: right08:18
mvowhat bugnumber is that?08:18
tjaaltonbug 49416608:19
ubottuLaunchpad bug 494166 in nvidia-graphics-drivers-96 "[lucid] nvidia-glx can't work with new xorg 7.5" [Medium,In progress] https://launchpad.net/bugs/49416608:19
mvothanks08:19
=== ripps|sleep is now known as ripps
=== seb128__ is now known as seb128
=== seb128_ is now known as seb128
rippsati kms video playback isn't as good as it used to be. Must be because of the lack of overlay video now. Actually, I find that using gl:yuv=4 is faster and causes less tearing than xv does now.11:13
rippsin mplayer, that is.11:14
tseliotis that with compiz enabled?11:16
aratseliot, I cannot see lucid packages in your ppa11:28
tseliotara: in this PPA? https://edge.launchpad.net/~albertomilone/+archive/proprietary-video-improvements11:32
aratseliot, cool, I was looking at your general ppa11:32
aratseliot, grazie11:32
tseliotara: yes, that's what I figured ;)11:33
tseliotde nada11:33
mvois anyone working on bug #494627 ? I got a local build of the nv package now because I was bitten by this error (minus two patches I had to disable)12:21
ubottuLaunchpad bug 494627 in xserver-xorg-video-nv "nv driver crashing with segmentation fault in libpthread.so.0" [High,In progress] https://launchpad.net/bugs/49462712:21
tjaaltonmvo: it works now? what did you do?12:33
mvotjaalton: I meged the git fix and that seems to do the trick, if you don't mind I will upload and you can merge it into git12:35
mvotjaalton: or I send you the debdiff, whatever you want12:35
tjaaltonmvo: either is fine12:36
mvotjaalton: thanks, I will upload then, let me just tidy up my changelog :)12:36
tjaaltonI suspect it was the "g80: Add a no-op gamma hook so we don't crash on 1.7 servers" commit?12:36
mvoyes12:37
tjaaltoncool, included in .1612:37
mvoyeah, .16 is a bit tricky, needs some tweaking to the quilt patches12:37
mvoand I was too lazy^Wbusy for that ;)12:38
tjaaltonheh, ok12:38
mvobut it works too (once the patches are commented out)12:38
aratseliot, successfully running nvidia drivers from your PPA, ta! 14:49
aratseliot, I will report any issues I may find14:49
tseliotara: I'm glad to read that they work for you. Thanks for testing14:50
bjsnidertseliot, i wanted to mention the control file description should say that vdpau is supported on geforce 8 or newer, not 7, and the driver itself works on geforce 6 or newer, not 714:52
tseliotbjsnider: let me check what I wrote in the control file14:53
tseliotbjsnider: good point. Thanks for reporting, I'll correct it.14:55
bjsnidercool14:56
superm1tseliot, are those transitional packages actually needed?15:04
tseliotsuperm1: we have the chance to make things work even for upgrades from the command line, so why not?15:05
superm1tseliot, right15:05
superm1tseliot, well let me put it this way, are that many of them needed?15:06
tseliotsuperm1: what would you like to remove?15:07
superm1the 185-modaliases and the 185-kernel-source seem superfluous if the nvidia-185-glx already depends on nvidia-current15:07
superm1if someone has the glx package installed it will pull them up to nvidia-current15:07
tseliotsuperm1: but if you remove/update nvidia-glx-185, its kernel-source package won't be removed15:08
tseliotand this can cause problems15:08
tseliotbecause the module in that package is named nvidia.ko15:09
tseliotand we're now using nvidia-$FLAVOUR with aliases to load the right module15:09
superm1Ah right15:09
superm1and we dont want to be in conflicts/replaces hell with a list of every variant that's been done as c/r15:10
superm1sounds sensible then15:10
tseliotright15:10
superm1lets see what else do i see, --- nvidia-graphics-drivers-190.53.orig/debian/nvidia-current.postrm.in, it's just a skeleton, is that intended so it's easy to add something to later?15:13
tseliotsuperm1: yes and it allows me to share most of the code between the different flavours15:13
superm1cool, sounds good15:13
tseliotas it's (mostly) a matter of renaming the same file as nvidia-$FLAVOUR.postrm.in15:14
tseliotetc.15:14
tseliotthe new packaging scripts are thought to make my life (and the life of the ones who will deal with nvidia) a little easier :-)15:15
tseliotI'm still simplifying the debian/rules and other files15:15
bjsnidertseliot, i was studying the code and am i right in assuming that the only thing i need to change from one minor release to another is the changelog?15:16
tseliotsuperm1: BTW execstack seems to work well when called from the command line but fails with signal 8 (at times) if called from the makefile. Any ideas?15:16
tseliotbjsnider: yes, this is correct15:16
superm1that's awesome! :)15:17
tseliot:-)15:17
bjsniderwow, that's going to make my life a whole lot easier15:17
superm1tseliot, you'll want to go and swing a bat at kees a little bit about that execstack stuff15:17
bjsnideri can't screw things up anymore15:17
superm1tseliot, i'm not too sure on it15:17
tseliotsuperm1: sure, I'll talk to him again. Some time ago he mentioned some weird behaviour in execstack...15:18
superm1tseliot, do you have a particular example that consistently fails?15:18
tseliotbjsnider: yes, things should be much easier to change and maintain15:18
bjsnideri already added some .in files and an extra variable to reduce the possible screwups in the old version15:19
keessuperm1, tseliot: I'd noticed the SIGFPE stuff before when I called it on multiple files at once, so I reworked all my earlier packaging examples to call execstack on one file at a time.15:19
keessuperm1, tseliot: which build is exploding?15:19
tseliotsuperm1: if I extract an nvidia installer and do this manually it works: find . *.so* | xargs execstack -q15:19
tseliotkees: it's the new nvidia and here's what fails if done from the makefile ^^15:20
keestseliot: do xargs -n1 and I bet it'll work.15:20
tseliotkees: ok, let me try15:20
keestseliot: I only did the -q calls so I could try to figure out which file was blowing it up originally, but the very act of doing one at a time seemed to solve it.15:22
tseliotkees: you already mentioned this to me before, therefore I used a for loop so as to call execstack for each file15:23
tseliotI'm rebuilding the packages with n1 as we speak15:24
tseliotand it didn't fail. Let's see if the markings were disabled15:24
tseliotkees: yes, it looks like that did it15:25
tseliotthanks a lot :-)15:25
superm1tseliot, have you put any thought into how to make beta drivers available to users with this type of packaging?15:26
tseliotkees: it's a bit weird that something like this fails though: http://pastebin.ubuntu.com/351824/15:27
tseliotsuperm1: they would replace -current, I guess15:27
superm1it looks like it would probably be a s/nvidia-current/nvidia-195/ in debian/rules or similar and rename the tarball appropriately15:27
superm1it would probably be good to mention that in your README.Debian.in 15:28
superm1just so people know how to do that in the future15:28
tseliotsuperm1: aah, you mean how to create a new flavour15:28
superm1tseliot, yeah15:28
keestseliot: yeah, it's really odd.  I was never able to track it down.  :(15:28
tseliotsure, I can and will document it15:28
superm1i figure you'll probably want flavours in both directions (old and beta)15:29
tseliotkees: well, in that specific case it's just two files and I really don't need the loop ;)15:29
superm1especially for PPA's like bjsnider's, so a consistent way of doing them will be good15:29
tseliotkees: the xargs -n1 is a real life saver though15:30
tseliotsuperm1: creating a new flavour with digits (e.g. -195) would be ok while using letters would break nvidia-common15:31
tseliotI can document this as well15:31
superm1Yeah that's good to mention15:31
tseliotsuperm1: also if nvidia-common had to deal with -current vs -195 to recommend a driver for jockey, the former would always win15:32
superm1yeah that would be the expected behavior15:33
bjsniderwhat about nvidia-beta, and nvidia-old?15:33
bjsniderwould that break nvidia-common?15:33
superm1bjsnider, the problem with using words like that is what happens when you have multiple old's15:33
superm1or multiple betas in different series' at the same time15:33
bjsniderno, i wouldn't allow multiple betas15:34
bjsnidernvidia doesn't release multiple betas at the same time15:34
tseliotbjsnider: yep, that would break it15:35
tseliotnvidia-195 or -200 or whatever would be fine though15:35
bjsnidertseliot, so if i've got nvidia-200 and nvidia-current, will jockey recommend nvidia-current?15:36
tseliotthere's really no way (apart from ascii string comparison) to tell which driver is newer/better than the other (when using strings)15:37
tseliotbjsnider: yes, that's correct15:37
tseliotbecause nvidia-current = nvidia-1000 and 1000 will always win against versions < 100015:39
bjsniderbut would the average user not want to pick nvidia-200 if he sees it there, even with the current one being recommended?15:40
bjsniderin other words, it might be good to be able to call it "beta" instead of a number15:41
bjsnideror even "nvidia-unstable"15:41
tseliotwe wouldn't support the beta driver but if you really want to call it beta etc. you can modify nvidia-common and put it in your PPA15:41
tseliotjust replace self.__driver_aliases = {'current': 1000} with self.__driver_aliases = {'current': 1000, 'beta': 2000}15:42
tseliotand so on15:42
tseliotthis is in nvidiadetector.py15:42
bjsnideri'll jot that down15:42
tseliota one line patch would do it15:42
bjsniderbut i don't see why there should only be one nvidia blob in there for each series of cards15:42
tseliotor, even better I could make it possible to put the additional driver in a text file15:43
tseliote.g. beta 200015:43
tseliotcurrent 100015:43
tseliotbjsnider: what do you mean?15:44
tseliotif your card is compatible with the driver you can install any of them15:44
bjsniderright now the current stable release by nvidia is the 190.5315:44
tseliotright15:45
bjsniderit breaks sound over hdmi, which worked int he 185. so some people need the 18515:45
bjsniderkde people should unquestionably be using the beta 195 driver, which has huge xrender improvements15:45
bjsniderand really, ubuntu isn't supporting this driver, nvidia is. you're supporting the packaging scripts, but the driver is pre-built15:46
bjsniderif the packaging scripts are bullet-proof, then you just say "go tak to nvidia about this" if someone complains15:46
tseliotit should be ok to keep additional drivers in a PPA. The fact that I have the time to work on this depends only on the fact that I'm on team swap which means that I can spend most of my time working for the desktop team (as usually I do OEM stuff)15:47
tseliotor, in other words, we lack manpower15:47
bjsnideroh, i will keep them in the ppa15:48
bjsnidermanpower is the only problem?15:48
superm1bjsnider, so if the modaliases for any of the beta drivers aren't installed they wont be offered in the first place15:50
superm1and since i expect beta drivers will live exclusively in a PPA, none of those modaliases would be installed unless intentionally done by a user15:51
tseliotsuperm1: good point15:51
tseliotbjsnider: yes, manpower has been the main problem so far15:51
bjsnideras far as packaging multiple drivers is concerned?15:52
tseliotyep and for bug triaging too15:52
superm1just so long as it's possible to produce beta drivers and have experienced users be able to install (albeit if they need to use command line or synaptic that's fine) i'm happy15:52
tseliotsuperm1: there's still the problem of setting alternatives with a command15:53
superm1tseliot, well wouldn't they just be treated as a new flavour though that gets registered in the alternatives system (assuming the same packaging base is used)?15:53
tseliotsuperm1: yes but users would still have to set the alternative that they want to use (as we use Manual mode for alternatives)15:54
superm1tseliot, oh in this line of thinking, normally is jockey the one setting that alternative that they want to use?15:55
tseliotthe alternative would be "installed" but not "set" (as the current one)15:55
tseliotsuperm1: yep15:55
superm1tseliot, ah well as long as it's documented somewhere i think that's fine15:55
tseliotsuperm1: and it switches back to the alternative for open drivers when a driver is uninstalled/deactivated15:55
tseliotsure15:56
bjsniderhow do they set it as the current one?15:56
tseliothmm... maybe I should make it switch to the open drivers alternative only if the driver that we're disabling is the one in use15:57
tseliotbjsnider: update-alternatives --set gl_conf path_to_the_driver15:58
tseliotexample: update-alternatives --set gl_conf /usr/lib/standard-x11/ld.so.conf15:58
tseliotfor open drivers15:58
tseliotor15:58
tseliotfor nvidia-current15:58
tseliotupdate-alternatives --set gl_conf /usr/lib/nvidia-current/ld.so.conf and so on15:58
tseliot(with sudo)15:58
bjsnideryeah but that's in the packaging scripts right?16:00
tseliot?16:00
tseliotthe debian/rules contains 3 lines (I'm not sure about the readme) which explain what to do to set the alternative16:01
bjsniderin other words, users don't have to do this every time they update a driver, it's done for them16:01
tseliotof course not. Once you set the alternative to a certain driver in remains such (unless you uninstall that driver)16:02
tseliotupdates won't alter that16:02
tseliotto be honest, I fixed this today ;)16:05
bjsniderbut if i want to go from the 190 to the 195, say i'm using kde for instance, i would have to use jockey or run the update-alternative commands manually, correct?16:09
tseliotyep16:09
bjsniderok. i have to know this when people start sending me emails complaining about it16:09
tseliotjockey will work only if after the modaliases are installed16:09
bjsniderwell, yes i know that much16:10
bjsniderbut that's a change from the old system16:10
tseliotright16:10
bjsniderthe diversions were done by the packaging scripts and what jockey did was properly mark the xorg.conf file16:10
tseliotyep16:11
bjsniderso i suppose this is philosophical. you want more people using jockey to handle driver installs16:11
Sarvatt[drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged :(16:13
tseliotbjsnider: true16:14
tseliotouch16:15
bjsniderwhat would theoretically happen if someone were to have the nvidia-current package installed, and then nvidia releases a new driver update, and this person goes to the nvidia site, grabs the nvidia installer and uses it to update the driver?16:15
tseliotbjsnider: the nvidia installer will stop16:17
tseliotthanks to some hooks that I put in nvidia-common16:18
tseliotbut I haven't tested yet16:18
bjsniderhaha, really? that's awesome16:18
bjsnideri love that16:18
tseliot:-)16:18
bjsniderit stops even if they run it with sudo16:19
tseliotyep16:19
bjsnideris there a message that says "you really don't want to be doing this" or something?16:19
tseliotthe nvidia installer has supported distro hooks for a while (I requested this feature)16:19
tseliotit simply says that the installation failed because of the distro hook16:20
tseliotbut it's still possible to override the hooks16:20
tseliotas the install16:20
bjsniderwell, the average user wouldn't know that16:20
tseliotas the installer has an option for that16:20
tseliotright16:20
bjsniderand if hte hooks are overridden i suppose he would bork his system16:21
tseliotyes, but there's nothing we can do about it16:22
tseliotand it's ok, as long as users understand that we don't support such altered systems16:22
bjsniderone other thing, about nvidia-settings. what's the deal on the elevated-permissions patch?16:23
tseliotwe use policykit to save settings in xorg.conf16:23
tseliotso that you don't have to run nvidia-settings with sudo16:23
tseliot(as you're not supposed to do so)16:24
bjsniderright but is there a patch? the bug report just kind of died at some point16:24
superm1with the xorg.conf.d stuff that's gonna land, we might need to change what's being written to as well16:24
tseliotbjsnider: in the package in my PPA16:24
tseliotit requires screen-resolution-extra16:25
tseliot(from my PPA)16:25
bjsniderxorg.conf.d?16:26
tseliotsuperm1: yes, we might end up either patching nvidia-settings and nvidia-xconfig or, even better, talk to Nvidia about it. The latter is what I plan on doing first16:26
superm1tseliot, the sooner the better with how long the delay is until stuff is in stable drivers16:27
tseliotsuperm1: I'll do it soon16:27
tjaaltonnvidia-settings is open source16:28
tjaaltonso it can be patched16:28
tjaaltonbut.. is there any need?16:28
tjaaltonlocal changes should still live in xorg.conf16:29
tjaaltonadmins can use xorg.conf.d, but I don't think tools should16:29
tseliottjaalton: the problem is that nvidia-settings writes input settings in xorg.conf too16:30
tseliotthus overriding what's in xorg.conf.d16:30
tseliote.g. touchpad quirks, etc.16:30
tjaaltonok16:31
tjaaltonyeah it should only touch the device section16:31
* tseliot -> desktop meeting16:31
tjaaltonand maybe screen etc for multihead16:31
tjaaltonsuperm1: does fglrx in lucid work with server 1.7?16:32
=== \vish is now known as mac_v
=== mac_v is now known as \vish
hggdh_can someone please have a look at bug 503041, and suggest a possible package?16:47
ubottuLaunchpad bug 503041 in ubuntu "Mouse lags while copying highlighted text." [Medium,Confirmed] https://launchpad.net/bugs/50304116:47
superm1tjaalton, not sure, i've not tested it.16:48
superm1i've just been maintaining packaging blow ups that are happening with new versions of the driver16:49
\vishFWIW , that ^bug is also present in Lucid... I dont see lags that the user mentions but the mouse pointer does jump .. if you are moving the pointer during copy... oddest user scenario though ;)16:49
tjaaltonsuperm1: ok16:52
tjaaltonhggdh_: can't reproduce it on either16:52
hggdh_tjaalton: neither can I, but at least three others (\vish included) can. I am tending to x-x-input*, but I am really not sure16:55
\vishtjaalton: it happens only while moving the pointer and doing a keyboard copy... i even wonder how the user triggered it unless looking to find this bug ;)16:56
Sarvatttseliot: do you know if your changes to the inputclass matching are going to bump the input abi again?17:19
Sarvattdont want to rebuild all the drivers against abi 9 if so is why I ask17:19
tseliotSarvatt: we're still discussing the right approach with upstream therefore I'm afraid I can't answer your question17:20
Sarvattgotcha, wasnt sure if adding new matches would be something that guarantees the need for an abi bump or not. thank you very much for working on that by the way, seems silly to expect people to fix things post install with how it is now :)17:23
Sarvatti think its really going to be needed in the touchscreen land as well17:24
Sarvattcan you just add matches to subsystem vendor and product id's instead of exporting dmi info though?17:25
jcristaui still don't understand why quirky hardware can't be fixed in the hardware driver, but oh well.17:25
tseliotSarvatt: what do you mean? Where are you suggesting to do that?17:26
tseliotjcristau: feel free to fix things in the kernel if you like ;)17:26
Sarvattlike there is a matchvendor and matchproduct which returns devices product/vendor id, but theres a subsystem vendor and product id specific to the hardware that everything has too that could maybe be used without needing the dmi info17:27
Sarvatt04:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2384]17:27
SarvattSubsystem: Acer Incorporated [ALI] Device [1025:015b]17:27
Sarvattthe 1025:015b part17:27
jcristautseliot: my touchpads work fine thank you.17:28
tseliot;)17:28
jcristauyou're the one trying to add ugliness to X and xf86-input-synaptics, so i'm just asking why this needs to be there, and so far not getting an answer17:29
Sarvattahh have to run, i'll read the logs :)17:29
tseliotSarvatt: as regards touchpads, those details are not enough for quirks17:29
tseliotjcristau: why do quirks exist? Same answer17:30
=== \vish is now known as vish
jcristaunot really no17:33
=== ripps is now known as ripps|sleep
bryycemorning17:46
Sarvattthat -nv gamma fix works here, -nv works again. 18:00
Sarvattmatching subvendor/product id's seems like it would let the quirks work for multiple oem's rebranding the same machine too, for instance I can use packard bell acer or gateway bios's on this machine and it returns a different manufacturer to DMI even though the pci subsystem id's are still the same acer oem ones, I've got a problem with dmi quirk matches in the kernel for i8042 reset not getting applied because they need the manufacturer to be 18:12
Sarvattacer even though the product is the same AOA150 to dmi. 18:12
Sarvattmy keyboard layout is also screwed up because udev does the same, i have to manually go in and change the gateway quirk to match the acer one for this bios18:12
Sarvattthe brightness up key gives me ± unless I change it18:13
bjsniderok, nvidia is now including opencl libs with the 195 driver18:26
Sarvattahh i see where that line of thinking is wrong, I'm thinking windows where that info is exposed for all devices and OEMs release their own customized drivers for their subsystem id ranges but I dont even see that info for a touchpad on linux18:43
bjsnideri've found the reason for the huge file size increase in the 195 nvidia blob. it now includes a file called libnvidia-compiler.so20:10
Sarvatthope I'm doing this right - https://bugs.edge.launchpad.net/gtg/+bug/45854523:30
ubottuUbuntu bug 458545 in xserver-xorg-video-intel "[Needs -intel 2.10] Cairo/Gdk shapes not visible on Intel gpu since Karmic" [High,In progress]23:30
Sarvatti dont know how to nominate it for release for xserver-xorg-video-intel, when I try to nominate it it only lets me for gtg23:37
Sarvattso I haven't subscribed ubuntu-sru to it because of that23:39
tjaaltonhttps://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/45854523:39
ubottuUbuntu bug 458545 in xserver-xorg-video-intel "[Needs -intel 2.9.1] Cairo/Gdk shapes not visible on Intel gpu since Karmic" [High,In progress]23:39
tjaaltonuse that url instead23:39
jcristauwhy do the titles disagree? :)23:41
tjaaltonit was edited in between :)23:42
Sarvattyeah i edited it, saw it said 2.10 when i linked it there23:46
Sarvattbut was fixed in 2.9.123:46
Sarvattthanks tjaalton, i tried changing it to https://bugs.edge.launchpad.net/xserver-xorg-video-intel/+bug/458545 but that didnt work23:48
ubottuUbuntu bug 458545 in xserver-xorg-video-intel "[Needs -intel 2.9.1] Cairo/Gdk shapes not visible on Intel gpu since Karmic" [High,In progress]23:48
tjaaltonyou need to have "ubuntu" in there23:49
tjaaltonno project named x-x-v-i23:49

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