[求助]安装intel 845显示卡驱动遇到问题 大侠指点

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
Lyajun
帖子: 5
注册时间: 2006-01-07 17:31
送出感谢: 0
接收感谢: 0

[求助]安装intel 845显示卡驱动遇到问题 大侠指点

#1

帖子 Lyajun » 2006-01-07 17:44

小弟初装ubuntu
进入X界面后
发现分辨率为640*480 刷新率为85HZ 且不能更改

想调整为1024*768

问题一:
是安装完驱动程序后才可以更改,还是现在能过修改xorg.conf就可以实现

问题二:

安装i915Graphics.tar.gz

小弟搜索论坛,发现大侠传授之法:
about1689.html

依次执行下去:

代码: 全选

sudo apt-get install module-assistant 
sudo m-a prepare 
tar zxvf i915Graphics.tar.gz 
cd dripkg 
sodu ./install.sh 
却不能安装成功,问题出在哪里,还望指教。

dri.log信息如下:

make -C /lib/modules/2.6.12-10-386/build SUBDIRS=/home/lyajun/program/dripkg/agpgart-2.0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-10-386'
CC [M] /home/lyajun/program/dripkg/agpgart-2.0/backend.o
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:69: error: conflicting types for 'agp_backend_acquire'
include/linux/agp_backend.h:105: error: previous declaration of 'agp_backend_acquire' was here
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:69: error: conflicting types for 'agp_backend_acquire'
include/linux/agp_backend.h:105: error: previous declaration of 'agp_backend_acquire' was here
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:89: error: conflicting types for 'agp_backend_release'
include/linux/agp_backend.h:106: error: previous declaration of 'agp_backend_release' was here
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:89: error: conflicting types for 'agp_backend_release'
include/linux/agp_backend.h:106: error: previous declaration of 'agp_backend_release' was here
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:220: error: parse error before "drm_agp"
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:220: warning: type defaults to `int' in declaration of `drm_agp'
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:221: warning: initialization makes integer from pointer without a cast
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:222: warning: excess elements in scalar initializer
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:222: warning: (near initialization for `drm_agp')
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:223: warning: excess elements in scalar initializer
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:223: warning: (near initialization for `drm_agp')
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:224: warning: excess elements in scalar initializer
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:224: warning: (near initialization for `drm_agp')
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:225: warning: excess elements in scalar initializer
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:225: warning: (near initialization for `drm_agp')
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:226: warning: excess elements in scalar initializer
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:226: warning: (near initialization for `drm_agp')
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:227: warning: excess elements in scalar initializer
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:227: warning: (near initialization for `drm_agp')
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:229: warning: excess elements in scalar initializer
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:229: warning: (near initialization for `drm_agp')
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:229: warning: data definition has no type or storage class
/home/lyajun/program/dripkg/agpgart-2.0/backend.c: In function `agp_add_bridge':
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:281: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:564)
/home/lyajun/program/dripkg/agpgart-2.0/backend.c: In function `agp_remove_bridge':
/home/lyajun/program/dripkg/agpgart-2.0/backend.c:301: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:565)
make[2]: *** [/home/lyajun/program/dripkg/agpgart-2.0/backend.o] 閿欒 1
make[1]: *** [_module_/home/lyajun/program/dripkg/agpgart-2.0] 閿欒 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-10-386'
make: *** [default] 閿欒 2
make -f Makefile.linux DRM_MODULES=gdg.ko modules
make[1]: Entering directory `/home/lyajun/program/dripkg/drm'
+ ln -s Makefile.linux Makefile
make -C /lib/modules/2.6.12-10-386/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.12-10-386'
CC [M] /home/lyajun/program/dripkg/drm/gdg_drv.o
In file included from /home/lyajun/program/dripkg/drm/gdg_drv.c:17:
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:47: error: parse error before '*' token
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:47: warning: type defaults to `int' in declaration of `drm_agp'
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:47: warning: data definition has no type or storage class
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_info':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:69: error: request for member `copy_info' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_acquire':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:111: error: request for member `acquire' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:117: error: request for member `acquire' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_release':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:140: error: request for member `release' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:142: error: request for member `release' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_do_release':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:155: error: request for member `release' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:156: error: request for member `release' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_enable':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:178: error: request for member `enable' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:185: error: request for member `enable' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_bind':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:333: error: request for member `bind_memory' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_init':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:407: error: `drm_agp_t' undeclared (first use in this function)
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:407: error: (Each undeclared identifier is reported only once
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:407: error: for each function it appears in.)
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:407: error: parse error before ')' token
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:412: error: request for member `copy_info' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_uninit':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:436: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_allocate_memory':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:443: error: request for member `allocate_memory' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:445: error: request for member `allocate_memory' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_free_memory':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:451: error: request for member `free_memory' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:453: error: request for member `free_memory' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_bind_memory':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:460: error: request for member `bind_memory' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:462: error: request for member `bind_memory' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_unbind_memory':
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:468: error: request for member `unbind_memory' in something not a structure or union
/home/lyajun/program/dripkg/drm/drm_agpsupport.h:470: error: request for member `unbind_memory' in something not a structure or union
In file included from /home/lyajun/program/dripkg/drm/gdg_drv.c:28:
/home/lyajun/program/dripkg/drm/drm_memory.h: In function `drm_follow_page':
/home/lyajun/program/dripkg/drm/drm_memory.h:139: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
In file included from /home/lyajun/program/dripkg/drm/gdg_drv.c:30:
/home/lyajun/program/dripkg/drm/drm_vm.h: In function `gdg_mmap':
/home/lyajun/program/dripkg/drm/drm_vm.h:625: warning: implicit declaration of function `remap_page_range'
In file included from /home/lyajun/program/dripkg/drm/gdg_drv.c:31:
/home/lyajun/program/dripkg/drm/drm_stub.h: In function `gdg_stub_putminor':
/home/lyajun/program/dripkg/drm/drm_stub.h:145: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/home/lyajun/program/dripkg/drm/drm_stub.h:147: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:565)
/home/lyajun/program/dripkg/drm/drm_stub.h: In function `gdg_stub_register':
/home/lyajun/program/dripkg/drm/drm_stub.h:177: warning: implicit declaration of function `inter_module_get'
/home/lyajun/program/dripkg/drm/drm_stub.h:188: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:564)
make[3]: *** [/home/lyajun/program/dripkg/drm/gdg_drv.o] 閿欒 1
make[2]: *** [_module_/home/lyajun/program/dripkg/drm] 閿欒 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-10-386'
make[1]: *** [modules] 閿欒 2
make[1]: Leaving directory `/home/lyajun/program/dripkg/drm'
make: *** [gdg.ko] 閿欒 2
Lyajun
帖子: 5
注册时间: 2006-01-07 17:31
送出感谢: 0
接收感谢: 0

#2

帖子 Lyajun » 2006-01-07 18:00


刚才才看到gnix_oag大侠说:
ubuntu 5.10 已经支持到了 915 了

我装的是5.10。那是不是不要另安装驱动了?

分辨率怎么才能改到1024呢?
回复

回到 “常用硬件支持”