/srv/irclogs.ubuntu.com/2009/04/29/#ubuntu-x.txt

=== CShadowRun is now known as cshadowrun
=== cshadowrun is now known as CShadowRun
LLStarksyo01:41
bryceheya LLStarks01:56
LLStarkskarmic kernels are in the repos.01:57
LLStarkskms disabled by default...01:57
LLStarksD:01:57
LLStarksbrb01:57
LLStarksfinally got kms to boot to x02:53
bryceLLStarks: how'd it go?03:23
LLStarksnice.03:23
LLStarksplymouth doesn't want to play nice.03:23
bryceLLStarks: would you mind writing up notes on what you had to do to get it going?  it'd give us a headstart on getting it all enabled and set up by default03:27
LLStarksi915 modeset=103:27
LLStarksin /etc/modules03:27
LLStarks2.6.30-1 kernel03:28
brycedid X pick up the mode properly?03:28
LLStarkslatest edgers ppa drivers03:28
LLStarksi can't tell. the fb console looked right03:28
LLStarksbut i still saw blinking03:28
LLStarksalso, the boot is 75% done by the time it gets there03:28
LLStarks*gets to enabling kms03:29
LLStarksalso, the karmic forums mention this: http://ubuntuforums.org/showpost.php?p=7166503&postcount=803:30
LLStarksCONFIG_FB_UVESA=y03:30
LLStarksCONFIG_FB_VESA=y03:30
LLStarkscan't be modules03:30
LLStarkshave to be compiled in03:30
brycemm03:30
bryceyeah those look like kernel config params03:30
LLStarkssarvatt is doing the intel drivers for the ppa now.03:30
LLStarkskms enabled.03:30
LLStarksas opposed to tormo disabling them03:31
brycecool03:31
brycewhich ppa?03:31
LLStarksedgers03:32
bryceok03:32
LLStarksfor manual kms. modprobe i915 modeset=103:34
LLStarksalso, /etc/modprobe.d/i915-kms is now present.03:34
LLStarksoption i915 modeset=103:35
LLStarksis the only line03:35
LLStarksalso, the intel team is forcing the issue with uxa-only03:35
LLStarkslatest commits have stripped out exa and xaa03:35
bryceyeah I know about that03:36
LLStarksalso, xv overlay is gone.03:37
bryceI'm concerned that's going to paint us into a corner if we want to ship something newer than 2.703:37
LLStarksfor kms+uxa03:37
brycehrm03:37
LLStarks and i just froze...03:41
brycelovely03:41
LLStarksbryce. uxa is not ready for karmic as things stand.03:42
LLStarksbtw, is there anyway to unfreeze x if it happens?03:42
brycenot usually03:42
LLStarksi'm using exa right now.03:42
brycehowever there have been cases where I've been able to unfreeze by killing the process which causes it03:42
LLStarksmplayer in my case.03:43
LLStarksbut i don't have a spare machine for ssh03:43
brycein one case, that was alarm-clock, in another case you could kill compiz and get back03:43
brycein that case unless vt switching works, you're power cycling03:43
LLStarkswhat's causing these crippling crashes?03:44
bryceor play with sysrq combinations03:44
brycecareful to distinguish between "freeze" and "crash" - different things03:44
brycewhat causes freezes is usually something poked into the GPU improperly03:44
LLStarksalt+prntscrn+b is the only thing that works03:44
LLStarksand that reboots.03:44
bryceI wrote a lengthy guide about freezes in wiki.ubuntu.com/X/Troubleshooting/Freezes if you're interested in the gory details03:45
brycealso you can install the intel-gpu-dump tools and get gpu dump info that presumably reveals why it froze03:46
brycehowever my experience so far with the tools has been a mixed bag03:46
=== jldugger is now known as pwnguin
=== imbrando_ is now known as imbrandon
macoKnow how a few days ago I said X kept doing the thing where it freezes but the mouse still moves? Turned on greedy, and it's perfectly stable now.13:49
=== crevette__ is now known as crevette
=== CShadowRun is now known as cshadowrun
=== cshadowrun is now known as CShadowRun
jbarnesbryce: you may be able to just override pScrn->virtualX & Y in preinit instead16:53
brycejbarnes: ok17:43
Ngis there any particular reason not to always make the virtual be its maximum size for that hardware?17:47
jbarnesNg: yes, on some hardware it's huge17:48
Ngso that'd be pointlessly stealing RAM?17:50
NgI thought I read somewhere that the maximum on Intel hardware is only 4096x4096 on newer chips17:50
hyperairNg: that's a mesa bug17:50
Ngoh :)17:51
hyperairNg: there's a patch floating around that never made it into mesa that bumps up the limiter to 80somethingx80something17:51
Ngheh17:51
hyperaireh wait17:52
hyperairhmm17:52
hyperairwas it 4096 or 2048 now17:52
hyperairlemme get that patched mesa out and give it a go17:52
Ng5120x3200 would be the size of 4 30" monitors by my calculations, so that would seem to my naive guesswork, to be a reasonable maximum at the moment17:53
Ng(I don't know how you'd connect more than 2 to most intel driven hardware, but at least it means you can arrange them in either axis)17:53
hyperairLVDS + VGA + HDMI?18:08
hyperairthat's 318:08
hyperairi don't see how you could get a fourth18:08
hyperairwait, does intel even have hdmi?18:08
hyperairor was HDMI for audio? i can't remember18:09
jcristauNg: you can connect more, but you have 2 crtcs, so the rest has to be cloned.18:09
hyperairbah18:09
hyperair2 crtcs?18:18
NgI only own three things with intel chips, but none of them have more than 3 connectors18:25
=== CShadowRun is now known as cshadowrun
nagappanhi19:21
nagappanis there any issue with Ubuntu 9.04 having 2 nVidia card ?19:21
nagappanthe installer doesn't come up, if we have 2 cards19:21
nagappanit gets struck when the X comes up19:21
nagappanlater, tried removing a card and installed Ubuntu 9.04, after installation, when I plugin the card, the second card is not being detected19:21
nagappanboth the cards are same nVidia chipset19:22
nagappanI mean the lspci is listing only one card19:22
brycenagappan: in general multi-cards is not supported in ubuntu19:46
brycenagappan: however in theory the -nvidia driver can do it, but I've never messed with it myself.19:46
nagappanbryce, ok19:47
nagappanbryce, I also noticed this in /var/log/messages19:55
nagappanApr 28 20:07:53 xerox-1-2-dhcp77 kernel: [   21.552051] Xorg[3413]: segfault at fffffffffffffff8 ip 00007f0804551894 sp 00007fff0c75f280 error 4 in ld-2.9.so[7f0804543000+20000]19:55
brycedunno that one19:56
Unggnuhi all19:58
jcristaufffffffffffffff8 is a fun address.19:59
UnggnuDoes anyone know a howto to test kms with Jaunty? Karmic doesn't seem to have the new packages.19:59
tseliotnagappan: maybe try with "sudo nvidia-xconfig --multigpu=On" (type man nvidia-xconfig for further information)19:59
nagappantseliot, sure, let me try now, thanks :)20:00
nagappanbryce, will this be of any use ? http://pastebin.com/d79e70d92 dmesg output20:00
nagappanI noticed this line20:00
nagappan[   10.674454] ck804xrom ck804xrom_init_one(): Unable to register resource 0x00000000ffb00000-0x00000000ffffffff - kernel bug?20:00
jcristaunagappan: in general debugging a blob will be pretty hard.20:00
nagappanjcristau, ok20:01
jcristau(read: impossible)20:01
nagappantseliot, there is no such option with nvidia-xconfig, atleast on this Ubuntu 9.04 64-bit machine20:07
tseliotnagappan: "--sli=Auto" should work20:08
nagappannote, the same card with same configuration is working with Ubuntu studio rt kernel !20:08
nagappantseliot, let me check20:08
nagappantseliot, option --sli not recognized20:09
tseliotnagappan: what driver are you using?20:09
nagappantseliot, nvidia driver20:09
tseliotwhat version20:09
* nagappan checking20:10
nagappantseliot, nvidia-installer:  version 1.0.7  (buildmeister@builder58)  Fri Apr 17 00:40:22 PDT 200920:10
nagappantseliot, nvidia-settings:  version 1.0  (buildd@crested)  Sun Feb  1 20:25:37 UTC 200920:11
tseliotnagappan: didn't you install it using Ubuntu's repositories?20:11
nagappantseliot, no20:11
nagappantseliot, I tried with the NVidia installer, let me try with Ubuntu version now20:12
tseliotnagappan: no, please don't20:12
nagappantseliot, :)20:12
tseliotor you'll break your system20:12
tseliotsudo sh name_of_the_installer --uninstall20:13
nagappantseliot, sure20:13
tseliotand uninstall the driver from the installer first20:13
nagappantseliot, ok20:13
brycejbarnes: hrm, i've been poking the virtualX/Y values in preinit but seems to not affect things21:00
brycejbarnes: at least, I see no change in xrandr's maximum values21:00
jbarnesoh hm21:00
tseliotbryce: what happens?21:06
tseliotwith the virtual values21:06
brycetseliot: xrandr reports 1280 1280 (the stock defaults for this hw)21:06
jbarnesbryce: are you setting it before xf86initialconfiguration gets called?21:06
bryceinstead of 2048 2048 that I'm trying to poke21:06
brycejbarnes: I've tried it several places in the function, including up at the top right after i830_kernel_mode_enabled()21:07
jbarneslooks like you might actually have to poke pScrn->display->virtualX/Y too21:07
bryceone thing I've found is I can only do the I965 test after about halfway through the routine, otherwise it segfaults, but that's a secondary issue21:07
nagappantseliot, sorry was away for lunch, just back, trying now21:08
jbarnesyeah the pci stuff has to happen first otherwise you won't have a pdev to check21:08
brycejbarnes: no go21:15
jbarnesbryce: arg I guess there's not an easy way to do it21:16
jbarnesbryce: another way of achieving the same thing might be to round up the memory allocation though in the 965 case21:16
jbarneswhere we allocate the front buffer you could make sure it's at least 2048 wide21:17
brycethat's in i830_mem.c?21:17
tselioti830_allocate_framebuffer ?21:17
jbarneswouldn't change the virtual or xrandr output but would affect memory laytout the same way21:17
jbarnesyeah21:17
mnemoi've just built mesa with a custom patch that upstream wanted me to try... to install it I tried doing "dpkg -i *.deb" but since all the generated DEBs depend on each other I think they have to be installed in some special order or something... when I do "dpkg -i *.deb" I get this error --> http://pastebin.com/m4337f2a921:34
jcristausome are conflicting with each other21:34
jcristauwhich makes dpkg -i *.deb sort of a problem21:34
mnemoahh, so I should just install a subset then?21:34
jcristauso, err, don't do that.21:34
mnemowhich ones do I want for DRI radeon?21:35
jcristaulibgl1-mesa-glx and libgl1-mesa-dri21:35
brycemnemo: fwiw, I exclude the swx packages when installing mesa21:36
bryceotherwise it bumps you into software rendering or some such21:36
mnemook and then I have logout and login again?21:38
mnemoor is there some magic way similar to what modprobe does for kernel?21:38
bryceI usually restarting gdm (or for the freeze issue do a fresh reboot just to be sure).  dunno if there's a simpler method21:40
jcristaumnemo: depends what your issue is.  if it's related to aiglx, then you need to restart the X server.  if it's direct rendering, then you don't have anything to do.21:42
mnemojcristau: ok, but if its direct rendering and im using compiz I need to restart compiz at least right?21:43
jcristaucompiz doesn't use direct rendering (on dri1 anyway).  so restart X.21:43
mnemook21:44
brycejbarnes: yeah setting pScrn->display->virtualX seems to just crash X21:44
jbarnesugg21:44
bryceout of curiosity I printed virtualX/Y throughout the preinit call, and it seems to never change from what I set it, so there isn't something that's resetting it21:45
brycewhoa21:54
brycesomething I did just did it21:54
bryceScreen 0: minimum 320 x 200, current 1280 x 800, maximum 2048 x 204821:54
jbarnesbryce: heh cool22:01
brycenarrowing the patch down22:01
bryceI'd just started randomly moving the display->virtualX stuff at different spots in the routine, and I think I stuck it in a spot where it had the right effect22:02
mnemo"development by a 1000 monkeys, eventually shit just has to work right"22:03
mnemohehe sry :)22:03
bryceez true22:03
brycecheep cheep22:04
mnemobryce: btw I think I managed to screw up my computer in exactly the way you told not to... i mean.. after install *.deb of mesa ... now "glxinfo | g direct" says "NO!"22:06
mnemois there anyway around that?22:06
bryceyeah, I think it is to do a apt-get install -f22:07
brycewhich cleans up the mesa stuff22:07
cshadowrunbryce your the guy who wrote the reply to the brainstorm on multi monitor support i think, right?22:07
=== cshadowrun is now known as CShadowRun
bryceCShadowRun: probably22:07
CShadowRuncool, i'm all up for testing (quad screen user \o/)22:07
CShadowRunbeen trying to prod gnome into fixing some long-standing multi X screen bugs recently lol22:08
mnemoFederico Mena-Quintero has done some really nice work on xrandr fixes in GNOME lately as well22:09
mnemoCShadowRun: what graphics card do you have?22:10
CShadowRunmnemo i have a pair of 8800GT22:10
CShadowRunone X screen per card, so 2 twinviews.22:10
bryceCShadowRun: link to the brainstorm page plz?22:11
CShadowRunbryce i'll try and find it again, it was a long time ago though22:11
CShadowRundon't think i can find it, i remember it was in development for intrepid, and that it had about 2000 +'s22:15
CShadowRunand that there was a reply explaining about xrandr22:15
CShadowRunand that testers where needed22:15
brycewell, -nvidia multi-card is completely different22:16
bryceand afaik is not an xrandr thing22:16
CShadowRunbryce http://brainstorm.ubuntu.com/idea/206/22:16
CShadowRuni heard xrandr 1.3 was going to have shared graphics memory which would allow for multi cards?22:17
bryceyeah22:17
brycestill, that's orthogonal to -nvidia22:17
CShadowRunyea, i know theres no support for the nvidia binary driver22:18
CShadowRunthose are the 2 things i'm waiting on :D22:18
CShadowRunalso another thing that wasn't mentioned in the article is alot of software really doesn't work well if you use multiple X screens22:19
CShadowRungnome-panel is a good example of that22:19
* bryce nods22:19
CShadowRunbut i been trying to prod the gnome-panel dev into fixing some of that, hopefully22:20
CShadowRunthen i can move from hardy to jaunty \o/22:20
brycea lot of the Xinerama style setups seem to have suffered regression now that xrandr is the norm22:20
brycegood, keep at that22:20
CShadowRunyea, i'm not using xinerama22:21
CShadowRuni like the seperation of X screens22:21
CShadowRunanyway nice talking to you, if you ever need anything tested i have a partition dedicated to testing stuff, so just drop me a line :)22:22
brycesure, usually if we need testing I announce to ubuntu-x@lists.ubuntu.com22:22
CShadowRuncool, sign up for that22:23
mnemoCShadowRun: https://lists.ubuntu.com/mailman/listinfo/Ubuntu-x22:23
CShadowRunty22:24
bryceok... moment of truth, time to verify this solves the freeze...22:26
mnemo/mne keeps fingers crossed22:27
brycehas passed the 10 min mark, that's a very good sign22:41
bryceok, ppa updated.  I'm going to snag some lunch and let this laptop finish its testing22:43
brycejbarnes: http://pastebin.ubuntu.com/160964/ - open to suggestions for improvement22:44
jbarnesbryce: yeah looks like a good hack22:45
mnemobryce: i would mention some "workaround" plus some LP bug number in the debug output like you did with that intel i865G bug22:46
bryceok23:11
bryce(still going strong btw)23:11
mnemonice23:12
mnemohi phoronix :)23:16

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