/srv/irclogs.ubuntu.com/2008/09/22/#ubuntu-x.txt

=== seb128_ is now known as seb128
wgrantHmm, I see that there are significant changes to the server's XI property support...09:50
=== torkel__ is now known as torkel
tjaaltonwgrant: what where?11:23
wgranttjaalton: Configure/Query gone, more return values... Peter posted the patches to the list a few hours ago.11:24
tjaaltonwgrant: oh right, reading now11:24
wgrantI wonder if we want those in Intrepid.11:27
wgrantAs otherwise nothing will build post-release.11:27
tjaaltonwhat do you mean?11:28
wgrantIf we don't have those patches in Intrepid, people building XI-property-using apps on Intrepid will get annoyed.11:29
wgrantBecause the API differs.11:29
tjaaltonoh right11:30
wgrantAnd we'll probably be the only people with the ABI we have.11:30
wgrant*API11:30
tjaaltonwell, we also need the rest of the stuff before those can be pushed11:30
tjaaltonbut I'll update the server11:30
wgrantThe g-s-d and g-c-c patches will also need alteration since XQueryDeviceProperty vanished.11:33
tjaaltonhum, the patches are for master11:39
tjaaltonhardly surprising, but maybe I'll wait until he backports it for 1.511:39
wgrantAh, right.11:44
tseliottjaalton: I have put that fix for the nvidia driver in the postinst instead of the preinst since DKMS removes and adds directories in the postinst. It works well and removes those obsolete directories12:05
tseliotI have also updated the driver to the latest beta. I'll upload the source and post the links12:07
tjaaltontseliot: ok, cool12:07
tseliottjaalton: the source for the 2 drivers are here: http://albertomilone.com/ubuntu/newlrm/pitti/lista_ia.txt13:41
tseliotcan you upload them, please?13:41
tjaaltontseliot: done13:48
tseliottjaalton: thanks a lot13:48
tjaaltonnp13:56
=== superm1 is now known as superm1|away
mvotjaalton, tseliot: any idea about the following error: http://rafb.net/p/ElfRoh20.html ?15:34
mvothis happend after mvg upgraded to intrepid15:34
tseliotmvo: I haven't written a patch for kernel 2.6.27 since the driver would only build but wouldn't load because of the xorg ABI15:35
tseliotmvo: are you trying to use the driver with the old xorg and the new kernel?15:36
MvGtseliot: A patch to make do without asm/semaphore.h?15:36
MvGCompletely upgraded intrepid, kernel and xorg, afaict.15:37
mvotseliot: oh, so this nvidia packages does not work on intrepid at all? then I should remove it from update-managers nvidia detection?15:37
tseliotMvG: usually I can get rid of compilation errors. Making it work with the new xorg ABI is a different thing though15:38
MvGIf there is another nvidia package likely to work instead of that one, you might.15:38
mvotseliot: which of the nvidia drivers are affected by this?15:38
MvG-93 iirc, checking...15:38
tseliotmvo: I have worked on nvidia-common so that we can blacklist certain drivers and suggest/force the use of open drivers if necessary15:38
MvGnvidia-glx-9615:39
tseliotmvo: it's not finished yet since it lacks the support for x-kit15:39
tseliotmvo: it affects 96 and 7115:39
tseliotand fglrx15:39
MvGSo you'd suggest switching to open nv drivers for the time being?15:39
tseliotMvG: yes15:40
MvGHave you checked whether other distros might have done work migrating to new X abi?15:40
MvG(As I'm running an nvidia driver on Gentoo testing as well, though probably a different version)15:40
tseliotMvG: that's something that only NVIDIA can do15:40
jcristauMvG: that would only be doable if we had the source15:41
MvGIt's in the closed part of the code? Too bad!15:41
tseliotyep15:41
mvotseliot: thanks for this information. should I just wait then for nvidia-common or modify the update-manager code to do something if those drivers are detected15:41
jcristauMvG: there's pretty much no open part15:41
MvGjcristau: Well, at least they do have enough iopen source code to be compiuled on the client to cause the compiler errors mentioned in my paste... :-/15:42
jcristauMvG: that's the kernel part15:42
MvGjcristau: True. Point taken.15:43
jcristauwhich, indeed, has a small sourceful wrapper15:43
tseliotmvo: I'll preserve nvidia-common's current behaviour so that it doesn't break Jockey and Update Manager15:43
MvGI guess one could technically tweak the symbol table of the closed source driver in order to replace official X interfaces with compatibility wrappers. I don't know the overhead for this, and neither the legality.15:44
tseliotmvo: however, when the new nvidia-common is finished you'll have to modify Update Manager a bit so that it can use the new blacklisting functionality15:44
jcristauMvG: changes are big enough that a compat wrapper would be a lot of work, if at all feasible15:45
tseliotMvG: the symbol itself is not the main problem. AllocatePrivateScreenIndex is the problem15:45
tseliotafter all we're talking about an ABI which was changed15:46
MvGI notice that nvidia offers 96.43.07 for download, dated July 16, 2008. Ubuntu installed 96.43.05-0ubuntu10.15:48
MvGI can see no obvious ChangeLog, though.15:49
tseliotbelieve me, if it had solved the problem I would have updated the driver in July.15:49
MvGOK.15:50
tseliottjaalton: did you upload my patch? https://bugs.launchpad.net/bugs/27182315:52
ubottuUbuntu bug 271823 in xfree86-driver-synaptics "[intrepid] touchpad less responsive and top/bottom-right corner tapping disabled" [Undecided,Confirmed] 15:52
tseliotit works for another user too15:52
mvotseliot: I'm slightly worried that we currently have 3 (closed source) video drivers that will fail to upgrade and give the user a bad expeience and beta freeze is just three days ahead. I imagine a lot of users will upgrade at beta time and I would really like to transition them autoamatically to free drivers if the closed-source drivers can not be fixed. what do you think about it? I would (naturally) do it in update-manager, but if its done in15:59
mvo nvidia-common or via fallbacks somwehre else that is fine with me of course 15:59
mvo(well, not fail to upgrade but fail to work after the upgrade :)15:59
tseliotmvo: I was thinking that you could use nvidia-common as a library and pass it the driver which you would like to blacklist16:01
tseliotmvo: I will try to finish it in time, ok?16:02
tseliotin time for the freeze, I mean16:03
mvotseliot: it seems to me that is "selectDriver()" would just not return the two that do not work, then we are done, or am I missing something?16:05
tseliotmvo: but if a user is using a driver with the old name scheme that wouldn't be removed and will cause problem during the update16:08
tseliots/problem/problems/16:09
tseliotmvo: I have written a method which returns the driver which should be used in the xorg.conf16:10
mvotseliot: how is that called?16:10
tseliotso that if a driver is blacklisted, a free alternative will be returned16:10
mvois that not "selectDriver()" ?16:10
mvo(because that is what I use in update-manager) 16:10
tseliotmvo: currently it's filterDrivers() but I haven't uploaded the new release yet16:11
tseliotmvo: selectDriver() is ok and returns the right package to install16:11
tseliotI know, filterDrivers sucks as a name16:11
mvook, thanks. so currently it will return nvidia-glx-96 for example but if nvidia-common gets updated it would return xserver-xorg-video-nv ?16:12
mvowill xorg.conf rewriting (if one exists) be hanlded by nvidia-common then too?16:12
tseliotmvo: not exactly. You can pass the constructor a dictionary with the proprietary (e.g. nvidia) and the free driver ('nv') for a certain kind of driver together with the version you would like to blacklist (e.g. 96)16:14
tseliotthen filterDrivers() would return either the proprietary (nvidia) or the free (nv) driver16:14
tseliotwhile selectDriver() will still return the nvidia package with the new name scheme16:15
mvowouldn't it be better to put the blacklist into nvidia-common too? so that we have the information in one place what drivers do not work? otherwise both update-manager and jockey would have to have the blacklist information (two places instead of a single one)16:16
tseliotbut of course if filterDrivers() returns what you passed as the free driver then you shouldn't install the new driver but simply remove the old one (in self.oldpackages)16:17
tseliotmvo: yes, sure I can do it in nvidia-common. Furthermore I'll add another module so as to deal with the xorg.conf with x-kit16:18
tseliotbut then the debconf message will have to be updated (so that users are informed about what's going to happen)16:19
mvotseliot: ok, thanks. keep me updated, I will modify update-manager then to use the new interfaces16:19
tseliotmvo: ok, I'll work on it and get back to you as soon as it's ready16:20
mvotseliot: debconf> I was thinking that we may want to put a custom message in update-manager so that users who do not want to loose desktop effects get a warning before the upgrade about the fact that they will loose the nvidia/fglrx drivers16:20
jcristauthey can has compiz with radeon though, at least on r50016:21
tseliotmvo: sure, it's a good idea. I was referring to debconf because I was thinking about the users who will dist-upgrade from the command line16:21
=== superm1|away is now known as superm1
mvoright, its good to have both I think16:22
tseliotmvo: in any case the proprietary driver should be removed otherwise the open source counterpart won't be able to use mesa properly16:23
mvojcristau: yeah, that is very cool (I have a r500 myself and I'm pretty impressed with the new ati)16:23
mvotseliot: right16:23
sorenA bit of help? I'm trying to figure out why I don't have any dead keys anymore?16:48
sorenI used to be able to press ´a and get an accented a, but now I just get the accent straight away.16:49
soren"setxkbmap -print" doesn't say nodeadkeys anywhere.16:49
macowhen compiz is in use and gstreamer's video playback is buggy, is that a gstreamer bug, a compiz bug, or a driver bug?18:01
brycemorning18:20
tseliotmaco: what do you mean by buggy? Which card/driver do you use? Can you reproduce the problem using xine?19:38
macotseliot: not my bug, just triaging. bug 270723  i marked it for xserver-xorg-video-intel but i wanted to check19:40
ubottuLaunchpad bug 270723 in xserver-xorg-video-intel "Movies don't move with Compiz" [Undecided,Incomplete] https://launchpad.net/bugs/27072319:40
jcristauprobably expected if you're using the overlay.19:42
jcristauthe textured adaptor should work fine19:43
tseliotjcristau: ah, textured video19:43
jcristautseliot: hmm?19:43
macoi assume that's somewhere in totem's preferences? i use totem-xine for better dvd support, so idk how the gstreamer one works19:44
jcristaumaco: what's the first adaptor listed by xvinfo?19:45
tseliotjcristau: there was an option to tell X (explicitly) to use Textured Video in the xorg.conf19:45
macojcristau: should i ask that of the bug reporter?19:46
tseliotjcristau: aah, we had a patch thanks to which we could enable/disable textured video in ubuntu > Option "TexturedVideo" "true"19:50
tseliotbut it should be used automatically now19:51
tseliotmaco: I have added a comment to the bug report with the instructions to configure gstreamer19:55
tseliotoh, you have replied too19:55
macotseliot: yours is better. i dont know where the settings are and what the options are in totem-gstreamer19:56
macothough this does make me want to ask what to do about that thing where video goes blue with xine+compiz19:57
tseliotmaco: have a look at what I suggested here: http://ubuntuforums.org/archive/index.php/t-456842.html19:59
tseliotor here: http://ubuntuforums.org/showthread.php?t=53297619:59
macotseliot: alright, thanks20:00
tseliotmaco: thanks for dealing with these bug reports20:00
macotseliot: the file you pointed to in that forum post doesn't exist20:01
tseliotmaco: the configuration file?20:01
macoright20:01
macoi would assume there's some syntax beyond typing in the word xshm and saving it20:02
tseliotmaco: try with ~/.xine/config20:05
macoalso doesn't exist20:06
macoer, should say i'm using hardy20:06
macoin case that makes a difference20:06
tseliotmaco: in Hardy I have both .gnome2/Totem/xine_config and ~/.xine/config20:08
tseliotbut I guess you'll have to install and use (at least once) totem-xine and xine20:08
macoi do use totem-xine20:10
macobecause gstreamer doesn't do dvd menus20:11
macowhat's the syntax for those files?20:11
tseliottry .config/totem/xine_config20:12
macotseliot: ah yeah that one exists20:13
tseliotmaco: ok, replace #video.driver:auto with video.driver:xshm (yes, without #)20:14
tseliotand see if it solves the problem20:14
macotseliot: thanks. i'll test it when i'm not in class :-X20:15
tseliotmaco: ah, ok, have fun then ;)20:18
* tseliot > off for a bit. Bbl20:18
tjaaltontseliot: sorry, I'll add it tomorrow20:36
brycesuperm1: I've sorted out that gradient banding problem20:43
brycesuperm1: turned out to be more difficult than I'd bargained for to enable dithering, but it looks pretty good now.  Not perfect, but you really have to look to see the banding now.20:44
superm1bryce, ah great to hear20:44
brycesuperm1: apparently the registers on this hardware were moved around to make room for the display port stuff20:49
superm1bryce, so it's a special case of the 3670, or this will help all 3670's?20:51
bryceall 3670's20:51
superm1ah very good.  that will help some other platforms coming out too then20:52
brycesuperm1: actually, I'm not sure if 3670 == rv635, or is more or less inclusive, but I structured this patch to target rv620, rv635, rs780, rv770, all of which have the register change as I understand it20:53
brycein any case, if the issue crops up again, I know how to fix it better now :-)20:54
superm1awesome20:54
brycehowever I think it may require a deeper fix to make it perfect - the banding is still there if you look really closely20:54
brycemost people probably won't care, but hardcore Inkscape users would probably freak out ;-)20:54
superm1how is the card looking otherwise?20:55
brycegreat, haven't seen any other major problems, although I've not pushed it too hard.  I'll do some power management and xrandr trickery20:56
bryceruns kinda hot21:02
tseliottjaalton: no problem ;)21:02
brycepatch uploaded21:34
superm1tseliot, is python-xkit adding Disable "dri2" to xorg.conf?21:53
superm1when enabled via jockey21:53
tseliotsuperm1: yes21:54
tseliotis it a problem?21:54
superm1tseliot, yes it causes amdcccle to crash21:54
superm1because it doesn't think disable is a valid keyword21:54
superm1is it still necessary that it be there?21:54
tseliotsuperm1: no, I can remove it21:55
superm1tseliot, yes please do21:55
superm1thanks21:55
tseliotsuperm1: I'll have to do that in jockey21:55
superm1tseliot, i'll file a bug in jockey about it so that pitti is aware of it coming then too21:56
tseliotsuperm1: ok, great. BTW that would only require the fglrx handler to be modified21:57
tseliotsuperm1: feel free to assign the bug to me21:57
superm1tseliot, okay will do21:58
tseliotgood21:58
superm1tseliot, i'm assuming the no reboot dialog popup is affecting all drivers not just fglrx?21:59
superm1or is there a quirk needed for that too?21:59
tseliotsuperm1: it will affect all drivers22:00
superm1tseliot, okay then i'm sure pitti is aware of that22:00
tseliotsuperm1: yes, we have talked about that. I'm working with him on jockey22:01
superm1other than this dri2 thing, and needing to depend on fglrx-modaliases when it works with xorg 1.5, i dont see any other things standing out as bugs particularly with fglrx and jockey then22:02
tseliotsuperm1: great. Furthermore thanks to my recent work jockey removes the fglrx-kernel-source package too22:04
superm1tseliot, yeah i saw that in the bug mail, but i've not been able to test it since the upload was a FTBFS22:05
tseliotsuperm1: you refer to fglrx, right?22:06
superm1tseliot, no i mean jockey was FTBFS22:07
superm1the latest upload that pitti sent up22:07
tseliotI didn't know that22:07
superm1https://edge.launchpad.net/ubuntu/+source/jockey/0.5~alpha1-0ubuntu3/+build/72111422:07
superm1pitti should have gotten some build mail about the FTBFS, so he should be aware22:08
tseliotsuperm1: I bet he's aware of it. Either way I'll have a look at the code tomorrow.22:09
=== superm1 is now known as superm1|away

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