LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Radeon 9600 dri (https://www.linuxquestions.org/questions/linux-software-2/radeon-9600-dri-569892/)

the1sephiroth 07-16-2007 03:16 PM

Radeon 9600 dri
 
I had DRI working before in opensuse 10.2 and some updates later, i noticed it is no longer working.
Here is my xorg.conf

Code:

# SaX generated X11 config file
# Created on: 2007-05-04T22:16:57-0400.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath    "/usr/share/fonts/misc:unscaled"
  FontPath    "/usr/share/fonts/local"
  FontPath    "/usr/share/fonts/75dpi:unscaled"
  FontPath    "/usr/share/fonts/100dpi:unscaled"
  FontPath    "/usr/share/fonts/Type1"
  FontPath    "/usr/share/fonts/URW"
  FontPath    "/usr/share/fonts/Speedo"
  FontPath    "/usr/share/fonts/PEX"
  FontPath    "/usr/share/fonts/cyrillic"
  FontPath    "/usr/share/fonts/latin2/misc:unscaled"
  FontPath    "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath    "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath    "/usr/share/fonts/latin2/Type1"
  FontPath    "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath    "/usr/share/fonts/baekmuk:unscaled"
  FontPath    "/usr/share/fonts/japanese:unscaled"
  FontPath    "/usr/share/fonts/kwintv"
  FontPath    "/usr/share/fonts/truetype"
  FontPath    "/usr/share/fonts/uni:unscaled"
  FontPath    "/usr/share/fonts/CID"
  FontPath    "/usr/share/fonts/ucs/misc:unscaled"
  FontPath    "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath    "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath    "/usr/share/fonts/hellas/misc:unscaled"
  FontPath    "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath    "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath    "/usr/share/fonts/hellas/Type1"
  FontPath    "/usr/share/fonts/misc/sgi:unscaled"
  FontPath    "/usr/share/fonts/xtest"
  FontPath    "/opt/kde3/share/fonts"
  FontPath    "unix/:7100"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option      "AllowMouseOpenFail" "on"
EndSection

Section "Module"
  Load        "dbe"
  Load        "type1"
  Load        "freetype"
  Load        "extmod"
  Load        "glx"
  Load        "v4l"
  Load              "dri"
EndSection

Section "InputDevice"
  Driver      "kbd"
  Identifier  "Keyboard[0]"
  Option      "Protocol" "Standard"
  Option      "XkbLayout" "us"
  Option      "XkbModel" "pc104"
  Option      "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver      "mouse"
  Identifier  "Mouse[1]"
  Option      "Buttons" "5"
  Option      "Device" "/dev/input/mice"
  Option      "Name" "Logitech Optical Mouse"
  Option      "Protocol" "explorerps/2"
  Option      "Vendor" "Sysp"
  Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  DisplaySize  368 276
  HorizSync    29-86
  Identifier  "Monitor[0]"
  ModelName    "OPTIQUEST Q95-4"
  Option      "DPMS"
  VendorName  "OQI"
  VertRefresh  43-160
  UseModes    "Modes[0]"
EndSection

Section "Modes"
  Identifier  "Modes[0]"
  Modeline        "1400x1050" 155.85 1400 1496 1648 1864 1050 1051 1054 1096
  Modeline        "1280x1024" 149.57 1280 1376 1512 1744 1024 1025 1028 1072
  Modeline        "1280x1024" 135.34 1280 1368 1504 1728 1024 1025 1028 1068
  Modeline        "1280x1024" 122.57 1280 1368 1504 1728 1024 1025 1028 1064
  Modeline        "1280x960" 149.43 1280 1376 1512 1744 960 961 964 1008
  Modeline        "1280x960" 132.88 1280 1368 1504 1728 960 961 964 1003
  Modeline        "1280x960" 117.96 1280 1368 1504 1728 960 961 964 999
  Modeline        "1280x960" 102.10 1280 1360 1496 1712 960 961 964 994
  Modeline        "1366x768" 134.55 1368 1464 1608 1848 768 769 772 809
  Modeline        "1366x768" 117.83 1368 1456 1600 1832 768 769 772 804
  Modeline        "1366x768" 101.70 1368 1448 1592 1816 768 769 772 800
  Modeline        "1366x768" 85.86 1368 1440 1584 1800 768 769 772 795
  Modeline        "1280x800" 131.10 1280 1368 1504 1728 800 801 804 843
  Modeline        "1280x800" 114.77 1280 1360 1496 1712 800 801 804 838
  Modeline        "1280x800" 98.89 1280 1352 1488 1696 800 801 804 833
  Modeline        "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
  Modeline        "1152x864" 128.42 1152 1232 1360 1568 864 865 868 910
  Modeline        "1152x864" 112.36 1152 1224 1352 1552 864 865 868 905
  Modeline        "1152x864" 96.77 1152 1224 1344 1536 864 865 868 900
  Modeline        "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895
  Modeline        "1280x768" 125.82 1280 1368 1504 1728 768 769 772 809
  Modeline        "1280x768" 110.12 1280 1360 1496 1712 768 769 772 804
  Modeline        "1280x768" 94.98 1280 1352 1488 1696 768 769 772 800
  Modeline        "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
  Modeline        "1024x768" 100.19 1024 1088 1200 1376 768 769 772 809
  Modeline        "1024x768" 88.50 1024 1088 1200 1376 768 769 772 804
  Modeline        "1024x768" 76.16 1024 1080 1192 1360 768 769 772 800
  Modeline        "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  Modeline        "1280x600" 96.47 1280 1352 1488 1696 600 601 604 632
  Modeline        "1280x600" 84.54 1280 1344 1480 1680 600 601 604 629
  Modeline        "1280x600" 72.80 1280 1336 1472 1664 600 601 604 625
  Modeline        "1280x600" 61.50 1280 1336 1464 1648 600 601 604 622
  Modeline        "1024x600" 77.36 1024 1080 1192 1360 600 601 604 632
  Modeline        "1024x600" 67.63 1024 1080 1184 1344 600 601 604 629
  Modeline        "1024x600" 58.10 1024 1072 1176 1328 600 601 604 625
  Modeline        "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622
  Modeline        "800x600" 60.07 800 840 928 1056 600 601 604 632
  Modeline        "800x600" 53.14 800 840 928 1056 600 601 604 629
  Modeline        "800x600" 45.50 800 840 920 1040 600 601 604 625
  Modeline        "800x600" 38.22 800 832 912 1024 600 601 604 622
  Modeline        "768x576" 55.94 768 816 896 1024 576 577 580 607
  Modeline        "768x576" 48.71 768 808 888 1008 576 577 580 604
  Modeline        "768x576" 41.66 768 800 880 992 576 577 580 600
  Modeline        "768x576" 34.96 768 792 872 976 576 577 580 597
  Modeline        "640x480" 37.89 640 672 736 832 480 481 484 506
  Modeline        "640x480" 33.48 640 672 736 832 480 481 484 503
  Modeline        "640x480" 28.56 640 664 728 816 480 481 484 500
  Modeline        "640x480" 23.86 640 656 720 800 480 481 484 497
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1400x1050" "1280x1024" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1400x1050" "1280x1024" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1400x1050" "1280x1024" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1400x1050" "1280x1024" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1400x1050" "1280x1024" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  Device      "Device[0]"
  Identifier  "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "RV350 AP"
  BusID        "2:0:0"
  Driver      "radeon"
  Identifier  "Device[0]"
  VendorName  "ATI"
  Option "XAANoOffscreenPixmaps"
  Option "DRI" "true"
EndSection

Section "ServerLayout"
  Identifier  "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option      "Clone" "off"
  Option      "Xinerama" "off"
  Screen      "Screen[0]"
  Option      "AIGLX" "true"
EndSection

Section "DRI"
    Group      "video"
    Mode      0777
EndSection

Section "Extensions"
#  Option "Composite" "Enable"
EndSection

and my glxinfo:
Code:

name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 7.0
server glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 7.0
client glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
GLX extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 2.1 Mesa 7.0
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
    GL_ARB_fragment_shader, GL_ARB_half_float_pixel, GL_ARB_imaging,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_shader_objects, GL_ARB_shading_language_100,
    GL_ARB_shading_language_120, 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_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, 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_compiled_vertex_array, GL_EXT_convolution,
    GL_EXT_copy_texture, GL_EXT_depth_bounds_test, GL_EXT_draw_range_elements,
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord,
    GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
    GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
    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_texture_sRGB,
    GL_EXT_timer_query, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_APPLE_vertex_array_object, GL_ATI_blend_equation_separate,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
    GL_ATI_fragment_shader, GL_ATI_separate_stencil,
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_program_debug, GL_MESA_resize_buffers,
    GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_blend_square,
    GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
    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_SGI_texture_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
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  8 16 16 16  0  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x25 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x27 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x28 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x29 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2a 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2b 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2c 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2d 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2e 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2f 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x30 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x31 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x32 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None

I have tried using both "radeon" and "ati" as the driver for the card and can't figure out why i can not get dri working again.

-Edit-
And i was told not to use fglrx with this card as it is not supported.

b0uncer 07-17-2007 07:50 AM

Nothing sure, but a few things to think about:
- I've never seen the DRI mode be 0777, always 0666 in my past configurations
- DRI doesn't necessarily work with very high resolutions, I've encountered some cases where it was needed to drop the resolution slightly down to get DRI working
- do you belong to the group 'video', or whoever runs X?
- does /var/log/Xorg.0.log tell you any reasons why DRI should fail?

As far as I know, every Radeon card from 8500 upwards is supported by fglrx. I know <8500 models aren't, and things may have changed, but in the past (1-2 years ago) 8500+ were supported. Surf to ATI site and read their official documentation, it'll tell if your card model is supported; there's better knowledge than somebody off the web telling you how things "are". I'm not saying fglrx is easy to install, or that it works all right, or that it's nice to reinstall the drivers every time you modify/upgrade your kernel, but it might be possible anyway.

the1sephiroth 07-24-2007 12:36 PM

Solved
 
hwd seems to be the solution, as well as adding a line or 2 from the conf file that it creates.


All times are GMT -5. The time now is 06:31 AM.