[15:40] <bjsnider> tseliot, 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 over
[15:40] <tseliot> bjsnider: what room? And how doesn't it switch to nvidia?
[15:41] <bjsnider> +1
[15:41] <bjsnider> i can get him in here
[15:41] <tseliot> bjsnider: yes, please
[15:41] <bjsnider> ok, it's superlag
[15:42] <bjsnider> so 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 command
[15:42] <SuperLag> yep
[15:42] <bjsnider> SuperLag, you didn't get any errors when you installed the 319 package right?
[15:43] <SuperLag> bjsnider: no errors
[15:43] <bjsnider> tseliot, so there you have it
[15:44] <bjsnider> when he runs readlink /etc/alternatives/x86_64-linux-gnu_gl_conf it's the mesa link
[15:44] <tseliot> SuperLag: why did you run that command manually?
[15:44] <SuperLag> tseliot: which one?
[15:44] <tseliot> SuperLag: 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 8602
[15:44] <bjsnider> i told him to
[15:45] <tseliot> you shouldn't have to do that
[15:45] <bjsnider> yep
[15:46] <tseliot> SuperLag: have you used the NVIDIA installer before on the same ubuntu installation?
[15:46] <bjsnider> he says he didn't ever use the nvidia-installer
[15:46] <SuperLag> negative
[15:46] <bjsnider> haha i axed him
[15:46] <bjsnider> he did use xorg-edgers though
[15:46] <SuperLag> which I purged
[15:46] <SuperLag> and I also did dpkg --purge nvidia-*
[15:47] <tseliot> SuperLag: 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] <SuperLag> sure... stand by
[15:47] <tseliot> (use pastebin please)
[15:48] <bjsnider> i don't think it's useful that the update-alternatives command is run, fails, and doesn't produce any useful message about it
[15:49] <SuperLag> update-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 output
[15:49] <SuperLag> for the record, I'm on an x64 system
[15:50] <SuperLag> Linux beast 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[15:51] <SuperLag> http://paste.ubuntu.com/6251670/
[15:52] <SuperLag> more 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:53] <bjsnider> it would be better to find out what's wrong than to just reinstall to fix it. someone else could have this problem
[15:54] <tseliot> SuperLag: 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" again
[15:54] <SuperLag> no problem
[15:58] <SuperLag> http://paste.ubuntu.com/6251715/
[16:01] <tjaalton> "manual mode"
[16:02] <SuperLag> tjaalton: that's from when bjsnider had me run that command
[16:02] <tjaalton> well it's still in manual mode, need to remove it manually then too, I guess
[16:02] <tjaalton> but yes, a big loud warning when it's in manual mode would be nice
[16:02] <tjaalton> or just override it
[16:03] <tjaalton> since installing the package without overriding it will break things, no?
[16:03] <SuperLag> How do I remove it?
[16:03] <bjsnider> it failed the same way before he switched to manual mode
[16:08] <bjsnider> sudo update-alternatives --auto x86_64-linux-gnu_gl_conf
[16:08] <tjaalton> could work
[16:08] <bjsnider> the priority numbers say that it should switch to nvidia
[16:09] <bjsnider> since recent studies have shown 8602 is higher than 500
[16:10] <SuperLag> :D
[16:11] <bjsnider> did that change it?
[16:12] <SuperLag> http://paste.ubuntu.com/6251780/
[16:13] <bjsnider> so why was that alternative in manual mode
[16:13] <SuperLag> no clue... but it didn't fix it.
[16:13] <SuperLag> rebooted and I'm still in 640x480
[16:13] <bjsnider> you must be using all nvidia now
[16:14] <bjsnider> glxinfo?
[16:14] <bjsnider> maybe the auto command should be added to the postinst and prerm scripts
[16:15] <SuperLag> http://paste.ubuntu.com/6251785
[16:15] <bjsnider> and is the alternative still nvidia?
[16:16] <bjsnider> if so, run ldconfig and reboot
[16:16] <SuperLag> root@beast ~ # readlink /etc/alternatives/x86_64-linux-gnu_gl_conf
[16:16] <SuperLag> /usr/lib/nvidia-319/alt_ld.so.conf
[16:17] <bjsnider> yeah run ldconfig and reboot
[16:17] <SuperLag> done. black screen, after giving my creds to lightdm
[16:18] <SuperLag> I can log in on SSH though
[16:18] <bjsnider> the keyboard fails to respond?
[16:19] <SuperLag> well, the screen isn't lighting up when I press the keyboard, if that's what you mean
[16:19] <SuperLag> but I do have an SSH session
[16:20] <tseliot> SuperLag: sudo ldconfig; sudo update-initramfs -u
[16:21] <tseliot> then reboot and if it fails, please get /var/log/Xorg.0.log from ssh
[16:22] <SuperLag> funny... when I rebooted, the Ubuntu logo showed up
[16:22] <tjaalton> cat /proc/cmdline
[16:23] <SuperLag> http://paste.ubuntu.com/6251830/
[16:23] <SuperLag> BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=7b1e1618-46be-496c-bc93-58b3be8bdc3f ro quiet splash vt.handoff=7
[16:25] <tseliot> SuperLag: what does this command say? dkms status
[16:25] <SuperLag> nvidia-319, 319.32, 3.11.0-12-generic, x86_64: installed
[16:25] <SuperLag> vboxhost, 4.3.0, 3.11.0-11-generic, x86_64: installed
[16:25] <SuperLag> vboxhost, 4.3.0, 3.11.0-12-generic, x86_64: installed
[16:26] <SuperLag> I have no issue with dumping vbox, either, if needed.
[16:26] <SuperLag> I use VMware, and was just tinkering with vbox
[16:31] <SuperLag> Done. vbox gone.
[16:35] <tseliot> SuperLag: what about "dmesg" ?
[16:35] <tseliot> as the nvidia module doesn't seem to be loaded
[16:36] <tseliot> at least according to the X log
[16:37] <tjaalton> it doesn't exist
[16:37] <tjaalton> [     5.228] (EE) Failed to load module "nvidia" (module does not exist, 0)
[16:37] <tjaalton> oh right
[16:37] <tjaalton> hmm no
[16:37] <tjaalton> I'll just leave you to it :)
[16:38] <bjsnider> how can it not exist if dkms says it's installed
[16:38] <bjsnider> another user complained about this exact problem a short time ago
[16:39] <bjsnider> bringing him in here
[16:39] <exalt> hi
[16:39] <exalt> hello, 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] <bjsnider> exalt, i thought you said earlier you had a black screen
[16:40] <tseliot> bjsnider: well, if he's running 3.11.0-11-generic instead of 3.11.0-12-generic he won't have that module
[16:40] <bjsnider> yep
[16:40] <SuperLag> it loads, but then it looks like it switches to vesafb
[16:40] <bjsnider> 12 should be on top of the list though
[16:40] <tjaalton> make sure linux-image-generic is installed and all headers too
[16:40] <tjaalton> that it should pull
[16:41] <SuperLag> exalt: what laptop do you have?
[16:41] <exalt> thinkpad w520
[16:41] <SuperLag> exalt: and what do you mean by "blurred screen"
[16:41] <SuperLag> yeah... mine is a W530
[16:41] <tseliot> SuperLag: it shouldn't load vesafb
[16:42] <SuperLag> tseliot: I could be reading it wrong... but yeah.
[16:42] <tseliot> SuperLag: can you pastebin dmesg, please?
[16:43] <SuperLag> http://paste.ubuntu.com/6251923/
[16:43] <SuperLag> tseliot: search for NVRM
[16:45] <SuperLag> tseliot: the vesa stuff comes immediately thereafter
[16:47] <tseliot> SuperLag: there's something wrong. What's the output of "grep -Rl vesa /etc/modprobe.d/" ?
[16:47] <exalt> http://i.imgur.com/JygFuPP.jpg
[16:47] <exalt> sorry it tokesomentime
[16:48] <exalt> doing it on tablet
[16:48] <tseliot> exalt: can you ssh into the system?
[16:48] <SuperLag> root@beast ~ # grep -Rl vesa /etc/modprobe.d/
[16:48] <SuperLag> /etc/modprobe.d/blacklist-framebuffer.conf
[16:48] <exalt> i can get in commanline
[16:49] <tjaalton> so a hybrid system, didn't it need that the driver is installed via jockey? ;)
[16:49] <tseliot> exalt: good. So please type the following: "sudo nvidia-bug-report.sh"
[16:49] <tseliot> tjaalton: I think he installed manually
[16:49] <tseliot> which should work
[16:49] <tjaalton> does it install nvidia-prime?
[16:50] <tseliot> he installed both packages manually. There's no jockey in saucy
[16:50] <tjaalton> ok i missed that phase
[16:50] <exalt> its complete
[16:51] <SuperLag> tseliot: should vesafb be blacklisted, as well?
[16:52] <tseliot> exalt: 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 reboot
[16:53] <tseliot> SuperLag: the only thing (that I know of) that can possibly load it is grub but nvidia blacklists that too
[16:53] <SuperLag> tseliot: this blows. :/
[16:53] <tseliot> SuperLag: but anyway, does "lsmod | grep nvidia" say anything?
[16:54] <SuperLag> tseliot: oh yeah, it's loaded
[16:54] <tseliot> SuperLag: can I see the new X log, please?
[16:54] <SuperLag> nvidia               9430350  0
[16:54] <SuperLag> drm                   296739  1 nvidia
[16:54] <SuperLag> tseliot: coming right up.
[16:55] <SuperLag> http://paste.ubuntu.com/6251985/
[16:55] <exalt_lap> hello
[16:55] <SuperLag> tseliot: that's after uncommenting the vesafb line and rebooting.
[16:55] <exalt_lap> i got visuals again :P
[16:55] <exalt_lap> now lets get nvidia to work -_-'
[16:56] <SuperLag> what a cluster
[16:56] <tseliot> exalt_lap: please upload the tarball somewhere
[16:57] <tseliot> SuperLag: please type the following: "sudo nvidia-bug-report.sh"
[16:57] <tseliot> there must be something that I'm missing...
[16:59] <exalt_lap> exalt.nu/nvbr_exalt.log.gz
[17:00] <SuperLag> tseliot: had to find it, as it's not on $PATH
[17:00] <tseliot> exalt_lap: you seem to only have one graphics card. Are you sure that your system has two cards?
[17:01] <exalt_lap> tseliot: as i said i booted in in discrete mode, SuperLag said that was the way to go
[17:02] <tseliot> exalt_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 driver
[17:02] <SuperLag> tseliot: https://dl.dropboxusercontent.com/u/913175/nvidia-bug-report.log.gz
[17:02] <exalt_lap> ahh
[17:02] <exalt_lap> ty brb i reboot and put it on again
[17:02] <tseliot> SuperLag: Error (404)
[17:03] <exalt_lap> SuperLag: that link is private lol :)
[17:05] <SuperLag> Oh yeah. Since the system didn't completely start, Dropbox didn't start. Try now. Same link.
[17:07] <tseliot> err: ldd /usr/bin/glxinfo
[17:07] <tseliot> 	linux-vdso.so.1 =>  (0x00007fff89dac000)
[17:07] <tseliot> 	libGL.so.1 => not found
[17:09] <tseliot> SuperLag: what does "ldconfig -p | grep GL" say?
[17:09] <exalt> okay strange ... i installed nvidia again with optimus enabled and i hear the login sound but screen stays black
[17:10] <tseliot> exalt: if optimus mode is enabled you need both nvidia-319 and nvidia-prime. In discrete mode only nvidia-319
[17:11] <SuperLag> tseliot: http://paste.ubuntu.com/6252082/
[17:11] <exalt> yes thats what i did : sudo apt-get install nvidia-319 nvidia-prime nvidia-settings-319
[17:11] <SuperLag> :)
[17:11] <SuperLag> exalt: I think you misunderstood him
[17:11] <exalt> i enabled optimus mode
[17:11] <exalt> im no longer in discrete
[17:12] <exalt> still think i misunderstood?
[17:12] <tseliot> exalt: 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:13] <exalt> tseliot: u think i should reinstall ?
[17:13] <exalt> the whole system? 
[17:13] <tseliot> SuperLag: that's kind of broken. No nvidia libraries there
[17:13] <tseliot> exalt: not really
[17:16] <tseliot> exalt: what happens if you remove nvidia-prime and keep nvidia-319 in optimus mode? (And reboot)
[17:18] <tseliot> SuperLag: it looks like you're still using the wrong alternative or ldconfig fails to understand that
[17:28] <SuperLag> tseliot: how do I fix it?
[17:30] <tseliot> SuperLag: 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 system
[17:32] <SuperLag> tseliot: ugh
[17:33] <tseliot> SuperLag: wait a second...
[17:34] <tseliot> SuperLag: no, never mind
[17:35]  * tseliot -> off
[17:35] <SuperLag> wait
[17:36] <SuperLag> tseliot: does the fact that alternatives still have some i386 entries, rather than x86_64 like I'm running, pose problems?
[17:41] <bjsnider> 32bit vdpau?
[17:42] <SuperLag> I gave up. *sigh*
[17:42] <SuperLag> Retrieving file 16 of 69....
[17:43] <bjsnider> did you try ldconfig again?
[17:43] <SuperLag> yes
[17:43] <SuperLag> and no
[17:43] <SuperLag> made no difference
[17:43] <SuperLag> Xorg log looked the same, and I still had VGA session
[17:44] <SuperLag> only a VGA session, that is
[17:45] <mdeslaur> FYI, I pushed out the xorg-server updates to the stable releases, so let me know if things explode
[17:46] <bjsnider> SuperLag, https://github.com/tseliot/nvidia-graphics-drivers/blob/319/debian/nvidia-319.postinst
[17:47] <bjsnider> SuperLag, the command to create the alternatives is lines 129-154
[17:47] <bjsnider> if you want to run it you would then have to switch back to auto and run ldconfig both as sudo
[18:02] <tjaalton> mdeslaur: ok, thanks
[18:20] <exalt> hello can anyone explain this to me ? http://i.imgur.com/NzLajGe.png
[18:23] <exalt> it ocurred afther the nvidia driver installation reboot
[18:44] <exalt> this is the bug i suffer https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1227747
[19:35] <bjsnider> SuperLag, let me know if everything's fine after your wipe/reload
[19:35] <bjsnider> i have to report to my red chinese masters
[20:35] <SuperLag> haha
[20:35] <SuperLag> bjsnider: just finished my reload. I'm installing Nvidia throught the "Additional Drivers" section in Settings
[20:36] <bjsnider> coolio
[20:37] <SuperLag> funny.... the "Settings" icon isn't showing up on the menu bar
[20:38] <SuperLag> YEAH BABY.
[20:38] <SuperLag> Nvidia goodness.
[20:38] <bjsnider> works now huh?
[20:39] <SuperLag> I know... I know... I'm an OSS infidel... but nouveau just *SUCKS* compared to the closed source driver.
[20:43] <bjsnider> not really
[20:44] <bjsnider> it's quite impressive actually
[20:45] <bjsnider> it may not drive your particular hardware well