NVIDIA-Linux-x86_64-334.21在3.14版内核下安装
opensuse吧
全部回复
仅看楼主
level 12
忠義堂者 楼主
将上面两个附件和驱动文件放在一起,执行以下命令
sh NVIDIA-Linux-x86_64-334.21.bin --apply-patch kernel_v3.14.patch acpi_os_wait_events_complete.patch
安装过程中,需要输入kernel/nv-linux.h
最后生成
NVIDIA-Linux-x86_64-334.21-custom.run
安装这个文件即可
2014年04月06日 13点04分 1
level 12
忠義堂者 楼主
附件出错了[阴险]
acpi_os_wait_events_complete.patch
diff --git a/kernel/nv-acpi.c b/kernel/nv-acpi.c
index b0138cd..3dfc691 100644
--- a/kernel/nv-acpi.c
+++ b/kernel/nv-acpi.c
@@ -300,7
+3
00,7 @@ static int nv_acpi_remove(struct acpi_device *device, int type)
nv_printf(NV_DBG_INFO,
"NVRM: nv_acpi_remove: failed to disable display switch events (%d)!\n", status);
}
-
+/*
if (pNvAcpiObject->notify_handler_installed)
{
NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
@@ -308,7 +308,7 @@ static int nv_acpi_remove(struct acpi_device *device, int type)
// remove event notifier
status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);
}
-
+*/
if (pNvAcpiObject->notify_handler_installed &&
ACPI_FAILURE(status))
{
kernel_v3.14.patch
--- a/kernel/nv-linux.h 2014-02-27 23:33:06.000000000 +0200
+++ b/kernel/nv-linux.h 2014-03-03 18:46:03.985483359 +0200
@@ -273,8 +273,7 @@
#endif
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI)
-#include <acpi/acpi.h>
-#include <acpi/acpi_drivers.h>
+#include <linux/acpi.h>
#if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID)
#define NV_LINUX_ACPI_EVENTS_SUPPORTED 1
#endif
2014年04月06日 13点04分 2
level 12
忠義堂者 楼主
你可以在滚动更新源里下载后安装
2014年04月10日 00点04分 6
1