Jump to content

How to run Steam in Funtoo/LXD


Recommended Posts

  • Funtoo Linux BDFL

Hey everyone, I have added documentation on how to essentially get Steam running in Funtoo using LXD. First, you will want to follow these instructions to get LXD running:

https://www.funtoo.org/LXD

Then, follow these instructions, which will get you to the point of setting up a multilib Gentoo container that can run glxgears. At that point, getting Steam running should be pretty straightforward:

https://www.funtoo.org/LXD/GPU_Acceleration

Please test it out and let me know how it works.

Link to post
Share on other sites
  • Funtoo Linux BDFL

Also note that for now, if you are using nvidia drivers, add an --exclude nvidia-kernel-modules to your emerge line when emerging everything. The nvidia-kernel-modules won't build in containers and you don't need them anyway. I will look into a fix for this.

Link to post
Share on other sites
  • Funtoo Linux BDFL

In my testing, the --exclude method did not work and I manually modified the PDEPEND in nvidia-drivers in /var/git/meta-repo/kits for now as a local work-around. Just a note -- you will likely need to do this too. Other option is to also --exclude nvidia-drivers and then do an emerge -1 nvidia-drivers --exclude nvidia-kernel-modules after the big emerge.

Link to post
Share on other sites
  • Funtoo Linux BDFL

I've removed the PDEPEND from nvidia-drivers so they don't automatically install nvidia-kernel-modules. But nvidia-kernel-modules has nvidia-drivers as a dependency. So if you are installing on bare metal, do emerge nvidia-kernel-modules and you will get everything you need, and if you are installing in container, emerge nvidia-drivers and it will skip the modules. This should be in the live tree for 1.4 already.

Link to post
Share on other sites
×
×
  • Create New...