SIS630终于进入了MagicLinux,版主来看看
我用了红旗linux系统里的sis630显卡驱动文件-sis_drv.o和sis_dri.so复制到/usr/X11R6/lib/modules/drivers和/usr/X11R6/lib/modules/dri下,并覆盖原来的驱动文件,同时修改了/etc/X11/下的xorg.conf和XF86Config两个文件,修改如下:#####xorg.conf修改后###########
# Xorg configuration created by system-config-display
Section "ServerLayout"
# InputDevice "Mouse1" "SendCoreEvents"
# InputDevice "HWTablet" "SendCoreEvents"
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
Identifier "single head configuration"
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"
### Comment all HorizSync and VertSync values to use DDC:
Identifier "General Monitor" ######
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 60.0 ######
VertRefresh40.0 - 80.0 ######
ModeLine "800x600" 46.7 800 824 880 992 600 600 602 628 ##############
EndSection
Section "Device"
# VendorName "Videocard vendor" ########
# VideoRam 0
Identifier"SiS 630" ########
Driver "sis"
BoardName "SiS 630/730"
EndSection
Section "Screen"
Identifier "Screen0"
Device "SiS 630"
Monitor "General Monitor" ########
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1024x768" #########
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" #####
EndSubSection
EndSection
Section "DRI" #######
Group 0 #########
Mode 0666 #########
EndSection ######### ###########XF86Config修改后##############
# 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 "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0" ##########
Driver "sis"
VendorName "Videocard vendor"
BoardName "SiS 630/730"
# VideoRam 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0" #########
Monitor "Monitor0"
DefaultDepth 16 ########
SubSection "Display" ##########
Viewport 0 0 #########
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display24"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "DRI" #######
Group 0 #######
Mode 0666 #######
EndSection ####### 后面加########为修改处
版主看看这样的方法对显示器有没有坏处 试试
贴一下
glxinfo
的输出结果。 输出如下:
# glxinfo
name of display: :0.0
display: :0screen: 0
direct rendering: No
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_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
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_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, 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_shadow_funcs, GL_EXT_stencil_two_side, 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_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visualxbf lv rg d st colorbuffer ax dp st accumbuffermscav
id dep cl sp sz lci b rorgba bf th clrgba ns b eat
----------------------------------------------------------------------
0x22 24 tc0 240 ry.88800 16000000 0 None
0x23 24 tc0 240 ry.88800 168 16 16 1600 0 None
0x24 24 tc0 320 ry.88880 168 16 16 16 160 0 None
0x25 24 tc0 320 r..88880 168 16 16 16 160 0 None 后面加########为修改处
版主看看这样的方法对显示器有没有坏处
应该是不会有什么影响的!
但是驱动还不怎么完善,没有3d加速! sis630(sis300显卡芯片)在linux下面应该是可以打开3d加速的!
楼主还需要继续努力!
页:
[1]