QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1526|回复: 7

810驱动变vesa?

[复制链接]
发表于 2006-4-10 23:05:03 | 显示全部楼层 |阅读模式
我装了dri 的这个驱动
i915-20051218-linux.i386
也成功开启了dri不过驱动好像还是 vesa,不是810

vesa好像是个通用驱动,靠cpu运算的
不是很理解DRI的作用,DRI就是驱动还是什么,

我开始认为驱动就是DRI什么的,后来才觉得好像是一个更好实现3D的一个功能。不知道哪个对
现在问题是怎么才能使用该显卡应该使用的驱动呢?
主要是想实现3d加速,有点opengl的demo都很卡,不爽啊

把我的配置贴一下
CPU C移动版 1.5g
显卡探测出来是 intel 852 windows下也是
512 ddr
40g

xorg.conf
[code:1]# XFree86 4 configuration created by MagicInstaller.

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen      0   "Screen0" 0 0
        InputDevice     "Mouse0" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/TTF"
        FontPath        "/usr/share/fonts/default/Type1"
        FontPath        "/usr/share/fonts/ttf/zh_CN"

EndSection

Section "Module"
        Load    "dbe"
        Load    "extmod"
        Load    "fbdevhw"
        Load    "glx"
        Load    "record"
        Load    "freetype"
        Load    "type1"
        Load        "dri"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"
        Option          "XkbRules" "xfree86"
        Option          "XbkModel" "pc105"
        Option          "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol" "IMPS/2"
        Option          "Device" "/dev/input/mice"
        Option          "ZAxisMapping" "4 5"
        Option          "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Monitor Vendor"
        ModelName       "LCD Panel 1280x800"
        HorizSync       31.5 - 90.0
        VertRefresh     60.0
        Modeline "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828 -HSync +Vsync
EndSection

Section "Device"
        Identifier      "Videocard0"
        Driver          "i810"
        VendorName      "Videocard vendor"
        BoardName       "Intel 852"
        VideoRam        65536
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Videocard0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection        "Display24"
                Depth        24
                Modes        "1280x800"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
[/code:1]


Xorg.0.log
把有疑问的贴出来就是了
[code:1]
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.so
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 16192 kB
(II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 852GM
(--) I810(0): Chipset: "852GM/855GM"
(--) I810(0): Linear framebuffer at 0xF0000000
(--) I810(0): IO registers at addr 0xFFE80000
(II) I810(0): 2 display pipes available.
(II) I810(0): detected 16252 kB stolen memory.
(II) I810(0): Kernel reported 108544 total, 1 used
(II) I810(0): Checking Available AGP Memory: 434172 kB available (total 434176 kB, used 4 kB)
(II) I810(0): Monitoring connected displays enabled
(--) I810(0): Pre-allocated VideoRAM: 16252 kByte
(**) I810(0): VideoRAM: 65536 kByte
(==) I810(0): video overlay key set to 0x101fe
(**) I810(0): page flipping disabled
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): BIOS Build: 3276
(II) I810(0): Using new Pipe switch code
(==) I810(0): Device Presence: disabled.
(==) I810(0): Display Info: enabled.
(II) I810(0): Broken BIOSes cause the system to hang here.
              If you encounter this problem please add
                 Option "DisplayInfo" "FALSE"
              to the Device section of your XF86Config file.
(II) I810(0): Display Info: CRT: attached: FALSE, present: TRUE, size: (1024,768)
(II) I810(0): Display Info: TV: attached: FALSE, present: TRUE, size: (800,600)
(II) I810(0): Display Info: DFP (digital flat panel): attached: FALSE, present: FALSE, size: (0,2059)
(II) I810(0): Display Info: LFP (local flat panel): attached: TRUE, present: TRUE, size: (1280,800)
(II) I810(0): Display Info: CRT2 (second CRT): attached: FALSE, present: FALSE, size: (0,2059)
(II) I810(0): Display Info: TV2 (second TV): attached: FALSE, present: FALSE, size: (0,2059)
(II) I810(0): Size of device LFP (local flat panel) is 1280 x 800
(II) I810(0): No active displays on Pipe A.
(II) I810(0): Currently active displays on Pipe B:
(II) I810(0):         LFP (local flat panel)
(II) I810(0): Lowest common panel size for pipe B is 1280 x 800
(==) I810(0): Display is using Pipe B
(--) I810(0): Maximum frambuffer space: 65368 kByte
(II) I810(0): VESA VBE PanelID read successfully
(II) I810(0): PanelID returned panel resolution : 1280x800
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.so
(II) Module ddc: vendor="X.Org Foundation"
        compiled for 6.9.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.8
(II) I810(0): VESA VBE DDC supported
(II) I810(0): VESA VBE DDC Level none
(II) I810(0): VESA VBE DDC transfer in appr. 0 sec.
(II) I810(0): VESA VBE DDC read failed
(--) I810(0): A non-CRT device is attached to pipe B.
        No refresh rate overrides will be attempted.
(--) I810(0): Maximum space available for video modes: 16192 kByte




(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 16192 kB
(II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 256 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 8448 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0x7fff000 (0x18bcd000)
(II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0x7ffb000 (0x01768000)
(II) I810(0): Allocated 4 kB for Overlay registers at 0x7ffa000 (0x1d3ea000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fea000
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.1
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe0090000
(II) I810(0): [drm] mapped SAREA 0xe0090000 to 0xb7918000
(II) I810(0): [drm] framebuffer handle = 0xf0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): Allocated 6400 kB for the back buffer at 0x7000000.
(II) I810(0): Allocated 6400 kB for the depth buffer at 0x6800000.
(II) I810(0): Allocated 32 kB for the logical context at 0x67f8000.
(II) I810(0): Allocated 44032 kB for textures at 0x860000[/code:1]



glxinfo

[code:1]
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
    GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 852GM/855GM 20050225 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.5
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_point_parameters, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_equation_separate,
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, GL_EXT_compiled_vertex_array,
    GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_specular_color,
    GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage,
    GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
    GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGI_color_matrix,
    GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess[/code:1]
发表于 2006-4-11 06:56:40 | 显示全部楼层
楼主已经有3d加速了。
回复

使用道具 举报

发表于 2006-4-11 10:24:35 | 显示全部楼层
啊,楼主在哪儿下得驱动,怎么安装的?能不能说详细点呢,我也是I852的集成显卡,正苦于没有3D加速呢?谢谢
回复

使用道具 举报

 楼主| 发表于 2006-4-11 10:41:09 | 显示全部楼层
http://dri.freedesktop.org/snapshots/archive/i915-20051218-linux.i386.tar.bz2
这个,解压缩,然后有个安装脚本,执行就行了

tanhitzq
但我现在
glxgears 只有500左右,打war3很卡,以前装MLrc1版本的时候,装好驱动后可以流畅的。
哪里看到过,vesa这个驱动是靠CPU运算的,好像确实这样,一开3D的东西CPU风扇就开始转了,windows下不会有这种情况
估计是不是那个int10后的 Bad V_BIOS 的问题哦
然后就被转到使用vesa的驱动了
回复

使用道具 举报

发表于 2006-4-11 12:37:43 | 显示全部楼层
谢谢楼主的驱动,安装后发现打开3D游戏还是很卡,记得以前安装红旗4.1时,我的机子是有3D加速的,玩企鹅滑雪时很流畅的。不知道是什么问题
回复

使用道具 举报

 楼主| 发表于 2006-4-11 13:41:09 | 显示全部楼层
我具体也不是很清楚,我的也是,还是很慢,正在找原因哦,不过暂时日常运用够了
回复

使用道具 举报

发表于 2006-4-11 15:36:19 | 显示全部楼层
搞定以后记得发贴说一声!
回复

使用道具 举报

发表于 2006-4-12 00:14:22 | 显示全部楼层
我的是810集成显卡
/etc/X11/xorg.conf里
Section "Module"加上
        Load    "dri"
glxgears由以前的180变到360
为了普通用户能用加,再加上
Section "DRI"
   Mode 0666
EndSection

这个信息
$glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes (说明已经有加速)

只是q3a 1.32装不上
./linuxq3apoint-1.32.x86.run
Verifying archive integrity...tail: 无法打开 “+6” 读取数据: 没有那个文件或目录
Error in check sums 375899461 3293662273

下载了那个源码
README.txt里有说:
COMPILING ON GNU/LINUX
==================

the build system using cons, which may be known as scons's perl ancestor now
you don't have to track it down though, the build script is provided in the tree
you will need nasm and gcc 2.95
make sure you have the X Direct Graphics Access and X Video Mode extensions headers for your X11
a typical compile command goes like this:
[..]/code$ ./unix/cons -- gcc=gcc-2.95 g++=g++-2.95

不太明白,有谁在ML2装好的吗
rpm -q nasm
nasm-0.98.38-3mgc
rpm -q gcc
gcc-3.4.4-1mgc
pwd
/tmp/quake3-1.32b/code
./unix/cons -- gcc=gcc-3.44 g++=g++-3.44
: 没有那个文件或目录
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 01:26 , Processed in 0.041567 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表