红旗LINUX安装915显卡驱动的问题

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了红旗LINUX安装915显卡驱动的问题相关的知识,希望对你有一定的参考价值。

红旗LINUX6 SP1版,默认驱动为i810,我的集成显卡是gma900,应该装915G的驱动,从INTEL网站下载了.tar.gz格式的驱动包,安装时出错,生成的安装记录文件附在下面,如能解决,再奉送200分

dri.log文件
make -C /lib/modules/2.6.23.1-4/build SUBDIRS=/root/dripkg/agpgart-2.0 modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.1-4-i686'
CC [M] /root/dripkg/agpgart-2.0/backend.o
/root/dripkg/agpgart-2.0/backend.c:69: error: conflicting types for ‘agp_backend_acquire’
include/linux/agp_backend.h:110: error: previous declaration of ‘agp_backend_acquire’ was here
/root/dripkg/agpgart-2.0/backend.c:77: error: conflicting types for ‘agp_backend_acquire’
include/linux/agp_backend.h:110: error: previous declaration of ‘agp_backend_acquire’ was here
/root/dripkg/agpgart-2.0/backend.c:89: error: conflicting types for ‘agp_backend_release’
include/linux/agp_backend.h:111: error: previous declaration of ‘agp_backend_release’ was here
/root/dripkg/agpgart-2.0/backend.c:93: error: conflicting types for ‘agp_backend_release’
include/linux/agp_backend.h:111: error: previous declaration of ‘agp_backend_release’ was here
/root/dripkg/agpgart-2.0/backend.c:220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’
/root/dripkg/agpgart-2.0/backend.c: In function ‘agp_add_bridge’:
/root/dripkg/agpgart-2.0/backend.c:281: error: implicit declaration of function ‘inter_module_register’
/root/dripkg/agpgart-2.0/backend.c:281: error: ‘drm_agp’ undeclared (first use in this function)
/root/dripkg/agpgart-2.0/backend.c:281: error: (Each undeclared identifier is reported only once
/root/dripkg/agpgart-2.0/backend.c:281: error: for each function it appears in.)
/root/dripkg/agpgart-2.0/backend.c: In function ‘agp_remove_bridge’:
/root/dripkg/agpgart-2.0/backend.c:301: error: implicit declaration of function ‘inter_module_unregister’
make[2]: *** [/root/dripkg/agpgart-2.0/backend.o] 错误 1
make[1]: *** [_module_/root/dripkg/agpgart-2.0] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-4-i686'
make: *** [default] 错误 2
make -f Makefile.linux DRM_MODULES=gdg.ko modules
make[1]: Entering directory `/root/dripkg/drm'
make -C /lib/modules/2.6.23.1-4/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/kernels/2.6.23.1-4-i686'
rm: 无法删除 “/root/dripkg/drm/.tmp_versions/CVS”: 是一个目录
make[2]: *** [crmodverdir] 错误 1
make[2]: Leaving directory `/usr/src/kernels/2.6.23.1-4-i686'
make[1]: *** [modules] 错误 2
make[1]: Leaving directory `/root/dripkg/drm'
make: *** [gdg.ko] 错误 2

好像是以前的模块跟新驱动的模块有冲突.

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’
这行是驱动描述语法的错误?不太明白.

915的显卡驱动似乎好像是要编译某个模块进kernel的..
没遇过这个情况,不太清楚怎么解决.

楼下你看清楚了,这个是Linux系统的日志!
参考技术A 驱动精灵 2008 B5版 一般所有的驱动都能找得到

在红旗LINUX loongarch上,可以正常打印,lpr卡死

  同事报告说:

  • 红旗LINUX loongarch上:泰山OFFICE无法打印;lpr卡死(回车之后一直没反应没退出);记事本能打印。
  • 红旗LINUX amd/arm上:泰山OFFICE正常打印。
  • 自行编译lpr,还是卡死。

  一时有点糊涂。LINUX应该都是CUPS打印,驱动显然也是对的,怎么lpr会卡死?而JDK必须依赖于lpr。于是跟测试说,吾确实是没办法,找OS厂家问问。

  推测来说,应该是CUPS与打印驱动的联通上有点问题?

以上是关于红旗LINUX安装915显卡驱动的问题的主要内容,如果未能解决你的问题,请参考以下文章

声卡驱动装不上~微星的 Intel 915p combo

linux 下安装显卡驱动 ?

Linux(Android):如何禁用Intel DPST(显示节电技术) - i915驱动程序

了解 Linux 内核驱动程序

Linux 最简单安装方法

gt911和gt915