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

libvah michaellarabel, you're awake :)02:46
RAOFHm.  What have I broken in nouveau?04:40
RAOFOh.  I may have built it against broken headres.04:57
RAOFAha!  It was, of course, option 3.  "lbm-drm" != "drm_lbm"05:28
RAOFCombined with VESA hating kms with a passion.05:35
Duke`interresting: http://bugzilla.kernel.org/show_bug.cgi?id=1500406:23
ubottubugzilla.kernel.org bug 15004 in Video(DRI - Intel) "i915: *ERROR* Execbuf while wedged" [Normal,New]06:23
SarvattRAOF: did you see someone already released 2.4.17-0ubuntu2 without updating git?14:14
Sarvattsome ports people needed libdrm-intel1 to build on arm and powerpc so plymouth would build there14:15
jcristaulibdrm-intel on arm and powerpc?  srsly?14:17
Sarvattyeah tell me about it..14:22
Sarvatteasier to make libdrm-intel generic than fix plymouth i guess14:23
jcristauwhy don't they fix the actual bug instead?14:23
Sarvattfedora builds it on all arches as well14:23
jcristaustill doesn't make sense :)14:24
Sarvatti tried to explain that but the person i was talking to was convinced intel might make an arm chipset because of xscale... :D14:27
jcristau*shrug* not my problem anyway.14:43
bjsniderwhy are people getting OpenGL version string: 2.1.2 NVIDIA 190.5315:11
bjsniderwhen they do glxinfo?15:11
bjsniderthat's the wrong opengl version15:11
bjsnidershould say 3.215:11
Sarvattbjsnider i just said why in #ubuntu+1 :D not all cards support all of the extensions for 3.2, they dont just show 3.2 globally because the driver supports it15:19
Sarvattonly G80 or newer does opengl 3+15:20
SarvattThe new features in OpenGL 3.0, OpenGL 3.1 and OpenGL 3.2 require G80, or newer hardware. Thus OpenGL 3.0/3.1/3.2 is not supported on NV3x, NV4x nor G7x hardware.  - from http://developer.nvidia.com/object/opengl_3_driver.html15:24
hyperairwhat about nv1x? =p15:25
Sarvattnot supported by that driver at all so they didnt reference it :D i'm sure its opengl 1.4 or 1.5 though15:26
Sarvattor not15:27
Sarvatteww :D15:27
Sarvattyeah 1.315:28
vishSarvatt: could you have a look at Bug #515548  , it is logging the errors right now , any other info i can attach to the bug report?15:37
ubottuLaunchpad bug 515548 in xserver-xorg-video-ati "Radeon errors overflow in gdm logs. Makes root run out of space." [Undecided,New] https://launchpad.net/bugs/51554815:37
* vish watches disk space running out :(15:44
Ngdear xinput, please sit still! love, Ng16:09
Sarvatti'd like to know why the xorg log is going to the gdm log in the first place16:34
Sarvattthe useful gdm log info is getting overwritten by the xorg log stuff16:35
jcristauXorg stderr goes to gdm.log16:36
Sarvattdoes your Xorg.0.log have all those CS section size missmatch start errors Ng? the ones attached to the bugs dont16:43
NgSarvatt: I'm not entirely sure what errors you're referring to, but "CS" doesn't occur in any of the Xorg logs I have on-disk right now16:44
Sarvattthe ones filling your gdm log, ah16:45
Sarvatthave you tried xorg-edgers to see if its any different with the newer mesa/ati?16:46
bjsniderSarvatt, i didn't know the nvidia blob was so intelligent that it enables certain extensions depending on the hardware it's driving...16:50
Sarvattit happens when watching videos with Xv right?16:51
jcristau"intelligent"?16:51
jcristauit's like 3d driver 10116:51
Sarvatt./radeon/radeon_cs_gem.c:        fprintf(stderr, "CS section size missmatch start at (%s,%s,%d) %d vs %d\n",16:55
Sarvattare there any upstream bugs about it that you know about Ng? it'd be easy to disable the error reporting from libdrm if you just want it fixed on your system and its working right but its obviously a bug with ati17:01
Sarvattwhat are you doing when it writes that? watching a video with Xv or just using the system?17:01
Sarvattcan ya sudo tail -f /var/log/gdm/:0.log in a terminal while you use the system to see?17:02
NgSarvatt: I think you may have me confused with someone else, I'm not using an ati system or havnig problems with video, I was just whining at xinput for changing device names, breaking my scripts ;)17:02
Sarvattohh I'm really sorry Ng, indeed it was vish having the problem17:03
Ngnp :)17:03
Sarvattvish: see above please :D17:04
* vish catches up , to17:04
jcristauNg: blame udev for putting quotes in the device names :)17:05
vishSarvatt: I havent used Xorg-edgers since mesa in that crashes my X :( , But Xorg log doesnt seems to have any errors , the x log in the bug report didnt have the info?17:06
Sarvattodd that the radeon stderr stuff is only going to the gdm log, intel stuff goes to the Xorg.0.log when it prints this stuff17:06
jcristauErrorF vs fprintf(stderr) i guess17:07
vishhmm , mesa in lucid is also 7.7 > I was earlier having this Bug #436546 , hence stopped using -edgers17:09
ubottuLaunchpad bug 436546 in mesa "X crashes when using compiz cube and cairo-dock" [Unknown,Confirmed] https://launchpad.net/bugs/43654617:09
Sarvattbrb driving17:10
* vish checks mesa in -edgers17:12
vishanyone know if the mesa 7.7 in lucid is same as mesa 7.7.0~git20090921.972e995b-0ubuntu0tormod ?17:28
Sarvattno, *alot* different17:50
Sarvatttons of changes in the 3 months between those17:51
Sarvattdid you see what was said in #radeon vish?17:51
Sarvatt<suokko> [12:19:03] Sarvatt: Looks like change to R500 video code and not adding extra bytes to reserved space17:52
Sarvatt<suokko> [12:19:49] Without looking the code safe fix looks like adding 2 to reservation count in the line which error message complains about17:52
vishSarvatt: just joined #radeon17:52
Sarvatt<suokko> [12:32:42] Sarvatt: http://sprunge.us/fBPB17:52
vishSarvatt: hmm , i'm not sure how to patch and run that :s 17:54
Sarvattcan you add that patch to the package or do you want me to make you one with that patch?17:54
Sarvattokie one sec17:54
Sarvatttaking ages to update my sources on this tethered connection, sorry17:57
vishnp... thanks for looking into it :)17:58
Sarvatthoping bryce reenabled the patch system in the lucid package to make it easier :D17:58
Sarvattuploaded it here vish https://edge.launchpad.net/~sarvatt/+archive/ppa18:02
Sarvattargh wait a sec18:02
Sarvatti have a ppa dependency on edgers there18:02
Sarvattputting it here https://edge.launchpad.net/~sarvatt/+archive/more-bugs18:03
* vish adds ppa and awaits upload18:05
bryce_heya18:31
=== bryce_ is now known as bryce2
Sarvattheyo bryceh/bryce2/bryce_, sorry disconnected a few times there :)18:49
bryce2:-)18:49
bryce2Sarvatt, yeah at the developer's sprint right now.  I was actually surprised wireless worked right off the bat no prob.18:53
Sarvattbryce2: any chance replacing the ErrorF's in 100_rethrow_signals.patch with fprintf(stderr's might work? Does ErrorF try to write to the log?18:55
bryce2yeah ErrorF does try to write to the log18:56
SarvattI'm thinking its the ErrorF's in FatalSignal() causing the problem18:56
bryce2ok, yeah I can give that a shot.  Getting that sorted out is on my todo for the week18:57
bryce2I'm also wondering if that NoTrapSignals or whatever flag would be worth trying18:57
Sarvattyeah I'm going to try it out as well when I get a chance, just looking at logging problems vish is having and put two and two together18:57
bryce2seems to me we tried that at one point but I don't remember18:57
* bryce2 nods18:58
bryce2btw did my pm reach you?18:58
bryce2freenode is such a pita18:58
vishSarvatt: i installed the updates , but the logging hasnt stopped... should i check after an X restart?18:58
Sarvattvish: yeah have to restart X, if possible could you pastebin your ~/.xsession-errors if it happens again with that patch before you reboot again?19:00
Sarvattlooking now bryce219:00
vishhmm. , thats very odd...! it stopped just now... [/me wonders if it is scared of Sarvatt ]19:07
vish;)19:07
Sarvattthe patch fixed it?19:09
Sarvattkeep in mind I'm almost positive it only happens when you're watching videos19:09
vishSarvatt: i wasnt watching any videos now... [Was using Inkscape ] and after the update too , no videos but the logging was going on..   but just stopped now.. 19:12
* vish plays videos19:12
Sarvattnautilus thumbnailing videos would do it too19:12
Sarvattor having a video without a thumbnail in the directory when you go to open a file in inkscape or something19:13
vishha , might be that.. there were a few videos which wouldnt thumbnail19:13
Sarvattno videos but the logging was going on..   but just stopped now.. << that mean you were getting the cs errors?19:33
Sarvattwith the patched driver?19:34
vishit seemed to occur even after the patched driver , but it has stopped logging now... I trying to check if it starts again.. [havent restarted X yet] earlier it wouldnt stop logging unless i restart X19:44
vishI'm*19:44
vishhmm , started again :/19:47
Sarvattyou need to restart X to use the new driver vish19:47
vishSarvatt: yeah.. i was just making sure :)19:47
vishbrb19:50
* vish now has a quiet gdm log , will be keeping an eye on it :)20:03
Duke`ok, execbuf error still present20:04
Sarvatt#0  0x00007fff160baf40 in ?? ()21:39
Sarvatt#1  0x000000000045f4a0 in FatalError (f=0x579a98 "Server is already active for display %s\n%s %s\n%s\n") at ../../os/log.c:56121:39
Sarvatt#2  0x0000000000469293 in LockServer () at ../../os/utils.c:37421:39
Sarvatt#3  0x00000000004629c6 in OsInit () at ../../os/osinit.c:30521:39
Sarvatt#4  0x0000000000425f06 in main (argc=1, argv=0x7fff160bd2f8, envp=0x7fff160bd308) at ../../dix/main.c:17021:39
Sarvattlooks like it's dying in the AbortServer(); call in FatalError, AbortServer() just doing SigAbortServer(0) and the old AbortServer() was renamed to SigAbortServer()21:41
* Sarvatt is messing around with the rethrow signals patch21:41
bryce2cool21:41
bryce2sort of.  The old AbortServer() is still there and still works as it did before, it just calls SigAbortServer with a 0 argument21:42
bryce2this way, the API doesn't break21:43
Sarvattso its going to FatalError, prints the FatalError messages, gets down to AbortServer() which calls SigAbortServer(0), thats supposed to call SigAbortDDX(0) which is in hw/xfree86/common/xf86Init.c why doesn't that show up in the backtrace? it's getting called because  ddxSigGiveUp: Closing log is in the output and thats an ErrorF string in that function22:09
Sarvatthttp://paste.ubuntu.com/367125/22:10
bryce2yeah I suspect printing to the log after the log has been closed might be the source of the crash bug22:11
Sarvattthe trash after ddxSigGiveUp and before the first backtrace is gone when I disable 168_glibc_trace_to_stderr.patch 22:11
bryce2so if you spot anywhere that it is calling ErrorF after the point where the log has been closed, we may want to try disabling those ErrorF's22:11
Sarvatt     xf86CloseConsole();22:13
Sarvatt +    ErrorF (" ddxSigGiveUp: Closing log\n");22:13
Sarvatt     xf86CloseLog();22:13
Sarvattmaybe move the ErrorF up above the xf86CloseConsole()?22:13
bryce2Sarvatt, try commenting that out22:14
bryce2in the patch change the line to  +    /* ErrorF (" ddxSigGiveUp: Closing log\n"); */22:14
Sarvattyeah thats building now22:18
mdeslaurso, when is nouveau kms supposed to hit the lucid kernel?22:37
Sarvattdarn, didn't fix it22:38
Sarvattdont think its ever going to hit the lucid kernel mdeslaur, they are working on making a linux-backports-modules-nouveau though22:39
mdeslaurah, that would do...I want to try nouveau again, but it only suspends with kms support, AFAIK22:39
bryce2mdeslaur, I have it installed and running with kms22:40
bryce2mdeslaur, I've a desktop box here in the desktop room hooked up to the projector if you want to tinker22:40
mdeslaurbryce2: you have a special kernel?22:41
bryce2mdeslaur, yeah the l-b-m ppa sarvatt mentioned22:41
Sarvattmdeslaur: it only works with KMS period right now, did you have to disable KMS to use nouveau before?22:41
bryce2it's from apw's ppa22:41
Sarvattthey ripped out non-kms support22:41
mdeslaurSarvatt: oh! I didn't know that...22:41
mdeslaurbryce2: ah, cool, thanks22:41
Sarvattmdeslaur: https://edge.launchpad.net/~xorg-edgers/+archive/nouveau22:43
mdeslaurthanks, I'll try that next week22:44
Sarvattcan't say I feel comfortable with all the changes to accomidate l-b-m instead of just using nouveau-kernel-source and building it locally with dkms, i dont think either will coexist with radeon/intel either way and the xserver changes only really make sense if nouveau is there by default which it isnt with lbm22:46
Sarvattpeople wont be able to use updated kernels that have nouveau with the libdrm changes to accomidate lbm-nouveau too22:49
mdeslaurouch22:50
Sarvattno luck commenting out that ddxSigGiveUp ErrorF. one thing I noticed is with the patch and X -verbose its got an extra line (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor22:52
Sarvatt(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor22:52
Sarvatt(WW) xf86OpenConsole: VT_GETSTATE failed: Bad file descriptor22:52
Sarvattwithout the patch I just see (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor22:53
Sarvatt(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor22:53
Sarvattits reopening the console after xf86CloseConsole and before xf86CloseLog because it said that before the ddxSigGiveUp ErrorF that was between them22:56
bryce2hmm22:56
Sarvatthmm 121_only_switch_vt_when_active.diff 23:02
Sarvattyeah that xf86OpenConsole is from 121_only_switch_vt_when_active.diff which I had dropped in the xserver i'm using on this machine and not the other, dropped that patch and it still crashes the same though. darn red herrings23:22
bryce2heh23:22

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