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

Sarvattricotz: I guess your segfault isnt nouveau specific - http://lists.freedesktop.org/archives/mesa-dev/2010-May/000865.html10:06
ricotzSarvatt, oh, thanks, this sounds promising, i will try this patch later10:22
Sarvatti just told airlied about you having it on nouveau too and the good and bad commits and passed along your backtrace in #dri-devel, might want to join there in case they discuss the problem :D10:25
Sarvatti dont see the problem on i915g, seems to be limited to nouveau and radeon10:26
Sarvattohh i'm wrong10:37
Sarvatttexture_from_pixmap in mesa/demos segfaults the same way on i915g10:38
Sarvatthttp://pastebin.com/Z3UKydSM10:45
Sarvattjcristau: do you have a script for converting things to xtrace .proto's or did you do dri2 by hand?12:19
jcristauSarvatt: did it by hand12:55
jcristaufrom dri2proto.{h,txt}12:55
Sarvattah ok, wasn't sure if i was missing out on some magic script before looking into updating some of the protos :)12:56
Dr_JakobSarvatt: yeah all the gallium drivers share the same dri code.13:49
Sarvatthmm, doesn't glproto need to be updated following http://cgit.freedesktop.org/xorg/proto/glproto/commit/?id=f2b9a6a29edf930f30eade7a0abe40a6d3c4962b ?15:57
* Sarvatt is updating some things in xtrace's glx.proto15:58
Sarvatterr sorry I meant http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.8&id=42ea25cb4ecae09b5cc011a95d42ba7f0645dde315:58
SarvattGLX_BLIT_COMPLETE_INTEL was changed to GLX_COPY_COMPLETE_INTEL but its still BLIT in glproto15:58
Sarvattwhat the heck am I talking about, no glxext.h in glproto!16:03
Sarvatt#define GLX_BLIT_COMPLETE_INTEL0x8181 in glxtokens.h though16:05
Sarvattwell sent the patch for it to the lists at any rate, it's COPY instead of BLIT on the official spec - http://www.opengl.org/registry/specs/INTEL/swap_event.txt16:34
Sarvattwonder what that screws up16:35
Sarvattclutter is using BLIT...16:36
=== JanC_ is now known as JanC
Sarvattoh hell, need to add 65k placeholders to put all glx opcodes in xtrace?!17:03
Sarvattwanted to put the GLX_EXT_texture_from_pixmap ones in there at least but those are 1k in even :(17:05
Sarvattguess i'll have to add logic to it to recognize something like SKIP 1000 in the lists17:06
Bernardohi17:10
Sarvattheyo Bernardo17:12
Bernardohi Sarvatt17:12
Sarvatthow goes psb by the way? an old friend was asking me about it and i'm not sure how far you guys got it17:12
Sarvattmight try to convince him to swap his psb netbook for my aspire one that I've used as my main machine for 1.5 years now, dont think i'm right in the head :)17:13
BernardoI got stuck trying to "free" the psb driver from the moblin or meego repositories17:13
BernardoI've swapped my A1 for my 1101HA... :)17:13
Sarvattyeah its gonna need a bunch of work, i'd just wait for the meego release with mrst support17:14
Sarvatthopefully its not too far off, they didnt release it yet.. its the handset variant17:14
BernardoYes, they dropped psb from the main release17:14
Bernardothe interesting part is that they are merging psb with pvr17:14
Sarvatti think it was only in ivi before17:15
Sarvattwasn't in the main netbook one, pretty sure of that17:15
Bernardoit was in the test builds in the main core17:15
Sarvattwhich aa1 did you have?17:15
Bernardothe first one, 8GB slow SSD17:15
Sarvattah yea thats what i have except the hdd model, i love this thing to death17:16
Bernardowhich I later replaced with a 32GB CF17:16
Sarvattgot 2 10 hour batteries for it and it fits in a coat pocket :)17:16
BernardoIt is very nice, but the 7 hour battery is huge17:16
BernardoI now get 6h +- on the 110117:16
Bernardoand a lovely 1366x768 screen17:17
BernardoAs for meego/psb, my main problem was that the driver is a large kernel patch, and splitting it to build as dkm module is taking a lot of work. I hadn't done any programming in 10+ years, and it shows17:18
BernardoSarvatt: did you try building the xorg driver?17:20
Sarvattyeah i haven't been able to justify screwing with it without an actual machine to try it on :)17:20
SarvattBernardo: if you do use the meego psb x driver be sure to configure it with --disable-dri217:20
Sarvatt(dri2 needs gallium)17:20
BernardoYes, i tried passing it to the build. But I get a strange error17:20
Sarvattwhy dont ya try booting that moblin image with psb on it from january and extract all the blobs it needs from there? i couldn't find it in any source packages but its probably named funky17:21
Sarvattwhat error?17:21
Sarvattshouldn't be hard to fix, look at other drivers in git during the transition to xorg 7.517:21
Sarvattshould just need the xext check and wrapping some headers behind xserer version check ifdefs, can see what to do from the psb patches you have packaged up now17:22
Bernardono, that I did17:23
Bernardowait17:23
Sarvattoh good clutter checking for GLX_BLIT_COMPLETE_INTEL is wrapped in an #if 0 so that doesnt matter17:23
BernardoI'll turn on the netbook to see if I can reproduce the error17:24
Sarvattoh you got an error after it built? thought ya meant compiling it17:25
Bernardono, building it17:28
Bernardoin a header17:28
BernardoI'll just try to reproduce and pastebin it17:28
Sarvattoh yea need to build against crap you dont want to install on a non psb system, gotcha :)17:31
Bernardo:)17:31
Bernardoalso this machine is x86-6417:31
Bernardoso I'd need a chroot17:31
Bernardook, I'm building now. Hopefully it won't take much to get to the build error17:38
Bernardohttp://pastebin.com/1DeAXKx2 is the error, and http://pastebin.com/0iFw3AER is the header it complains of17:42
Bernardoand my limited c knowledge doesn't let my find any error in that header17:42
Sarvattoh17:43
Sarvattyou dont use libdrm-poulsbo anymore with those packages17:43
BernardoI added line 582 jut to try to find it17:43
Bernardono, but moblin provides its own psb headers17:43
Sarvattyou need the psb-kernel-source srpm headers17:43
Sarvattyeah, you're using those?17:43
Bernardoyes, I used those17:43
Bernardounless things got corrupted, I'll try reinstalling the deb I did for them17:44
Bernardopsb-headers: /usr/include/psb_drm.h17:44
Bernardoshould be right, but...17:44
Sarvattare the headers from the same release you grabbed the ddx from?17:44
Sarvattthe ones out of the srpm i have handy are #define PSB_PACKAGE_VERSION "5.1.0.32L.0120.1"17:44
Sarvattyours is #define PSB_PACKAGE_VERSION "5.1.0.32L.0124"17:45
Bernardoyes, they are all from moblin, built from the moblin repository17:45
Sarvattthey have at least 10 different repos though17:46
Sarvattits so darn convoluted17:46
Bernardo:(17:46
BernardoI know17:46
Bernardothe headers were from psb-headers-1.0.13-1.1.moblin2.src.rpm17:46
Sarvattwhats the xf86-video-psb version?17:46
Bernardoxf86-video-psb-5.1.0.0112-1.3.moblin2.src.rpm17:47
Sarvattargh my headers were 1.0.12 and from the latest meego, wtf17:47
Sarvattforgot i had moblin stuff in another directory17:47
BernardoI looked at meego, but the 0.9 builds had only the kernel and the headers, not the xorg driver17:48
Sarvattdid you build libwsbm too?17:49
Bernardoyes17:49
Sarvattto prefix /usr?17:49
Sarvatthow about if you use --enable-dri2?17:49
Bernardo"/usr/lib/libwsbm.so.1.1.0"17:50
Bernardo"/usr/lib/libwsbm.so.1"17:50
Bernardodid my deb from the libwsbm-1.1.0-3.11.src.rpm17:50
Bernardook, time to try that17:51
Sarvatthave a /usr/lib/pkg-config/libwsbm.pc?17:51
Sarvatterr pkgconfig17:51
Sarvatti'd just remove that and install it locally17:51
Sarvattnah it aint libwsbm anyway17:53
Bernardoyes, I also created a dev package with that, the header files and /usr/lib/libwsbm.so (from the rpm spec)17:53
Bernardoenable-dri2 doesn't change, it fails the same way17:53
Bernardodoh17:56
Bernardo#define OV_REGRWBITS_OVADD                       (1 << 0)17:56
Bernardothen later uint32_t OVADD;17:56
BernardoI wonder if the moblin guys ever tried to compile this driver or checked these headers17:57
Sarvattdo you have any psb junk in /usr/include/drm or /usr/include/X11/dri?17:57
Sarvatt(i'd uninstall libdrm-poulsbo too)17:58
Bernardono, nothing there17:58
Bernardolet me try removing libdrm-poulsbo then17:58
Sarvatthmm your psb-drm.h is different than mine from the same source package?17:59
Sarvattstruct {18:00
Sarvattuint32_t OVADD;18:00
Sarvattuint32_t OGAMC0;18:00
Sarvattuint32_t OGAMC1;18:00
Sarvattbah nevermind i'm looking at the meego ones still18:00
Sarvattno, i'm not actually18:00
BernardoI still don't know why gcc doesn't like that uint32_t OVADD;18:00
BernardoI added a line before that, to see if it was some non-printing char between { and uint32_t OVADD;18:01
Sarvattyou pastebinned this18:01
Sarvatt    struct {18:01
Sarvatt                uint32_t maria_amelia;18:01
Sarvatt                uint32_t OVADD;18:01
Sarvatt                uint32_t OGAMC0;18:01
Sarvattdifferent from mine18:01
Bernardothe unedited file is http://pastebin.com/gLcKnJV818:01
Sarvattoh ok18:02
BernardoStill fails the same way, without libdrm-poulsbo18:02
BernardoI need to add a svn or bzr branch with what I've done so far, so that someone competent can look at it18:03
Sarvattthink i'll set up a chroot to test, mind is going numb from working on xtrace all morning18:03
Bernardobrb18:03
Bernardo:)18:03
SarvattBernardo: can you send me all your source?18:03
Bernardowife's calling18:03
BernardoSarvatt: yes, pm me and I'll tar it and send it to you in 30m18:03
Sarvattokie, need to set up a new chroot anyway18:03
=== ripps_ is now known as ripps
pwnguinok, something went dramatically wrong with 10.04 nvidia the other day21:14
pwnguinas in glx is busted and causes gdm / X11 to segfault wrong21:15
pwnguini will say, its nice that i network manager works on the command line21:15
pwnguini'm going to blame  195.36.24-0ubuntu1~10.04 0 500 http://archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Packages21:16
bjsniderwhat does glxinfo give you?21:19
pwnguinright now?21:20
pwnguinmesa because i installed all that crap21:20
pwnguinuninstalled21:20
pwnguini mean, i hope it's mesa21:20
pwnguinheh21:20
pwnguinglxinfo is not installed =P21:20
pwnguinserver glx vendor string: SGI21:21
pwnguinserver glx version string: 1.221:21
pwnguindoes glxinfo work without X11 running?21:21
pwnguinserver glx vendor string: SGI21:23
pwnguinserver glx version string: 1.221:23
pwnguindoh21:23
pwnguinhttp://pastebin.com/zXM8DZSv21:23
pwnguinmaybe i'll give nouveau another spin21:26
bjsniderwhat card is this?21:31
pwnguin6600gt21:33
pwnguindid i get hit by another round of obseletion?21:33
bjsniderit's on the backside of the supported cards list21:35
bjsnideri heard once that the 6600 series had some issues but that was a long time ago21:35
bjsnideryou'd get opengl 2.1 probably instead of 3.3 or 4 if you have a newer card21:36
bjsniderthe thing to do is to install the blob and troubleshoot any issue that arises, not to put nouveau in there because you don't feel like having to do so21:38
Sarvattpwnguin: if glx was busted the alternatives just werent set up right most likely, might want to just try reenabling it in jockey and it'll probably go away :D21:52
Sarvatthah Bernardo, moblin psb doesnt even compile on moblin, same error21:52
Sarvattit makes it one more file before failing with the same error21:54
Sarvatt/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm   -I/usr/include/drm -I/usr/include/X11/dri   -I/usr/include/wsbm   -Wall -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT psb_ws_driver.lo -MD -MP -MF .deps/psb_ws_driver.Tpo -c -o psb_ws21:54
Sarvatt_driver.lo psb_ws_driver.c21:54
SarvattIn file included from psb_dri.h:37,21:54
Sarvatt                 from psb_driver.h:70,21:54
Sarvatt                 from psb_dga.c:12:21:54
Sarvatt/usr/include/psb_drm.h:582: error: expected identifier or '(' before numeric constant21:54
Sarvatt/usr/include/psb_drm.h:583: error: expected ';' before 'uint32_t'21:54
Sarvattok thought that was less lines, sorry :)21:54
pwnguinSarvatt: interesting21:58
bjsnideris that just sloppy code?22:03
bjsniderthey left out a semicolon?22:03
bjsniderSarvatt, http://www.nvnews.net/vbulletin/showthread.php?t=15147922:09
bjsniderthat's a spicy meat-a-ball22:09
Sarvattrawr!22:09
Sarvattcomplete file layout overhaul again right? :)22:10
bjsnideryeah, i'm sure22:10
bjsniderthat would be funny22:10
bjsniderjust run into nvidia's headquarters and yell "is there a psychiatrist in the house?"22:10
Sarvattso whats fixed?22:11
bjsniderthat powermizer issue22:11
* Sarvatt is too busy packaging to look22:11
Sarvattah22:11
bjsniderthat's all they put in the changelog, but they leave things out of it these days, so there could be more.22:12
Sarvattoh i didnt even notice that was all the put about it, the one line blended in with the rest of the crap22:15
bjsnideryeah but they have gotten into the habit of leaving things out22:17
Sarvatthmm they removed the dithering controls from nvidia-settings too22:18
bjsniderremember when they used to put 'improved compatibility with recent kernels' in there? that helped us figure out when we could drop the kernel patches22:18
Sarvattlol22:19
Sarvatti think they stopped because they actually keep on top of it now :)22:19
bjsnidernope22:20
Sarvattwell not as bad as it used to be at any rate, nothing like fglrx :)22:21
bjsniderit was never that bad22:24
bjsniderthey are always compatible with kernels in use in the distros, yes. but they are not always compatible with newly released kernels22:24
pwnguin"update-alternatives: warning: skip creation of /usr/lib32/vdpau/libvdpau_nvidia.so.1 because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.1 (of link group gl_conf) doesn't exist." 22:27
Sarvattyeah thats just a harmless message22:29
pwnguinwell you mentioned alternatives so i just wanted to make sure22:29
Sarvattbjsnider: for 2.6.29 it took them well into 2.6.30 to catch up if i remember right22:29
Sarvatterr 2.6.28 i mean22:29
pwnguinwell, i'll reload and see if anything magically is fixed22:30
Sarvattpwnguin: sudo update-alternatives --config gl_conf22:30
Sarvattis nvidia-current picked?22:30
pwnguini have two22:31
pwnguinone is manual ode and one is auto mode22:31
Sarvattthere's another problem with the nvidia packaging that i've seen, all the headers are in /usr/include/nvidia-whatever/ and no alternatives back to /usr/include/22:31
Sarvattis one of them picked?22:32
Sarvatthas a*22:32
pwnguinyep22:32
Sarvattyea just dont change it then, you're good to go after a reboot22:32
pwnguini hope22:32
pwnguinlets find out22:32
pwnguinbrb22:32
Sarvattunless you did something else like install fglrx...22:32
SarvattIf intel_iommu=off prevents the crash, then this is a bug which should be fixed in the next release.22:35
Sarvattoh boy :)22:35
Sarvattnew releases out the wazoo22:36
pwnguinim not crazy22:39
pwnguini know its hard to tell right now, but im not generally clueless22:40
Sarvattits not working?22:45
pwnguinnot yet but i'll get it there. lemme try a few things first22:46
Sarvattor was that in response to the fglrx comment.. I'm slow :)22:46
pwnguinfglrx22:46
pwnguinthis box is going to be a bit quirky22:47
pwnguinits been dist-upgraded since warty22:47
Sarvattwow those new nvidia blobs built fast in x-updates22:47
pwnguinalright, i gave jockey a chance to configure things as it sees fit, we'll see if its smarter than me22:48
pwnguinbrb again22:48
Sarvattdid you make any changes in /etc.X11/xorg.conf?22:48
Sarvattbefore when the crashes started22:48
pwnguinwell here's the deal22:51
pwnguinthe desktop hardlocked22:51
pwnguinso i rebooted22:51
pwnguincame back and decided it might be video playback and checked for updates to banshee and nvidia22:51
pwnguinlow and behold, nvidia had updates22:52
pwnguinupdated from proposed and when i came back it tanked hard.22:52
Sarvatthmm mesa update in lucid-updates?22:52
pwnguinit was all kinds of messed up22:52
pwnguindpkg's available packages file was nicely corrupted or something22:53
pwnguinso apt-get wasn't working on install22:53
pwnguinthen the filesystem crashed and went readonly22:53
pwnguinso im not really ready to blame anything at the moment other than me or my old computer22:54
pwnguinanyways, i moved my xorg.conf out of the way and removed all the nvidia components, and then gdm stopped crashing22:55
pwnguinif i can reproduce the problem then it's just the worlds least fortunate series of events22:56
pwnguinah, sweet relief23:04
pwnguinserver glx vendor string: NVIDIA Corporation23:04
pwnguinserver glx version string: 1.423:04
pwnguinfonts look odd though23:04
pwnguinmaybe it's just an illusion from dealing with crappy resolution23:06
pwnguinSarvatt: thanks for the tips and attention23:06
pwnguinworst dist-upgrade evar23:06
pwnguinand thats including the time someone uploaded a busted nvidia that spwaned the invention of -proposed23:07
Sarvattlooks like i find some other kind of bug with busted nvidia, just spent the past hour fighting that machine while the wife waited to use it.. lol23:30
Sarvattactivate nvidia-173, reboot, purge nvidia-173 and upgrade kernel23:31
Sarvattwouldn't let me install nvidia-current again, i was getting those funky nvidia-173 already removed messages in the jockey log some guy had in here the other day23:31
Sarvattlike it updated the wrong initramfs and left 173 stuff in the old one23:33
bjsniderdoes your wife prefer linux or some other operating system?23:39
Sarvattshes using one of my laptops now so she doesnt get a choice :D only thing she misses is photoshop though23:41
bjsniderphotoplop23:44

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