View Full Version : Which Graphics driver
Carlton
2008-03-29, 12:17 PM CDT
Will someone please let me know what graphics driver to use with this onboard video.
http://www.asrock.com/mb/overview.asp?Model=K7S41GX
Thank you,
:)
Carlton
2008-03-29, 03:53 PM CDT
Here is the output from Xorg Conf.
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us+inet"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "sis"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Nokia
2008-03-29, 03:57 PM CDT
I guess there's nothing to change.
Hlingler
2008-03-29, 08:01 PM CDT
Need more info on that video chip. Please post output of: lspci.
V
Carlton
2008-03-30, 02:15 PM CDT
It turns out that SiS video chips are fully compatable with Linux. The only problem I have now is that direct rendering isn't enabled.
How do I enable direct rendering?
Carlton
2008-03-30, 02:17 PM CDT
[carlton@localhost ~]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
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_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
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_copy_sub_buffer, 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_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.3)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_shadow_ambient, 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_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, 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_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_framebuffer_object, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, 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_shared_texture_palette, 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_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program,
GL_NV_vertex_program1_1, 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_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x4f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
[carlton@localhost ~]$
Hlingler
2008-03-30, 02:39 PM CDT
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)Well, as per the output you posted, you could run glxinfo in verbose mode to get more detailed info:[Vince@presario Sun Mar 30 03:33:15 ~]$ export LIBGL_DEBUG=verbose
[Vince@presario Sun Mar 30 16:26:37 ~]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
[...]
I've used this before to find simple little things like, for example, the X-server looking in the wrong folder for the (right) driver.
Please post output if you would like more help:
> output of lspci (run as root-user)
> contents of /etc/X11/xorg.conf
> output from glxinfo in verbode mode
Also, install driconf to give you at least a minimal GUI to set options (kind of like the nvidia-settings utility that comes with nvidia drivers, but much less options):
yum install driconf
The first time you run driconf, do so as root-user, which will create default config files. Then later you can run driconf as normal user.
Meanwhile, I'll look at dri.freedesktop.org to see what's available for that chip/card. You might want to look there too.
V
Hlingler
2008-03-30, 02:44 PM CDT
From http://dri.freedesktop.org/wiki/SiS?highlight=%28CategoryHardwareVendor%29:SiS
Silicon Integrated Systems (SiS)
Chipsets
Status
A DRI driver for the SiS300 series cards (300/305, 540, 630/730) is currently available in DRI CVS. A DRI driver for the SiS6326 and 530 cards is in development. The newer 315 and Xabre series chips are not supported; neither are the SiS-based Volari chips from XGI (Volari V3XT, V5, and V8).
We need to know what chip/card you have.
V
P.S. As far as I can tell, the SIS driver is not incuded with the current F8 packages. So, if you really want direct rendering with that chip/card, you would have to build it from CVS source (if it's on that list of supported chips). If you wish to try, please post to say so.
Carlton
2008-03-30, 04:11 PM CDT
[carlton@localhost ~]$ export LIBGL_DEBUG=verbose
[carlton@localhost ~]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
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_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
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_copy_sub_buffer, 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_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.3)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_shadow_ambient, 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_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, 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_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_framebuffer_object, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, 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_shared_texture_palette, 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_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program,
GL_NV_vertex_program1_1, 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_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x4f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
[carlton@localhost ~]$
Carlton
2008-03-30, 04:13 PM CDT
[carlton@localhost ~]$ su
Password:
[root@localhost carlton]# lspci
bash: lspci: command not found
[root@localhost carlton]#
Nokia
2008-03-30, 04:14 PM CDT
please type su -l
Carlton
2008-03-30, 04:22 PM CDT
Looks like the problem is related to the OS not knowing which video card I have.
[img=http://img175.imageshack.us/img175/6066/screenshotxx7.th.png] (http://img175.imageshack.us/my.php?image=screenshotxx7.png)
Carlton
2008-03-30, 04:24 PM CDT
su -l gives me nothing.
[carlton@localhost ~]$ su -l
Password:
[root@localhost ~]#
Nokia
2008-03-30, 04:26 PM CDT
Sorry, perhaps I'm not being clear enough :)su -l
lspci
Hlingler
2008-03-30, 04:34 PM CDT
Looks like the problem is related to the OS not knowing which video card I have.
[img=http://img175.imageshack.us/img175/6066/screenshotxx7.th.png] (http://img175.imageshack.us/my.php?image=screenshotxx7.png)Looks like it knows exactly which card/chip you have - at least in terms of the driver, it falls within the stated range of chips/cards, all of which are served by the same generic driver.
Nokia is trying to tell you that the command was not found because you are not logged into a full root session. Follow his post to get the output of lspci.
V
P.S. That driver is the generic 2D open-source "Mesa" driver for all supported SIS chips/cards, not the 3D DRI driver....
Carlton
2008-03-30, 05:00 PM CDT
Thank you both for your patentce.
[carlton@localhost ~]$ su -l
Password:
[root@localhost ~]# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
00:09.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 43)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
[root@localhost ~]#
Hlingler
2008-03-30, 05:21 PM CDT
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
[root@localhost ~]# Well, without knowing the exact card/chipset, it's impossible to say if the 3D DRI driver would support direct rendering on that. Again, the dri wiki says:A DRI driver for the SiS300 series cards (300/305, 540, 630/730) is currently available in DRI CVS. A DRI driver for the SiS6326 and 530 cards is in development. The newer 315 and Xabre series chips are not supported; neither are the SiS-based Volari chips from XGI (Volari V3XT, V5, and V8).Even if it does, it will require quite a bit of work to get it going, because a quick check reveals that it is not included with the current packages (I'm not sure why, maybe because it's "in development").
In short, you would have to:
> Build a new libdrm from CVS source code (I could supply that, since I have already done it)
> Build a new xorg-x11-drv-sis from CVS source code (not difficult, if you have the correct tools installed)
> Build the SIS 3D kernel module for your currently-running kernel (which is? check with: uname -r)
> Make a few other changes to xorg.conf
> Hope for the best
It depends on how badly you want direct rendering, I guess. If you have a working desktop right now, then the open-source 2D drivers are apparently working adequately for normal use. But things like compiz-fusion are out of the question, and graphics-intense games and such will be horribly slow without DRI.
V
Hlingler
2008-03-30, 05:45 PM CDT
Please read: man sis
According to that man page, 3D acceleration is supported for the chipsets/cards listed, however, since the sis_drv.ko kernel module is not included with the current kernels, that is of little use.
V
Hlingler
2008-03-30, 05:53 PM CDT
OK, so I was wrong again: sis.ko kernel module is included (when did that change? I don't know...):drwxr-xr-x 2 root root 4.0K 2008-03-23 01:36 .
drwxr-xr-x 8 root root 4.0K 2008-03-21 14:34 ..
-rw-r--r-- 1 root root 3.6M 2008-03-23 01:36 drm.ko
-rw-r--r-- 1 root root 23K 2008-03-12 19:01 i810.ko
-rw-r--r-- 1 root root 29K 2008-03-12 19:01 i830.ko
-rw-r--r-- 1 root root 29K 2008-03-12 19:01 i915.ko
-rw-r--r-- 1 root root 561K 2008-03-23 01:36 mach64.ko
-rw-r--r-- 1 root root 65K 2008-03-12 19:01 mga.ko
-rw-r--r-- 1 root root 187K 2008-03-12 19:01 nouveau.ko
-rw-r--r-- 1 root root 45K 2008-03-12 19:01 r128.ko
-rw-r--r-- 1 root root 116K 2008-03-12 19:01 radeon.ko
-rw-r--r-- 1 root root 36K 2008-03-12 19:01 savage.ko
-rw-r--r-- 1 root root 12K 2008-03-12 19:01 sis.ko
-rw-r--r-- 1 root root 7.6K 2008-03-12 19:01 tdfx.ko
-rw-r--r-- 1 root root 42K 2008-03-12 19:01 via.ko
So as root user:
modprobe drm (should see nothing but a new prompt)
modprobe sis (should see nothing but a new prompt)
logout
ALT-CTL-Backspace (to restart X-server)
login
glxinfo
See what happens. May need to do some tweaking with xorg.conf.
V
Carlton
2008-03-30, 06:36 PM CDT
[carlton@localhost ~]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
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_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
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_copy_sub_buffer, 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_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.3)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_shadow_ambient, 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_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, 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_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_framebuffer_object, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, 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_shared_texture_palette, 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_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program,
GL_NV_vertex_program1_1, 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_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x4f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
[carlton@localhost ~]$
Carlton
2008-03-30, 08:06 PM CDT
I followed your instructions and posted the output from glxinfo. It looks pretty much unchanged....I think.
I have to pack it in for the night and will be gone for a day or so. I'm willing to try whatever but as you've suggested, there may not be a good reason to continue tinkering. This old box won't play much in the way of games anyway. :)
Hlingler
2008-03-30, 11:00 PM CDT
This is extremely confusing, but after checking a lot of things out, I see that the 3D SIS driver is indeed missing.
The relevant facts, as I understand them:
> Based on the link in your first post and attached links, your video chip is an on-board SIS 741; according to 'man sis', 3D DRI is supported and available for that chipset
> The software drivers needed for that graphics chipset are: The open-source 2D driver for that chip is sis_drv.so (/usr/lib/xorg/modules/drivers/sis_drv.so), part of package xorg-x11-drv-sis; this is the driver mentioned in your xorg.conf; since you have a working graphical desktop, I assume that it is working and being used to drive your video (and your glxinfo says so too) The open-source 3D driver for that chipset is sis_dri.so (should be /usr/lib/dri/sis_dri.so), part of package mesa-libGL; this driver is *not* included in the current release, I don't know why The kernel module required for the 3D driver is sis.ko (/lib/modules/<uname -r>/kernel/drivers/char/drm/sis.ko), part of the kernel package(s); why in the name of peace and love they would include the 3D kernel module if the 3D driver is missing, is beyond my comprehension, since it is utterly useless without the corresponding driverTherefore, my previous statement stands: to get 3D direct (aka "hardware-accelerated") rendering, you would have to build the missing 3D driver from DRI source code, which in this case would also necessitate a re-build of the 2D driver, libdrm, and kernel module(s). All for maybe a 250-300% increase in graphics speed. Your call: how badly do you want/need direct rendering?
> libdrm from DRI CVS is built - I have it
> xorg-x11-drv-sis from DRI CVS is available for build
> sis_dri.so and sis.ko are available for build from DRI CVS; I have the source code
> none of that guarantees that anything would actually work, although in theory it should...
If I am incorrect in any of this, someone is likely to point that out - I would not mind.
Regards,
V
EDIT: OK, I went ahead and built all the stuff, since it was relatively easy for me to do so since I already had most of it done already for myself. If you want to give it a try, post back to let me know, and I'll upload all the stuff (it weighs in pretty heavy) to somewhere that you can get it, then post on how to install it.
Carlton
2008-03-31, 05:04 PM CDT
I don't really need to get 3D going but I do like tinkering to see how things work. And if it will get my graphics 2x to 3x faster....bonus.
I'll give it a go but won't be able to work on it until Wednesday maybe Thursday.
Thanks for all your help. :)
Hlingler
2008-04-01, 07:36 PM CDT
First, the required disclaimers. From the DRI wiki:Warning: In case you didn't notice, you are about to compile and install experimental software. This will allow you to test the latest features and bug fixes. It may, however, also introduce new bugs. Be prepared for problems every now and then.And the usual disclaimer: the software provided comes with no warranty of any kind, including merchantability for any fit purpose. Use solely at your own risk.
With that out of the way....
The files are located at: http://www.4shared.com/dir/6321255/35bc8db6/sharing.html
If at any time you are unsure about how to proceed, or something goes wrong, stop, and post back here with details.
It will be most useful later on to have a benchmark to measure the graphics performance. Unfortunately, there are no good ones readily available, so glxgears will have to do. Perform this test with no other load on your system. Open a terminal as any user and command: glxgears. You will see a pop-up window appear, with several spinning gears. Do not hide/cover or minimize the gearbox. Let it run for 30-60 seconds before closing it (or kill it with CTL-c from the console). The terminal output will list frames-per-second in 5-second increments. Make a note of the average for later comparison.
All of the following must be done as full root user.
Next, if you have not rebooted since loading the previous drm and sis kernel modules, remove them from the running kernel with:
modprobe -r sis
modprobe -r drm
The order of commands is important.
Next, install the new Direct Rendering Manager and Xorg 2D SIS driver:
rpm -Uvh libdrm xorg-x11-drv-sis
You must be in the folder where you downloaded the RPMs to, or use the full PATH to them in the command. These two RPMs will replace your existing packages. If rpm balks for any reason (due to version number confusion), then force the install with --force option. Because rpm may not be smart enough to realize that version 0.10.x is higher than 0.9.x .
Next, copy sis_dri.so to folder /usr/lib/dri/
There is no existing file to overwrite. This is the 3D SIS driver.
Xorg will look in the wrong folder for the driver, so create a sym-link to appease it:
ln -s /usr/lib/dri/sis_dri.so /usr/X11R6/lib/modules/dri/sis_dri.so
Then copy libGL.so.1.2, libGLU.so.1.3.070100, libglut.so.3.7.1, and libGLw.so.1.0.0 to folder /usr/lib/, overwriting the existing files (if necessary).
Remove the sym-link /usr/lib/libGLU.so.1 which points to the older libGLU.so.1.3.070002, and replace it with:
ln -s /usr/lib/libGLU.so.1.3.070100 /usr/lib/libGLU.so.1
When you're done, you should see the following files and links:lrwxrwxrwx 1 root root 19 2008-03-23 01:07 /usr/lib/libGL.so -> /usr/lib/libGL.so.1
lrwxrwxrwx 1 root root 12 2008-03-21 14:32 /usr/lib/libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root 1.7M 2008-03-23 01:04 /usr/lib/libGL.so.1.2
lrwxrwxrwx 1 root root 20 2008-03-23 01:10 /usr/lib/libGLU.so -> /usr/lib/libGLU.so.1
lrwxrwxrwx 1 root root 29 2008-03-23 01:11 /usr/lib/libGLU.so.1 -> /usr/lib/libGLU.so.1.3.070100
-rwxr-xr-x 1 root root 1.6M 2008-03-23 01:04 /usr/lib/libGLU.so.1.3.070002
-rwxr-xr-x 1 root root 1.6M 2008-03-23 01:04 /usr/lib/libGLU.so.1.3.070100
lrwxrwxrwx 1 root root 20 2008-03-23 01:13 /usr/lib/libGLw.so -> /usr/lib/libGLw.so.1
lrwxrwxrwx 1 root root 24 2008-03-23 01:13 /usr/lib/libGLw.so.1 -> /usr/lib/libGLw.so.1.0.0
-rwxr-xr-x 1 root root 35K 2008-03-23 01:04 /usr/lib/libGLw.so.1.0.0
lrwxrwxrwx 1 root root 21 2008-03-23 01:16 /usr/lib/libglut.so -> /usr/lib/libglut.so.3
lrwxrwxrwx 1 root root 25 2008-03-23 01:16 /usr/lib/libglut.so.3 -> /usr/lib/libglut.so.3.7.1
-rwxr-xr-x 1 root root 651K 2008-03-23 01:04 /usr/lib/libglut.so.3.7.1Then copy the two *.ko kernel modules (drm.ko and sis.ko) to folder /lib/modules/<uname -r>/kernel/drivers/char/drm/, where <uname -r> is the kernel number corresponding to the sis.ko version (in this case, 2.6.24.3-34.fc8 or 2.6.24.3-50.fc8), overwriting the existing files (if necessary).
Inform the kernel that it has some new friends, and have it register their dependencies:
depmod -a
If all has gone well up to this point, you may now load the kernel modules:
modprobe drm
modprobe sis
The order is important. You should get nothing but a new prompt. You may check with: lsmod|grep drm and/or lsmod|grep sis
You may view info with: modinfo drm and/or modinfo sis
A few changes to your xorg.conf before restarting the X-server:
> Back up the existing file /etc/X11/xorg.conf first
> From the DRI wiki:In order to activate 3D acceleration make sure your xorg.conf is set up right. In particular, make sure the GLX and DRI modules are being loaded:
Section "Module"
# ...
Load "glx"
Load "dri"
# ...
EndSection
and set the permissions for DRI appropriately. To allow anyone to use DRI, do:
Section "DRI"
Mode 0666
EndSection
Finally, close all running windows and log out of the desktop. Cross your fingers, say a prayer and/or make your peace with whatever god(s) you believe in, and r-start the X-server with: ALT-CTL-Backspace.
Assuming that you still have a functional graphical interface, log back in, and check things out with: glxinfo|grep render. You are hoping to see: "Yes". If so, run glxgears again to get some idea of how well the new 3D driver is performing.
If all that actually works, make the modules load persistently by adding the modprobe commands to /etc/modprobe.conf .
V
Hlingler
2008-04-01, 08:20 PM CDT
The SIS kernel module for kernel-2.6.24.3-50.fc8 is finished. It has been uploaded to the above linked site at 4shared.com. I renamed it 2.6.24.3-50-sis.ko to distinguish it from the other kernel module (which is for kernel-2.6.24.3-34.fc8 only). This new kernel module belongs in folder /lib/modules/2.6.24.3-50.fc8/kernel/drivers/char/drm/ and the name changed to just 'sis.ko'. The above new drm.ko kernel module would need to accompany it in that folder for that kernel as well. 'depmod -a' to tell that kernel about it's new friends (only if that kernel is booted).
V
OOPS! I goofed on the 2.6.24.3-50.fc8 kernel modules. :rolleyes: Must have forgot to clean up stuff or something, they're the same as the 2.6.24.3-34.fc8, so they won't load on the newer kernel. Will re-build and upload in just a couple minutes.
EDIT: OK, the drm.ko and sis.ko for kernel 2.6.24.3-50.fc8 are done and uploaded. I prepended the file names with the kernel number for easy identification. Strip the numbers off the filenames and place them in folder /lib/modules/2.6.24.3-50.fc8/kernel/drivers/char/drm/
FWIW, the mach64 driver works perfectly here:[Vince@presario Tue Apr 01 23:45:42 ~]$ cat /mnt/etower/shared/glxinfo
direct rendering: Yes
OpenGL renderer string: Mesa DRI Mach64 [Rage Pro] 20051019 AGP 2x x86/MMX
[Vince@presario Tue Apr 01 23:45:55 ~]$That's on kernel-2.6.24.3-50.fc8
I guess I also forgot that the drm.ko kmod has to match the kernel version, too....
Hlingler
2008-04-01, 11:03 PM CDT
md5sum checksums:
57b99044603f5af317d2501f03be9aa7 libdrm-2.3.1-1.2.fc8.micron.i386.rpm
5d0f327d8097e292ead7e415280d4bc2 xorg-x11-drv-sis-0.10.0-1.fc8.micron.i386.rpm
890eddc1edff44a34460d1542a6749db 2.6.24.3-50-drm.ko
c082540b4a33832b81690540b3533369 2.6.24.3-50-sis.ko
db8ad42f34fa1f7a629486130aa572e5 sis_dri.so
5c76c32171d9995a280d881401c92d59 libGL.so.1.2
f1a63a64b26b6ceae7faa7a173e6dfa6 lib/libGLU.so.1.3.070100
d361bb627d1c2b9568cdb36078c981f1 libglut.so.3.7.1
4e1cbe8aa75d002cffbfc49c1ec148ff libGLw.so.1.0.0
V
Hlingler
2008-04-02, 03:42 AM CDT
After a great deal more research, it appears that the SIS 741 chipset is not supported by the DRI driver. Info on the DRI wiki and other sites is incredibly difficult to understand, date, and reconcile one with another. But I'm still not 100% sure exactly which video chipset is on that board either, nor exactly where DRI development stands w/r/t SIS video chips.
You can still attempt to see what happens. You might get lucky. At the very least, you will end up with the absolute latest Direct Rendering Manager (libdrm) and 2D SIS video driver (xorg-x11-drv-sis), which should give you the best available 2D rendering and acceleration, so that's not too bad, eh?
And if anyone lurking out there does have a supported SIS chipset, they're in luck....
V
P.S. Sorry for all the mix-ups/confusion, but quite frankly, like I said, it's d**m difficult to figure out what all these different vendors and organizations are doing about what, when, and how....
Carlton
2008-04-02, 05:54 PM CDT
Start:
[carlton@localhost ~]$ glxgears
1138 frames in 5.0 seconds = 226.743 FPS
1120 frames in 5.0 seconds = 223.747 FPS
1140 frames in 5.1 seconds = 224.365 FPS
1140 frames in 5.1 seconds = 224.229 FPS
1140 frames in 5.1 seconds = 224.102 FPS
1140 frames in 5.1 seconds = 224.201 FPS
1140 frames in 5.1 seconds = 224.445 FPS
1140 frames in 5.1 seconds = 224.385 FPS
1140 frames in 5.1 seconds = 224.354 FPS
1080 frames in 5.0 seconds = 215.717 FPS
1098 frames in 5.0 seconds = 219.071 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 25072 requests (24394 known processed) with 0 events remaining.
[carlton@localhost ~]$
Carlton
2008-04-02, 06:10 PM CDT
Hit a snag.
[carlton@localhost ~]$ su -l
Password:
[root@localhost ~]# modprobe -r sis
[root@localhost ~]# modprobe -r drm
[root@localhost ~]# cd /home/carlton/Desktop/drpackage
[root@localhost drpackage]# rpm -Uvh libdrm xorg-x11-drv-sis
error: open of libdrm failed: No such file or directory
error: open of xorg-x11-drv-sis failed: No such file or directory
fhubers
2008-04-02, 06:24 PM CDT
Did you download the packages? It appears that they are not in the /home/carlton/Desktop/drpackage folder.
Hlingler
2008-04-02, 07:42 PM CDT
Hit a snag.
[carlton@localhost ~]$ su -l
Password:
[root@localhost ~]# modprobe -r sis
[root@localhost ~]# modprobe -r drm
[root@localhost ~]# cd /home/carlton/Desktop/drpackage
[root@localhost drpackage]# rpm -Uvh libdrm xorg-x11-drv-sis
error: open of libdrm failed: No such file or directory
error: open of xorg-x11-drv-sis failed: No such file or directoryThose files simply do not exist in that folder. Either they're somewhere else, they're not RPMs, or they failed to download at all.
When you go to the 4shared download site, you cannot right-click on the file name and say "save target as..." because it will just save an HTML link. You have to actually click on the file name(s) and follow the 4shared links to get to the real files, which are at least two hops away. So it is with free filesharing sites. Make sure that what you're saving is a real RPM file, or whatever it should be.
V
Carlton
2008-04-02, 09:24 PM CDT
Moving along slowly :)
[root@localhost ~]# -s /usr/lib/dri/sis_dri.so /usr/X11R6/lib/modules/dri/sis_dri.so
bash: -s: command not found
[root@localhost ~]# /usr/lib/dri/sis_dri.so /usr/X11R6/lib/modules/dri/sis_dri.so
bash: /usr/lib/dri/sis_dri.so: Permission denied
[root@localhost ~]#
Hlingler
2008-04-02, 09:46 PM CDT
Moving along slowly :)
[root@localhost ~]# -s /usr/lib/dri/sis_dri.so /usr/X11R6/lib/modules/dri/sis_dri.so
bash: -s: command not found
[root@localhost ~]# /usr/lib/dri/sis_dri.so /usr/X11R6/lib/modules/dri/sis_dri.so
bash: /usr/lib/dri/sis_dri.so: Permission denied
[root@localhost ~]# Hi:
The link command is:
ln -s /usr/lib/dri/sis_dri.so /usr/X11R6/lib/modules/dri/sis_dri.so
That's lowercase "L" lowercase "N". The option "-s" means: make it a soft link (technical stuff...). The order of the filenames is important, too: real file (target) first, softlink second.
V
Carlton
2008-04-03, 04:29 PM CDT
[root@localhost ~]# cd /
[root@localhost /]# cd /root/Desktop/drpackage
[root@localhost drpackage]# ln -s /usr/lib/dri/sis_dri.so /usr/X11R6/lib/modules/dri/sis_dri.so
ln: creating symbolic link `/usr/X11R6/lib/modules/dri/sis_dri.so': No such file or directory
Hlingler, I very much appreciate your help but at this point. I think I'm going to pack it in.
Hlingler
2008-04-03, 06:38 PM CDT
No problem, I don't blame you - this is awfully tedious stuff, and that chipset/card probably isn't supported by that driver anyhow. If it's any consolation, I don't think that there's anything that needs to be un-done: you can keep the new libdrm and xorg-x11-drv-sis, they are the latest right out of development and should work fine with your existing software, maybe even better than the stock packages. But if anything does go wrong, post back....
V
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.