/srv/irclogs.ubuntu.com/2010/04/19/#ubuntu-x.txt

Sarvattdarn, i really need to check patches more carefully to see if they are upstream, quite a number are applying with fuzz and duplicating themselves while mass rebuilding the stack from git02:41
RAOFMmm, delicious.02:47
RAOFSarvatt: Have you asked the kernel team for a build of nouveau/linux-2.6?  Since they're already doing drm-next and drm-intel-next, it should be easy for them to do one for nouveau, too.02:57
Sarvatt<Sarvatt> if by kernel team you mean apw who I think is the only one that does those builds, then nope because he's been so busy. i dont think they are fully automated and are going through a transition due to the karmic-lucid config stuff because they dont build a lot of days now03:18
Sarvatt<Sarvatt> the drm-next daily kernel isn't that far behind usually03:18
Sarvattthis xserver 1.8 patch removal hook is getting nuts :D04:23
RAOFHm.  I wonder what http://lists.freedesktop.org/archives/intel-gfx/2010-April/006611.html fixes?04:45
RAOFThat might be yet another part of the 855 problems.04:45
Q-FUNKre06:21
=== raof is now known as RAOF
RAOFMan, I hate bugs with logs that show every sign of being perfectly normal.08:00
Sarvattyeeep08:01
Sarvattespecially when theres no signs of being anything wrong, then you ask them to reproduce and reattach all of the logs and they run apport-collect using a totally different driver with no problems either :)08:04
Sarvattand you're subscribed to it so you get spammed with 20-30 emails from the apport-collects08:04
RAOFIt looks like disabling DRI has had unexpected side-effects.08:04
RAOFI should add an evolution filter for apport-collects.08:05
RAOFOh, no.  I have a *horrible* feeling that disabling KMS might be partially responsible for this.08:07
Sarvattlink?08:07
RAOFBug #566103 is one, bug #566133 is another.08:08
ubottuLaunchpad bug 566103 in xserver-xorg-video-intel "blank screen and complete lockup when X starts on Intel 855GM Chipset " [Undecided,New] https://launchpad.net/bugs/56610308:08
ubottuLaunchpad bug 566133 in xserver-xorg-video-intel "xserver fails to start after splash, screens turns black, no response, hard reboot needed" [Undecided,New] https://launchpad.net/bugs/56613308:08
RAOFYou know how in the pre-.33 drm days vga16fb was dependably breaking nouveau?  And it wasn't breaking intel, or ati, because they got their drmfb loaded first?08:08
RAOFPossibly that only matters with kms, but I remember playing with this intel laptop making vga16fb load before i915 and got slightly strange behaviour…08:10
Sarvattso its got the xrandr info attached, but didn't attach any xorg logs..08:11
RAOFbug #566133 has an xorg log.08:13
ubottuLaunchpad bug 566133 in xserver-xorg-video-intel "xserver fails to start after splash, screens turns black, no response, hard reboot needed" [Undecided,Incomplete] https://launchpad.net/bugs/56613308:13
RAOFA curiously gzipped log, but a log nonetheless.08:13
Sarvattdid -20 have the 8xx blacklist?08:16
Sarvatt(WW) intel(0): i845 or i855 chip detected.  Disabling DRI to prevent system instability.08:16
Sarvatt(**) intel(0): Kernel mode setting active, disabling FBC.08:16
Sarvatt...08:16
RAOFHah.  More fool me.08:16
RAOFYeah.  I *read* that!08:16
Sarvattah ok [   13.070621] fb0: inteldrmfb frame buffer device08:16
RAOFIt'd be nice if we could make it clear that you should run apport-collect *after* experiencing a bug, not after having worked-around it.08:22
seb128hey there11:18
seb128where should bugs about login screen not taking keyboard input in vmware be reassigned?11:18
Sarvattdepends, can ya link one of the bugs so I can take a look? /var/log/gdm/:0-greeter.log (or /etc/default/console-setup contents) from an affected system would be useful to have, I've seen reports of the vmware autoinstall stuff screwing up the xkb layout settings causing that exact problem in lucid11:47
seb128Sarvatt, bug #56585811:49
ubottuLaunchpad bug 565858 in xorg-server "login screen does not accept keyboard input on vmware fusion" [Undecided,New] https://launchpad.net/bugs/56585811:49
Sarvattgo figure 0 logs..11:49
seb128bug #56503711:49
ubottuLaunchpad bug 565037 in xorg-server "gdm does not take input on login" [Undecided,New] https://launchpad.net/bugs/56503711:49
Sarvattseb128: https://bugs.edge.launchpad.net/ubuntu/+source/console-setup/+bug/54889111:50
ubottuLaunchpad bug 548891 in console-setup "keyboard input broken due to invalid "SKIP" keyboard model" [High,Confirmed]11:50
seb128Sarvatt, thanks11:51
Sarvattno worries, i'll note that as the master bug to dupe others to if i come across any and look into it a bit more when I have some free time, thanks for getting me to look :)12:05
Sarvattgot a xserver 1.8 PPA for testing before I merge it all into edgers if anyones interested - https://edge.launchpad.net/~sarvatt/+archive/xorg-testing/+packages?field.series_filter=lucid12:06
Sarvattit requires both that and edgers activated12:06
ricotzSarvatt, hi, why arent you creating proper tarballs, so like running ./autogen.sh; ./configure --prefix=/usr ?12:16
ricotzand then using "make dist" or "make distcheck" if possible12:17
Dr_JakobSo I have updated bug 545298 with a solution that works for me.13:13
ubottuLaunchpad bug 545298 in xserver-xorg-input-vmmouse "left mouse button unresponsive when running as VMware server guest" [Undecided,Confirmed] https://launchpad.net/bugs/54529813:13
jcristautjaalton: ^^13:15
tjaaltonDr_Jakob: ok, thanks for finding the root cause13:18
=== \vish is now known as vish
Dr_Jakobtjaalton: I think I found a better fix in the udev rule for vmmouse instead of xorg.conf.d14:48
tjaaltonDr_Jakob: it's ok to match the path, the other driver do it as well14:50
tjaaltonand I uploaded it already, waiting in the queue14:51
Dr_Jakobtjaalton: ok thanks for the quick turn around.15:36
Dr_JakobI did opt for the udev rule instead but I have sent out a patch to xorg-devel, lets see if I get any comments.15:37
arahello, one user is reporting (lucid, nvidia driver) xorg eating huge amounts of CPU15:37
arais there anything like that reported already?15:37
tseliotwith what flavour of the driver?15:38
tjaaltonDr_Jakob: heh, yeah that's basically the same15:38
tjaaltonsame result15:38
Dr_Jakobyeah15:38
aralet me ask him15:39
aranvidia-current15:40
tseliotara: no, I don't think there are any bug reports about that15:42
arahow is the best way to debug it?15:42
aratseliot, do you mind if I tell the user to join here to better explain the issue?15:42
tseliotara: some logs would be fine, to begin with15:43
tseliotyes, sure15:43
aratseliot, thanks15:45
tseliotnp15:45
bigjoolshi ara15:46
arahey bigjools, tseliot, who is responsible of packaging the nvidia driver, will help you debugging your issue15:47
bigjoolsgreat#15:47
aratseliot, bigjools is part of the launchpad team (soyuz?)15:47
tseliotbigjools: can you put the following files on pastebin, please?15:47
bigjoolsyeah Soyuz15:47
tseliotara: let me check15:47
tseliotara: no, I'm not15:48
aratseliot, no, I was introducing you to bigjools :-)15:49
tseliotbigjools: /var/log/Xorg.0.log and the output of dmesg15:49
tseliothehe, sorry, I misread what you wrote15:49
tseliottoo much multitasking here ;)15:49
* bigjools pastes15:49
bigjoolshttp://pastebin.ubuntu.com/418640/ and http://pastebin.ubuntu.com/418641/15:50
bigjoolsalso, every time I boot I get the "X won't start" dialog and have to select the option to reconfigure the Xorg.conf15:52
* tseliot has a look at the logs15:56
tseliotbigjools: can you reproduce the problem on boot and archive the logs from failsafe X, please?15:58
bigjoolstseliot: sure thing - I might reboot now as this desktop is getting unusable, do you need any more logs or anything before I do that?15:59
tseliotbigjools: nothing else, thanks15:59
bigjoolsok, brb16:02
bigjoolstseliot: ha, the archive logs/configs option told me it had archived them in $backup_location or something like that...!16:10
bigjoolsI viewed the log, it said the Xserver was already running... weird16:10
tseliotbigjools: look in either your home directory or in /var/log and you should file an archive which has "failsafe" in its name16:11
bigjoolstseliot: right, got them16:12
tseliotbigjools: ok, please upload the archive somewhere16:13
bigjoolstseliot: http://people.canonical.com/~ed/failsafeX-backup-100419160532.tar16:16
tseliotbigjools: can you boot without the "splash" parameter, please?16:21
tseliot(you can do it in the grub menu before booting)16:21
bigjoolstseliot: ok, gimme 1016:21
bigjoolstseliot: right, removing splash made it boot fine16:28
tseliotbigjools: some weird interaction with plymouth, perhaps? Maybe try asking Keybuk in #ubuntu-devel (show him the :0.log file from the archive)16:30
bigjoolswill do, thanks16:30
tseliotnp16:31
bigjoolsany thoughts on the slowness?16:31
tseliotI can't see any obvious problem in the logs. Please file a separate report about that and I'll subscribe upstream so that they can investigate the issue16:32
bigjoolstseliot: against which package should I file the bug?16:43
bigjoolswell, I guess I can just use ubuntu-bug16:44
bigjoolswell if it didn't start asking about sound stuff after I selected the display option :/16:45
tseliotbigjools: try plymouth. If it's the wrong package we can reassign the bug16:47
bigjoolscopy16:47
Sarvatteww, logs look funky now - http://pastebin.com/9iNWREvC17:47
sithlord48hi can someone help me i upgraded to lucid and can't install new video drivers for ati card keep getting a set FORCE_ATI_UNINSTALL enviromental var to force removal18:24
=== Sinnerman is now known as Cobalt
umaruxIs there a way to improve the graphical performance of a Radeon x1600 under Lucid? I get very poor FPS when watching movies and such.19:02
umaruxThe default drivers are very slow19:02
Sarvattumarux: boot with nomodeset added to grub19:10
Sarvattwon't be pretty but it's significantly faster 19:11
umaruxWhat will it do?19:11
Sarvattyou wont notice the difference between KMS and UMS speeds on intel because intel has UXA and DRI2 under UMS, using DRI1+EXA was always alot faster19:12
umaruxI'll give it a shot, thanks19:13
Sarvattit disables kernel mode setting, mostly the only thing you'd notice is suspend/resume speed, faster VT switching and a prettier boot process19:13
umaruxoh ok19:13
Sarvattthats stuff you'd notice losing if you switched to UMS with nomodeset I mean19:14
umaruxSarvatt: Wow, thanks for the nomodeset tip, my FPS have a huge jump, I can even watch 720p video now without a problem and before i couldn't even watch 48021:10
umaruxNow to figure out my final problem. Why lucid doesn't recognize my laptops support for changing the screen brightness, doesn't even show up like it should in /proc/video/21:12
Sarvattnothing I do will turn off vsync on this latest git everything + xserver 1.8 branch..22:08
=== skimj1 is now known as skimj
Sarvattand if i change the swap intervals in driconf to anything but never sync I get 45 fps instead of a constant 60, argh22:10
Sarvattguess thats a change some people might like compared to not having any sync to vblank support on 1.7.x :D22:13
tormodSarvatt, woohoo running your xserver 1.8 now22:19
tormodkind of tricky though that the 1.7 -ati in xorg-edgers has a higher version than the 1.8 in xorg-testing....22:21
Sarvatttormod: oh did I upload -ati to edgers by mistake? whoops!22:22
tormodno, I think it is ~/+ issue :)22:22
Sarvattah crap, sorry22:23
tormodwas kind of bummed here, b/c I cannot configure wireless on the console, iwconfig seems to mess up22:23
Sarvatttormod: almost ready to copy over ya think? it just needs vmmouse and wacom changes (the input changes are a pain to do manually atm) a metapackage and a quick upload of all the video drivers22:24
tormodworks fine here22:24
Sarvattthat changelog is a monster22:25
Sarvattits down to 6 patches \o/22:25
Sarvatt  * + debian/xdmx-tools.install: handle xdmx binary being renamed Xdmx22:26
Sarvatt  * + debian/xserver-xorg-core.install: install evdev xorg.conf.d snippet built with the server in /usr/share/X11/xorg.conf.d/.22:26
tormodmaybe instead of hooks we should create a xorg-edgers branch on git.d.o?22:26
Sarvattthose are the only manual changes22:26
tormodthen just use -d origin/xorg-edgers22:27
Sarvattyeah I was going to ask if that would be a possibilty, maybe having the changes in git would help when its eventually merged22:27
Sarvattbut I wouldn't want to spam the debian-x lists :)22:28
jcristauSarvatt: xdmx got renamed dmxinfo or so, not Xdmx.  Xdmx is the server.22:28
tormodjust ask around here :)22:28
jcristauand we can disable the commit hook for edgers, or send it somewhere else, if needed.22:29
tormodSarvatt, oh you mean the commits go there?22:29
Sarvattohh ok thats makes more sense22:29
tormodjcristau, sounds good22:29
Sarvattlibdrm mesa and xorg-server are the biggies, everything else is easily synced with experimental/unstable/ubuntu. libdrm especially because of the frequent symbol changes, thats the 22:33
Sarvattbiggiest pain to keep sed hooks up to date :)22:33
tormodSarvatt, what do think about the ever-increasing gem object bytes? is bug 565981 a real bug or red herring?22:34
ubottuLaunchpad bug 565981 in linux "[KMS] gem objects not deallocated" [Undecided,New] https://launchpad.net/bugs/56598122:34
SarvattI get it too on intel, no idea at all whats causing it22:34
Sarvattsomethings leaking objects for sure though, i got up to 2.5k once and wrapped back to a negative number of gem objects. if i use compiz with bo reuse enabled on intel right now with chrome I get about 2 hours before my system is stuck swapping forever and unresponsive with 1.5GB memory and no swap22:38
Sarvattbut disabling BO reuse in driconf and not using compiz stops it from happening..22:38
tormodso it seems to be quite serious, and touching many people22:44
Sarvatt9897 objects22:46
Sarvatt1234710528 object bytes22:46
Sarvatthah22:46
* Sarvatt found an old saved one22:47
tormodwow, I usually have only some hundred objects, but maybe I reboot too often22:47
Sarvattthats on a 965, i cant get 945 over 2.5k before its totally dead22:48
brycehis this leak on lucid or just xorg-edgers?22:49
brycehI saw a bug report earlier complaining about leaks, but it was not clear what the issue was22:49
tormodit's in lucid AFAIU, and also with edgers and 2.6.34 FWIW22:50
brycehhrm22:50
Sarvattits in lucid, I had this problem with 2.9.1 as well22:50
Sarvattswitched back to edgers awhile back just to see if it was any different :)22:50
tormodI think the bug reports are spread out, many apps get the blame22:51
tormodmaybe search lp for OOM reports22:52
brycehdo we know precisely which package and/or version causes it?22:52
tormodbryceh, then it wouldn't have been so bad :)22:52
tormodit's not a kernel leak, since memory gets back after restarting Xorg22:53
tormodbut you can not see Xorg or any app growing. could be Xorg holding references to the objects22:54
Sarvatttormod: check out upstream drivers/gpu/drm/drm_gem.c and see if theres any changes :)22:54
Sarvattsince its not just intel22:54
jcristauit's only with compiz running?22:56
jcristau(or any gl compositor?)22:56
Sarvatti haven't tried poking it to figure out more yet, compiz + bo reuse + texture tiling + flash seems to be the main ingredients and its fine with metacity (no compositing) and bo reuse/texture tiling disabled22:57
* Sarvatt reboots into mutter22:57
tormodI turned off compiz now and I can not reproduce with my eog case22:58
jcristauand does it come back down when you run metacity --replace, or killing X is needed?22:59
Sarvatttormod: whatever you do don't grab the compiz source and look at the patches we have to it :)22:59
jcristaujust to get some data points...22:59
tormodhmm we used to blame compiz for everything before, but nowadays it's upstart :)22:59
jcristautormod: when you can't blame upstart, blame plymouth22:59
jcristau;)22:59
tormodjcristau, killing X is needed22:59
brycehheh, was just gonna say22:59
brycehplymouth is the new upstart23:00
Sarvattmetacity --replace still has the problem yeah23:00
Sarvattrestarting X was needed here too after the driconf changes23:00
tormodstopping compiz dropped the number of objects a lot, but I guess that is normal?23:01
tormodbytes count did not drop much23:01
Sarvattit didn't here - 1793 objects 703676416 object bytes23:01
Sarvatt1788 objects 703811584 object bytes -- before23:02
jcristaubleh23:02
Sarvattthe number doesn't really go down, it'll go down 20 or so then go up 50 and back down 20 eventually (just rough numbers)23:03
Sarvatt3 hours uptime here :D23:04
jcristauwith no compiz i have ~800 objects, 20MB23:06
jcristauotoh with compiz all windows are redirected so you get more offscreen pixmaps23:07
jcristaubut, probably not by that much..23:07
Sarvatt965?23:09
jcristaugm4523:10
Sarvatttormod: hold off upgrading from xorg-testing, i'm uploading a compiz with no patches to it since it needs an insane amount of build deps :)23:11
tormodSarvatt, you'll be pushing compiz snapshots now?23:13
Sarvattno I just want to test without all of these patches from the dapper days to fix the blob that are probably not needed :)23:14
tormodsounds like a good idea23:16
tormodhow does one debug the gem objects? for instance, cat /sys/kernel/debug/dri/0/clients gives me the xorg pid + another process which does not exist23:19
tormodthat was probably the compiz I stopped, a new compiz shows up in clients23:22
jcristauheh the ioctls number for X is, err, big. :)23:23
tormodjcristau, some hundreds per second23:24
tormodand compiz  does some tens per second23:25
jcristaui guess at least one per frame :)23:27
=== raof is now known as RAOF
Sarvatttormod: using he plymouth drm renderer?23:37
tormodSarvatt, no not yet23:38
tormodlp lost its CSS now?23:40
tormodnice 90's look, but I can not find any "send comment" button23:41
RAOFWhen it does that, I hit refresh and it fixes it.23:41
tormodnvm there is a add comment or attachment link under the useless comment field23:42
brycehit's not fixing it now23:42
brycehRAOF, cjwatson sees the problem too... edge seems to have busted css23:42
RAOF:(23:42
brycehat least launchpad is still up23:43
bryceh(for now)23:43
* bryceh distracts RAOF with a volcano23:43
RAOFIt's a *long* way away; even something as shiny as a volcano needs to be a little closer for distraction :)23:44
jcristauit's far away, but it still prevents me from flying tomorrow.23:44
* jcristau just got a cancellation email23:45
RAOFbryceh: What's your feeling about i855 & i845?  It seems that dri-disablement hasn't helped (enough?), and strangely seems to have regressed things like resume-from-suspend for some people on i855.23:45
brycehRAOF, apparently there's a larger volcano that this little guy can fire up, let's see if that one makes a better distraction for you23:46
brycehRAOF, yeah I'm wondering about that too23:46
jcristauit seems there's a chance you can get 855 fixed in .1; no progress on 845 it seems.23:47
RAOFbryceh: That one *would* be cool.  Volcanos under glaciers make for fun!23:47
brycehRAOF, it would be helpful if the DRI disablement could be opted around with an xorg.conf setting or some such, so we can see if by re-enabling it it makes the issues go away23:47
brycehRAOF, I'm not convinced that disabling KMS caused the issues23:47
brycehI'd like to see more data to prove that23:48
brycehalso changing the kernel is hard23:48
RAOFjcristau: Right.  That big intel-agp patch seems to be landing in drm-intel-next.23:48
brycehRAOF, maybe set up a PPA with the DRI change reverted, so we can get data on if just re-enabling it resolves the issues?  That could be a simpler fix23:48
jcristauyeah it's likely to end up in .35 first, and then get backported, afaict23:48
brycehone thing I'm wondering is if we've been chasing a corner case23:49
RAOFjcristau: It looks a tiny bit scary; it refactors code common to all the intel cards, right?23:49
brycehas in, if 90% of 8xx was just working, the remaining 10% might have been especially active in the bug reports, and we assumed they represented a tip of the iceberg, when they were really just a small but vocal minority23:49
brycehand so by addressing their issue we could have busted stuff for some (small?) portion of the other 90%23:50
RAOFbryceh: Possibly; there's certainly been “my i855 was working wonderfully, and now it's terribly slow and compiz doesn't work” bugs, and (at least one) thread on ubuntuforums.23:50
brycehso it may be that there is simply no configuration which will work 100% of the time with what we've got23:50
jcristauRAOF: i assume there's a way to just change stuff for 8xx when backporting.  danvet's current series looks big and scary, yeah.23:50
brycehthis makes me think that we just make all the various permutations user-settable, list it as a known issue in the release notes, and document well how to configure things, and wish users the best.23:51
jcristaubut i assume he moved stuff around in the process of understanding the code and the bug..23:51
brycehkind of late in the release to do substantial fixing23:51
Sarvattsomeone actually said 855 worked well before? i dont believe it! :D23:52
RAOFbryceh: That seems like a good idea; default to vesa, allow fbdev by i915.modeset=1, allow 3D by an xorg.conf23:52
jcristauSarvatt: probably not since gem or so..23:52
RAOFjcristau: Yeah.  It looked to me like backporting the patch in such a way as to make it only apply to 8xx would mean taking the idea and rewriting it.23:53
jcristauif i were you i'd just release note 855 and 845, and punt to .1 :)23:53
brycehSarvatt, yeah our feedback mechanisms with X are piss poor, as we really only hear when things are broken23:54
brycehso gets really hard to judge when an issue is serious or just one guy with bad hardware23:54
jcristausrsly.  http://cgit.freedesktop.org/~danvet/drm/commit/?h=stuff/i8xx_cache_coherency_for_oga&id=925114122c4bc9864951478e62169e9f34f9d41c "write random stuff, and wait until it sticks"23:54
RAOFYes.23:55
jcristauthis hardware is messed up :)23:55
RAOFYes :)23:55
jcristaufrom the tested-by list, it seems he's rounded up most of the remaining 855 owners ;)23:55
brycehheh, "probabilistic"23:56
bryceh"We use a monte carlo approach to getting graphics to your screen"23:56
jcristau"if it doesn't work, blame the volcano"23:56
brycehsounds good to me23:57
Sarvatt2298 objects 970698752 object bytes whee23:59
brycehRAOF, what do you think about updating that DRI patch to use an xorg.conf settable parameter, and then just listing this as a known issue with the workarounds documented?23:59

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