Freitag, 8. November 2013

dualboot - Ubuntu 13.10 - try1

12.04 was to old for me so, i want nvidia always-on. so lets go further and try ubuntu 13.10 and mod it:



if have not already done you need to do step 0, 1 (with different iso) and 2 from here.

if you're already lucky linux user just:
get the iso 13.10 64bit here: http://www.ubuntu.com/download/desktop

apt-get install unetbootin
call unetbootin as root, select the iso and your usb-device

boot with legacy mode (see step 2 here)

press F11 till you boot from usb stick...

scroll to "install ubuntu" then hit "tab"
remove the "quiet, splash" and instead add "nomodeset". hit enter

plugin your ethernet cable or connect to your wifi at top-right (attention as you got us keyboard)

i select also "update while installing" and "thirdparty software"

"something else" as i want to partition manually

i selected some free space on the first disk, hit "+" then my size of 30GB, logical, mounted as "/". let it create and hit "install now". if you want to add also a swap partition ("+", change size and type = swap)

as device for the grub i've selected "sda" Device. Grub install will fail. But thats ok...
We continue without bootloader.

reboot, reset uefi in bios

i booted back to ubuntu 12.04 and did there a
update-grub
if this is your first linux, use the grub-fix method described in the other post...

as ubuntu 13.10 did install nouveau which seg-faults at bootup, i stayed in my 12.04 setup and mounted the 13.10 partition to changeroot into it
chroot /media/xy
apt-get remove xserver-xorg-video-nouveau

reboot and select 13.10 from grub

things wont startup right but with ctrl+alt+F11 and login
sudo su -
apt-get install nvidia-prime nvidia-319 nvidia-settings-319 
reboot

x should come up correct...


Tweaks
next i tweaked ubuntu like described here:
http://www.webupd8.org/2013/10/8-things-to-do-after-installing-ubuntu.html
http://www.webupd8.org/2013/10/gimp-29-210-development-builds.html
http://www.webupd8.org/2013/10/get-sound-working-in-skype-with-ubuntu.html
http://ubuntuforums.org/showthread.php?t=2183447
http://www.howopensource.com/2012/10/create-application-launcher-add-icon-to-unity-ubuntu-12-10/ 


and
 gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope', 'help-askubuntu.scope', 'web-chromiumbookmarks.scope', 'music-clementine.scope', 'graphics-colourlovers.scope', 'graphics-deviantart.scope', 'reference-dictionary.scope', 'info-ddg_related.scope', 'more_suggestions-etsy.scope', 'photos-facebook.scope', 'photos-flickr.scope', 'info-foursquare.scope', 'books-gallica.scope', 'code-github.scope', 'books-googlebooks.scope', 'news-googlenews.scope', 'recipes-gourmet.scope', 'music-grooveshark.scope', 'music-guayadeque.scope', 'reference-jstor.scope', 'info-medicines.scope', 'photos-picasa.scope', 'recipes-recipepuppy.scope', 'info-reddit.scope', 'video-remote.scope', 'reference-googlescholar.scope', 'reference-sciencedirect.scope', 'photos-shotwell.scope', 'social.scope', 'info-songkick.scope', 'music-songsterr.scope', 'music-soundcloud.scope', 'reference-stackexchange.scope', 'help-texdoc.scope', 'reference-themoviedb.scope', 'notes-tomboy.scope', 'weather-weatherchannel.scope', 'reference-wikipedia.scope', 'news-yahoostock.scope', 'help-yelp.scope', 'info-yelpplaces.scope', 'reference-zotero.scope', 'reference-europeana.scope', 'code-devhelp.scope', 'graphics-openclipart.scope', 'weather-openweathermap.scope', 'reference-pubmed.scope']"

http://lifehacker.com/5887462/how-to-disable-ubuntus-annoying-global-menu-bar
https://fixubuntu.com/



Some notes:
1. looks like i can not move from unity to gnome-shell as i always had problems with installing gdm. but if you want to try you can/should be able to do this:
apt-get install gdm
reboot

add-apt-repository ppa:gnome3-team/gnome3-next
add-apt-repository ppa:gnome3-team/gnome3-staging
apt-get update
apt-get dist-upgrade
apt-get install gnome-shell
apt-get install gnome-documents gnome-contacts epiphany-browser gnome-boxes gnome-shell-extensions gnome-tweak-tool bijiben gnome-clocks
apt-get remove overlay-scrollbar 
reboot


log in, and
ctrl + alt + t
gsettings set org.gnome.settings-daemon.plugins.cursor active false
to get the mouse back 


2. if you want to experiment with newer nvidia drivers get them here:
http://www.nvidia.com/object/unix.html


3. experiment with the 3.12 kernel from here, but it does not work with nvidia-319:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-headers-3.12.0-031200-generic_3.12.0-031200.201311031935_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-headers-3.12.0-031200_3.12.0-031200.201311031935_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/linux-image-3.12.0-031200-generic_3.12.0-031200.201311031935_amd64.deb
dpkg -i linux*3.12*.deb


4. if you lost the fn-X keys: http://ubuntuforums.org/showthread.php?t=2174250

5. after kernel upgrades reboot and if X comes up or or jus low-grafix-mode is available do this:
dpkg-reconfigure nvidia-prime nvidia-319 virtualbox-dkms

24 Kommentare:

  1. Do you get your backlight control working? Mind says not backlight in the system.

    AntwortenLöschen
  2. Hi,
    I've just made a little C program to control the LED keyboard. Do not need the full nodejs things, just 2 .c files.
    https://gitorious.org/msi-klm/msi-klm
    Regards,
    Loux

    AntwortenLöschen
  3. Can you write what is working and what is not working, as you did in previous post? Did you manage to fix camera?

    AntwortenLöschen
  4. sure, sorry forgot. everything works except:
    - volume fn keys
    - external monitors
    - recovering from hibernate gives strange visual patterns in background and shadows. but everything else works...

    working:
    - wifi, lan, brightness fn keys, webcam, microfon, speakers, opengl, ...

    AntwortenLöschen
    Antworten
    1. Odds are external monitors won't work for quite some time. The issue with Nvidia Optimus and Linux is that on Windows, the Nvidia GPU writes into the Intel GPU's frame buffer which is then displayed to the screen. Due to the licensing of the Linux Kernel, if Nvidia were to have their driver write into the Intel frame buffer, they would have to open source their graphics driver. Since they don't want to do that, they won't be support Optimus officially anytime soon. However, the Nvidia-Prime package that's being developed for Ubuntu is a bridge between the Nvidia display driver and the Linux Kernel module that allows for Nvidia's driver to stay closed source.

      Löschen
  5. I've installed 14.04 by creating a UEFI bootable USB as detailed here:
    http://ubuntuforums.org/showthread.php?t=2108487&page=3&p=12656460#post12656460Q

    I installed in UEFI mode, and with the exception of some quicks during installation (it is an alpha release at this point), everything just works. I undid the RAID0 striping for better reliability though. I will be putting one OS on each drive.

    I have no yet tried external monitors, but the volume keys do work as well as hibernation.

    The W8 install the computer came with was awful. In addition to the more common W8 frustrations, the Windows Update process refused to respond no matter what I tried. I could not update the OS at all.

    AntwortenLöschen
  6. thanx for letting us know. looking forward for 14.04!
    my win8 works still flawless and updating to 8.1 and so on worked without any problems...

    has someone found out how to fix hibernation in 13.10?

    AntwortenLöschen
    Antworten
    1. I haven't found a fix, but I ran into the problem this morning. My guess is that it's an issue with renabling the Nvidia driver on wake up. There's probably a solution out there, it'll just take some digging to find.

      Löschen
  7. Any news regarding the video output? I would love to get this laptop but I also need video output to work for presentations and my primary OS is Ubuntu. Does at least the HDMI work? Thanks.

    AntwortenLöschen
    Antworten
    1. Yes and no I suppose is the right answer. By default, it won't output via HDMI. Nvidia support on Linux hasn't matured to support output from the Intel GPU and the Nvidia GPU. So whether you choose Bumblebee or Nvidia-Prime, it won't work unless the outputs are wired to the Intel chip (which neither the mini-DP or HDMI ports are).

      However, there's apparently a way to get multiple sessions working with Bumblebee. I haven't actually tested it myself, so I don't know if it works on this laptop, but there's information on GitHub about it on the Bumblebee project repository.

      Löschen
  8. Thanks. I've been searching a little bit and there seems to be a way to get the external monitors to work. However this involves switching the Nvidia card permanently on.

    "Multiple monitors don't work out of the box; to enable multiple monitors, you need to edit the xorg.conf file, comment Option "UseDisplayDevice" "none" and add the devices sections as explained HERE;"

    Seen here: http://www.webupd8.org/2013/08/using-nvidia-graphics-drivers-with.html

    AntwortenLöschen
    Antworten
    1. thanx. let us know if it works, as i'm always on nvidia only anway...

      Löschen
    2. I'd like to know if it works too. I, too, would like to use an HDMI output on my laptop on Linux. That's really the only thing keeping me from staying on Linux all the time.

      Löschen
  9. Well, I got external monitors working today, but it's not pretty. I'd say it's only about 70% functional. Also, I'm using Fedora, but there's nothing here that won't work in Ubuntu (I think).

    http://imgur.com/YMAZHqx

    Don't fret! This will only get easier as time goes on; it's only a software issue (mostly a closed/open source legality issue) but it isn't hardware related.

    In order to accomplish this, I installed the Nvidia binary blob driver (could probably get away with a restricted driver in a repository like RPMFusion, but this is the only thing I tested) and did some manual xorg configuration following this guide [http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html]. After installing the nvidia binary blob (MAKE SURE IT IS AT LEAST 319.12), I had to boot the kernel with the standard "rdblacklist=nouveau nouveau.modeset=0" appended to the kernel command line. This just disallows the nouveau driver from interfering with the nvidia driver. I then added a file called 20-nvidia-modesetting.conf in /etc/X11/xorg.conf.d/ with the following contents: http://pastebin.com/FeCea0ri. I plugged in an external display to the HDMI port on the machine and when I booted, the X server started only on the external display. I logged in and ran two commands:

    $ xrandr --setprovideroutputsource modesetting NVIDIA-0
    $ xrandr --auto

    This mirrored the displays. From there, I was able to access my gnome-settings control panel for display configuration and set the displays to primary/secondary display configuration (stretch desktop). I CAN move windows across screens! One could probably add these previous lines to some sort of .xinitrc script somewhere to perform this automatically on bootup.

    Here comes the ugly stuff, and here's why I'm going to wait until all of this is better supported.

    1. The nvidia card must always be on. Not a real issue for me, but I noticed that cooling was quickly becoming an issue.
    2. The external display has this annoying "panning" behavior that cannot be disabled. The external display follows my mouse onto the laptop screen
    3. Hotplugging screens crashes the X server
    4. Setting the laptop screen as the primary monitor crashes the X server
    5. 3D accelleration appears to be very slow in this configuration.
    6. This is probably the biggest reason why I'm not using this configuration -- Using the laptop without an external display connected requires a nontrivial amount of work. If you are just going to leave the laptop on a desk connected to the external display most of the time, this may not be an issue but the machine is certainly not mobile anymore after this change. In order to use the main screen again without an external monitor connected, you would need to uninstall the nvidia driver, delete the xorg configuration and reboot. Everytime you want to use the external display again, you would need to reinstall the nvidia driver. Yuck.

    So there you have it. I think these issues can be sorted out in time, but currently there are not many solutions and the existing solution is experimental at best. Looks like your best bet is to dual-boot windows on the machine if you really want to use secondary monitors.

    -Griff

    AntwortenLöschen
  10. Do you have any plans to do an install guide for 14.04 when it comes out of beta?

    AntwortenLöschen
    Antworten
    1. yes. as soon its released officially. means i'll do some tests on the eastern weekend... but i dont know yet if i do a complete fresh setup or just upgrade the 13.10

      Löschen
    2. Did you just end up upgrading to Ubuntu 14.04 through 13.10 or did you do a fresh install?

      Löschen
    3. none. but i think i'll copy the partition and hide it, and then go thru update...

      Löschen
  11. Has anyone tried installing Ubuntu 14.04 from a live cd booted in UEFI mode? I was able to install the system, but boot-repair won't fix the booting issues. My laptop boots to Windows by default and the GRUB menu doesn't display for whatever reason. Does anyone know why this is happening?

    AntwortenLöschen
    Antworten
    1. did not try yet. my keyboard is broken and my screen started to flicker. i'll send it on repair next week. the quality of this device is bader than i expected (i had several lenovos without any problems)

      Löschen
    2. it took me longer to send it in... now i'll get a new one this week, check my latest post, as hardware specs changed...

      Löschen
  12. I don't know if anyone's done a fresh install of Ubuntu 14.04 on the MSI GS70, but I attempted it and got boot-repair to work (it hasn't been updated for Trusty yet) but it doesn't boot.

    If anyone's got any wisdom on how to accomplish this, I'd love to hear it.

    AntwortenLöschen