LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hardware Acceleration Rage128 Mobility (https://www.linuxquestions.org/questions/linux-newbie-8/hardware-acceleration-rage128-mobility-209753/)

nephron 07-26-2004 06:36 AM

Hardware Acceleration Rage128 Mobility
 
After OS X crashed on my mac during my vacation :-( i downloaded Yellow Dog Linux and am pretty satisfied with it except that it won't activate hardware acceleration on my ATI Rage 128 Mobility. On OS X i'm sure it worked, but Yellow Dog just shows a gray box i can't click for "hardware acceleration" at the driver selection dialog.
I'm using an old PowerBook G4 (4 years old i think...)
Anyone know what to do? Does it have to do with XFree86config? Is there any other way to get the most out of my video card (Anything OpenGL is extremely slow...)

perry 07-28-2004 05:10 PM

Hardware Acceleration Rage Mobility P
 
here's something i found today indicarting two things:


1) the card is now discontinued
2) the card was designed to support 3d hardware acceleration

so.... i'm going to be very interested if:

a) the xorg.conf is already supporting 3d accleration and if so then why does wine give me such a poor rating (or indicate that it does not)
b) what's involved in getting it working on my machine

sadly, the first place to look is to see if the 3d acceration is activated while in "Winblows", if so, i guess i'm going to be doing alot learning. fortunately for me however, there's some activity with recompiling the ati driver for use with kernal 2.6.7 that seems to indicate that we may be in luck!

cheers

- perry

perry 07-28-2004 05:16 PM

hmmmm that's interesting....
 
in my /mnt/windows/ati directory i found a utility that looked like it could be run by wine

Code:

perry@slackware:/mnt/windows/ati$ wine cardinfo.exe
it yielded these results:

Code:

hDC: 0x74
server wgl vendor string: N/A
server wgl version string: N/A
server wgl extensions (WGL_): N/A
client wgl version: N/A
client wgl extensions (WGL_): none
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)
OpenGL extensions (GL_):
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
    GL_ARB_point_parameters, 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_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_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_mirror_once,
    GL_ATI_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
    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, .

  visual  x  bf lv rg d st  r  g  b a  ax dp st accum buffs  ms  acc
 id dep cl sp sz l  ci b ro sz sz sz sz bf th cl  r  g  b  a ns b     
-----------------------------------------------------------------------
  1: 24 wn  . 24  .  r y  .  8  8  8  .  . 16  .  .  .  .  .  . .  y  y
  2: 32 wn  . 32  .  r y  .  8  8  8  8  . 16  8  .  .  .  .  . .  y  y
  3: 32 wn  . 32  .  r y  .  8  8  8  8  . 16  8  .  .  .  .  . .  y  y
  4: 32 wn  . 32  .  r y  .  8  8  8  8  . 16  8  .  .  .  .  . .  y  y
  5: 32 wn  . 32  .  r y  .  8  8  8  8  . 16  8  .  .  .  .  . .  y  y
  6: 32 wn  . 32  .  r y  .  8  8  8  8  . 16  8  .  .  .  .  . .  y  y
  7: 32 wn  . 32  .  r y  .  8  8  8  8  . 16  8  .  .  .  .  . .  y  y
  8: 32 wn  . 32  .  r y  .  8  8  8  8  . 16  8  .  .  .  .  . .  y  y
-----------------------------------------------------------------------
  visual  x  bf lv rg d st  r  g  b a  ax dp st accum buffs  ms  acc
 id dep cl sp sz l  ci b ro sz sz sz sz bf th cl  r  g  b  a ns b     
-----------------------------------------------------------------------

what does it mean i wonder...?

the acc at the top of the table looks a lot like acceleration to me!

- perry

perry 07-28-2004 05:38 PM

www.mesa3d.org
 
hmmmm, it seems that that web site is giving me alot of insight as to what to check for... at least i believe that my card is capable of it. as i have both ati.com and windows reporting that i can have 3d:

check out:

http://www.ati.com/products/mobility/index.html
http://www.ati.com/products/mobility128/index.html
http://www.ati.com/products/rage128/...ion/index.html (MAC)
http://www.mesa3d.org/
http://dri.sourceforge.net/cgi-bin/moin.cgi/
http://dri.sourceforge.net/cgi-bin/m...roubleshooting
http://www.uwsg.iu.edu/hypermail/lin...12.1/0068.html
http://lists.debian.org/debian-lapto.../msg00242.html

further, i could out about this command:

Code:

perry@slackware:/mnt/windows/ati$ glxinfo
and it yielded these results

Code:

name of display: :0.0
display: :0  screen: 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_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
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_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_SGI_make_current_read,
    GLX_SGIS_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
    GL_ARB_point_parameters, 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_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_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_mirror_once,
    GL_ATI_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
    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
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

  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
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
perry@slackware:/mnt/windows/ati$

notice the difference in output, from what i can see so far, there's an issue with activating something called drm that's not appearing in my dmesg

it should look like this as i have agp

Code:

perry@slackware:/mnt/windows/ati$ dmesg | grep drm

[drm] AGP 0.99 on Intel i815 @ 0xe8000000 64MB
[drm] Initialized radeon 1.1.1 20010405 on minor 0

one reference indicates that perhaps the rage mobility p is not going to be supported but the rage mobility 128 is.... hmmmm, if there is so and there's source code then i wanna find out why it can happen on bloody winblows and not linux, thats not fair....!

http://dri.sourceforge.net/cgi-bin/m...roubleshooting

- perry

perry 07-28-2004 05:45 PM

not ready to give up yet but....
 
i got other things to do:

Code:

root@slackware:/mnt/windows/ati# grep dri /var/log/Xorg.0.log | grep LoadModule
(II) LoadModule: "dri"
root@slackware:/mnt/windows/ati# grep dri /var/log/Xorg.1.log | grep LoadModule
(II) LoadModule: "dri"
root@slackware:/mnt/windows/ati# grep dri /var/log/Xorg.20.log | grep LoadModule
(II) LoadModule: "dri"

as i cannot see how X can do such a beautiful job of displaying as it is, i absolutally refuse that hardware available under winblows cannot be active right here, right now so that i can have some piece of mind when playing some wine games or even quake and not have my cpu knock itself out trying to simulate hardware accleration...

nonetheless it's proving to be very interesting.....!

anybody with any ideas feel free to share!

- perry


All times are GMT -5. The time now is 08:23 AM.