Stericsonhello, I tried installing some video drivers for a second graphics card ihave and now all i have is a black screen upon bootup, does anyone know how to make linux go back to the default video drivers, as they were when i installed the system?01:02
=== yofel_ is now known as yofel
RAOFStericson: This depends on how you installed the new drivers.01:04
StericsonI used ubuntu hardware gui01:04
RAOFThen, from a terminal, ‘jockey-text’ will allow you to uninstall them in the same way.01:05
StericsonI cannot even get to a terminal, when it boots up the screens go black.01:06
Stericsonright now I am in Windows, I can get to the linux file system01:06
RAOFYou *should* be able to boot into “recovery mode” and run ‘jockey-text’ from there.  That'll be easiest.01:07
StericsonI will try again however I did try to go into recovery mode and it seemed to do the same thing.01:08
RAOFHm.  That shouldn't happen :(01:10
Stericsonwell, I will tell you what I was doing, I have two  graphic cards in my machine. One is a Nvidia, the other one is an ATI card01:11
RAOFOh, man.01:12
Stericsonso I tried to switch to the ATI card01:12
Stericsoninstalled the listed ATI drivers01:12
RAOFSo, at least one problem here is that the nvidia and ati drivers cannot coexist.01:12
Stericsonand then I get nothing after a reboot01:12
Stericsonnot one Linux anyways01:12
bjsnidermost of us tend to pick one card and leave the other out of the mix01:12
bjsniderotherwise it's like a traffic accident01:13
RAOF(Well, actually, the *open source* nvidia and ati drivers coexist just fine; just not the binary drivers)01:13
StericsonI have a four monitor setup right now on Windows, in the future I may get matching cards, but not at the moment.01:14
StericsonI was hoping they would work as well as they do in Windows01:14
RAOFThat's something that's poorly supported right now, unfortunately.01:14
Stericson4 monitors or two cards01:15
RAOFMulti-card multi-monitor.01:15
RAOFNo; just the multi-card bit.01:15
StericsonI see01:15
RAOFX is happy to drive 6 displays from a single EyeInfinity card.  Just not drive two cards at once (at least, not without a bunch of setup and bugs that don't normally get tested).01:15
bjsniderRAOF, if you had two cards in there at once, for instance two pci cards, which one would be picked as the primary display adapter?01:15
Stericsonwell ideally i would like to have just the two on the ATI card but it is the secondary card is that a problem?01:15
Stericsonseemingly so because I get no display when I activated the ATI drivers01:16
RAOFYou should get *at least* a text mode boot when you select recovery mode.01:18
RAOFBut that will go through whatever card your BIOS thinks is primary, though.01:18
Stericsonyea I see the initial bootup, I even get to select recovery mode and watch it do some stuff, but then it goes awau01:19
RAOFSo you don't get to a blue-background text menu?  Oh, urgh.01:23
* RAOF wonders what's happening there.01:23
Stericsonnot sure, give me a few moments, I need to boot my laptop up which has Linux on it, then I can open xchat and get this computer back into linux to see what I can do.01:24
Amaranthooh, new mesa bits in edgers01:25
Amaranthhmm, I have to restart X before I can test those, right?01:25
AmaranthThought so, even though libEGL dynamically loads them01:25
RAOFActually, no.01:26
RAOFDirect rendered clients will pick that up immediately.01:26
Amaranthin which case no luck for me, I should probably file a bug about this :)01:27
Amaranthbut now I have new bits I can point to when filing it01:27
RAOF(Because the server doesn't actually do very much with GL rendering at all; just provides the DRI2 interface, which is stable)01:27
RAOFYour problem with getting GL and GLES to actually work? :)01:28
AmaranthCan someone with intel hardware (pre-sandybridge) see if any EGL/GLES apps actually work?01:28
AmaranthRAOF: For some odd reason even the demo that was working doesn't after a rebuild01:28
RAOFYou want that tested against edgers, or natty?01:29
AmaranthAnd now I seem to have to #define SUPPORT_X11 to get the right defines in eglplatform.h for things to build01:29
AmaranthRAOF: edgers01:29
AmaranthRAOF: Well, see if it works in natty01:29
AmaranthIt didn't with sandy bridge01:29
AmaranthI pulled mesa/demos from git and the EGL/GL demos work but the EGL/GLES and EGL/GLES2 demos all fail in pretty much the same way everything I've tried fails01:30
AmaranthExcept for compiz which seems to fail in its own special way01:30
Amaranthin natty it gives a symbol error, with edgers I seem to get a loaded but not loaded opengl plugin (which probably means I got the same error as the demos but failed to check for it)01:31
RAOFBoth gears_x11 and es2gears work for me.01:35
Amaranthso it's apparently either sandy bridge specific or lolapple01:36
RAOFHow do they fail in natty?01:37
Amaranthglcompbench does this: Error: eglGetConfigAttrib() failed with error: 12293      Error: eglCreateContext() failed with error: 1228801:37
Amaranththe mesa demos all do: es2_info: es2_info.c:153: make_x_window: Assertion `num_configs > 0' failed.01:37
AmaranthWhat's really weird is that means eglChooseConfig isn't failing01:39
stericson__hmm yea so upon choosing recovery it does some scrolling of text and then it just dies, all of my displays go black01:40
RAOFThat's really obnoxious; we shouldn't let that happen.01:41
RAOFstericson__: What version of Ubuntu are you using?01:42
stericson__wow I cannot even get into my bios, interesting01:42
RAOFCan't get into your bios?  Oooh.  That might be caused by the same thing that stops recovery mode from working.01:43
stericson__ah nvm01:43
stericson__I got into it01:43
stericson__weird :)01:43
RAOFCould you edit the menu item for recovery mode (to do this press ‘e’) and add ‘vesafb.sucks=1’ to the end of the kernel line?  It'll be the one with “root=/dev/sdaX” or simialr in it.01:46
RAOFThat should (hopefully!) stop the transition to the blank screen.01:47
stericson__ok, one moment01:48
stericson__so I have set root='(hd1, 7)' you want it to say set root='(hd1, 7)vesafb.sucks=1'?01:49
brycehRAOF, do you know if there is a python library wrapper thingee for editing kernel command lines in grub?01:50
RAOFNo; there should be a line a couple below that with “2.6.35-??-…” in it with root=/something or other.01:50
brycehlike, in the apport hooks if i wanted to give the user a pushbutton to do something like disabling vesafb or whatnot01:51
stericson__ah I see it01:51
RAOFbryceh: Not that I know of, no.  It'd be quite easy to do, though; you'd mess with /etc/default/grub instead.01:51
stericson__hmmm that did not work, in fact, i saw less go across the screen this time.01:52
RAOFDo you have a monitor plugged in to each video card?01:53
stericson__yea, two in each01:53
stericson__maybe I should swap the slots the cards are in01:53
stericson__I pulled my extra video card out01:57
stericson__got the blue screen01:57
stericson__which makes me think it was trying to output to the extra video card01:57
stericson__that it strange01:57
RAOFThat is strange.01:58
stericson__yep indeed indeed01:58
stericson__and I have graphics again01:59
stericson__so is there no way at all to get the two cards working together?02:00
RAOFIt should be possible; there's no GUI tool to do the configuration, though.02:01
RAOFYou'll have to remove the driver installed by the Hardware manager; that's the ATI proprietary driver which breaks your other driver ;)02:02
RAOFThen faffing around with xorg.conf is what you'll need to do.02:03
RAOFIt'll look *something* like http://ubuntuforums.org/showthread.php?t=148937702:03
RAOFYou might be able to get away with just two “Device” sections; one with Driver “radeon”, one with Driver “nouveau”.02:04
RAOFThat example is for two ati cards, but (apart from the binary drivers breaking stuff) ati and nvidia should work similarly.02:05
stericson__ok, cool, thanks for your help, I really appreciate it02:07
stericson__also, one of my monitors is not being detected correctly, do you know how to manually add in the proper resolution for it?02:09
RAOFA combination of “cvt” and “xrandr” can do it at runtime, or…02:10
stericson__thanks again :)02:10
ScottKOK, so I ordered the sandybridge laptop today.  It ought to arrive just about exactly too late to be any good for testing before Natty's released.04:06
=== 50UAAGBPG is now known as Amaranth
=== lool- is now known as lool
=== lilstevie|lagche is now known as lilstevie
SarvattAmaranth: will see if I can figure out whats going on now, it's quite possible I've fudged up the gles packaging in edgers since things have changed so much15:22
AmaranthSarvatt: it didn't work with stock natty either, except for some reason the application I compiled on a different machine some time back did still work15:23
Sarvattgood point, I'm actually on stock natty atm on this machine, thought it was edgers15:24
SarvattAmaranth: hrm well EGL_SOFTWARE=1 works if you just need a quick test15:42
AmaranthSarvatt: True, but that's not useful for running compiz :)15:42
Amaranth0.5fps is no fun when it's controlling your entire screen15:42
Sarvattthe dri driver is only reporting opengl (0x8) here when I run it under EGL_LOG_LEVEL=verbose15:48
AmaranthYeah, that's the root issue but it's rather weird how it fails, it seems perhaps this case was overlooked15:50
AmaranthNone of the egl functions seem to ever return EGL_FALSE, they just don't do what they say they will so unless you do extra checks like the demos do you end up with fun crashes later15:51
Sarvattgles is only enabled for gallium drivers?16:00
SarvattEGL_DRIVER=egl_gallium eglinfo is showing OpenGL_ES and OpenGL_ES2 client APIs, egl_dri only has OpenGL16:01
Sarvattyeah es2_info works under EGL_DRIVER=egl_gallium, hrm16:02
Sarvattmight just need to configure mesa differently to have gles under egl_dri216:02
Sarvattchecking on a non sandybridge intel..16:03
Sarvattwonder why eglinfo isn't shipped in mesa-utils-extra16:04
Sarvattodd, 945 defaults to egl_gallium, sandybridge egl_dri216:06
Sarvattbryceh: YokoZar is updating ia32-libs now \o/17:38
BlackZSarvatt: hello, do you mind if I pm you? :)17:40
SarvattHeyo! whats up BlackZ?17:40
Sarvattsure thing17:40
BlackZSarvatt: thanks :)17:41
brycehSarvatt, excellent17:43
brycehSarvatt, I hear vorlon has been making scads of progress on multiarch as well17:43
Sarvattyeah I see tons of stuff for mesa in git, haven't had a chance to look at it yet though17:46
bjsniderSarvatt, wouldn't it be quicker to build mesa in pbuilder to see if it will build before sending it into the ppa?18:20
Sarvattis that a joke? :P18:21
bjsniderit builds quicker locally than it does in the ppa system18:22
Sarvatti do the packaging on an atom server, the uploads are automated and the failed to build logs are useful for passing along upstream. if you use gmail you can just filter out messages containing "Archive: xorg-edgers PPA" and "State: Failed to build" if the mails bug you18:34
Sarvattmesa takes about 2 hours to build on that thing, i'm not adding a build step before uploading on it18:35
bjsnideroh, i wasn't aware of any of that18:35
bjsnidermesa takes 2 hours to build?18:36
Sarvatton an atom, still about 40 minutes on this i7 laptop if i did move it over, all my sandybridge machines get reimaged too often to use one of those18:36
bjsnider40 minutes on a system that fast is a lot18:37
bjsnideri wonder how much of that code is just old junk18:37
danyhi. how can I force the use of the gallium driver instead of the classic mesa one?19:30
cndbryceh, I've got a fix for bug 73652320:10
ubot4`Launchpad bug 736523 in xserver-xorg-input-synaptics (Ubuntu) "cannot left click and drag with touchpad (regression) (affects: 4) (dups: 1) (heat: 24)" [High,In progress] https://launchpad.net/bugs/73652320:10
cndbut it's a larger than normal change for this late in the cycle20:10
cndI've put it in our ppa:utouch-team/unstable20:10
cndbut I'd like you (and/or others) to review it too before adding it to the packaging rep20:11
cnd(when lp finishes making the debdiff I'll paste a link)20:11
cndbryceh, https://launchpadlibrarian.net/67613705/xserver-xorg-input-synaptics_1.3.99%2Bgit20110116.0e27ce3a-0ubuntu8~utouch1_1.3.99%2Bgit20110116.0e27ce3a-0ubuntu9~utouch1.diff.gz20:13
brycehcnd, sorry just now getting around to looking at your patches23:58
brycehcnd, you might include a mention of the upstream status for them in the changelog entry23:58

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