[Lunar-commits] <moonbase-other> nouveau-fw: Adding to moonbase. Took a while to figure out why flash was

Dennis Veatch dennisveatch at bellsouth.net
Fri Aug 1 18:20:40 CEST 2014


commit 6c1b473bda74eae1451e38e82e1eb9ce4058af2f
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Fri, 01 Aug 2014 12:15:04 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/6c1b473bda74eae1451e38e82e1eb9ce4058af2f

nouveau-fw: Adding to moonbase. Took a while to figure out why flash was
soooo crappy (not that it isn't crap but well) using xf86-video-nouveau.
There are additional pieces of firmware needed for video acceleration.
Being what xf86-video-nouveau is we need that firmware from the NVIDIA
blobs and that is what this module does; extracts firmware and firmware only
installing it into /lib/firmware/nouveau.

I have the GK104 [GeForce GTX 760] and all is now well in bit land. YMMV and
this module may need some tweaking for other NVIDIA cards but time will tell.
---
  video/nouveau-fw/BUILD     | +5/-0     
  video/nouveau-fw/DEPENDS   | +2/-0     
  video/nouveau-fw/DETAILS   | +20/-0    
  video/nouveau-fw/PRE_BUILD | +8/-0     
  4 files changed, 35 insertions(+)

--- /dev/null
+++ b/video/nouveau-fw/BUILD
@@ -0,0 +1,5 @@
+
+ mkdir -p /lib/firmware/nouveau &&
+
+ prepare_install &&
+ cp -d nv* vuc-* /lib/firmware/nouveau/
--- /dev/null
+++ b/video/nouveau-fw/DEPENDS
@@ -0,0 +1,2 @@
+depends xorg-server
+depends xf86-video-nouveau
--- /dev/null
+++ b/video/nouveau-fw/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=nouveau-fw
+         VERSION=20140801
+          SOURCE=extract_firmware.py
+         SOURCE2=NVIDIA-Linux-x86-325.15.run
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
+      SOURCE_URL=https://raw.github.com/imirkin/re-vp2/master/
+     SOURCE2_URL=http://us.download.nvidia.com/XFree86/Linux-x86/325.15/
+      SOURCE_VFY=sha1:3f6e4631e9801b1d80d5382c6d35974ec97e30d8
+     SOURCE2_VFY=sha1:78aa8cecd75207e402bbd5c5a9577d9df410b3c8
+        WEB_SITE=http://nouveau.freedesktop.org/wiki/VideoAcceleration/
+         ENTERED=20140801
+         UPDATED=20140801
+           SHORT="extract firmware from NVIDIA blobs"
+
+cat << EOF
+nouveau-fw extracts firmware from NVIDIA blobs needed for hardware acceleration
+when using the open source nouveau driver. 
+
+This module does nothing more than stated.
+EOF
--- /dev/null
+++ b/video/nouveau-fw/PRE_BUILD
@@ -0,0 +1,8 @@
+validate_source_dir $SOURCE_DIRECTORY &&
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY        &&
+cp $SOURCE_CACHE/$SOURCE .  &&
+cp $SOURCE_CACHE/$SOURCE2 . &&
+sh $SOURCE_CACHE/$SOURCE2 --extract-only &&
+python2 extract_firmware.py 
+




More information about the Lunar-commits mailing list