Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[Solved] Cannot get working opengl with radeon drivers

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
redcap
n00b
n00b
Posts: 40
Joined: Sat Jul 10, 2010 5:06 pm

[Solved] Cannot get working opengl with radeon drivers

  • Quote

Post by redcap » Fri Jun 26, 2015 2:48 pm

Hi there,

I recently upgrade to Kerne 4.0.5 which caused some problems with the proprietary ATI video drivers that I was using
(see https://bugs.gentoo.org/show_bug.cgi?id=548118 ). I therefore decided to switch to the open source radeon drivers.
However, I am not able to get opengl to work at all. I don't know if this might be realted to the issue discussed in viewtopic-t-1012914.html but I don't think so because glxinfo gives me the following error:

Code: Select all

$ glxinfo 
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
These seem to be the relevant parts of the Xorg log file:

Code: Select all

# grep -C 10 EE Xorg.0.log
[    79.306] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[    79.306] X Protocol Version 11, Revision 0
[    79.306] Build Operating System: Linux 4.0.5-gentoo x86_64 Gentoo
[    79.306] Current Operating System: Linux morgaine 4.0.5-gentoo #7 SMP PREEMPT Fri Jun 26 15:17:20 CEST 2015 x86_64
[    79.306] Kernel command line: 
[    79.306] Build Date: 25 June 2015  11:26:49PM
[    79.306]  
[    79.306] Current version of pixman: 0.32.6
[    79.306]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    79.306] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    79.306] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 26 16:07:57 2015
[    79.309] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    79.309] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    79.310] (==) No Layout section.  Using the first Screen section.
[    79.310] (==) No screen section available. Using defaults.
[    79.310] (**) |-->Screen "Default Screen Section" (0)
[    79.310] (**) |   |-->Monitor "<default monitor>"
[    79.310] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    79.310] (**) |   |-->Device "radeon"
--
[    79.316] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so                                                                                                                  
[    79.330] (II) Module glamoregl: vendor="X.Org Foundation"                                                                                                                      
[    79.330]    compiled for 1.12.4, module version = 0.6.0                                                                                                                        
[    79.330]    ABI class: X.Org ANSI C Emulation, version 0.4                                                                                                                     
[    79.330] (II) LoadModule: "extmod"                                                                                                                                             
[    79.330] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so                                                                                                          
[    79.331] (II) Module extmod: vendor="X.Org Foundation"                                                                                                                         
[    79.331]    compiled for 1.12.4, module version = 1.0.0
[    79.331]    Module class: X.Org Server Extension
[    79.331]    ABI class: X.Org Server Extension, version 6.0
[    79.331] (II) Loading extension MIT-SCREEN-SAVER
[    79.331] (II) Loading extension XFree86-VidModeExtension
[    79.331] (II) Loading extension XFree86-DGA
[    79.331] (II) Loading extension DPMS
[    79.331] (II) Loading extension XVideo
[    79.331] (II) Loading extension XVideo-MotionCompensation
[    79.331] (II) Loading extension X-Resource
[    79.331] (II) LoadModule: "dbe"
[    79.331] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[    79.332] (II) Module dbe: vendor="X.Org Foundation"
[    79.332]    compiled for 1.12.4, module version = 1.0.0
--
[    79.346]    ABI class: X.Org Server Extension, version 6.0
[    79.346] (II) Loading sub module "glamoregl"
[    79.346] (II) LoadModule: "glamoregl"
[    79.346] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    79.346] (II) Module glamoregl: vendor="X.Org Foundation"
[    79.346]    compiled for 1.12.4, module version = 0.6.0
[    79.346]    ABI class: X.Org ANSI C Emulation, version 0.4
[    79.346] (II) glamor: OpenGL accelerated X.org driver based.
[    79.411] (II) glamor: EGL version 1.4 (DRI2):
[    79.411] EGL_MESA_drm_image required.
[    79.411] (EE) RADEON(0): glamor detected, failed to initialize EGL.
[    79.411] (II) Loading sub module "shadow"
[    79.411] (II) LoadModule: "shadow"
[    79.411] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[    79.412] (II) Module shadow: vendor="X.Org Foundation"
[    79.412]    compiled for 1.12.4, module version = 1.1.0
[    79.412]    ABI class: X.Org ANSI C Emulation, version 0.4
[    79.412] (II) RADEON(0): KMS Color Tiling: disabled
[    79.412] (II) RADEON(0): KMS Color Tiling 2D: disabled
[    79.412] (II) RADEON(0): KMS Pageflipping: enabled
[    79.412] (II) RADEON(0): SwapBuffers wait for vsync: enabled
--
[    79.628] (II) Initializing built-in extension XKEYBOARD
[    79.628] (II) Initializing built-in extension XC-MISC
[    79.628] (II) Initializing built-in extension XINERAMA
[    79.628] (II) Initializing built-in extension XFIXES
[    79.628] (II) Initializing built-in extension RENDER
[    79.628] (II) Initializing built-in extension RANDR
[    79.628] (II) Initializing built-in extension COMPOSITE
[    79.628] (II) Initializing built-in extension DAMAGE
[    79.631] (II) AIGLX: Screen 0 is not DRI2 capable
[    79.631] (II) AIGLX: Screen 0 is not DRI capable
[    79.631] (EE) AIGLX error: swrast does not export required DRI extension
[    79.631] (EE) GLX: could not load software renderer
[    79.631] (II) GLX: no usable GL providers found for screen 0
[    79.634] (II) RADEON(0): Setting screen physical size to 508 x 317
[    79.666] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    79.666] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    79.666] (II) LoadModule: "evdev"
[    79.666] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    79.668] (II) Module evdev: vendor="X.Org Foundation"
[    79.668]    compiled for 1.12.4, module version = 2.9.1
[    79.668]    Module class: X.Org XInput Driver
[    79.668]    ABI class: X.Org XInput driver, version 16.0
This seems to be the relevant part:

Code: Select all

[    79.411] (EE) RADEON(0): glamor detected, failed to initialize EGL.
As suggested in the troubleshooting section of https://wiki.gentoo.org/wiki/Radeon, I added
the gles2 USE flag to mesa:

Code: Select all

# emerge -vp mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/mesa-10.3.7-r1::gentoo  USE="classic dri3 egl gallium gbm gles2 llvm nptl udev -bindist -debug -gles1 -opencl -openmax -openvg -osmesa -pax_kernel -pic (-selinux) -vdpau -wayland -xa -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="radeon (-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Unfortunately, this did not resolve the issue. Here is some additional information that might be helpful.

Code: Select all

# eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
64bit r300 (Radeon R300-R500)
  [1]   gallium *
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
32bit r300 (Radeon R300-R500)
  [1]   gallium *
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
Selected OpenGl implementation

Code: Select all

# eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
My make.conf:

Code: Select all

# cat /etc/portage/make.conf 
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j9"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="gphoto2 lm_sensors mmx raw sse sse2 vaapi"
VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev"
LINGUAS="de en"

GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://gentoo.mneisen.org/"

source /var/lib/layman/make.conf

#SYNC="rsync://192.168.2.103/gentoo-portage"

# Set PORTDIR for backward compatibility with various tools:
#   gentoo-bashcomp - bug #478444
#   euse - bug #474574
#   euses and ufed - bug #478318
PORTDIR="/usr/portage"

PORTDIR_OVERLAY="/usr/local/portage ${PORTDIR_OVERLAY}"
My graphics card:

Code: Select all

# lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850]
I also created /etc/X11/xorg.conf.d/radeon.conf with the following contents as suggested in https://wiki.gentoo.org/wiki/Radeon

Code: Select all

# cat /etc/X11/xorg.conf.d/radeon.conf 
Section "Device"
   Identifier  "radeon"
   Driver      "radeon"
 EndSection
I spent about 2 days now to solve this issue, but without any success. I'd be very grateful for any help or directions on how to troubleshoot this issue.

Thanks a lot.

redcap
Last edited by redcap on Mon Jun 29, 2015 1:50 pm, edited 1 time in total.
Top
redcap
n00b
n00b
Posts: 40
Joined: Sat Jul 10, 2010 5:06 pm

  • Quote

Post by redcap » Sat Jun 27, 2015 1:15 am

Made some progress this day. It turned out that I had xorg-server masked for versions >= 1.15. I removed the mask
and after solving some conflicts I now have

Code: Select all

# emerge --search xorg-server
  
[ Results for search key : xorg-server ]
Searching...

*  x11-base/xorg-server
      Latest version available: 1.16.4
      Latest version installed: 1.16.4
      Size of files: 5.681 KiB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org X servers
      License:       MIT
At least, glxinfo now gives:

Code: Select all

name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
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_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_make_current_read
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_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_fbconfig_packed_float, 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_query_renderer, 
    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_copy_sub_buffer, GLX_MESA_multithread_makecurrent, 
    GLX_MESA_query_renderer, GLX_OML_swap_method, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_make_current_read
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
OpenGL version string: 3.0 Mesa 10.3.7
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend, 
    GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_trinary_minmax, 
    GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, 
    GL_ARB_ES2_compatibility, GL_ARB_ES3_compatibility, 
    GL_ARB_blend_func_extended, GL_ARB_clear_buffer_object, 
    GL_ARB_color_buffer_float, GL_ARB_compressed_texture_pixel_storage, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_buffer_float, 
    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_draw_buffers, 
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex, 
    GL_ARB_draw_instanced, GL_ARB_explicit_attrib_location, 
    GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions, 
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, 
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object, 
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary, 
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, 
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query, 
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, 
    GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multisample, 
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2, 
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, 
    GL_ARB_provoking_vertex, GL_ARB_robustness, GL_ARB_sampler_objects, 
    GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, 
    GL_ARB_separate_shader_objects, GL_ARB_shader_bit_encoding, 
    GL_ARB_shader_objects, GL_ARB_shader_texture_lod, 
    GL_ARB_shading_language_100, GL_ARB_shading_language_420pack, 
    GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_stencil_texturing, 
    GL_ARB_sync, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_compression_rgtc, 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_float, GL_ARB_texture_mirror_clamp_to_edge, 
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_multisample, 
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels, 
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, 
    GL_ARB_texture_storage, GL_ARB_texture_storage_multisample, 
    GL_ARB_texture_swizzle, GL_ARB_timer_query, GL_ARB_transform_feedback2, 
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced, 
    GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object, 
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, 
    GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object, 
    GL_ARB_vertex_program, GL_ARB_vertex_shader, 
    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev, 
    GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers, 
    GL_ATI_separate_stencil, GL_ATI_texture_compression_3dc, 
    GL_ATI_texture_env_combine3, GL_ATI_texture_float, 
    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_compiled_vertex_array, 
    GL_EXT_copy_texture, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, 
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled, 
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, 
    GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays, 
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels, 
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, 
    GL_EXT_polygon_offset, GL_EXT_provoking_vertex, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
    GL_EXT_shader_integer_mix, 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_array, GL_EXT_texture_compression_latc, 
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_cube_map, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_integer, GL_EXT_texture_lod_bias, 
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, 
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode, 
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm, 
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback, 
    GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, 
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, 
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, GL_KHR_debug, 
    GL_MESA_pack_invert, GL_MESA_texture_signed_rgba, GL_MESA_window_pos, 
    GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_conditional_render, 
    GL_NV_depth_clamp, GL_NV_fog_distance, GL_NV_light_max_exponent, 
    GL_NV_packed_depth_stencil, GL_NV_primitive_restart, 
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4, 
    GL_NV_texture_rectangle, GL_OES_EGL_image, GL_OES_read_format, 
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
However, it seems that software rendering is used. At least this is what the xorg log tells:

Code: Select all

# cat /var/log/Xorg.0.log | grep -C 10 EE
[    81.057] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[    81.057] X Protocol Version 11, Revision 0
[    81.057] Build Operating System: Linux 4.0.5-gentoo x86_64 Gentoo
[    81.057] Current Operating System: Linux morgaine 4.0.5-gentoo #7 SMP PREEMPT Fri Jun 26 15:17:20 CEST 2015 x86_64
[    81.057] Kernel command line: 
[    81.057] Build Date: 27 June 2015  02:37:10AM
[    81.057]  
[    81.057] Current version of pixman: 0.32.6
[    81.057]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    81.057] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    81.057] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 27 02:42:11 2015
[    81.059] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    81.060] (==) No Layout section.  Using the first Screen section.
[    81.060] (==) No screen section available. Using defaults.
[    81.060] (**) |-->Screen "Default Screen Section" (0)
[    81.060] (**) |   |-->Monitor "<default monitor>"
[    81.060] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    81.060] (==) Automatically adding devices
[    81.060] (==) Automatically enabling devices
--
[    81.078] (II) LoadModule: "radeon"
[    81.078] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[    81.082] (II) Module radeon: vendor="X.Org Foundation"
[    81.082]    compiled for 1.16.4, module version = 7.5.0
[    81.082]    Module class: X.Org Video Driver
[    81.082]    ABI class: X.Org Video Driver, version 18.0
[    81.082] (II) LoadModule: "modesetting"
[    81.082] (WW) Warning, couldn't open module modesetting
[    81.082] (II) UnloadModule: "modesetting"
[    81.082] (II) Unloading modesetting
[    81.082] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    81.082] (II) LoadModule: "fbdev"
[    81.082] (WW) Warning, couldn't open module fbdev
[    81.082] (II) UnloadModule: "fbdev"
[    81.082] (II) Unloading fbdev
[    81.082] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    81.082] (II) LoadModule: "vesa"
[    81.082] (WW) Warning, couldn't open module vesa
[    81.082] (II) UnloadModule: "vesa"
[    81.082] (II) Unloading vesa
[    81.082] (EE) Failed to load module "vesa" (module does not exist, 0)
[    81.082] (II) RADEON: Driver for ATI Radeon chipsets:
        ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
        ATI Radeon Mobility X300 (M24) 3152 (PCIE),
        ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
        ATI Radeon X600 (RV380) 3E50 (PCIE),
        ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
        ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
        ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
        ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
        ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
--
[    81.089] (II) Module "dri2" already built-in
[    81.089] (II) Loading sub module "glamoregl"
[    81.089] (II) LoadModule: "glamoregl"
[    81.089] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    81.095] (II) Module glamoregl: vendor="X.Org Foundation"
[    81.095]    compiled for 1.16.4, module version = 1.0.0
[    81.095]    ABI class: X.Org ANSI C Emulation, version 0.4
[    81.095] (II) glamor: OpenGL accelerated X.org driver based.
[    81.164] (II) glamor: EGL version 1.4 (DRI2):
[    81.164] EGL_MESA_drm_image required.
[    81.164] (EE) RADEON(0): glamor detected, failed to initialize EGL.
[    81.164] (II) Loading sub module "shadow"
[    81.164] (II) LoadModule: "shadow"
[    81.164] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[    81.164] (II) Module shadow: vendor="X.Org Foundation"
[    81.165]    compiled for 1.16.4, module version = 1.1.0
[    81.165]    ABI class: X.Org ANSI C Emulation, version 0.4
[    81.165] (II) RADEON(0): KMS Color Tiling: disabled
[    81.165] (II) RADEON(0): KMS Color Tiling 2D: disabled
[    81.165] (II) RADEON(0): KMS Pageflipping: enabled
[    81.165] (II) RADEON(0): SwapBuffers wait for vsync: enabled
--
[    81.356] (II) RADEON(0): Front buffer size: 9000K
[    81.356] (II) RADEON(0): VRAM usage limit set to 1867028K
[    81.356] (==) RADEON(0): Backing store enabled
[    81.356] (WW) RADEON(0): Direct rendering disabled
[    81.356] (II) RADEON(0): Acceleration disabled
[    81.356] (==) RADEON(0): DPMS enabled
[    81.356] (==) RADEON(0): Silken mouse enabled
[    81.357] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    81.384] (--) RandR disabled
[    81.388] (II) AIGLX: Screen 0 is not DRI2 capable
[    81.388] (EE) AIGLX: reverting to software rendering
[    81.390] (II) AIGLX: Loaded and initialized swrast
[    81.390] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    81.392] (II) RADEON(0): Setting screen physical size to 508 x 317
[    81.424] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    81.424] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    81.424] (II) LoadModule: "evdev"
[    81.424] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    81.427] (II) Module evdev: vendor="X.Org Foundation"
[    81.427]    compiled for 1.16.4, module version = 2.9.1
[    81.427]    Module class: X.Org XInput Driver
Anyone got any ideas?
Top
redcap
n00b
n00b
Posts: 40
Joined: Sat Jul 10, 2010 5:06 pm

  • Quote

Post by redcap » Sun Jun 28, 2015 11:46 pm

Well, I played around some more and realized that the x-server sent some stuff to stderr that did not show
up in the log file:

Code: Select all

Current version of pixman: 0.32.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 29 01:22:55 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory
failed to load driver: radeonsi
EGL_MESA_drm_image required.
Indeed, the file /usr/lib64/dri/radeonsi_dri.so is missing.

Code: Select all


# equery files mesa | grep radeon
/usr/lib32/dri/radeon_dri.so
/usr/lib32/mesa/radeon_dri.so
/usr/lib64/dri/radeon_dri.so
/usr/lib64/mesa/radeon_dri.so
These are the current USE flags for mesa:

Code: Select all

# emerge -v1a mesa

 * IMPORTANT: 10 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/mesa-10.3.7-r1::gentoo  USE="classic dri3 egl gallium gbm gles1 gles2 llvm nptl udev -bindist -debug -opencl -openmax -openvg -osmesa -pax_kernel -pic (-selinux) -vdpau -wayland -xa -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="radeon (-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] n

Quitting.

Okay..., now I'm trying to find out what is the difference between radeon and radeonsi...
Top
redcap
n00b
n00b
Posts: 40
Joined: Sat Jul 10, 2010 5:06 pm

  • Quote

Post by redcap » Mon Jun 29, 2015 1:49 pm

Just in case someone runs into the same problems. I added

Code: Select all

VIDEO_CARDS="radeon radeonsi"
to make.conf. Now everything seems to work alright.
Top
AFCommando
n00b
n00b
User avatar
Posts: 59
Joined: Wed Feb 12, 2003 10:05 pm

  • Quote

Post by AFCommando » Thu Jul 02, 2015 3:35 pm

redcap wrote:Just in case someone runs into the same problems. I added

Code: Select all

VIDEO_CARDS="radeon radeonsi"
to make.conf. Now everything seems to work alright.
Thanks redcap, it solved my problem as well.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic