Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing on MSI GT72S-G220 Gaming Laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
statikregimen
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2011
Posts: 104
Location: USA/Michigan

PostPosted: Wed Aug 23, 2017 5:26 pm    Post subject: Installing on MSI GT72S-G220 Gaming Laptop Reply with quote

Hello,

I thought it may be useful to someone in the future, to share my experience installing to this laptop. This is sort of an unorganized/non-linear stream of information, so before you begin, please give it a good once-over, and skim the README.md and NOTES.md in the git repo and wiki page (linked below), for more detailed/updated information.

Resources:
https://wiki.gentoo.org/wiki/MSI_GT72S-G220 - Gentoo Wiki Page
https://forums.gentoo.org/viewtopic-t-1067924.html - Getting the framebuffer working; not really specific to this laptop probably but kergen wanted Nvidia FB support which apparently doesn't work.
https://forums.gentoo.org/viewtopic-p-8108726.html - Again, not really specific to this laptop, but it helped nonetheless.
https://forums.gentoo.org/viewtopic-t-1068184.html - Kernel needs Realtek HD codec support and XDM (or another displaymanager) seems to go a long way in getting your session singing nicely so pulseaudio is happy.
https://forums.gentoo.org/viewtopic-t-1072464.html - This is my biggest ongoing issue with this machine, but it's probably not a huge deal to most users

Wifi:
You will need sys-kernel/linux-firmware for the wifi adapter.

CPU:
This is probably pretty important regarding the CPU microcode, and I was able to work out how to do it pretty easily based on these:
https://forums.gentoo.org/viewtopic-p-8112768.html#8112768
https://wiki.gentoo.org/wiki/Intel_microcode

Kernel:
I created my kernel config using a Pappy Preconfig and kergen. I will be maintaining and sharing a configuration for this laptop here:
https://bitbucket.org/experimentfailed/gentoo-kernel-configs - Please review NOTES.md under this laptop's directory for even more information (and more updated).

In addition to kergen and the changes from the threads above, I had to select PS/2 Mouse and NVM, as kergen didn't pick up on them. This is, of course, already done in the configuration linked above.

Disks:
Note: This is just how I did it - none of this is required for installing to this laptop. You can create whatever disk/partition layout works best for you.

This laptop has two 128GB SSDs. I created 2 raid volumes on each disk, from which I created 2 128GB RAID0 arrays. On one array, is my root partition. On the other, a writeback bcache for the 1tb mechanical drive, mounted to /home. Holy throughput batman!

If you have a better suggestion for an even FASTER setup, let me know!!

Note: If you do a RAID setup like mine where the root partition is on the array, you'll need an initramfs. In my case, after building my kernel with the above configuration, I used

Code:
genkernel --mdadm --install initramfs


I also set GRUB_CMDLINE_LINUX="domdadm" in /etc/default/grub before running grub-mkconfig

Graphics:
For 3D acceleration, be sure to add your user(s) to the video group, and make sure Nvidia GLX is selected for OpenGL:

Code:
# gpasswd -a <user> video
# eselect opengl set nvidia


Final notes:
Other than that, I pretty much followed the handbook 1:1. I booted using a Sabayon live USB disk, mainly because that's what I had on my person at the time.

So far, I've had to disabled Secure Boot in BIOS...I'm not sure if it's possible to run Linux with it enabled (update: it is but I've not figured it out on Gentoo yet)? It's something I need to learn about still.

Besides sharing the above notes & resources, this thread is also to take questions/suggestions about this laptop, or if you would like me to test something specifically, I'll help as time and knowledge permits (as long as it wouldn't require significant reconfiguration of my machine, e.g. I'm not going to test systemd for you, or risk breakage).

Note to self: You have to rebuild the Nvidia drivers and generate a new initramfs when updating the kernel!
_________________
Links of me:
https://bitbucket.org/experimentfailed/
https://experimentfailed.bandcamp.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum