/srv/irclogs.ubuntu.com/2013/10/17/#ubuntu-x.txt

=== tomreyn_ is now known as tomreyn
bjsnidertseliot, i've got a guy in the other channel that is running nvidia's module with nouveau's glx links because the alternative didn't switch over15:40
tseliotbjsnider: what room? And how doesn't it switch to nvidia?15:40
bjsnider+115:41
bjsnideri can get him in here15:41
tseliotbjsnider: yes, please15:41
bjsniderok, it's superlag15:41
bjsniderso he installed nvidia-319 twice and manually ran the --install /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf x86_64-linux-gnu_gl_conf /usr/lib/nvidia-319/ld.so.conf 8602 command15:42
SuperLagyep15:42
bjsniderSuperLag, you didn't get any errors when you installed the 319 package right?15:42
SuperLagbjsnider: no errors15:43
bjsnidertseliot, so there you have it15:43
bjsniderwhen he runs readlink /etc/alternatives/x86_64-linux-gnu_gl_conf it's the mesa link15:44
tseliotSuperLag: why did you run that command manually?15:44
SuperLagtseliot: which one?15:44
tseliotSuperLag: update-alternatives --install /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf x86_64-linux-gnu_gl_conf /usr/lib/nvidia-319/ld.so.conf 860215:44
bjsnideri told him to15:44
tseliotyou shouldn't have to do that15:45
bjsnideryep15:45
tseliotSuperLag: have you used the NVIDIA installer before on the same ubuntu installation?15:46
bjsniderhe says he didn't ever use the nvidia-installer15:46
SuperLagnegative15:46
bjsniderhaha i axed him15:46
bjsniderhe did use xorg-edgers though15:46
SuperLagwhich I purged15:46
SuperLagand I also did dpkg --purge nvidia-*15:46
tseliotSuperLag: can you please type "sudo apt-get --purge remove nvidia-319" and show me the output of "update-alternatives --display  x86_64-linux-gnu_gl_conf"15:47
tseliot?15:47
SuperLagsure... stand by15:47
tseliot(use pastebin please)15:47
bjsnideri don't think it's useful that the update-alternatives command is run, fails, and doesn't produce any useful message about it15:48
SuperLagupdate-alternatives: using /usr/lib/i386-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode <-- this was part of the apt-get purge output15:49
SuperLagfor the record, I'm on an x64 system15:49
SuperLagLinux beast 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux15:50
SuperLaghttp://paste.ubuntu.com/6251670/15:51
SuperLagmore info... this was an install from a Daily image, and I've kept it updated after that. If you guys thing I broke something internal, and should reinstall to fix it, I'm willing to do that. I've got ~, /usr/local/, and /opt isolated... so it's almost painless. :)15:52
bjsniderit would be better to find out what's wrong than to just reinstall to fix it. someone else could have this problem15:53
tseliotSuperLag: ok, now "sudo apt-get update && sudo apt-get install nvidia-319" and the output of "update-alternatives --display  x86_64-linux-gnu_gl_conf" again15:54
SuperLagno problem15:54
SuperLaghttp://paste.ubuntu.com/6251715/15:58
tjaalton"manual mode"16:01
SuperLagtjaalton: that's from when bjsnider had me run that command16:02
tjaaltonwell it's still in manual mode, need to remove it manually then too, I guess16:02
tjaaltonbut yes, a big loud warning when it's in manual mode would be nice16:02
tjaaltonor just override it16:02
tjaaltonsince installing the package without overriding it will break things, no?16:03
SuperLagHow do I remove it?16:03
bjsniderit failed the same way before he switched to manual mode16:03
bjsnidersudo update-alternatives --auto x86_64-linux-gnu_gl_conf16:08
tjaaltoncould work16:08
bjsniderthe priority numbers say that it should switch to nvidia16:08
bjsnidersince recent studies have shown 8602 is higher than 50016:09
SuperLag:D16:10
bjsniderdid that change it?16:11
SuperLaghttp://paste.ubuntu.com/6251780/16:12
bjsniderso why was that alternative in manual mode16:13
SuperLagno clue... but it didn't fix it.16:13
SuperLagrebooted and I'm still in 640x48016:13
bjsnideryou must be using all nvidia now16:13
bjsniderglxinfo?16:14
bjsnidermaybe the auto command should be added to the postinst and prerm scripts16:14
SuperLaghttp://paste.ubuntu.com/625178516:15
bjsniderand is the alternative still nvidia?16:15
bjsniderif so, run ldconfig and reboot16:16
SuperLagroot@beast ~ # readlink /etc/alternatives/x86_64-linux-gnu_gl_conf16:16
SuperLag/usr/lib/nvidia-319/alt_ld.so.conf16:16
bjsnideryeah run ldconfig and reboot16:17
SuperLagdone. black screen, after giving my creds to lightdm16:17
SuperLagI can log in on SSH though16:18
bjsniderthe keyboard fails to respond?16:18
SuperLagwell, the screen isn't lighting up when I press the keyboard, if that's what you mean16:19
SuperLagbut I do have an SSH session16:19
tseliotSuperLag: sudo ldconfig; sudo update-initramfs -u16:20
tseliotthen reboot and if it fails, please get /var/log/Xorg.0.log from ssh16:21
SuperLagfunny... when I rebooted, the Ubuntu logo showed up16:22
tjaaltoncat /proc/cmdline16:22
SuperLaghttp://paste.ubuntu.com/6251830/16:23
SuperLagBOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=7b1e1618-46be-496c-bc93-58b3be8bdc3f ro quiet splash vt.handoff=716:23
tseliotSuperLag: what does this command say? dkms status16:25
SuperLagnvidia-319, 319.32, 3.11.0-12-generic, x86_64: installed16:25
SuperLagvboxhost, 4.3.0, 3.11.0-11-generic, x86_64: installed16:25
SuperLagvboxhost, 4.3.0, 3.11.0-12-generic, x86_64: installed16:25
SuperLagI have no issue with dumping vbox, either, if needed.16:26
SuperLagI use VMware, and was just tinkering with vbox16:26
SuperLagDone. vbox gone.16:31
tseliotSuperLag: what about "dmesg" ?16:35
tseliotas the nvidia module doesn't seem to be loaded16:35
tseliotat least according to the X log16:36
tjaaltonit doesn't exist16:37
tjaalton[     5.228] (EE) Failed to load module "nvidia" (module does not exist, 0)16:37
tjaaltonoh right16:37
tjaaltonhmm no16:37
tjaaltonI'll just leave you to it :)16:37
bjsniderhow can it not exist if dkms says it's installed16:38
bjsnideranother user complained about this exact problem a short time ago16:38
bjsniderbringing him in here16:39
exalthi16:39
exalthello, i installed ubuntu on an optimuslaptop in discrete mode,i then installed nvidia-319 with nvidia-prime and rebooted, all i see is a blurredscreen. what do i do now ?16:39
bjsniderexalt, i thought you said earlier you had a black screen16:39
tseliotbjsnider: well, if he's running 3.11.0-11-generic instead of 3.11.0-12-generic he won't have that module16:40
bjsnideryep16:40
SuperLagit loads, but then it looks like it switches to vesafb16:40
bjsnider12 should be on top of the list though16:40
tjaaltonmake sure linux-image-generic is installed and all headers too16:40
tjaaltonthat it should pull16:40
SuperLagexalt: what laptop do you have?16:41
exaltthinkpad w52016:41
SuperLagexalt: and what do you mean by "blurred screen"16:41
SuperLagyeah... mine is a W53016:41
tseliotSuperLag: it shouldn't load vesafb16:41
SuperLagtseliot: I could be reading it wrong... but yeah.16:42
tseliotSuperLag: can you pastebin dmesg, please?16:42
SuperLaghttp://paste.ubuntu.com/6251923/16:43
SuperLagtseliot: search for NVRM16:43
SuperLagtseliot: the vesa stuff comes immediately thereafter16:45
tseliotSuperLag: there's something wrong. What's the output of "grep -Rl vesa /etc/modprobe.d/" ?16:47
exalthttp://i.imgur.com/JygFuPP.jpg16:47
exaltsorry it tokesomentime16:47
exaltdoing it on tablet16:48
tseliotexalt: can you ssh into the system?16:48
SuperLagroot@beast ~ # grep -Rl vesa /etc/modprobe.d/16:48
SuperLag/etc/modprobe.d/blacklist-framebuffer.conf16:48
exalti can get in commanline16:48
tjaaltonso a hybrid system, didn't it need that the driver is installed via jockey? ;)16:49
tseliotexalt: good. So please type the following: "sudo nvidia-bug-report.sh"16:49
tseliottjaalton: I think he installed manually16:49
tseliotwhich should work16:49
tjaaltondoes it install nvidia-prime?16:49
tseliothe installed both packages manually. There's no jockey in saucy16:50
tjaaltonok i missed that phase16:50
exaltits complete16:50
SuperLagtseliot: should vesafb be blacklisted, as well?16:51
tseliotexalt: good, so that has created a tarball that I will need later. Now, let's get the system up & running again. Type: "sudo apt-get --purge remove nvidia-319 nvidia-prime" and reboot16:52
tseliotSuperLag: the only thing (that I know of) that can possibly load it is grub but nvidia blacklists that too16:53
SuperLagtseliot: this blows. :/16:53
tseliotSuperLag: but anyway, does "lsmod | grep nvidia" say anything?16:53
SuperLagtseliot: oh yeah, it's loaded16:54
tseliotSuperLag: can I see the new X log, please?16:54
SuperLagnvidia               9430350  016:54
SuperLagdrm                   296739  1 nvidia16:54
SuperLagtseliot: coming right up.16:54
SuperLaghttp://paste.ubuntu.com/6251985/16:55
exalt_laphello16:55
SuperLagtseliot: that's after uncommenting the vesafb line and rebooting.16:55
exalt_lapi got visuals again :P16:55
exalt_lapnow lets get nvidia to work -_-'16:55
SuperLagwhat a cluster16:56
tseliotexalt_lap: please upload the tarball somewhere16:56
tseliotSuperLag: please type the following: "sudo nvidia-bug-report.sh"16:57
tseliotthere must be something that I'm missing...16:57
exalt_lapexalt.nu/nvbr_exalt.log.gz16:59
SuperLagtseliot: had to find it, as it's not on $PATH17:00
tseliotexalt_lap: you seem to only have one graphics card. Are you sure that your system has two cards?17:00
exalt_laptseliot: as i said i booted in in discrete mode, SuperLag said that was the way to go17:01
tseliotexalt_lap: if you boot in discrete mode you disable the integrated card. This means you don't need the nvidia-prime package. You should install only the nvidia driver17:02
SuperLagtseliot: https://dl.dropboxusercontent.com/u/913175/nvidia-bug-report.log.gz17:02
exalt_lapahh17:02
exalt_lapty brb i reboot and put it on again17:02
tseliotSuperLag: Error (404)17:02
exalt_lapSuperLag: that link is private lol :)17:03
SuperLagOh yeah. Since the system didn't completely start, Dropbox didn't start. Try now. Same link.17:05
tselioterr: ldd /usr/bin/glxinfo17:07
tseliotlinux-vdso.so.1 =>  (0x00007fff89dac000)17:07
tseliotlibGL.so.1 => not found17:07
tseliotSuperLag: what does "ldconfig -p | grep GL" say?17:09
exaltokay strange ... i installed nvidia again with optimus enabled and i hear the login sound but screen stays black17:09
tseliotexalt: if optimus mode is enabled you need both nvidia-319 and nvidia-prime. In discrete mode only nvidia-31917:10
SuperLagtseliot: http://paste.ubuntu.com/6252082/17:11
exaltyes thats what i did : sudo apt-get install nvidia-319 nvidia-prime nvidia-settings-31917:11
SuperLag:)17:11
SuperLagexalt: I think you misunderstood him17:11
exalti enabled optimus mode17:11
exaltim no longer in discrete17:11
exaltstill think i misunderstood?17:12
tseliotexalt: my best guess is that, since you can enable and disable the nvidia card from the BIOS, your system has a MUX. I'm not sure that would work.17:12
exalttseliot: u think i should reinstall ?17:13
exaltthe whole system? 17:13
tseliotSuperLag: that's kind of broken. No nvidia libraries there17:13
tseliotexalt: not really17:13
tseliotexalt: what happens if you remove nvidia-prime and keep nvidia-319 in optimus mode? (And reboot)17:16
tseliotSuperLag: it looks like you're still using the wrong alternative or ldconfig fails to understand that17:18
SuperLagtseliot: how do I fix it?17:28
tseliotSuperLag: if the alternative points at /usr/lib/nvidia-319/ld.so.conf and "sudo ldconfig" doesn't change "ldconfig -p | grep GL" then I have no idea and you should probably reinstall the system17:30
SuperLagtseliot: ugh17:32
tseliotSuperLag: wait a second...17:33
tseliotSuperLag: no, never mind17:34
* tseliot -> off17:35
SuperLagwait17:35
SuperLagtseliot: does the fact that alternatives still have some i386 entries, rather than x86_64 like I'm running, pose problems?17:36
bjsnider32bit vdpau?17:41
SuperLagI gave up. *sigh*17:42
SuperLagRetrieving file 16 of 69....17:42
bjsniderdid you try ldconfig again?17:43
SuperLagyes17:43
SuperLagand no17:43
SuperLagmade no difference17:43
SuperLagXorg log looked the same, and I still had VGA session17:43
SuperLagonly a VGA session, that is17:44
mdeslaurFYI, I pushed out the xorg-server updates to the stable releases, so let me know if things explode17:45
bjsniderSuperLag, https://github.com/tseliot/nvidia-graphics-drivers/blob/319/debian/nvidia-319.postinst17:46
bjsniderSuperLag, the command to create the alternatives is lines 129-15417:47
bjsniderif you want to run it you would then have to switch back to auto and run ldconfig both as sudo17:47
tjaaltonmdeslaur: ok, thanks18:02
exalthello can anyone explain this to me ? http://i.imgur.com/NzLajGe.png18:20
exaltit ocurred afther the nvidia driver installation reboot18:23
exaltthis is the bug i suffer https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/122774718:44
ubottuUbuntu bug 1227747 in gnome-settings-daemon (Ubuntu) "[xrandr]: gnome-settings-daemon crashed with signal 5 in _XReply()" [Undecided,Confirmed]18:44
bjsniderSuperLag, let me know if everything's fine after your wipe/reload19:35
bjsnideri have to report to my red chinese masters19:35
SuperLaghaha20:35
SuperLagbjsnider: just finished my reload. I'm installing Nvidia throught the "Additional Drivers" section in Settings20:35
bjsnidercoolio20:36
SuperLagfunny.... the "Settings" icon isn't showing up on the menu bar20:37
SuperLagYEAH BABY.20:38
SuperLagNvidia goodness.20:38
bjsniderworks now huh?20:38
SuperLagI know... I know... I'm an OSS infidel... but nouveau just *SUCKS* compared to the closed source driver.20:39
bjsnidernot really20:43
bjsniderit's quite impressive actually20:44
bjsniderit may not drive your particular hardware well20:45

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