LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No direct rendering (DRI) with Catalyst / fglrx on 14.1 (https://www.linuxquestions.org/questions/slackware-14/no-direct-rendering-dri-with-catalyst-fglrx-on-14-1-a-4175484253/)

dokkalf 11-11-2013 04:43 PM

No direct rendering (DRI) with Catalyst / fglrx on 14.1
 
Did a clean install of 14.1 (64-bit). My video card is a Radeon HD 7750. I could run glxgears or glxinfo and see that I had direct rendering, but wanted to see if the catalyst drivers would be better.

I knew from other threads that Catalyst 13.4 wouldn't work, so I downloaded the 13.11.b6 beta version. That built fine, even without creating the link recommended by Matt here.

However, when I try to run glxgears, glxinfo, fglxrinfo, etc., I can see that Im no longer getting direct rendering, and complaints about not being able to load swrast. Adding LIBGL_DEBUG=verbose to the command line adds the information
Code:

Screen 0 does not appear to be DRI capable.
I haven't found anything (yet) that says my card with the combination of 14.1 can't do direct rendering using catalyst, so any ideas?

FWIW, my monitors are old Princeton Graphics DPP 800's. One is connected to the DisplayPort output on the 7750 via an adapter, the second is connected to the DVI output.

ReaperX7 11-11-2013 08:41 PM

1. Check and see if you Blacklisted the default kernel radeon module in the file /etc/modprobe.d/blacklist. You may need to add the line:

Code:

blacklist radeon
2. Check and see if your xorg.conf in /etc/X11 has the fglrx xorg module specified in the driver section. (Note: although you can run xorg without an xorg.conf file, with proprietary drivers it is still recommended you have this file regardless.) Running aticonfig --initial should have created this file for you.

dokkalf 11-11-2013 10:20 PM

Did the blacklisting by creating the file /etc/modprobe.d/radeon-blacklist.conf and blacklisted both radeon and radeonhd (just to be sure). Without the blacklist, X wouldn't even start with catalyst.

Strictly speaking, the aticonfig command didn't create a "Driver" section. It did create the "Device" sections which included a "Driver" line, though. My full aticonfig command was
Code:

aticonfig --initial=dual-head --screen-layout=right
Here's the xorg.conf file.

Code:

Section "ServerLayout"
        Identifier    "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
        Screen        "aticonfig-Screen[0]-1" RightOf "aticonfig-Screen[0]-0"
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier  "aticonfig-Monitor[0]-0"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
EndSection

Section "Monitor"
        Identifier  "aticonfig-Monitor[0]-1"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID      "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-1"
        Driver      "fglrx"
        BusID      "PCI:1:0:0"
        Screen      1
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device    "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-1"
        Device    "aticonfig-Device[0]-1"
        Monitor    "aticonfig-Monitor[0]-1"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Those were the only parts that referenced fglrx.

One thing I haven't tried is setting nomodeset (to disable KMS) when I boot. Could that be an issue?

ReaperX7 11-11-2013 10:34 PM

It shouldn't be using modeset if you have the radeon module disabled.

From my knowledge both fglrx and nvidia proprietary drivers don't use modesetting.

Also, are you using a dual-monitor setup? You should only use a single monitor during configuration, then add the second monitor through the Catalyst controls.

I know the 13.4 drivers are the official drivers while the 13.11s are BETA for these cards, but did you make any attempt prior to this to use the default xorg ati driver?

adamk75 11-12-2013 07:11 AM

Please show us your /var/log/Xorg.0.log file and the output of 'dmesg'.

Adam

dokkalf 11-13-2013 01:01 PM

2 Attachment(s)
Xorg.0.log and output of dmesg.

adamk75 11-13-2013 08:02 PM

I don't see anything in that log file that suggests any problem related to direct rendering... Which is odd.

Can you attach the full output of "LIBGL_DEBUG=verbose glxinfo"

Adam

ReaperX7 11-13-2013 08:17 PM

Wait... are you using X11 as root or as a user?

If you are running as user, edit your /etc/X11/xorg.conf file and place this at the end of the file:

Code:

Section "DRI"
    Mode 0666
EndSection

And then restart X11.

If you are running as root... we may need further details as to how you set up your system possibly.

Just curious, but could you please post your entire /etc/X11/xorg.conf file here so I may see it please?

dokkalf 11-13-2013 10:38 PM

First, the output of LIBGL_DEBUG=verbose glxinfo

Code:

libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/xorg/modules/dri/swrast_dri.so
libGL error: failed to load driver: swrast
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: ATI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_framebuffer_sRGB,
    GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_MESA_multithread_makecurrent, GLX_OML_swap_method,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon HD 7700 Series
OpenGL version string: 1.4 (2.1 (4.3.12614 Compatibility Profile Context 13.25.18))
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_framebuffer_object, 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_ATIX_texture_env_combine3, GL_ATI_draw_buffers,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, 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_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
    GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_EXT_subtexture, GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod,
    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

81 GLX Visuals
    visual  x  bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x023 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x024 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x025 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x026 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x027 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x028 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x029 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x02a 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x02b 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x02c 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x02d 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x02e 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x02f 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x030 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x031 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x032 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x033 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x034 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x035 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x036 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x037 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x038 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x039 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x03a 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x03b 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x03c 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x03d 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x03e 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x03f 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x040 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x041 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x042 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x043 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x044 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x045 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x046 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x047 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x048 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x049 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x04a 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x04b 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x04c 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x04d 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x04e 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x04f 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x050 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x051 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x052 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x053 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x054 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x055 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x056 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x057 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x058 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x059 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x05a 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x05b 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x05c 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x05d 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x05e 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x05f 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x060 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x061 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x062 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x063 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x064 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x065 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x066 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x067 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x068 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x069 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x06a 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x06b 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x06c 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x06d 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x06e 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x06f 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x070 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x071 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x072 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x0b1 32 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 Ncon

85 GLXFBConfigs:
    visual  x  bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x023 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x024 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x025 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x026 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x027 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x028 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x029 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x02a 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x02b 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x02c 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x02d 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x02e 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x02f 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  2 1 None
0x030 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  2 1 None
0x031 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  2 1 None
0x032 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  2 1 None
0x033 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x034 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x035 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x036 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x037 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x038 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x039 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  4 1 None
0x03a 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  4 1 None
0x03b 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x03c 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x03d 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x03e 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x03f 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  6 1 None
0x040 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  6 1 None
0x041 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  6 1 None
0x042 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  6 1 None
0x043 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x044 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x045 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x046 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x047 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x048 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x049 24 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  8 1 None
0x04a 24 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  8 1 None
0x04b 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x04c 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x04d 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x04e 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x04f 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x050 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x051 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x052 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x053 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x054 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x055 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x056 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x057 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  2 1 None
0x058 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  2 1 None
0x059 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  2 1 None
0x05a 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  2 1 None
0x05b 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x05c 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x05d 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x05e 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x05f 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x060 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x061 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  4 1 None
0x062 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  4 1 None
0x063 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x064 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x065 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x066 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x067 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  6 1 None
0x068 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  6 1 None
0x069 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  6 1 None
0x06a 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  6 1 None
0x06b 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x06c 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x06d 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x06e 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 None
0x06f 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x070 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x071 24 dc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x072 24 dc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None
0x0b1 32 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 Ncon
0x0b1 32 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 Ncon
0x0b1 32 tc  0  32  0 r  y .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 Ncon
0x0b1 32 tc  0  32  0 r  . .  8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 Ncon
0x0b1 32 tc  0  32  0 r  . .  8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 Ncon

Second, current xorg.conf:
(This was created by first deleting old xorg.conf, running "aticonfig --initial" with no dual head options, then using Catalyst Control Center ("amdcccle" run as su) to change from a cloned display, and finally manually adding the DRI section. Note that after each step - aticonfig, amdcccle, editing xorg.conf - I rebooted and checked both glxinfo and fglrxinfo, with no changes in their output.)

Code:

Section "ServerLayout"
        Identifier    "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier  "aticonfig-Monitor[0]-0"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
EndSection

Section "Monitor"
        Identifier  "0-DFP1"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
        Option            "PreferredMode" "1280x1024"
        Option            "TargetRefresh" "60"
        Option            "Position" "0 0"
        Option            "Rotate" "normal"
        Option            "Disable" "false"
EndSection

Section "Monitor"
        Identifier  "0-DFP6"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
        Option            "PreferredMode" "1280x1024"
        Option            "TargetRefresh" "60"
        Option            "Position" "1280 0"
        Option            "Rotate" "normal"
        Option            "Disable" "false"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        Option            "Monitor-DFP1" "0-DFP1"
        Option            "Monitor-DFP6" "0-DFP6"
        BusID      "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "amdcccle-Device[1]-1"
        Driver      "fglrx"
        Option            "Monitor-DFP6" "0-DFP6"
        BusID      "PCI:1:0:0"
        Screen      1
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device    "aticonfig-Device[0]-0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "Screen"
        Identifier "amdcccle-Screen[1]-1"
        Device    "amdcccle-Device[1]-1"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Should probably also note that /usr/lib64/xorg/modules/dri/swrast_dri.so exists. The "ls -l" out put is:
Code:

-rwxr-xr-x 1 root root 24064 Oct 21 19:54 /usr/lib64/xorg/modules/dri/swrast_dri.so
Also, when ever possible, I'm running as an ordinary user. When I need elevated privledges, I open a terminal window and use "su".

ReaperX7 11-13-2013 11:02 PM

Does your xorg.conf have this, or anything like this, anywhere listed?

Code:

Section "Module"
# This loads the DRI/GLX modules
    Load      "glx"
    Load      "dri"
    Load      "dri2"
    Load      "GLcore"
    Load      "dbe"
    Load      "extmod"
EndSection


dokkalf 11-14-2013 12:43 AM

There is a Module section; it is right after the ServerLayout section. It is empty.

I added the modules listed and restarted X to see if they made a difference. They didn't.

ReaperX7 11-14-2013 03:20 AM

Can you get acceleration as root?

Have you possibly added your user account to the video group?

Aicop 11-14-2013 06:19 AM

Method of installation?
 
I had the same issue, normally I always install the Catalyst drivers by creating a slackware package however when installing using the normal method (ncurses menu, not making a package) it did work.

adamk75 11-14-2013 10:07 AM

Please show the output of 'ldd /usr/bin/glxinfo' and then run ldd on the libGL.so file that it links against and show that output here as well. I suspect you are not using the fglrx GL library.

Adam

ReaperX7 11-14-2013 08:20 PM

If the libmesa libGL.so and it's symlinks aren't replaced by the fglrx libGL.so, as well as the symlinks, it won't work at all.

dokkalf 11-14-2013 09:42 PM

Might be partway to an answer.

When the stock mesa package is installed, it links libGL.so and libGL.so.1 to libGL.so.1.2.0

When the fglrx package is installed, it installs its libGL as libGL.so.1.2 and relinks libGL.so and libGL.so.1 to the new libGL.so.1.2, leaving the original libGL.so.1.2.0 alone with nothing linked to it.

Upon a reboot, something is relinking libGL.so.1 back to the original libGL.so.1.2.0, causing the mismatch Adam suspected. If I manually link libGL.so.1 to libGL.so.1.2, everything works until the next boot/reboot.

Now the question is: what is changing the link during boot?

ReaperX7 11-14-2013 10:03 PM

More than likely it was a callback feature trying to set a dependency link for a file that was a redundant symlink against itself.

What he could do is rename the fglrx installed libGL.so.1.2 to fglrx-libGL.so and create symlinks for libGL.so, libGL.so.1.2.0, libGL.so.1, libGL.so.1.2

Easily done as this with a script set both prior to install of fglrx drivers and post-install:

Run before installing fglrx.

Code:

cd /usr/lib64
cp -v libGL.so libmesa-libGL.so

The run post-install of fglrx.

Code:

cp -v libGL.so.1.2 fglrx-libGL.so
rm -rfv libGL.so
rm -rfv libGL.so.1
rm -rfv libGL.so.1.2
rm -rfv libGL.so.1.2.0
ln -sv fglrx-libGL.so libGL.so
ln -sv fglrx-libGL.so libGL.so.1
ln -sv fglrx-libGL.so libGL.so.1.2
ln -sv fglrx-libGL.so libGL.so.1.2.0

This will dedicate the AMD fglrx libGL.so to it's own library as fglrx-libGL.so and then libmesa's libGL.so will be backed up.

dokkalf 11-15-2013 12:36 AM

Didn't really work. (I'm assuming you weren't suggesting reloading my entire system.)

I removed the fglrx package and reinstalled the mesa package.

I then entered the following command:
Code:

ls -l /usr/lib64/*libGL.*
and got
Code:

-rwxr-xr-x 1 root root  1239 Oct 21 19:54 /usr/lib64/libGL.la
lrwxrwxrwx 1 root root    14 Nov 14 18:28 /usr/lib64/libGL.so -> libGL.so.1.2.0
lrwxrwxrwx 1 root root    14 Nov 14 18:28 /usr/lib64/libGL.so.1 -> libGL.so.1.2.0
-rwxr-xr-x 1 root root 511032 Oct 21 19:54 /usr/lib64/libGL.so.1.2.0

Did
Code:

cp -p /usr/lib64/libGL.so.1.2.0 /usr/lib64/libmesa-libGL.so.1.2.0
and installed the fglrx package.

After the install, my ls command returned
Code:

-rwxr-xr-x 1 root root 511032 Oct 21 19:54 /usr/lib64/libmesa-libGL.so.1.2.0
-rwxr-xr-x 1 root root  1239 Oct 21 19:54 /usr/lib64/libGL.la
lrwxrwxrwx 1 root root    10 Nov 14 21:54 /usr/lib64/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root    12 Nov 14 21:54 /usr/lib64/libGL.so.1 -> libGL.so.1.2
lrwxrwxrwx 1 root root    24 Nov 14 21:54 /usr/lib64/libGL.so.1.2 -> fglrx/fglrx-libGL.so.1.2
-rwxr-xr-x 1 root root 511032 Oct 21 19:54 /usr/lib64/libGL.so.1.2.0

Did

Code:

cp -p fglrx/fglrx-libGL.so.1.2 libGL.so.1.2.0
then rebooted.

After reboot

Code:

ls -l /usr/lib64/libGL.so.1
returned

Code:

lrwxrwxrwx 1 root root    12 Nov 14 21:54 /usr/lib64/libGL.so.1 -> libmesa-libGL.so.1.2.0
None of the other links were changed. I renamed the mesa libGL several times. As long as it had the first three letters of the name as "lib" and ended in a number (I tried libdokkalf.so.1, libdokkalf.so.1.2, and libdokkalf.so.1.2.0), after a reboot libGL.so.1 would automagically point to the new name. Renaming the mesa libGL to an improper name like FGL.renamed.libGL.so.1.2.0 and setting libGL.so.1 to point at libGL.so.1.2 would the link remain after a reboot.

At this point, I suspect the original problem is with the fglrx doinst.sh script not properly renaming libGL.so.1.2.0, but I still don't understand what keeps changing the libGL.so.1 link.

Enjoys_Life 11-29-2013 11:50 PM

I have this same problem on my hd 7850. I would suggest you edit your /etc/rc.d/rc.local to have the line
Code:

ln -sf /usr/lib64/libGL.so.1.2 /usr/lib64/libGL.so.1
That way next time you boot it will automatically link the two files mentioned. Next time you reboot run glxinfo just to check (this worked for me). Still don't know what causes this to become undone but here at least you don't have to execute it every time you start.


All times are GMT -5. The time now is 09:15 AM.