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
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
Code: Select all
[ 79.411] (EE) RADEON(0): glamor detected, failed to initialize EGL.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
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 *
Code: Select all
# eselect opengl list
Available OpenGL implementations:
[1] xorg-x11 *
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}"
Code: Select all
# lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850]
Code: Select all
# cat /etc/X11/xorg.conf.d/radeon.conf
Section "Device"
Identifier "radeon"
Driver "radeon"
EndSection
Thanks a lot.
redcap
