Running on real hardware...
Dan Kegel
dank at kegel.com
Sun Dec 14 20:12:47 UTC 2014
On Sat, Dec 13, 2014 at 4:47 AM, Christian Robottom Reis
<kiko at canonical.com> wrote:
> On Fri, Dec 12, 2014 at 10:33:03PM -0800, Dan Kegel wrote:
>> Next step is to try to bring up real opengl; the nvidia driver
>> wants gcc before it'll even try to install itself.
This might have been more work than was needed, but here's a
recipe for installing drivers downloaded from nvidia's site:
1) Install a plain old 15.05 desktop throwaway vm and grab needed
files from it like this
(there's probably a nicer way using apt-get download but that
would require scripting to follow dependencies?):
cd /var/cache/apt/archives
mkdir -p old
mv -f *.deb old
ver=`uname -r`
pkgs="linux-headers-$ver linux-image-extra-$ver make gcc libc6-dev"
apt-get remove $pkgs
apt-get autoremove
apt-get install $pkgs
cd /tmp
rm -rf staging
mkdir staging
cd staging
for pkg in /var/cache/apt/archives/*.deb
do
dpkg-deb -x $pkg .
done
tar -czvf deps.tgz usr lib
2) On the Ubuntu Core system:
scp othersystem:deps.tgz .
sudo mount -o remount,rw /
tar -C / -xf deps.tgz
sudo insmod `find /lib/modules -name drm.ko`
3) You should be able to run the Nvidia installer now.
I haven't done X yet, so I don't know if the resulting driver works.
More information about the snappy-devel
mailing list