Thursday 25 April 2013

HOW-TO install nvidia 319.12 drivers on Ubuntu 13.04 [Dual Screen with HDMI working!]

Hi there,

Just wanted to confirm that I was - finally @2am today - be able to install the latest nvidia 319.12[beta] drivers that now support Optimus natively (no need for bumblebee anymore).

Thanks a lot to pogopuschel (from the nvidia forums) who figured out the steps to be able to make it!

The most important feature it enables (at least for me) is that now you can have dual screen working if you're using an HDMI external monitor (VGA was already working out of the box), so after frustration comes a big relief !

I will try to put together an HOW-TO asap but for the impatients I invite you to check his thread on the nvidia forums :

https://devtalk.nvidia.com/default/topic/539322/linux/blank-screen-with-319-12-on-optimus-laptop/3/?offset=38

UPDATE : in fact pogopuschel has already put together the HOW-TO here :

http://paste.ubuntu.com/5601226 

UPDATE (30/04) : seems like there is no need to downgrade anymore (check the nvidia thread). I have to test that asap.

Also, I wanted to mention that in my case the setup is only working if I use an external HDMI Monitor. In that case I'm able to login (with no .xsessionrc) on the HDMI Monitor and after login executing this xrandr command will enable my laptop display :

xrandr --setprovideroutputsource modesetting NVIDIA-0
(at this stage intel or modesetting are both working for me)

Good news is that dual screen is now working but I couldn't get it working (black screen) yet when using laptop display only... :-(

Cheers!

10 comments:

  1. Hi Sebastien,

    thank you for your information. I am considering to buy a ux51vz and install Ubuntu as well.

    From what I read on your blog, everything went well out of the box except HDMI, multi-function keys, clickpad and Wifi, which you were able to fix.

    Now, are there any other drawbacks you did not mention so far? How about e.g. fan control, heat issues under heavy load etc.? Would you recommend the ux51vz with Ubuntu as setup for work (programming, data processing)?

    Thanks a lot in advance,
    Martin

    ReplyDelete
  2. Hi Martin,

    I am very happy with this laptop. It is very fast (I have the XH71 version with 2x256G SSDs), Ubuntu boots in 2secs, and with the nvidia GT650M it makes it one of the only ultrabooks with decent graphics on the market.

    I didn't notice any heat issues but I must admit that I didn't stress it extensively with heavy applications like games, etc. I spent most of my time fixing Ubuntu issues so far;-) The good news is that 13.04 is now - at least I hope - going to fix most of them for you.

    I would definitely recommend it for a professional use, however if I were to use it myself like that, I would ditch the Windows8 partitions/fake RAID and start over with proper Linux software raid partitions. If ever you still need Windows you can run it in a VM (too bad that the license is theoretically not portable into a VM but there is maybe workarounds for that since, well, we f**k**g paid for it!).

    On a final note, not to give you only the good picture, here are the drawbacks with this laptop :
    - If you want to extend your memory from 8G to 12G, you have to open and void your warranty
    - Battery is soldered to the MB, so what will happen if battery dies ?
    - The SSDs are very fast - but so specific (ADATA XM11 in my case) and not easy (not to say impossible) to find and not sure if you could replace them yourself.
    - if you want to use HDMI external monitor (VGA is OK), then you will have to install the latest 319.12 nvidia drivers that - finally - enables dual screen support with HDMI.

    Don't hesitate if you have other questions.
    Cheers

    ReplyDelete
  3. Hi again,

    cool, thanks for the answer. And yes, I remember the times when I installed Ubuntu on my Dell Studio for the first time - there is quite some work to be done until everything works fine :) Back then it was 9.04...

    You helped me a lot mate, I will let you know how I finally decided.

    Regards,
    Martin

    ReplyDelete
  4. Didn't work for me... I had problems with touchpad and black screen (which pressing some button combination could be used again). Furthermore all fn combinations didn't work. Came back with the original 13.04 Ubuntu GNOME.

    ReplyDelete
  5. What drivers did you use? I'm getting only 3 hours with linux (while 6 with Win8). Could you please give me some hint?

    ReplyDelete
  6. I guess the 17GB partition you are referring to is the Windows 8 recovery partition. It's either you delete the D: partition in Windows 8 to reuse it for Ubuntu (like I did) or you re-create all your partitions from scratch and make a Linux software RAID for the 2 SSDs.

    ReplyDelete
  7. Can you provide more details on how you managed to install nouveau drivers and get HDMI working ? BTW, do you have dual screen (laptop + HDMI output) working using that method ?

    ReplyDelete
  8. Hello, I just got the ASUS UX51VZ laptop and tried to install Ubuntu on it. The installation seems to work fine but after reboot the BIOS shows without any boot options..

    How do I need to configure the bios/uefi to install Ubuntu correctly on this laptop?

    ReplyDelete
  9. Hi Yoni,

    Weird that you don't have any EFI entry in your BIOS, not even Windows ?? Which version/flavor of Ubuntu did you try ?

    If I were you I would try the boot-repair avenue... ;-)

    Check this thread : http://ux51vz.blogspot.ca/2013/03/wtf-invalid-arch-independent-elf-magic.html

    However, if your fakeraid is still OK, try Lubuntu 13.04 : http://ux51vz.blogspot.ca/2013/05/quickest-way-to-installreinstall-ubuntu.html

    ReplyDelete
  10. @Yoni: if your laptop has secure boot you probably need to disable it to install Ubuntu.

    @OP: I tried the setup @ http://paste.ubuntu.com/5601226/ and everything went fine until:

    [CODE]
    guithammer@guitbox:~$ wget https://launchpad.net/~canonical-x/+archive/x-staging/+build/4349898/+files/xserver-xorg-core_1.14.0-0ubuntu0.1_amd64.deb
    --2013-09-09 22:12:46-- https://launchpad.net/~canonical-x/+archive/x-staging/+build/4349898/+files/xserver-xorg-core_1.14.0-0ubuntu0.1_amd64.deb
    Resolving launchpad.net (launchpad.net)... 91.189.89.223, 91.189.89.222
    Connecting to launchpad.net (launchpad.net)|91.189.89.223|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2013-09-09 22:12:47 ERROR 404: Not Found.

    guithammer@guitbox:~$ wget https://launchpad.net/~canonical-x/+archive/x-staging/+files/xserver-common_1.14.0-0ubuntu0.1_all.deb
    --2013-09-09 22:12:55-- https://launchpad.net/~canonical-x/+archive/x-staging/+files/xserver-common_1.14.0-0ubuntu0.1_all.deb
    Resolving launchpad.net (launchpad.net)... 91.189.89.222
    Connecting to launchpad.net (launchpad.net)|91.189.89.222|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2013-09-09 22:13:01 ERROR 404: Not Found.

    guithammer@guitbox:~$
    [/CODE]
    um
    After trying finishing the tutorial Ubuntu fails to boot, just hangs at the loading screen with the dots that turn orange to white and back. The dots stop changing after a few seconds and then I can't even reboot with cltr+alt+del

    Running ASUS N56VZ w/ nVidia GeForce 650M

    Currently can't get any nVidia drivers working w/o Bumblebee but I don't game and mainly watch vlc on a TV through HDMI while working on the laptop screen so Optimus capable nVidia drivers for Linux would be great to get HDMI out working with sound. Currently can only get HDMI video out with Nouveau drivers. No audio. Any help would be appreciated. Thanks.

    ReplyDelete