added patch to conftest.sh to fix build on x86 [release 304.116-2mamba;Mon Dec 02 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 07:46:38 +01:00
parent 8ce3de50d9
commit 19dfa4fe0f
4 changed files with 1433 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# nvidia_304
nvidia proprietary accelerated drivers for the Linux Kernel.
These packages contains parts that are not (fully) released under GPL license.
These modules are packaged apart from the main kernel modules because they are not fully released as GPL. This means that some modules might have been built from binary objects distributed by the hardware manufacturer. By loading this modules you will "taint" the kernel, which means that your running system won't be 100% GPL.

View File

@ -0,0 +1,30 @@
diff -Nru NVIDIA-Linux-x86-304.116.orig/kernel/conftest.sh NVIDIA-Linux-x86-304.116/kernel/conftest.sh
--- NVIDIA-Linux-x86-304.116.orig/kernel/conftest.sh 2013-10-29 04:43:06.000000000 +0100
+++ NVIDIA-Linux-x86-304.116/kernel/conftest.sh 2013-12-02 01:17:55.228531516 +0100
@@ -125,7 +125,7 @@
if [ "$OUTPUT" != "$SOURCES" ]; then
MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-default"
- if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
+ if [ "$ARCH" = "x86" -o "$ARCH" = "x86_64" ]; then
MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/arch/x86/include/uapi"
@@ -139,7 +139,7 @@
fi
else
MACH_CFLAGS="-I$HEADERS/asm/mach-default"
- if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
+ if [ "$ARCH" = "x86" -o "$ARCH" = "x86_64" ]; then
MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/arch/x86/include/uapi"
@@ -156,7 +156,7 @@
CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS $AUTOCONF_CFLAGS"
CFLAGS="$CFLAGS -I$HEADERS -I$HEADERS/uapi -I$OUTPUT/include/generated/uapi"
- if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
+ if [ "$ARCH" = "x86" -o "$ARCH" = "x86_64" ]; then
CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include/uapi"
CFLAGS="$CFLAGS -I$OUTPUT/arch/x86/include/generated"

View File

@ -0,0 +1,653 @@
diff -urN NVIDIA-Linux-x86_64-304.88/kernel/nv-i2c.c NVIDIA-Linux-x86_64-304.88.new/kernel/nv-i2c.c
--- NVIDIA-Linux-x86_64-304.88/kernel/nv-i2c.c 2013-03-27 17:26:51.000000000 -0400
+++ NVIDIA-Linux-x86_64-304.88.new/kernel/nv-i2c.c 2013-07-05 10:04:23.000000000 -0400
@@ -1,3 +1,4 @@
+
/* _NVRM_COPYRIGHT_BEGIN_
*
* Copyright 2005-2011 by NVIDIA Corporation. All rights reserved. All
@@ -311,8 +312,6 @@
BOOL NV_API_CALL nv_i2c_del_adapter(nv_state_t *nv, void *data)
{
struct i2c_adapter *pI2cAdapter = (struct i2c_adapter *)data;
- int osstatus = 0;
- BOOL wasReleased = FALSE;
#if defined(KERNEL_2_4)
if (!NV_WEAK_SYMBOL_PRESENT(i2c_add_adapter))
@@ -324,15 +323,10 @@
if (!pI2cAdapter) return FALSE;
// attempt release with the OS
- osstatus = i2c_del_adapter(pI2cAdapter);
-
- if (!osstatus)
- {
- os_free_mem(pI2cAdapter);
- wasReleased = TRUE;
- }
+ i2c_del_adapter(pI2cAdapter);
+ os_free_mem(pI2cAdapter);
- return wasReleased;
+ return TRUE;
}
#else // (defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE))
diff -urN NVIDIA-Linux-x86_64-304.88/kernel/nv-procfs.c NVIDIA-Linux-x86_64-304.88.new/kernel/nv-procfs.c
--- NVIDIA-Linux-x86_64-304.88/kernel/nv-procfs.c 2013-03-27 17:26:51.000000000 -0400
+++ NVIDIA-Linux-x86_64-304.88.new/kernel/nv-procfs.c 2013-07-05 10:12:52.000000000 -0400
@@ -60,60 +60,41 @@
__entry; \
})
-#define NV_CREATE_PROC_FILE(name,parent,__read_proc, \
- __write_proc,__fops,__data) \
- ({ \
- struct proc_dir_entry *__entry; \
- int __mode = (S_IFREG | S_IRUGO); \
- if ((NvUPtr)(__write_proc) != 0) \
- __mode |= S_IWUSR; \
- __entry = NV_CREATE_PROC_ENTRY(name, __mode, parent); \
- if (__entry != NULL) \
- { \
- if ((NvUPtr)(__read_proc) != 0) \
- __entry->read_proc = (__read_proc); \
- if ((NvUPtr)(__write_proc) != 0) \
- { \
- __entry->write_proc = (__write_proc); \
- __entry->proc_fops = (__fops); \
- } \
- __entry->data = (__data); \
- } \
- __entry; \
- })
+#define NV_PROC_RW (S_IFREG|S_IRUGO|S_IWUSR)
+#define NV_PROC_RO (S_IFREG|S_IRUGO)
#define NV_CREATE_PROC_DIR(name,parent) \
({ \
struct proc_dir_entry *__entry; \
int __mode = (S_IFDIR | S_IRUGO | S_IXUGO); \
- __entry = NV_CREATE_PROC_ENTRY(name, __mode, parent); \
+ __entry = proc_mkdir_mode(name, __mode, parent); \
__entry; \
})
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(3,9,255)
+static inline void *PDE_DATA(const struct inode *inode) {
+ return PDE(inode)->data;
+}
+#endif
+
#define NV_PROC_WRITE_BUFFER_SIZE (64 * RM_PAGE_SIZE)
static int
-nv_procfs_read_gpu_info(
- char *page,
- char **start,
- off_t off,
- int count,
- int *eof,
- void *data
+nv_procfs_show_gpu_info(
+ struct seq_file *m,
+ void *v
)
{
- nv_state_t *nv = data;
+ nv_state_t *nv = m->private;
nv_linux_state_t *nvl = NV_GET_NVL_FROM_NV_STATE(nv);
struct pci_dev *dev = nvl->dev;
char *type, *fmt, tmpstr[NV_DEVICE_NAME_LENGTH];
- int len = 0, status;
+ int status;
NvU8 *uuid;
NvU32 vbios_rev1, vbios_rev2, vbios_rev3, vbios_rev4, vbios_rev5;
NvU32 fpga_rev1, fpga_rev2, fpga_rev3;
nv_stack_t *sp = NULL;
- *eof = 1;
-
NV_KMEM_CACHE_ALLOC_STACK(sp);
if (sp == NULL)
{
@@ -134,31 +115,31 @@
if (rm_get_device_name(sp, nv, dev->device, dev->subsystem_vendor,
dev->subsystem_device, NV_DEVICE_NAME_LENGTH,
tmpstr) != RM_OK)
- {
+ {
strcpy (tmpstr, "Unknown");
}
}
- len += sprintf(page+len, "Model: \t\t %s\n", tmpstr);
- len += sprintf(page+len, "IRQ: \t\t %d\n", nv->interrupt_line);
+ seq_printf(m, "Model: \t\t %s\n", tmpstr);
+ seq_printf(m, "IRQ: \t\t %d\n", nv->interrupt_line);
if (NV_IS_GVI_DEVICE(nv))
{
status = rm_gvi_get_firmware_version(sp, nv, &fpga_rev1, &fpga_rev2,
&fpga_rev3);
if (status != RM_OK)
- len += sprintf(page+len, "Firmware: \t ????.??.??\n");
+ seq_printf(m, "Firmware: \t ????.??.??\n");
else
{
fmt = "Firmware: \t %x.%x.%x\n";
- len += sprintf(page+len, fmt, fpga_rev1, fpga_rev2, fpga_rev3);
+ seq_printf(m, fmt, fpga_rev1, fpga_rev2, fpga_rev3);
}
}
else
{
if (rm_get_gpu_uuid(sp, nv, &uuid, NULL) == RM_OK)
{
- len += sprintf(page+len, "GPU UUID: \t %s\n", (char *)uuid);
+ seq_printf(m, "GPU UUID: \t %s\n", (char *)uuid);
os_free_mem(uuid);
}
@@ -166,12 +147,12 @@
&vbios_rev3, &vbios_rev4,
&vbios_rev5) != RM_OK)
{
- len += sprintf(page+len, "Video BIOS: \t ??.??.??.??.??\n");
+ seq_printf(m, "Video BIOS: \t ??.??.??.??.??\n");
}
else
{
fmt = "Video BIOS: \t %02x.%02x.%02x.%02x.%02x\n";
- len += sprintf(page+len, fmt, vbios_rev1, vbios_rev2, vbios_rev3,
+ seq_printf(m, fmt, vbios_rev1, vbios_rev2, vbios_rev3,
vbios_rev4, vbios_rev5);
}
}
@@ -182,12 +163,12 @@
type = "PCI-E";
else
type = "PCI";
- len += sprintf(page+len, "Bus Type: \t %s\n", type);
+ seq_printf(m, "Bus Type: \t %s\n", type);
- len += sprintf(page+len, "DMA Size: \t %d bits\n",
+ seq_printf(m, "DMA Size: \t %d bits\n",
nv_count_bits(dev->dma_mask));
- len += sprintf(page+len, "DMA Mask: \t 0x%llx\n", dev->dma_mask);
- len += sprintf(page+len, "Bus Location: \t %04x:%02x.%02x.%x\n",
+ seq_printf(m, "DMA Mask: \t 0x%llx\n", dev->dma_mask);
+ seq_printf(m, "Bus Location: \t %04x:%02x.%02x.%x\n",
nv->domain, nv->bus, nv->slot, PCI_FUNC(dev->devfn));
#if defined(DEBUG)
do
@@ -195,7 +176,7 @@
int j;
for (j = 0; j < NV_GPU_NUM_BARS; j++)
{
- len += sprintf(page+len, "BAR%u: \t\t 0x%llx (%lluMB)\n",
+ seq_printf(m, "BAR%u: \t\t 0x%llx (%lluMB)\n",
j, nv->bars[j].address, (nv->bars[j].size >> 20));
}
} while (0);
@@ -203,26 +184,120 @@
NV_KMEM_CACHE_FREE_STACK(sp);
- return len;
+ return 0;
}
static int
-nv_procfs_read_version(
- char *page,
- char **start,
- off_t off,
- int count,
- int *eof,
- void *data
+nv_procfs_open_gpu_info(
+ struct inode *inode,
+ struct file *file
)
{
- int len = 0;
- *eof = 1;
+ return single_open(file, nv_procfs_show_gpu_info, PDE_DATA(inode));
+}
- len += sprintf(page+len, "NVRM version: %s\n", pNVRM_ID);
- len += sprintf(page+len, "GCC version: %s\n", NV_COMPILER);
+static const struct file_operations nv_procfs_gpu_info_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_open_gpu_info,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
- return len;
+static int
+nv_procfs_show_version(
+ struct seq_file *m,
+ void *v
+)
+{
+ seq_printf(m, "NVRM version: %s\n", pNVRM_ID);
+ seq_printf(m, "GCC version: %s\n", NV_COMPILER);
+
+ return 0;
+}
+
+static int
+nv_procfs_open_version(
+ struct inode *inode,
+ struct file *file
+)
+{
+ return single_open(file, nv_procfs_show_version, NULL);
+}
+
+static const struct file_operations nv_procfs_version_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_open_version,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
+static int
+nv_procfs_show_registry(
+ struct seq_file *m,
+ void *v
+)
+{
+ nv_state_t *nv = m->private;
+ nv_linux_state_t *nvl = NULL;
+ char *registry_keys;
+
+ if (nv != NULL)
+ nvl = NV_GET_NVL_FROM_NV_STATE(nv);
+ registry_keys = ((nvl != NULL) ?
+ nvl->registry_keys : nv_registry_keys);
+
+ seq_printf(m, "Binary: \"%s\"\n", registry_keys);
+
+ return 0;
+}
+
+static ssize_t
+nv_procfs_write_registry(
+ struct file *file,
+ const char __user *buffer,
+ size_t count,
+ loff_t *pos
+)
+{
+ int status = 0;
+ nv_file_private_t *nvfp = NV_GET_FILE_PRIVATE(file);
+ char *proc_buffer;
+ unsigned long bytes_left;
+
+ down(&nvfp->fops_sp_lock[NV_FOPS_STACK_INDEX_PROCFS]);
+
+ bytes_left = (NV_PROC_WRITE_BUFFER_SIZE - nvfp->off - 1);
+
+ if (count == 0)
+ {
+ status = -EINVAL;
+ goto done;
+ }
+ else if ((bytes_left == 0) || (count > bytes_left))
+ {
+ status = -ENOSPC;
+ goto done;
+ }
+
+ proc_buffer = &((char *)nvfp->data)[nvfp->off];
+
+ if (copy_from_user(proc_buffer, buffer, count))
+ {
+ nv_printf(NV_DBG_ERRORS, "NVRM: failed to copy in proc data!\n");
+ status = -EFAULT;
+ }
+ else
+ {
+ nvfp->proc_data = PDE_DATA(file->f_inode);
+ nvfp->off += count;
+ }
+
+done:
+ up(&nvfp->fops_sp_lock[NV_FOPS_STACK_INDEX_PROCFS]);
+
+ return ((status < 0) ? status : count);
}
static struct pci_dev *nv_get_agp_device_by_class(unsigned int class)
@@ -432,7 +507,7 @@
nv_stack_t *sp = NULL;
if (0 == (file->f_mode & FMODE_WRITE))
- return 0;
+ return single_open(file, nv_procfs_show_registry, PDE_DATA(inode));
nvfp = nv_alloc_file_private();
if (nvfp == NULL)
@@ -481,6 +556,9 @@
RM_STATUS rm_status;
int rc = 0;
+ if (0 == (file->f_mode & FMODE_WRITE))
+ return single_release(inode, file);
+
nvfp = NV_GET_FILE_PRIVATE(file);
if (nvfp == NULL)
return 0;
@@ -545,122 +623,84 @@
return rc;
}
-static struct file_operations nv_procfs_registry_fops = {
+static const struct file_operations nv_procfs_registry_fops = {
.open = nv_procfs_open_registry,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .write = nv_procfs_write_registry,
.release = nv_procfs_close_registry,
};
static int
-nv_procfs_read_params(
- char *page,
- char **start,
- off_t off,
- int count,
- int *eof,
- void *data
+nv_procfs_show_params(
+ struct seq_file *m,
+ void *v
)
{
unsigned int i;
- int len = 0;
nv_parm_t *entry;
- *eof = 1;
for (i = 0; (entry = &nv_parms[i])->name != NULL; i++)
- len += sprintf(page+len, "%s: %u\n", entry->name, *entry->data);
+ seq_printf(m, "%s: %u\n", entry->name, *entry->data);
- len += sprintf(page+len, "RegistryDwords: \"%s\"\n",
+ seq_printf(m, "RegistryDwords: \"%s\"\n",
(NVreg_RegistryDwords != NULL) ? NVreg_RegistryDwords : "");
- len += sprintf(page+len, "RmMsg: \"%s\"\n",
+seq_printf(m, "RmMsg: \"%s\"\n",
(NVreg_RmMsg != NULL) ? NVreg_RmMsg : "");
- return len;
+ return 0;
}
static int
-nv_procfs_read_registry(
- char *page,
- char **start,
- off_t off,
- int count,
- int *eof,
- void *data
-)
+nv_procfs_open_params(
+ struct inode *inode,
+ struct file *file
+)
{
- nv_state_t *nv = data;
- nv_linux_state_t *nvl = NULL;
- char *registry_keys;
-
- if (nv != NULL)
- nvl = NV_GET_NVL_FROM_NV_STATE(nv);
- registry_keys = ((nvl != NULL) ?
- nvl->registry_keys : nv_registry_keys);
- *eof = 1;
- return sprintf(page, "Binary: \"%s\"\n", registry_keys);
+return single_open(file, nv_procfs_show_params, NULL);
}
+
+
+static const struct file_operations nv_procfs_params_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_open_params,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
static int
-nv_procfs_write_registry(
- struct file *file,
- const char *buffer,
- unsigned long count,
- void *data
+nv_procfs_show_text_file(
+ struct seq_file *m,
+ void *v
)
{
- int status = 0;
- nv_file_private_t *nvfp = NV_GET_FILE_PRIVATE(file);
- char *proc_buffer;
- unsigned long bytes_left;
+ seq_printf(m, "%s", (char *)m->private);
- down(&nvfp->fops_sp_lock[NV_FOPS_STACK_INDEX_PROCFS]);
-
- bytes_left = (NV_PROC_WRITE_BUFFER_SIZE - nvfp->off - 1);
-
- if (count == 0)
- {
- status = -EINVAL;
- goto done;
- }
- else if ((bytes_left == 0) || (count > bytes_left))
- {
- status = -ENOSPC;
- goto done;
- }
-
- proc_buffer = &((char *)nvfp->data)[nvfp->off];
-
- if (copy_from_user(proc_buffer, buffer, count))
- {
- nv_printf(NV_DBG_ERRORS, "NVRM: failed to copy in proc data!\n");
- status = -EFAULT;
- }
- else
- {
- nvfp->proc_data = data;
- nvfp->off += count;
- }
-
-done:
- up(&nvfp->fops_sp_lock[NV_FOPS_STACK_INDEX_PROCFS]);
-
- return ((status < 0) ? status : (int)count);
+ return 0;
}
static int
-nv_procfs_read_text_file(
- char *page,
- char **start,
- off_t off,
- int count,
- int *eof,
- void *data
+nv_procfs_open_text_file(
+ struct inode *inode,
+ struct file *file
)
{
- *eof = 1;
- return sprintf(page, "%s", (char *)data);
+ return single_open(file, nv_procfs_show_text_file, PDE_DATA(inode));
}
+
+static const struct file_operations nv_procfs_text_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_open_text_file,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
static void
nv_procfs_add_text_file(
struct proc_dir_entry *parent,
@@ -668,22 +708,7 @@
const char *text
)
{
- NV_CREATE_PROC_FILE(filename, parent,
- nv_procfs_read_text_file, NULL, NULL, (void *)text);
-}
-
-static void nv_procfs_unregister_all(struct proc_dir_entry *entry)
-{
- while (entry)
- {
- struct proc_dir_entry *next = entry->next;
- if (entry->subdir)
- nv_procfs_unregister_all(entry->subdir);
- remove_proc_entry(entry->name, entry->parent);
- if (entry == proc_nvidia)
- break;
- entry = next;
- }
+ proc_create_data(filename, NV_PROC_RO, parent, &nv_procfs_text_fops, (void *)text);
}
#endif
@@ -713,26 +738,11 @@
if (!proc_nvidia)
goto failed;
- entry = NV_CREATE_PROC_FILE("params", proc_nvidia,
- nv_procfs_read_params, NULL, NULL, NULL);
+ entry = proc_create("params", NV_PROC_RO, proc_nvidia, &nv_procfs_params_fops);
if (!entry)
goto failed;
- /*
- * entry->proc_fops originally points to a constant
- * structure, so to add more methods for the
- * binary registry write path, we need to replace the
- * said entry->proc_fops with a new fops structure.
- * However, in preparation for this, we need to preserve
- * the procfs read() and write() operations.
- */
- nv_procfs_registry_fops.read = entry->proc_fops->read;
- nv_procfs_registry_fops.write = entry->proc_fops->write;
-
- entry = NV_CREATE_PROC_FILE("registry", proc_nvidia,
- nv_procfs_read_registry,
- nv_procfs_write_registry,
- &nv_procfs_registry_fops, NULL);
+ entry = proc_create("registry", NV_PROC_RW, proc_nvidia, &nv_procfs_registry_fops);
if (!entry)
goto failed;
@@ -753,8 +763,7 @@
nv_procfs_add_text_file(proc_nvidia_patches, "README", __README_patches);
- entry = NV_CREATE_PROC_FILE("version", proc_nvidia,
- nv_procfs_read_version, NULL, NULL, NULL);
+ entry = proc_create("version", NV_PROC_RO, proc_nvidia, &nv_procfs_version_fops);
if (!entry)
goto failed;
@@ -771,15 +780,11 @@
if (!proc_nvidia_gpu)
goto failed;
- entry = NV_CREATE_PROC_FILE("information", proc_nvidia_gpu,
- nv_procfs_read_gpu_info, NULL, NULL, nv);
+ entry = proc_create_data("information", NV_PROC_RO, proc_nvidia_gpu, &nv_procfs_gpu_info_fops, nv);
if (!entry)
goto failed;
- entry = NV_CREATE_PROC_FILE("registry", proc_nvidia_gpu,
- nv_procfs_read_registry,
- nv_procfs_write_registry,
- &nv_procfs_registry_fops, nv);
+ entry = proc_create_data("registry", NV_PROC_RW, proc_nvidia_gpu, &nv_procfs_registry_fops, nv);
if (!entry)
goto failed;
@@ -788,28 +793,34 @@
proc_nvidia_agp = NV_CREATE_PROC_DIR("agp", proc_nvidia);
if (!proc_nvidia_agp)
goto failed;
-
- entry = NV_CREATE_PROC_FILE("status", proc_nvidia_agp,
- nv_procfs_read_agp_status, NULL, NULL, nv);
- if (!entry)
- goto failed;
-
- entry = NV_CREATE_PROC_FILE("host-bridge", proc_nvidia_agp,
- nv_procfs_read_agp_info, NULL, NULL, NULL);
- if (!entry)
- goto failed;
-
- entry = NV_CREATE_PROC_FILE("gpu", proc_nvidia_agp,
- nv_procfs_read_agp_info, NULL, NULL, nv);
- if (!entry)
- goto failed;
+//
+// - entry = NV_CREATE_PROC_FILE("params", proc_nvidia,
+//- nv_procfs_read_params, NULL, NULL, NULL);
+//+ entry = proc_create("params", NV_PROC_RO, proc_nvidia, &nv_procfs_params_fops);
+
+ // entry = NV_CREATE_PROC_FILE("status", proc_nvidia_agp,
+ // nv_procfs_read_agp_status, NULL, NULL, nv);
+// entry = proc_create("status", NV_PROC_RO, proc_nvidia, &nv_procfs_params_fops);
+
+ // if (!entry)
+ // goto failed;
+
+ // entry = NV_CREATE_PROC_FILE("host-bridge", proc_nvidia_agp,
+ // nv_procfs_read_agp_info, NULL, NULL, NULL);
+ // if (!entry)
+ // goto failed;
+
+ //entry = NV_CREATE_PROC_FILE("gpu", proc_nvidia_agp,
+ // nv_procfs_read_agp_info, NULL, NULL, nv);
+ //if (!entry)
+ // goto failed;
}
}
#endif
return 0;
#if defined(CONFIG_PROC_FS)
failed:
- nv_procfs_unregister_all(proc_nvidia);
+ remove_proc_subtree("nvidia", proc_nvidia);
return -1;
#endif
}
@@ -817,6 +828,6 @@
void nv_unregister_procfs(void)
{
#if defined(CONFIG_PROC_FS)
- nv_procfs_unregister_all(proc_nvidia);
+ remove_proc_subtree("nvidia", proc_nvidia);
#endif
}

746
nvidia_304.spec Normal file
View File

@ -0,0 +1,746 @@
%define nvidia_current_ver %version
%define nvidia_current_libver %version
Name: nvidia_304
Version: 304.116
Epoch: 1
Release: 2mamba
Summary: NVIDIA proprietary accelerated drivers for the Linux Kernel
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.nvidia.com/object/unix.html
Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{nvidia_current_ver}/NVIDIA-Linux-x86-%{nvidia_current_ver}.run
Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{nvidia_current_ver}/NVIDIA-Linux-x86_64-%{nvidia_current_ver}.run
Patch0: nvidia_304-304.88-kernel-3.10.patch
Patch1: nvidia_304-304.116-x86-conftest.patch
License: no OSI Approved
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
ExclusiveArch: i586 x86_64
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
nvidia proprietary accelerated drivers for the Linux Kernel.
These packages contains parts that are not (fully) released under GPL license.
These modules are packaged apart from the main kernel modules because they are not fully released as GPL. This means that some modules might have been built from binary objects distributed by the hardware manufacturer. By loading this modules you will "taint" the kernel, which means that your running system won't be 100% GPL.
%package -n xorg-drv-video-%{name}
Group: System/Kernel and Hardware
Summary: NVIDIA Accelerated Libraries for Xorg
Requires: xorg-server >= 1.1.0
Requires(post):kernelheaders
Requires(post):dkms
Requires(pre): xorg-ext-libglx-%{name} == %{epoch}:%{version}-%{release}
Requires(pre): libGL-%{name}-X11 == %{epoch}:%{version}-%{release}
Provides: xorgdrvvideo
Provides: kernelnvidia
Conflicts: xorg-drv-video-nvidia
AutoReq: no
%description -n xorg-drv-video-%{name}
The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D functionality and high performance OpenGL support to Linux x86 with theuse of NVIDIA graphics processing units (GPUs).
These drivers provide optimized hardware acceleration of OpenGL applications via a direct-rendering X Server and support nearly all NVIDIA graphics chips.
TwinView, TV-Out and flat panel displays are also supported.
This package contains the Xorg libraries.
%package -n libGL-%{name}-X11
Group: System/Libraries
Summary: NVIDIA proprietary OpenGL library implementation
Requires: xorg-ext-libglx-%{name} == %{epoch}:%{version}-%{release}
Provides: xorglibGL
Provides: libGL.so.1
Conflicts: libGL-nvidia-X11
%description -n libGL-%{name}-X11
The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D functionality and high performance OpenGL support to Linux x86 with theuse of NVIDIA graphics processing units (GPUs).
These drivers provide optimized hardware acceleration of OpenGL applications via a direct-rendering X Server and support nearly all NVIDIA graphics chips.
TwinView, TV-Out and flat panel displays are also supported.
This package contains the NVIDIA proprietary OpenGL library implementation for Xorg.
%package -n xorg-ext-libglx-%{name}
Group: System/Libraries
Summary: NVIDIA proprietary glx library implementation
Provides: xorglibglx
Conflicts: xorg-ext-libglx-nvidia
%description -n xorg-ext-libglx-%{name}
The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D functionality and high performance OpenGL support to Linux x86 with theuse of NVIDIA graphics processing units (GPUs).
These drivers provide optimized hardware acceleration of OpenGL applications via a direct-rendering X Server and support nearly all NVIDIA graphics chips.
TwinView, TV-Out and flat panel displays are also supported.
This package contains the NVIDIA proprietary glx library implementation for Xorg.
%package -n xorg-apps-%{name}
Group: System/Tools
Summary: NVIDIA configuration tools
Conflicts: xorg-apps-nvidia
%description -n xorg-apps-%{name}
The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D functionality and high performance OpenGL support to Linux x86 with theuse of NVIDIA graphics processing units (GPUs).
These drivers provide optimized hardware acceleration of OpenGL applications via a direct-rendering X Server and support nearly all NVIDIA graphics chips.
TwinView, TV-Out and flat panel displays are also supported.
This package contains the NVIDIA tools nvidia-settings, nvidia-xconfig, and nvidia-smi.
%package -n xorg-drv-video-%{name}-doc
Group: Documentation
Summary: HTML documentation for NVIDIA Accelerated Libraries for Xorg
AutoReq: no
%description -n xorg-drv-video-%{name}-doc
The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D functionality and high performance OpenGL support to Linux x86 with theuse of NVIDIA graphics processing units (GPUs).
These drivers provide optimized hardware acceleration of OpenGL applications via a direct-rendering X Server and support nearly all NVIDIA graphics chips.
TwinView, TV-Out and flat panel displays are also supported.
This package contains the HTML documentation.
%prep
%setup -q -c -n %{name}-%{version} -T
#
# unpack NVIDIA files
#
%if "%{_target_cpu}" == "x86_64"
sh %{SOURCE1} --extract-only
ln -sf NVIDIA-Linux-x86_64-%{nvidia_current_ver} current
%else
sh %{SOURCE0} --extract-only
ln -sf NVIDIA-Linux-x86-%{nvidia_current_ver} current
%endif
sed -i "s|__UTILS_PATH__|%{_bindir}|;s|__PIXMAP_PATH__|%{_datadir}/pixmaps|" \
current/nvidia-settings.desktop
cd current
%patch1 -p1
cd ..
%build
ln -s -f Makefile.kbuild current/kernel/Makefile
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
pushd current
# dkms
install -d -m0755 %{buildroot}%{_prefix}/src/%{name}-%{version}
cp -a kernel/* %{buildroot}%{_prefix}/src/%{name}-%{version}/
cat > %{buildroot}%{_prefix}/src/%{name}-%{version}/dkms.conf << _EOF
PACKAGE_NAME=%{name}
PACKAGE_VERSION=%{version}
MAKE="ln -sf /usr/src/\${PACKAGE_NAME}-\${PACKAGE_VERSION}/nv-kernel.o \${dkms_tree}/\${PACKAGE_NAME}/\${PACKAGE_VERSION}/build/;\
make -C \${kernel_source_dir} KERNEL_SOURCES=\${kernel_source_dir} SUBDIRS=\${dkms_tree}/\${PACKAGE_NAME}/\${PACKAGE_VERSION}/build modules"
CLEAN="make -C \${kernel_source_dir} SUBDIRS=\${dkms_tree}/\${PACKAGE_NAME}/\${PACKAGE_VERSION}/build clean"
BUILT_MODULE_NAME=nvidia
BUILT_MODULE_LOCATION=./
DEST_MODULE_LOCATION=/kernel/drivers/video
REMAKE_INITRD=no
AUTOINSTALL=yes
_EOF
install -D -m 0755 libnvidia-wfb.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/xorg/modules/libnvidia-wfb.so.%{nvidia_current_libver}
install -D -m 0755 libnvidia-glcore.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libnvidia-glcore.so.%{nvidia_current_libver}
install -D -m 0755 libGL.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libGL_so.%{nvidia_current_libver}
ln -s libGL_so.%{nvidia_current_libver} %{buildroot}%{_libdir}/libGL_current_so.1
install -D -m 0755 tls/libnvidia-tls.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/tls/libnvidia-tls.so.%{nvidia_current_libver}
#ln -s libnvidia-tls_so.%{nvidia_current_libver} \
# %{buildroot}%{_libdir}/tls/libnvidia-tls_current_so.1
install -D -m 0755 libnvidia-tls.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libnvidia-tls.so.%{nvidia_current_libver}
#ln -s libnvidia-tls_so.%{nvidia_current_libver} \
# %{buildroot}%{_libdir}/libnvidia-tls_current_so.1
install -D -m 0755 libnvidia-ml.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libnvidia-ml.so.%{nvidia_current_libver}
ln -s libnvidia-ml.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libnvidia-ml.so.1
install -D -m 0755 libXvMCNVIDIA.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libXvMCNVIDIA_so.%{nvidia_current_libver}
ln -s libXvMCNVIDIA_so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libXvMCNVIDIA_current_so
install -D -m 644 libXvMCNVIDIA.a %{buildroot}%{_libdir}/libXvMCNVIDIA.a
install -D -m 0755 libnvidia-cfg.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libnvidia-cfg_so.%{nvidia_current_libver}
ln -s libnvidia-cfg_so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/libnvidia-cfg_current_so
install -D -m 0755 nvidia_drv.so \
%{buildroot}%{_libdir}/xorg/modules/drivers/nvidia_current_drv_so
install -D -m 0755 libglx.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/xorg/modules/extensions/libglx_so.%{nvidia_current_libver}
ln -s libglx_so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/xorg/modules/extensions/libglx_current_so
install -d %{buildroot}%{_sbindir}
cat > %{buildroot}%{_sbindir}/update-alternatives-set-nvidia << _EOF
#!/bin/sh
#update-alternatives --set nvidia_\$(uname -r)_%{kernel_ver_u}.ko \
#/lib/modules/\$(uname -r)/kernel/drivers/video/nvidia_current_ko
update-alternatives --set libglx.so %{_libdir}/xorg/modules/extensions/libglx_current_so
update-alternatives --set nvidia_drv.so %{_libdir}/xorg/modules/drivers/nvidia_current_drv_so
update-alternatives --set libGL.so.1 %{_libdir}/libGL_current_so.1
update-alternatives --set libXvMCNVIDIA_dynamic.so %{_libdir}/libXvMCNVIDIA_current_so
update-alternatives --set libnvidia-cfg.so %{_libdir}/libnvidia-cfg_current_so
update-alternatives --set libOpenCL.so.1 %{_libdir}/libOpenCL_nvidia_so.1.0.0
#update-alternatives --set libnvidia-tls.so.1.lib %{_libdir}/libnvidia-tls_current_so.1
#update-alternatives --set libnvidia-tls.so.1 %{_libdir}/tls/libnvidia-tls_current_so.1
_EOF
for f in nvidia-xconfig nvidia-settings nvidia-smi; do
install -D -m 775 ${f} %{buildroot}%{_bindir}/${f}
install -D -m 644 ${f}.1.gz %{buildroot}%{_mandir}/man1/${f}.1.gz
done
install -D -m 644 nvidia-settings.desktop \
%{buildroot}%{_datadir}/applications/nvidia-settings.desktop
install -D -m 644 nvidia-settings.png \
%{buildroot}%{_datadir}/pixmaps/nvidia-settings.png
install -D -m755 libvdpau_nvidia.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/vdpau/libvdpau_nvidia.so.%{nvidia_current_libver}
install -D -m755 libOpenCL.so.1.0.0 \
%{buildroot}%{_libdir}/libOpenCL_nvidia_so.1.0.0
ln -s libvdpau_nvidia.so.%{nvidia_current_libver} \
%{buildroot}%{_libdir}/vdpau/libvdpau_nvidia.so
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%posttrans -n xorg-drv-video-%{name}
if [ $1 -ge 1 ]; then
# clean any legacy alternatives symlink
find /lib/modules/*/kernel/drivers/video/ -name nvidia.ko -type l -exec rm -f {} \;
dkms remove -q -m nvidia -v 304.60 --all
dkms add -q -m %{name} -v %{version}
dkms install -q -m %{name} -v %{version}
fi
:
%post -n xorg-drv-video-%{name}
# new install
update-alternatives --remove libnvidia-tls.so %{_libdir}/libnvidia-tls_current.so 2>/dev/null
if [ $1 -ge 1 ]; then
update-alternatives \
--install %{_libdir}/libXvMCNVIDIA_dynamic.so libXvMCNVIDIA_dynamic.so \
%{_libdir}/libXvMCNVIDIA_current_so 50
update-alternatives \
--install %{_libdir}/libnvidia-cfg.so libnvidia-cfg.so \
%{_libdir}/libnvidia-cfg_current_so 50
# update-alternatives \
# --install %{_libdir}/libnvidia-tls.so.1 libnvidia-tls.so.1.lib \
# %{_libdir}/libnvidia-tls_current_so.1 50
# update-alternatives \
# --install %{_libdir}/tls/libnvidia-tls.so.1 libnvidia-tls.so.1 \
# %{_libdir}/tls/libnvidia-tls_current_so.1 50
[ -e %{_libdir}/xorg/modules/drivers/nvidia_drv.so ] && \
rm -f %{_libdir}/xorg/modules/drivers/nvidia_drv.so
update-alternatives \
--install %{_libdir}/xorg/modules/drivers/nvidia_drv.so nvidia_drv.so \
%{_libdir}/xorg/modules/drivers/nvidia_current_drv_so 50
update-alternatives \
--install %{_libdir}/libOpenCL.so.1 libOpenCL.so.1 \
%{_libdir}/libOpenCL_nvidia_so.1.0.0 20
/sbin/nvidia-autoselect-driver
fi
if [ $1 -eq 1 -a -n "`grep nv /etc/X11/xorg.conf 2>/dev/null`" ]; then
sed -i "s|\"nv\"|\"nvidia\"|" /etc/X11/xorg.conf
sed -i "s|Load \"dri\"||" /etc/X11/xorg.conf
fi
/sbin/ldconfig
/sbin/depmod -a -F /boot/System.map-%{kernel_ver}%{?KERNEL_TARGET} \
%{kernel_ver}%{?KERNEL_TARGET} &>/dev/null
exit 0
%preun -n xorg-drv-video-%{name}
# erase
dkms remove -q -m nvidia -v %{version} --all
if [ $1 -eq 0 ]; then
update-alternatives \
--remove libXvMCNVIDIA_dynamic.so %{_libdir}/libXvMCNVIDIA_current_so
update-alternatives \
--remove libnvidia-cfg.so %{_libdir}/libnvidia-cfg_current_so
update-alternatives \
--remove libnvidia-tls.so.1.lib %{_libdir}/libnvidia-tls_current_so.1
update-alternatives \
--remove libnvidia-tls.so.1 %{_libdir}/tls/libnvidia-tls_current_so.1
[ ! -L %{_libdir}/xorg/modules/drivers/nvidia_drv.so ] && \
rm -f %{_libdir}/xorg/modules/drivers/nvidia_drv.so
update-alternatives \
--remove nvidia_drv.so %{_libdir}/xorg/modules/drivers/nvidia_current_drv_so
update-alternatives \
--remove libOpenCL.so.1 %{_libdir}/libOpenCL_nvidia_so.1.0.0
[ -w /etc/X11/xorg.conf ] && \
sed -i "s|\"nvidia\"|\"nv\"|" /etc/X11/xorg.conf
/sbin/ldconfig
/sbin/depmod -a -F /boot/System.map-`uname -r` \
`uname -r` &>/dev/null
fi
exit 0
%post -n xorg-ext-libglx-%{name}
update-alternatives --remove libglx.so %{_libdir}/libglx_current.so 2>/dev/null
/usr/sbin/update-alternatives \
--install %{_libdir}/xorg/modules/extensions/libglx.so libglx.so \
%{_libdir}/xorg/modules/extensions/libglx_current_so 20
exit 0
%preun -n xorg-ext-libglx-%{name}
if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove libglx.so \
%{_libdir}/xorg/modules/extensions/libglx_current_so
fi
exit 0
%post -n libGL-%{name}-X11
update-alternatives --remove libGL.so.1 %{_libdir}/libGL_current.so.1 2>/dev/null
/usr/sbin/update-alternatives \
--install %{_libdir}/libGL.so.1 libGL.so.1 \
%{_libdir}/libGL_current_so.1 20
/sbin/ldconfig
exit 0
%preun -n libGL-%{name}-X11
if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove libGL.so.1 \
%{_libdir}/libGL_current_so.1
fi
/sbin/ldconfig
exit 0
%files -n libGL-%{name}-X11
%defattr(-,root,root)
%{_libdir}/libGL_so.%{nvidia_current_libver}
%{_libdir}/libGL_current_so.1
%files -n xorg-ext-libglx-%{name}
%defattr(-,root,root)
%{_libdir}/xorg/modules/extensions/libglx_current_so
%{_libdir}/xorg/modules/extensions/libglx_so.%{nvidia_current_libver}
%files -n xorg-drv-video-%{name}
%defattr(-,root,root)
%dir %{_prefix}/src/%{name}-%{version}
%{_prefix}/src/%{name}-%{version}/*
%attr(0755,root,root) %{_sbindir}/update-alternatives-set-nvidia
%{_libdir}/libnvidia-glcore.so.%{nvidia_current_libver}
%{_libdir}/libXvMCNVIDIA.a
%{_libdir}/libXvMCNVIDIA_so.%{nvidia_current_libver}
%{_libdir}/libXvMCNVIDIA_current_so
%{_libdir}/xorg/modules/drivers/nvidia_current_drv_so
%{_libdir}/xorg/modules/libnvidia-wfb.so.%{nvidia_current_libver}
#%{_libdir}/xorg/modules/libwfb.so
%{_libdir}/libnvidia-cfg_so.%{nvidia_current_libver}
%{_libdir}/libnvidia-cfg_current_so
%{_libdir}/libnvidia-tls.so.%{nvidia_current_libver}
#%{_libdir}/libnvidia-tls_current_so.1
#%{_libdir}/tls/libnvidia-tls_current_so.1
%{_libdir}/libnvidia-ml.so.1
%{_libdir}/libnvidia-ml.so.%{nvidia_current_libver}
%{_libdir}/tls/libnvidia-tls.so.%{nvidia_current_libver}
%{_libdir}/libOpenCL_nvidia_so.1.0.0
%{_libdir}/vdpau/libvdpau_nvidia.so
%{_libdir}/vdpau/libvdpau_nvidia.so.%{nvidia_current_libver}
%doc current/LICENSE
%files -n xorg-apps-%{name}
%defattr(-,root,root)
%{_bindir}/nvidia-settings
%{_bindir}/nvidia-xconfig
%{_bindir}/nvidia-smi
%{_datadir}/applications/nvidia-settings.desktop
%{_datadir}/pixmaps/nvidia-settings.png
%{_mandir}/man1/nvidia-settings.*
%{_mandir}/man1/nvidia-smi.*
%{_mandir}/man1/nvidia-xconfig.*
%files -n xorg-drv-video-%{name}-doc
%defattr(-,root,root)
%doc current/{LICENSE,NVIDIA_Changelog,README.txt} current/html
%changelog
* Mon Dec 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 304.116-2mamba
- added patch to conftest.sh to fix build on x86
* Sun Nov 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 304.116-1mamba
- update to 304.116
* Mon Sep 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 304.108-2mamba
- don't obsolete kernelnvidia and Xorg-nvidia
* Sun Sep 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 304.108-1mamba
- update to 304.108
* Sun Sep 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 304.88-2mamba
- renamed to nvidia_304; patched for 3.10
* Fri Jul 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 304.88-1mamba
- update to 304.88
- added kernel 3.10 patch
* Thu Apr 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 304.60-3mamba
- rebuilt with dkms support (no longer provides precompiled binary modules)
- source renamed to nvidia
* Fri Jan 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 304.60-2mamba
- kernel 3.4 rebuild
* Fri Oct 19 2012 Automatic Build System <autodist@mambasoft.it> 304.60-1mamba
- automatic version update by autodist
* Tue Sep 25 2012 Automatic Build System <autodist@mambasoft.it> 304.51-1mamba
- automatic version update by autodist
* Sun Sep 23 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 304.43-3mamba
- obsoletes legacy 71xx, 96xx, 173xx packages since kernel 3.4 (use nouveau instead)
* Tue Sep 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 304.43-2mamba
- rebuilt with kernel 3.4.11
* Tue Aug 28 2012 Automatic Build System <autodist@mambasoft.it> 304.43-1mamba
- automatic version update by autodist
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 304.37-1mamba
- automatic version update by autodist
* Wed Jul 18 2012 Automatic Build System <autodist@mambasoft.it> 304.22-1mamba
- update to 304.22
* Mon Jul 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 302.17-4mamba
- manage libOpenCL.so.1 alternative
* Sat Jun 30 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 302.17-3mamba
- kernel 3.4 rebuild
* Sat Jun 30 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 302.17-2mamba
- provide libOpenCL_nividia.so.1.0.0 instead of conflicting libOpenCL.so.1.0.0. TODO: manage libOpenCL.so.1 alternatives
* Mon Jun 25 2012 Automatic Build System <autodist@mambasoft.it> 302.17-1mamba
- automatic version update by autodist
- install libvdpau_nvidia.so and libOpenCL.so.*
* Thu Jun 14 2012 Automatic Build System <autodist@mambasoft.it> 295.59-1mamba
- automatic version update by autodist
* Mon Jun 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 295.53-2mamba
- fixed obsoletes for multiple kernel support
* Thu May 17 2012 Automatic Build System <autodist@mambasoft.it> 295.53-1mamba
- automatic version update by autodist
* Fri May 04 2012 Automatic Build System <autodist@mambasoft.it> 295.49-1mamba
- automatic version update by autodist
* Wed Apr 11 2012 Automatic Build System <autodist@mambasoft.it> 295.40-1mamba
- automatic version update by autodist
* Fri Mar 23 2012 Automatic Build System <autodist@mambasoft.it> 295.33-1mamba
- automatic version update by autodist
* Mon Feb 13 2012 Automatic Build System <autodist@mambasoft.it> 295.20-1mamba
- automatic version update by autodist
* Sun Feb 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 290.10-3mamba
- automatic update by autodist
* Wed Jan 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 290.10-2mamba
- automatic update by autodist
* Tue Nov 22 2011 Automatic Build System <autodist@mambasoft.it> 290.10-1mamba
- automatic version update by autodist
* Thu Oct 06 2011 Automatic Build System <autodist@mambasoft.it> 285.05.09-1mamba
- automatic version update by autodist
* Sun Sep 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 280.13-4mamba
- automatic update by autodist
* Wed Aug 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 280.13-3mamba
- install libnvidia-ml.so.1 to fix an app requirement
* Fri Aug 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 280.13-2mamba
- automatic update by autodist
* Wed Aug 03 2011 Automatic Build System <autodist@mambasoft.it> 280.13-1mamba
- automatic version update by autodist
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 275.21-1mamba
- automatic update by autodist
* Fri Jul 15 2011 Automatic Build System <autodist@mambasoft.it> 275.19-1mamba
- automatic update by autodist
* Wed Jun 15 2011 Automatic Build System <autodist@mambasoft.it> 275.09.07-1mamba
- automatic update by autodist
* Fri May 20 2011 Automatic Build System <autodist@mambasoft.it> 270.41.19-1mamba
- automatic update by autodist
* Thu Apr 21 2011 Automatic Build System <autodist@mambasoft.it> 270.41.06-1mamba
- automatic update by autodist
* Wed Apr 20 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 260.19.44-3mamba
- kernel 2.6.38 rebuild
* Fri Mar 11 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 260.19.44-2mamba
- kernel 2.6.37 build
* Mon Mar 07 2011 Automatic Build System <autodist@mambasoft.it> 260.19.44-1mamba
- automatic update by autodist
* Mon Feb 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 260.19.36-1mamba
- update to 260.19.36
* Mon Feb 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 260.19.29-3mamba
- automatic update by autodist
* Fri Dec 17 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 260.19.29-2mamba
- rebuilt with kernel 2.6.35
* Wed Dec 15 2010 Automatic Build System <autodist@mambasoft.it> 260.19.29-1mamba
- automatic update to 260.19.29 by autodist
* Wed Dec 08 2010 Automatic Build System <autodist@mambasoft.it> 260.19.21-1mamba
- automatic update to 260.19.21 by autodist
* Mon Oct 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 256.53-4mamba
- don't manage alternatives for libnvidia-tls.so as soname was changed from libnvidia-tls.so.1 to libnvidia-tls.so.<VERSION>
* Fri Oct 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 256.53-3mamba
- fixed for cross-platform build
* Sun Oct 10 2010 Davide Madrisan <davide.madrisan@gmail.com> 256.53-2mamba
- remove alternatives for libnvidia-glcore
* Thu Oct 07 2010 Davide Madrisan <davide.madrisan@gmail.com> 256.53-1mamba
- update to 256.53
- new subpackage xorg-apps-nvidia
* Sun Jul 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 195.36.31-3mamba
- update-alternatives-set-nvidia*: fix alternative configuration for kernel module
* Wed Jun 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 195.36.31-2mamba
- automatic rebuild by autodist
* Wed Jun 23 2010 Automatic Build System <autodist@mambasoft.it> 195.36.31-1mamba
- automatic update to 195.36.31 by autodist
* Thu Apr 29 2010 Automatic Build System <autodist@mambasoft.it> 195.36.24-1mamba
- automatic update to 195.36.24 by autodist
* Fri Mar 19 2010 Automatic Build System <autodist@mambasoft.it> 195.36.15-1mamba
- automatic update to 195.36.15 by autodist
* Fri Mar 05 2010 Automatic Build System <autodist@mambasoft.it> 195.36.08-1mamba
- automatic update to 195.36.08 by autodist
* Sat Dec 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 190.53-3mamba
- automatic rebuild by autodist
* Sat Dec 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 190.53-2mamba
- update alternatives for kernel mode to support different kernel targets
* Wed Dec 16 2009 Automatic Build System <autodist@mambasoft.it> 190.53-1mamba
- automatic update to 190.53 by autodist
* Tue Oct 27 2009 Automatic Build System <autodist@mambasoft.it> 190.42-1mamba
- automatic update to 190.42 by autodist
* Fri Oct 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 185.18.36-2mamba
- fixed alternatives support for multiple kernel targets
* Sat Aug 22 2009 Automatic Build System <autodist@mambasoft.it> 185.18.36-1mamba
- automatic update to 185.18.36 by autodist
* Thu Aug 13 2009 Automatic Build System <autodist@mambasoft.it> 185.18.31-1mamba
- automatic update to 185.18.31 by autodist
* Sun Aug 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 185.18.29-1mamba
- update to 185.18.29
- source renamed to NVIDIA and version chanded to source real version
* Sun Jul 19 2009 Automatic Build System <autodist@mambasoft.it> 2.6.30.185.18.14-1mamba
- update to 2.6.30.185.18.14
* Sat Jun 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.29.185.18.14-1mamba
- update to 2.6.29.185.18.14
* Fri Jun 19 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.28.185.18.14-1mamba
- update to 2.6.28.185.18.14
* Wed May 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.28.180.51-1mamba
- update to 2.6.28.180.51
* Fri Apr 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.28.180.44-1mamba
- update to 2.6.28.180.44
* Sat Feb 21 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.28.180.29-1mamba
- update to 2.6.28.180.29
- legacy 173xx: update to 173.14.15 (beta)
* Sat Feb 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.26.180.22-2mamba
- removed libwfb.so, provided by xorg-server >= 1.4
* Tue Feb 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.26.180.22-1mamba
- update to 2.6.26.180.22
* Thu Dec 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.26-3mamba
- remove PreReq for kernel headers; change to kernel PreReq
* Fri Sep 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.26-2mamba
- rebuilt against updated kernel headers (after disabling RT_SCHED_GROUP)
* Mon Sep 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.26-1mamba
- update to 2.6.26
* Wed Aug 27 2008 Aleph0 <aleph0@openmamba.org> 4.4.1-1mamba
- nvidia current: update to 177.13
- nvidia 71xx: update to 71.86.06
- nvidia 96xx: update to 96.43.07
* Tue Jun 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.24-2mamba
- nvidia current: update to 173.14.19
* Fri Mar 07 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.24-1mamba
- update to 2.6.24
* Wed Jan 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.23-3mamba
- create nvidia.ko alternatives for 71xx and 96xx on updates too
- make depmod silent
* Fri Jan 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.23-2mamba
- fix update of nvidia.ko alternatives
- libGL_nvidia*: run ldconfig
* Sat Dec 22 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.23-1mamba
- update to 2.6.23
- nvidia driver: update to 169.07
* Sat Oct 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.22-8mamba
- current driver: added libwfb.so symlink to libnvidia-wfb
* Thu Oct 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.22-7mamba
- restored /usr/lib/libnvidia-tls* needed for building
* Wed Oct 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.22-6mamba
- set libGL-nvidia* as PrePreq's for the respective xorg-drv-video-nvidia* pkg
* Thu Oct 04 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.22-5mamba
- run nvidia-autoselect-driver before ldconfig and depmod
- clean libnvidia-tls.so alternative
* Mon Sep 24 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.22-4mamba
- handle alternatives for tls/libnvidia-tls too
- excludes %%libdir/libnvidia-tls.so.*
- handle alternatives for libnvidia-cfg and libXvMCNVIDIA too
* Wed Sep 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.22-3mamba
- update to 100.14.19
- rename kernel modules as *_ko
* Mon Sep 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.22-2mamba
- remove .so extension from libGL, libGLcore and libglx alternatives library
to avoid ldconfig reconfigure them removing /etc/alternatives symlink
* Sun Jul 15 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.22-1mamba
- update to version 2.6.22
- handle more generic symlinks to libraries to provide ugrade facility
- execute update-alternatives-set-nvidia* if an alternative symlink is broken
* Sun Jun 24 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.21-6mamba
- update to 100.14.11
* Wed Jun 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.21-5mamba
- update to 100.14.09
- 71xx and 96xx packages don't obsolete old packages anymore
- added installation of nvidia-settings and nvidia-xconfig applications
- added installation of libnvidia-wfb xorg module
* Wed Jun 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.21-4mamba
- set alternatives for libGLcore.so.1, libXvMCNVIDIA_dynamic.so.1, libnvidia-tls.so.1 and libnvidia-cfg.so.1
* Mon Jun 04 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.21-3mamba
- added common srpm for multiple legacy drivers (71xx and 96xx)
- added nvidia_71xx and nvidia_96xx related packages
- obsoleting nvidia-legacy related packages
- xorg-drv-video-nvidia-doc: documentation package added
* Sat May 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.21-2mamba
- xorg-drv-video-nvidia: add requirement for xorg-ext-libglx-nvidia and libGL-nvidia-X11
- xorg-ext-libglx-nvidia: set libglx.so.%{nvidia_libver} as an alternative for libglx.so
- libGL-nvidia-X11: create libGL.so.%{nvidia_libver} as an alternative for libGL.so.1
- add provides for libGL.so.1
- xorg-drv-video-nvidia: add update-alternatives-set-nvidia script
* Thu Apr 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.21-1mamba
- rebuild with kernel 2.6.21
* Mon Mar 13 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.20-2qilnx
- driver update to 9755
- obsolete old kernel's package
* Mon Feb 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.20-1qilnx
- update to version 2.6.20 by autospec
- nvidia driver update to 9746
* Wed Dec 28 2006 Silvan Calarco <silvan.calrco@qilinux.it> 2.6.19-2qilnx
- rename libglx-nvidia to xorg-ext-libglx-nvidia and obsolete libglx-nvidia
* Thu Dec 21 2006 Silvan Calarco <silvan.calrco@qilinux.it> 2.6.19-1qilnx
- kernel 2.6.19 build
- add support for Xorg 7.1
* Fri Oct 20 2006 Silvan Calarco <silvan.calrco@qilinux.it> 2.6.18-2qilnx
- renamed from kernel26-nongpl-nvidia to kernel-nongpl-nvidia
- driver update to 8776
* Fri Sep 22 2006 Silvan Calarco <silvan.calrco@qilinux.it> 2.6.18-1qilnx
- kernel 2.6.18 build
* Thu Jun 22 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.6.17-1qilnx
- new kernel version build
- update to version 1.0-8762
* Sat May 13 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.16-5qilnx
- rebuilt
* Sun Apr 23 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.16-4qilnx
- don't rmmod kernel module on package removal
* Fri Apr 21 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.16-3qilnx
- rebuild with 2G/2G split kernel
* Sun Apr 16 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.16-2qilnx
- update to version 1.0-8756
* Sat Apr 02 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.16-1qilnx
- new kernel version build
* Thu Mar 30 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.15-11qilnx
- split from kernel26-nongpl source to avoid conflicts with fglrx driver