Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Still no luck with Radeon OpenGL. DRI / DRM / Mesa to blame?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Tue Mar 17, 2015 6:58 am    Post subject: Still no luck with Radeon OpenGL. DRI / DRM / Mesa to blame? Reply with quote

So I've always wondered whether my OpenGL is working or not.
I've had KDE complain occasionally that OpenGL hardware rendering has crashed and it's "dropping back to software rendering".
Now, I've just installed Matlab, launched it from the command line, and gotten this error message:
Code:
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
MATLAB is selecting SOFTWARE OPENGL rendering.

and from within the program I got:
"Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL."
and
Code:
>> opengl info
                          Version: '2.1 Mesa 7.2'
                           Vendor: 'Brian Paul'
                         Renderer: 'Mesa X11'
                   MaxTextureSize: 2048
                           Visual: 'Visual 0x6c, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer,...'
                         Software: 'true (known graphics driver issues)'
        SupportsGraphicsSmoothing: 0
    SupportsDepthPeelTransparency: 1
       SupportsAlignVertexCenters: 0
                       Extensions: {114x1 cell}
               MaxFrameBufferSize: 4096


Also, I've always noticed that things like earth.nullschool.net are absolutely crudslow on this system. On my much slower-clocked work laptop, with winbloat and intel graphics, it's smooth as anything.

So the question is, how can I tell if my OpenGL is actually working?
It's no slouch of a system, so it should be blazing fast for anything I throw at it.
6-core Phenom II, 20GB DDR3
AMD R7 250X OC, 2GB GDDR5
Gigabyte GA-990FXA-UD3, SSDs and all that.

Thus far I've done the following digging:
Code:
> glxinfo | grep -i open
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.7
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.7
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:

> glxinfo | grep -i direct
direct rendering: Yes
    GL_ARB_draw_indirect, GL_ARB_draw_instanced,
    GL_ARB_multi_draw_indirect, GL_ARB_occlusion_query2,

/usr/lib64/dri/ > ls -l
total 0
lrwxrwxrwx 1 root root 25 Feb 24 18:22 kms_swrast_dri.so -> ../mesa/kms_swrast_dri.so
lrwxrwxrwx 1 root root 20 Aug 10  2014 r300_dri.so -> ../mesa/r300g_dri.so
lrwxrwxrwx 1 root root 20 Feb 24 18:22 r300g_dri.so -> ../mesa/r300g_dri.so
lrwxrwxrwx 1 root root 20 Aug 10  2014 r600_dri.so -> ../mesa/r600g_dri.so
lrwxrwxrwx 1 root root 20 Feb 24 18:22 r600g_dri.so -> ../mesa/r600g_dri.so
lrwxrwxrwx 1 root root 23 Feb 24 18:22 radeonsi_dri.so -> ../mesa/radeonsi_dri.so
lrwxrwxrwx 1 root root 22 Aug 10  2014 swrast_dri.so -> ../mesa/swrastg_dri.so
lrwxrwxrwx 1 root root 22 Feb 24 18:22 swrastg_dri.so -> ../mesa/swrastg_dri.so

/usr/lib64/mesa/ > ls -l
total 36100
-rwxr-xr-x 5 root root 7386600 Feb 24 18:22 kms_swrast_dri.so
-rwxr-xr-x 5 root root 7386600 Feb 24 18:22 r300g_dri.so
-rwxr-xr-x 5 root root 7386600 Feb 24 18:22 r600g_dri.so
-rwxr-xr-x 5 root root 7386600 Feb 24 18:22 radeonsi_dri.so
-rwxr-xr-x 5 root root 7386600 Feb 24 18:22 swrastg_dri.so

>eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

/usr/src/linux > grep -i radeon .config
CONFIG_EXTRA_FIRMWARE="radeon/VERDE_ce.bin radeon/VERDE_mc.bin radeon/VERDE_me.bin radeon/VERDE_pfp.bin radeon/VERDE_rlc.bin radeon/VERDE_smc.bin radeon/TAHITI_uvd.bin"
CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_UMS is not set
# CONFIG_FB_RADEON is not set

Kernel Config:
> Device Drivers > Graphics support > Direct Rendering Manager
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
<M> ATI Radeon
(all others 'n')


Code:
cat /etc/portage/make.conf
CFLAGS="-march=amdfam10 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="x86_64-pc-linux-gnu"

MAKEOPTS="-j10"

USE="-3dfx 3dnow 3dnowext X
-a52 -aac -accessibility acl acpi -afs -aim alsa -altivec -ao -apm -aqua -atm
bash-completion -berkdb -bindist -bluetooth -branding bzip2
cairo -cdb cdda cddb cdr -cgi cjk -clamav -coreaudio -cracklib css -cups curl -custom-cflags -cvs cxx
dbus -debug -dga -directfb -djvu -doc dri -dts -dv -dvb dvd dvdr
-emacs -encode -evo -examples exif
-fbcon ffmpeg fftw flac fontconfig fortran -freetds -frontbase ftp
gcj gd gdbm -geoip -ggi gif gimp -git -glut gmp -gnome -gnome-keyring gnuplot -gnutls -gphoto2 gpm -gps -gsl -gsm -gstreamer gtk gzip
-handbook hardened hddtemp -hdf5
-ibm -icq icu idn -ieee1394 -imagemagick -imlib -infiniband introspection -ios -ipod ipv6
-jabber -jack java java6 javascript -jbig -jingle -jit -joystick jpeg -jpeg2k
kde -kerberos -kontact
-ladspa -lame -lapack latex lcms -ldap -libass -libav -libffi -lirc lm_sensors -lua lzma lzo
mad -matrox -mikmod mime -minimal mmap -mms mmx -mng mozilla mp3 mp4 mpeg mplayer -msn -mssql -mtp -multilib -mysql -mysqli
-nas ncurses -netboot -nis nls nsplugin
-ocaml -ocamlopt odbc -offensive ogg openal -openexr opengl openmp -osc -oscar -oss
-pch -pcmcia pcntl pcre -pda pdf perl php pie plasma png -policykit -portaudio posix -pulseaudio python
qt4 qt5 -quicktime
-raw -rdesktop readline -rss ruby
-samba -sasl -scanner -sdl -seamonkey -semantic-desktop -smartcard smp -snmp sockets sound source -spell sqlite -sqlite3 sse sse2 sse3 ssl -suid svg -sybase -symlink sysvipc szip
tcl -theora threads tiff -timidity -tk truetype
udev -udisks unicode upower usb
-v4l vcd -vdpau vim-syntax vnc vorbis
-wayland -webkit -wifi -wmf
x264 xcb -xemacs -xine -xinerama xml xmp -xmpp -xosd -xscreensaver -xv -xvid
-yahoo
-zeroconf zlib
bzip2 drm drmkms egl evdev exceptions gallium gbm glamor -gles -gles1 -gles2 gtk3 -hunspell -kdepim kms libkms -nopie -nossp opencl openvg pax_kernel qt3support sse4 sse4a ssp vlc -wallpapers zip
hvm kvm qemu spice vhost-net vhosts xen"

FEATURES="candy -ccache compress-build-logs news parallel-fetch userfetch"

LINGUAS="en_GB en"

INPUT_DEVICES="evdev"

VIDEO_CARDS="radeonsi radeon"

USE_PYTHON='2.7'
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_4"

ACCEPT_LICENSE="Oracle-BCLA-JavaSE PUEL AdobeFlash-11.x cadsoft"

SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"

GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo"

PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"

CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a"

APACHE2_MODULES=""
CALLIGRA_FEATURES=""
LCD_DEVICES=""
XTABLES_ADDONS=""
COLLECTD_PLUGINS=""
CAMERAS=""
GPSD_PROTOCOLS=""
ALSA_CARDS="hda-intel"


Code:
emerge --info
Portage 2.2.14 (python 3.4.1-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.7-hardened-r1-XEN-KVM x86_64)
=================================================================
System uname: Linux-3.17.7-hardened-r1-XEN-KVM-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.2
KiB Mem:    20516116 total,   5222008 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 08 Mar 2015 22:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo cross-avr
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE PUEL AdobeFlash-11.x cadsoft"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo"
LANG="en_AU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 bash-completion bzip2 cairo cdda cddb cdr cjk cli crypt css curl cxx dbus dri drm drmkms dvd dvdr egl evdev exceptions exif ffmpeg fftw flac fontconfig fortran ftp gallium gbm gcj gd gdbm gif gimp glamor gmp gnuplot gpm gtk gtk3 gzip hardened hddtemp hvm iconv icu idn introspection ipv6 java java6 javascript jpeg justify kde kms kvm latex lcms libkms lm_sensors lzma lzo mad mime mmap mmx modules mozilla mp3 mp4 mpeg mplayer ncurses nls nptl nsplugin odbc ogg openal opencl opengl openmp openvg pam pax_kernel pcntl pcre pdf perl php pie plasma png posix python qemu qt3support qt4 qt5 readline ruby session smp sockets sound source spice sqlite sse sse2 sse3 sse4 sse4a ssl ssp svg sysvipc szip tcl tcpd threads tiff truetype udev unicode upower urandom usb vcd vhost-net vhosts vim-syntax vlc vnc vorbis x264 xattr xcb xen xml xmp xtpax zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeonsi radeon"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



So I'm out of ideas. Is OpenGL working? How can I be sure? (glxgears only runs at 60FPS, fixed to refresh rate, but my CPU could do that in software without even yawning).
Buggy driver?
I was trying out Wayland at one point, but that just crashed, so I gave up and I had to put "-gles -gles1 -gles2 -wayland" in my make.conf because otherwise X wouldn't load. But I've got in opengl and glamor and mesa and all of them.

I've done a bit of searching on the specific problem of "unable to load driver" and get a whole lot of people who can't load Steam because of an old libstdc++. But a) this isn't Steam, b) I can't see that Matlab has done the same thing and supplied an old libstdc++, and c) I've had other problems too besides this error.
Any ideas?


Last edited by Dr Croubie on Thu May 28, 2015 5:50 am; edited 6 times in total
Back to top
View user's profile Send private message
soulsource
n00b
n00b


Joined: 25 Jan 2014
Posts: 26

PostPosted: Tue Mar 17, 2015 11:01 am    Post subject: Reply with quote

From the output of glxinfo it looks like OpenGL is working on your system. If you are still unsure, install a 3D game from the portage tree (gl117, scorched3d,...) and see if it runs.

I might be completely wrong, but the Matlab issue looks like a multilib problem to me. I've seen similar error messages with 32bit games on my 64bit system. Is Matlab 64bit?
If no, you'll either need 32bit Mesa drivers, or you can switch to the proprietary AMD driver (I wouldn't, as the proprietary driver is more bug than driver).

If you choose to stay with the open source driver (what will save you a lot of nerves, although it has enough bugs on its own), app-emulation/emul-linux-x86-opengl is the package you'll probably need.

(Previously there were some issues with emul-linux-x86-opengl, where it was lacking the driver for Radeon Southern Islands cards. Nevertheless if I understand the porting status list correctly, recent versions of app-emulation/emul-linux-x86-opengl should simply compile the 32bit version of mesa, installing exactly the same drivers as the installed 64bit mesa version. If for whatever reason the 32bit driver for your Radeon Southern Islands card is not installed by emul-linux-x86-opengl, try to install the latest testing version of the package.)
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Tue Mar 17, 2015 10:21 pm    Post subject: Reply with quote

soulsource wrote:
From the output of glxinfo it looks like OpenGL is working on your system. If you are still unsure, install a 3D game from the portage tree (gl117, scorched3d,...) and see if it runs.

I might be completely wrong, but the Matlab issue looks like a multilib problem to me. I've seen similar error messages with 32bit games on my 64bit system. Is Matlab 64bit?
If no, you'll either need 32bit Mesa drivers, or you can switch to the proprietary AMD driver (I wouldn't, as the proprietary driver is more bug than driver).

If you choose to stay with the open source driver (what will save you a lot of nerves, although it has enough bugs on its own), app-emulation/emul-linux-x86-opengl is the package you'll probably need.

(Previously there were some issues with emul-linux-x86-opengl, where it was lacking the driver for Radeon Southern Islands cards. Nevertheless if I understand the porting status list correctly, recent versions of app-emulation/emul-linux-x86-opengl should simply compile the 32bit version of mesa, installing exactly the same drivers as the installed 64bit mesa version. If for whatever reason the 32bit driver for your Radeon Southern Islands card is not installed by emul-linux-x86-opengl, try to install the latest testing version of the package.)


Yeah, Scorched3d loads and runs, but it certainly isn't anywhere near 'fast'. I know I don't have the best graphics card in the world, but it's new, and I wouldn't think that Scorched would need the latest bleeding-edge intensive rendering available. For a comparison, I opened it up, clicked on 'ultra detail', 1680x1050 non-fullscreen (so I could see all my hardware monitors), and I get 5fps max. CPU usage was fairly low across all 6 cores, no temp rise in the CPU, and no real temp rise in the radeon temp sensor either.
See screenshot after it's been running a minute.
(the recent CPU spikes were loading GIMP, and the disc access on SDC is because I'm playing music. Actually, half the CPU activity is decoding the FLACs. After quitting, RAM goes down to 900MB at idle).
When I do something CPU-intensive like compiling, the CPU clocks up and down fine, at 100% I can get temps up to nearly 65C. I've just never seen the graphics card above 45C on this box.

That lack of temp rise in the graphics card is the surprising bit. I've had Oblivion (OK, I know it's old, but it was really intensive when it got released) running on a windows testbed system, everything on max, and I can hear the fan spin up and down from the graphics card getting hot.

So I'm not getting the performance, but then the hardware isn't getting stressed or working to the max? Maybe somehow the clock on my gfx is stuck at 300MHz (where it idles) and isn't getting up to the 1050MHz that I paid for? Or only some of my 640 GCN cores are working?

Come to think of it, that would also explain why earth.nullschool.net is also shiteslow, if my graphics card just isn't clocking up when it should. Anyone want to visit there and tell me how smooth it is and what hardware they've got? Currently I get about 0.5 - 1fps on this system, after it's loaded (and afaik it's only 2D rendering).


As for matlab, yes it's 64-bit only, Win is the only one that still come in 32 bit. I think the other problems people have had with Steam are because it's 32-bit only, so that's not my problem here (but yes, I am running non-multilib).
FWIW, emul-linux-x86-opengl is masked, not sure if that's because it's a non-multilib or what:
Code:
emerge -s opengl | grep -i installed -B 2
*  app-admin/eselect-opengl
      Latest version available: 1.2.7
      Latest version installed: 1.2.7
--
*  app-emulation/emul-linux-x86-opengl [ Masked ]
      Latest version available: 20140508-r1
      Latest version installed: [ Not Installed ]
--
*  dev-python/pyopengl
      Latest version available: 3.0.2-r1
      Latest version installed: 3.0.2-r1
--
*  dev-qt/qtopengl
      Latest version available: 4.8.5
      Latest version installed: 4.8.5
--
*  virtual/opengl
      Latest version available: 7.0-r1
      Latest version installed: 7.0-r1
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Tue Mar 17, 2015 10:40 pm    Post subject: Reply with quote

Dr Croubie wrote:
For a comparison, I opened it up, clicked on 'ultra detail', 1680x1050 non-fullscreen (so I could see all my hardware monitors), and I get 5fps max.


ps, for 'faster detail' I get 12FPS, and 'fastest detail' (lowest before 'safe mode'), I just get up to 19.5fps.
Also, I've rebooted since all the 'downgradings' last night, and all I've opened this morning are TOR and GIMP for the screenshots, so there should be no influence from switching the modes that happened last night...
Back to top
View user's profile Send private message
soulsource
n00b
n00b


Joined: 25 Jan 2014
Posts: 26

PostPosted: Thu Mar 19, 2015 2:26 pm    Post subject: Reply with quote

Another idea that might be completely wrong: Have you checked that the proper firmware files for your GPU are installed (either radeon-ucode or linux-firmware)? If I'm not mistaken, Mesa falls back to software rendering if the firmware is missing.
Indeed scorched3d should run like a charm with your card, no matter which settings.

Also, if your card doesn't reclock, there's are some hints on the Wiki page about radeon.
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Sun Apr 19, 2015 11:07 pm    Post subject: Reply with quote

OK, so the other day GCC upgraded, so I spent the weekend doing a few "emerge -ev world".
I took the opportunity to update my make.conf and package.use, specifically I copied my /var/lib/portage/world to package.use and set every USE flag that I wanted specifically for every package that I want.

So not much really changed anyway, but it's a lot clearer now.
First thing is, it still doesn't work in 3D.
Next thing is, I discovered some things:

Code:
eselect qtgraphicssystem list
Available Qt Graphics Systems:
  [1]   native *
  [2]   opengl (experimental)
  [3]   raster (default)


It was on 3/raster, and it also works on 1/native. If I set it to 2/opengl, KDE and/or X doesn't load. I get a black screen with a mouse and no kde login box. Neither ctrl-alt-esc nor ctrl-alt-bkspc do anything in this mode, but the power/reset button on my case does.
(FYI: I boot my machine to command line, login as root, then execute 'kdm', and login as user to the desktop. I used to boot to command-line, login as user, then execute 'startx', but that hasn't worked for years. I don't want to add 'kdm' to default runlevel, because with all of these problems I might end up with an unbootable system).

Also, I followed that 'radeon wiki' page when I set up my system. But I looked through it again, and noticed that the firmware files have changed for the newer kernels. So I fixed them and it made no difference.
Some things I noticed while reading through though:

Code:
> cat /sys/class/drm/card0/device/power_method
dpm

> echo "profile" > /sys/class/drm/card0/device/power_method
bash: echo: write error: Invalid argument

>cat /sys/class/drm/card0/device/power_profile
default

>ls -l /sys/class/drm/card0/device/power_*
-rw-r--r-- 1 root root 4096 Apr 20 08:09 /sys/class/drm/card0/device/power_dpm_force_performance_level
-rw-r--r-- 1 root root 4096 Apr 20 08:09 /sys/class/drm/card0/device/power_dpm_state
-rw-r--r-- 1 root root 4096 Apr 20 08:10 /sys/class/drm/card0/device/power_method
-rw-r--r-- 1 root root 4096 Apr 20 08:09 /sys/class/drm/card0/device/power_profile


So according to the wiki, I should be able to change the power method from 'dpm' to 'profile' by writing to it, but I can't, even though it's owned by root and is writable. Is there maybe anything else I need to do (like kernel debug options) to get this writable?

And finally:

Code:
> cat radeon_pm_info
uvd    vclk: 0 dclk: 0
power level 2    sclk: 40000 mclk: 112500 vddc: 1175 vddci: 0 pcie gen: 2


This I what I got just on the desktop. I fired up Scorched3D (which still runs at 5fps), and guess what? No change. I'm not sure if that means it's running flat out all the time (unlikely, because the fan is always slow and the card sits at 35-40C), it's probably just sitting at lower-clock lowest-power mode all the time.

So the question is, is the driver unable to clock the card up? Or is the software not putting any strain on it so it can just stay on lowest clock?


and other files attached:

Code:
> cat /etc/portage/make.conf
CFLAGS="-march=amdfam10 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="x86_64-pc-linux-gnu"

MAKEOPTS="-j10"

CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a"

USE="-3dfx X
a52 -aac -aalib accessibility acl acpi -afs -aim alsa -altivec -ao -apache2 -apm -aqua -atm
bash-completion -bcmath -berkdb -bidi -bindist -bluetooth -branding -build bzip2
cairo -calendar -caps -cdb cdda cddb cdparanoia cdr -cgi cjk -clamav -coreaudio -cracklib crypt css -ctype -cups -curl -custom-cflags -cvs cxx
dbus -debug -dedicated -dga -directfb -djvu -doc dri -dts -dv dvb dvd dvdr
-eds -emacs encode -evo -examples exif
-fam fbcon ffmpeg fftw flac -flatfile fontconfig fortran -freetds -frontbase ftp
gcj gd -gdbm -geoip -ggi gif gimp -git -glut gmp -gnome -gnome-keyring gnuplot -gnutls -gphoto2 gpm -gps -gsl -gsm gstreamer gtk gzip
-handbook hardened hddtemp -hdf5
-ibm -icq iconv icu idn -ieee1394 -imagemagick -imap imlib -infiniband -inifile introspection -iodbc -ios -ipod ipv6
-jabber -jack java java6 javascript -jbig -jingle -jit -joystick jpeg -jpeg2k
kde -kerberos -kontact
-ladspa -lame -lapack latex lcms -ldap -libass -libav -libcaca -libedit -libffi -lirc lm_sensors -lua lzma lzo
mad -matrox -mhash -migemo -mikmod mime -minimal mmap -mms mmx -mng -modplug mozilla mp3 mp4 mpeg mplayer -msn -mssql -mtp -multilib -mysql -mysqli
-nas ncurses -netboot -nis nls -nntp nptl nsplugin
-ocaml -ocamlopt -oci8 -oci8-instant-client -odbc -offensive ogg openal openexr opengl openmp -osc -oscar -oss
pam pch -pcmcia -pcntl pcre -pda pdf perl php pie plasma png policykit -portaudio posix -postgres -postscript -profile -pulseaudio python
-qdbm qt4 qt5 -quicktime
-raw -rdesktop readline -recode -rss ruby
-samba sasl -scanner -sdl -seamonkey -semantic-desktop -session -sharedmem -simplexml -slang -smartcard smp -snmp -soap sockets sound source -speex -spell sqlite -sqlite3 ssl -startup-notification -static -static-libs -subversion -suid svg -sybase -symlink -systemd -sysvipc szip
tcl -theora threads -tidy tiff -timidity -tk -tokenizer truetype
udev udisks unicode upower usb
-v4l vala -vanilla vcd -vdpau vim-syntax vnc -vorbis
-wayland -wddx webkit -wifi -wmf
-x264 xattr xcb -xemacs -xface -xine -xinerama xml -xmlrpc xmp -xmpp -xosd -xpm -xscreensaver -xv -xvid
-yahoo
-zeroconf zlib

# above are use.desc flags, below are use.local.desc flags that are used in >1 package
# use.local.desc flags for 1 package only (or where the meaning of the flag changes between packages) are in package.use

-aacplus -amr -awt
-bluray -bs2b
-cdio -chm clang -cli -collada consolekit -cpudetection -crash-reporter -custom-optimization
-deblob declarative -designer -device-mapper -dmx drm drmkms dvdnav
egl -enca -enchant evdev exceptions
-faac -faad fat -fdk -firmware-loader -fpm -frei0r
gallium gbm glamor -gles -gles1 -gles2 glpk -gme gtk3 gudev
-hardcoded-tables -hunspell
-jemalloc -json
-kdepim -kipi kmod kms
libkms -libsoxr -libssp llvm
-md5sum -mobi -multimedia -multitarget
natspec -nepomuk -network ntfs
okular opencl openssl openvg -opus
pax_kernel -pgo -pic -pnm -pvr
-qalculate -qhull qt3support -quvi
-radio -rar -regression-test reiser4 reiserfs -rtmp
-schroedinger -scripttools sftp -shm ssh ssp static-analyzer system-cairo system-icu system-jpeg -systemtap
-telepathy -tga -tremor -tslib -twolame
-unwind
-vlc -vpx
-wallpapers -webp
-xmlpatterns -xslt -xvmc
-zvbi zip"

FEATURES="candy -ccache compress-build-logs news parallel-fetch"

LINGUAS="en_GB en"

INPUT_DEVICES="evdev"

VIDEO_CARDS="radeonsi radeon"

USE_PYTHON='2.7'
PYTHON_SINGLE_TARGET="python3_4"
PYTHON_TARGETS="python2_7 python3_4"

ACCEPT_LICENSE="Oracle-BCLA-JavaSE PUEL AdobeFlash-11.x cadsoft"

SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"

GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo"

PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"

ALSA_CARDS="hda-intel"
APACHE2_MODULES=""
CALLIGRA_FEATURES=""
CAMERAS=""
COLLECTD_PLUGINS=""
CURL_SSL="openssl"
FFTOOLS=""
GPSD_PROTOCOLS=""
GRUB_PLATFORMS="pc"
LCD_DEVICES=""
LIBREOFFICE_EXTENSIONS=""
XTABLES_ADDONS=""


Code:
> cat /etc/portage/package.use/general.use
app-admin/testdisk
app-arch/zip
app-benchmarks/cpuburn
app-cdr/k3b -emovix
app-editors/vim -luajit -racket -vim-pager
app-emulation/virtualbox-bin additions -headless -rdesktop-vrdp -sdk -vboxwebsrv
app-i18n/unicode-data
app-office/libreoffice -gltf -odk
app-office/texmaker
app-portage/eix dep -optimization -security -strong-optimization -strong-security -swap-remote tools
app-portage/gentoolkit
app-portage/layman -bazaar -darcs -g-sorcery -gpg -mercurial -squashfs -sync-plugin-portage
app-portage/portage-utils
cross-avr/avr-libc
cross-avr/binutils -multislot
cross-avr/gcc -fortran -gcj -go -graphite hardened multilib -multislot -nopie -nossp -objc -objc++ -objc-gc -sanitize
dev-embedded/arduino
dev-embedded/avrdude ftdi
dev-java/oracle-jdk-bin -derby -jce -pax-kernel
dev-lang/php -embed -fileinfo -filter -hash -intl -ldap-sasl -libmysqlclient -opcache -pdo -phar -xmlreader -xmlwriter
dev-python/PyQt4 script sql
dev-tex/harvard
dev-texlive/texlive -context -detex -dvi2tty -dvipdfm -epspdf -extra -games graphics -humanities -jadetex -luatex -metapost -music -omega -pdfannotextractor -pstricks -publishers science -tex4ht -texi2html -xetex -xindy
dev-texlive/texlive-bibtexextra
games-strategy/scorched3d
kde-base/dolphin -thumbnail
kde-base/gwenview
kde-base/kdebase-runtime-meta -minimal
kde-base/kdebase-startkde
kde-base/kdelibs
kde-base/kdm
kde-base/kmix -canberra
kde-base/konsole
kde-base/okular -dpi -ebook
kde-base/plasma-apps
kde-base/plasma-workspace
media-fonts/cm-unicode
media-gfx/dispcalgui
media-gfx/gimp
media-gfx/openscad
media-libs/libpng apng
media-libs/mesa classic dri3 openmax -osmesa r600-llvm-compiler -xa
media-sound/rip
media-video/ffmpeg -amrenc -celt -flite -iec61883 -libv4l -vaapi -wavpack
media-video/mplayer -bl -libmpeg2 -live -nut osdmenu rtc -toolame -xanim -zoran
net-misc/netifrc
net-misc/ntp -openntpd -parse-clocks
sci-calculators/wcalc
sci-electronics/gerbv unit-mm
sci-mathematics/octave gui -qrupdate sparse
sys-apps/lm_sensors sensord
sys-apps/openrc netifrc -newnet tools
sys-apps/pciutils
sys-apps/portage -epydoc ipc
sys-apps/smartmontools -minimal
sys-apps/superiotool pci
sys-apps/usbutils
sys-apps/util-linux -cramfs fdformat suid -tty-helpers
sys-boot/grub -efiemu -mount -multislot
sys-boot/mbr
sys-boot/os-prober
sys-devel/binutils -multislot
sys-devel/clang
sys-devel/crossdev
sys-devel/gcc -go -graphite -multislot -mudflap -nopie -nossp objc objc++ objc-gc -sanitize
sys-devel/llvm -gold
sys-fs/ddrescue
sys-fs/dosfstools
sys-fs/jfsutils
sys-fs/ntfs3g -external-fuse -ntfsdecrypt ntfsprogs
sys-fs/reiserfsprogs
sys-fs/udev
sys-kernel/hardened-sources
sys-libs/glibc -nscd
sys-libs/zlib minizip
sys-power/cpupower cpufreq_bench
www-client/firefox -minimal
www-client/w3m -lynxkeymap
www-plugins/adobe-flash
x11-base/xorg-server -kdrive -minimal -xnest xorg -xvfb
x11-drivers/radeon-ucode

> cat /etc/portage/package.use/forced.use
dev-lang/php cli
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Fri Apr 24, 2015 4:31 am    Post subject: Reply with quote

OK, I'm getting nowhere fast on this problem.
If anyone wants to help out (at least, anyone with a Radeon card, using x11-drivers/radeon-ucode, KDE, mesa, etc), can you please post the output of the following commands to compare?

Code:
> eselect qtgraphicssystem list
Available Qt Graphics Systems:
  [1]   native *
  [2]   opengl (experimental)
  [3]   raster (default)


Code:
> eselect mesa list
i915 (Intel 915, 945)
i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
r300 (Radeon R300-R500)
  [1]   gallium *
r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
sw (Software renderer)
  [1]   classic
  [2]   gallium *


Code:
> eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *


Code:
> grep -i radeon /usr/src/linux/.config
CONFIG_EXTRA_FIRMWARE="radeon/verde_ce.bin radeon/verde_mc.bin radeon/verde_me.bin radeon/verde_pfp.bin radeon/verde_rlc.bin radeon/verde_smc.bin radeon/TAHITI_uvd.bin"
CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_UMS is not set
# CONFIG_FB_RADEON is not set


Code:
> grep -i radeon /etc/portage/make.conf
VIDEO_CARDS="radeonsi radeon"


Code:
> equery u mesa
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-libs/mesa-10.3.7-r1:
 U I
 - - bindist              : Disable patent-encumbered ARB_texture_float, EXT_texture_shared_exponent, and EXT_packed_float extensions.
 + + classic              : Build drivers based on the classic architecture.
 - - debug                : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                            http://www.gentoo.org/proj/en/qa/backtraces.xml
 + + dri3                 : Enable DRI3 support.
 + + egl                  : Enable EGL support.
 + + gallium              : Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.
 + + gbm                  : Enable the Graphics Buffer Manager for EGL on KMS.
 - - gles1                : Enable GLESv1 support.
 - - gles2                : Enable GLESv2 support.
 + + llvm                 : Enable LLVM backend for Gallium3D.
 + + nptl                 : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
 + + opencl               : Enable the Clover Gallium OpenCL state tracker.
 + + openmax              : Enable OpenMAX video decode/encode acceleration for Gallium3D.
 + + openvg               : Enable the OpenVG 2D acceleration API for Gallium3D.
 - - osmesa               : Build the Mesa library for off-screen rendering.
 + + pax_kernel           : Enable if the user plans to run the package under a pax enabled hardened kernel
 - - pic                  : disable optimized assembly code that is not PIC friendly
 + + r600-llvm-compiler   : Build the LLVM based r600 shader compiler.
 + + udev                 : Enable virtual/udev integration (device discovery, power and storage device support, etc)
 - - vdpau                : Enable the VDPAU acceleration interface for the Gallium3D Video Layer.
 - - video_cards_i915     : VIDEO_CARDS setting to build driver for Intel i915 video cards
 - - video_cards_i965     : VIDEO_CARDS setting to build driver for Intel i965 video cards
 - - video_cards_ilo      : VIDEO_CARDS setting to build unofficial gallium driver for Intel gen6/7 video cards
 - - video_cards_intel    : VIDEO_CARDS setting to build driver for Intel video cards
 - - video_cards_nouveau  : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
 - - video_cards_r100     : VIDEO_CARDS setting to build only r100 based chips code for radeon
 - - video_cards_r200     : VIDEO_CARDS setting to build only r200 based chips code for radeon
 - - video_cards_r300     : VIDEO_CARDS setting to build only r300, r400 and r500 based chips code for radeon
 - - video_cards_r600     : VIDEO_CARDS setting to build only r600, r700, Evergreen and Northern Islands based chips code for radeon
 + + video_cards_radeon   : VIDEO_CARDS setting to build driver for ATI radeon video cards
 + + video_cards_radeonsi : VIDEO_CARDS setting to build only Southern Islands based chips code for radeon
 - - video_cards_vmware   : VIDEO_CARDS setting to build driver for vmware video cards
 - - wayland              : Enable support for dev-libs/wayland
 - - xa                   : Enable the XA (X Acceleration) API for Gallium3D.
 - - xvmc                 : Enable the XvMC acceleration interface for the Gallium3D Video Layer.


Code:
> cat /sys/class/drm/card0/device/power_method
dpm


Code:
> echo "profile" > /sys/class/drm/card0/device/power_method
bash: echo: write error: Invalid argument


Code:
> cat /sys/class/drm/card0/device/power_profile
default


Code:
> ls -l /sys/class/drm/card0/device/power_*
-rw-r--r-- 1 root root 4096 Apr 20 08:09 /sys/class/drm/card0/device/power_dpm_force_performance_level
-rw-r--r-- 1 root root 4096 Apr 20 08:09 /sys/class/drm/card0/device/power_dpm_state
-rw-r--r-- 1 root root 4096 Apr 20 08:10 /sys/class/drm/card0/device/power_method
-rw-r--r-- 1 root root 4096 Apr 20 08:09 /sys/class/drm/card0/device/power_profile


Code:
> cat /sys/kernel/debug/dri/0/radeon_pm_info
uvd    vclk: 0 dclk: 0
power level 2    sclk: 40000 mclk: 112500 vddc: 1175 vddci: 0 pcie gen: 2


Code:
> cat /sys/class/drm/card0/device/power_dpm_state
balanced

> echo "performance" > /sys/class/drm/card0/device/power_dpm_state

> cat /sys/class/drm/card0/device/power_dpm_state
performance

> cat /sys/kernel/debug/dri/0/radeon_pm_info
uvd    vclk: 0 dclk: 0
power level 2    sclk: 40000 mclk: 112500 vddc: 1175 vddci: 0 pcie gen: 2
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Sat Apr 25, 2015 12:04 am    Post subject: Reply with quote

And one more thing:
I did not have an /etc/X11/xorg.conf.d/radeon.conf file, nor even an /etc/X11/xorg.conf.d/ directory.
So as per the wiki, I created both, with the lines:
Code:
Section "Device"
  Identifier  "radeonsi"
  Driver      "radeonsi"
EndSection

and 'kdm' would not even start. I also tried with just 'radeon' instead of 'radeonsi'
In the log file was this:
Code:
> cat /var/log/Xorg.0.log.old
<snip>
[   109.544] (II) LoadModule: "glx"
[   109.544] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   109.546] (II) Module glx: vendor="X.Org Foundation"
[   109.546]    compiled for 1.16.4, module version = 1.0.0
[   109.546]    ABI class: X.Org Server Extension, version 8.0
[   109.546] (==) AIGLX enabled
[   109.546] (II) LoadModule: "radeonsi"
[   109.546] (WW) Warning, couldn't open module radeonsi
[   109.546] (II) UnloadModule: "radeonsi"
[   109.546] (II) Unloading radeonsi
[   109.546] (EE) Failed to load module "radeonsi" (module does not exist, 0)
[   109.546] (EE) No drivers available.
[   109.546] (EE)
Fatal server error:
[   109.549] (EE) no screens found(EE)
[   109.550] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   109.556] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   109.558] (EE)


So I deleted that, rebooted, and X works fine without it.
Here's what I usually get in my xorg log file:
Code:
> grep -i radeon /var/log/Xorg.0.log
[    28.720] (II) LoadModule: "radeon"
[    28.720] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[    28.723] (II) Module radeon: vendor="X.Org Foundation"
[    28.725] (II) RADEON: Driver for ATI Radeon chipsets:
<big list of chipsets>
[    28.751] (II) RADEON(0): Creating default Display subsection in Screen section
[    28.751] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[    28.751] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    28.751] (==) RADEON(0): Default visual is TrueColor
[    28.751] (==) RADEON(0): RGB weight 888
[    28.751] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[    28.751] (--) RADEON(0): Chipset: "VERDE" (ChipID = 0x683d)
[    28.925] (II) RADEON(0): glamor detected, initialising EGL layer.
[    28.925] (II) RADEON(0): KMS Color Tiling: enabled
[    28.925] (II) RADEON(0): KMS Color Tiling 2D: enabled
[    28.925] (II) RADEON(0): KMS Pageflipping: enabled
[    28.925] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[    28.927] (II) RADEON(0): Output HDMI-0 has no monitor section
[    28.959] (II) RADEON(0): Output DVI-0 has no monitor section
[    28.962] (II) RADEON(0): Output DVI-1 has no monitor section
[    28.983] (II) RADEON(0): Output VGA-0 has no monitor section
[    28.986] (II) RADEON(0): EDID for output HDMI-0
[    29.019] (II) RADEON(0): EDID for output DVI-0
[    29.019] (II) RADEON(0): Manufacturer: DEL  Model: a055  Serial#: 809583436
[    29.019] (II) RADEON(0): Year: 2011  Week: 28
[    29.019] (II) RADEON(0): EDID Version: 1.3
[    29.019] (II) RADEON(0): Digital Display Input
[    29.019] (II) RADEON(0): Max Image Size [cm]: horiz.: 60  vert.: 34
[    29.019] (II) RADEON(0): Gamma: 2.20
[    29.019] (II) RADEON(0): DPMS capabilities: StandBy Suspend Off
[    29.019] (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    29.019] (II) RADEON(0): First detailed timing is preferred mode
[    29.019] (II) RADEON(0): redX: 0.678 redY: 0.309   greenX: 0.202 greenY: 0.689
[    29.019] (II) RADEON(0): blueX: 0.148 blueY: 0.051   whiteX: 0.313 whiteY: 0.329
[    29.019] (II) RADEON(0): Supported established timings:
[    29.019] (II) RADEON(0): 720x400@70Hz
[    29.019] (II) RADEON(0): 640x480@60Hz
[    29.019] (II) RADEON(0): 640x480@75Hz
[    29.019] (II) RADEON(0): 800x600@60Hz
[    29.019] (II) RADEON(0): 800x600@75Hz
[    29.019] (II) RADEON(0): 1024x768@60Hz
[    29.019] (II) RADEON(0): 1024x768@75Hz
[    29.019] (II) RADEON(0): 1280x1024@75Hz
[    29.019] (II) RADEON(0): Manufacturer's mask: 0
[    29.019] (II) RADEON(0): Supported standard timings:
[    29.019] (II) RADEON(0): #0: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    29.019] (II) RADEON(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    29.019] (II) RADEON(0): #2: hsize: 1920  vsize 1200  refresh: 60  vid: 209
[    29.019] (II) RADEON(0): #3: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    29.019] (II) RADEON(0): #4: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[    29.019] (II) RADEON(0): #5: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    29.019] (II) RADEON(0): Supported detailed timing:
[    29.019] (II) RADEON(0): clock: 241.5 MHz   Image Size:  597 x 336 mm
[    29.019] (II) RADEON(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
[    29.019] (II) RADEON(0): v_active: 1440  v_sync: 1443  v_sync_end 1448 v_blanking: 1481 v_border: 0
[    29.019] (II) RADEON(0): Serial No: D970T1750ACL
[    29.019] (II) RADEON(0): Monitor name: DELL U2711
[    29.019] (II) RADEON(0): Ranges: V min: 49 V max: 86 Hz, H min: 29 H max: 113 kHz, PixClock max 285 MHz
[    29.019] (II) RADEON(0): EDID (in hex):
[    29.019] (II) RADEON(0):    00ffffffffffff0010ac55a04c434130
[    29.019] (II) RADEON(0):    1c150103803c2278ea8e05ad4f33b026
[    29.019] (II) RADEON(0):    0d5054a54b008100b300d100714fa940
[    29.019] (II) RADEON(0):    818001010101565e00a0a0a029503020
[    29.019] (II) RADEON(0):    350055502100001a000000ff00443937
[    29.019] (II) RADEON(0):    30543137353041434c0a000000fc0044
[    29.019] (II) RADEON(0):    454c4c2055323731310a2020000000fd
[    29.019] (II) RADEON(0):    0031561d711c000a2020202020200005
[    29.020] (II) RADEON(0): Printing probed modes for output DVI-0
[    29.020] (II) RADEON(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz eP)
[    29.020] (II) RADEON(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz e)
[    29.020] (II) RADEON(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[    29.020] (II) RADEON(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[    29.020] (II) RADEON(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    29.020] (II) RADEON(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    29.020] (II) RADEON(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    29.020] (II) RADEON(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    29.020] (II) RADEON(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[    29.020] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    29.020] (II) RADEON(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    29.020] (II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    29.020] (II) RADEON(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    29.020] (II) RADEON(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    29.020] (II) RADEON(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    29.022] (II) RADEON(0): EDID for output DVI-1
[    29.043] (II) RADEON(0): EDID for output VGA-0
[    29.043] (II) RADEON(0): Output HDMI-0 disconnected
[    29.043] (II) RADEON(0): Output DVI-0 connected
[    29.043] (II) RADEON(0): Output DVI-1 disconnected
[    29.043] (II) RADEON(0): Output VGA-0 disconnected
[    29.043] (II) RADEON(0): Using exact sizes for initial modes
[    29.043] (II) RADEON(0): Output DVI-0 using initial mode 2560x1440
[    29.043] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    29.043] (II) RADEON(0): mem size init: gart size :3fbce000 vram size: s:80000000 visible:7ed76000
[    29.043] (==) RADEON(0): DPI set to (96, 96)
[    29.046] (II) RADEON(0): [DRI2] Setup complete
[    29.046] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
[    29.046] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
[    29.046] (II) RADEON(0): Front buffer size: 14720K
[    29.046] (II) RADEON(0): VRAM usage limit set to 1857016K
[    29.048] (==) RADEON(0): Backing store enabled
[    29.048] (II) RADEON(0): Direct rendering enabled
[    29.140] (II) RADEON(0): Use GLAMOR acceleration.
[    29.140] (II) RADEON(0): Acceleration enabled
[    29.140] (==) RADEON(0): DPMS enabled
[    29.140] (==) RADEON(0): Silken mouse enabled
[    29.143] (II) RADEON(0): Set up textured video (glamor)
[    29.143] (II) RADEON(0): [XvMC] Associated with GLAMOR Textured Video.
[    29.143] (II) RADEON(0): [XvMC] Extension initialized.
[    29.143] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    29.211] (II) AIGLX: Loaded and initialized radeonsi


So the 'radeonsi' driver is getting loaded, that's a good start. There's obviously something else borken with the configuration then.
Can someone, anyone, with a radeon, please do the following commands and post the output:

Code:
> eselect qtgraphicssystem list
> eselect mesa list
> eselect opengl list
> grep -i radeon /usr/src/linux/.config
> grep -i radeon /etc/portage/make.conf
> equery u mesa
> cat /sys/kernel/debug/dri/0/radeon_pm_info
> cat /sys/class/drm/card0/device/power_method
> cat /sys/class/drm/card0/device/power_dpm_state
> echo "performance" > /sys/class/drm/card0/device/power_dpm_state
> cat /sys/class/drm/card0/device/power_dpm_state
> cat /sys/kernel/debug/dri/0/radeon_pm_info
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Sun Apr 26, 2015 9:29 pm    Post subject: Reply with quote

Does anyone here have a working system with a Radeon card who can spare 2 minutes and post the outputs of these?

Code:
> eselect qtgraphicssystem list
> eselect mesa list
> eselect opengl list
> grep -i radeon /usr/src/linux/.config
> grep -i radeon /etc/portage/make.conf
> equery u mesa
> cat /sys/kernel/debug/dri/0/radeon_pm_info
> cat /sys/class/drm/card0/device/power_method
> cat /sys/class/drm/card0/device/power_dpm_state
> echo "performance" > /sys/class/drm/card0/device/power_dpm_state
> cat /sys/class/drm/card0/device/power_dpm_state
> cat /sys/kernel/debug/dri/0/radeon_pm_info
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Tue Apr 28, 2015 11:34 pm    Post subject: Reply with quote

Noone has a radeon here?

Dr Croubie wrote:
Does anyone here have a working system with a Radeon card who can spare 2 minutes and post the outputs of these?

Code:
> eselect qtgraphicssystem list
> eselect mesa list
> eselect opengl list
> grep -i radeon /usr/src/linux/.config
> grep -i radeon /etc/portage/make.conf
> equery u mesa
> cat /sys/kernel/debug/dri/0/radeon_pm_info
> cat /sys/class/drm/card0/device/power_method
> cat /sys/class/drm/card0/device/power_dpm_state
> echo "performance" > /sys/class/drm/card0/device/power_dpm_state
> cat /sys/class/drm/card0/device/power_dpm_state
> cat /sys/kernel/debug/dri/0/radeon_pm_info
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Sat May 02, 2015 7:59 am    Post subject: Reply with quote

Anyone?

Dr Croubie wrote:
Noone has a radeon here?

Dr Croubie wrote:
Does anyone here have a working system with a Radeon card who can spare 2 minutes and post the outputs of these?

Code:
> eselect qtgraphicssystem list
> eselect mesa list
> eselect opengl list
> grep -i radeon /usr/src/linux/.config
> grep -i radeon /etc/portage/make.conf
> equery u mesa
> cat /sys/kernel/debug/dri/0/radeon_pm_info
> cat /sys/class/drm/card0/device/power_method
> cat /sys/class/drm/card0/device/power_dpm_state
> echo "performance" > /sys/class/drm/card0/device/power_dpm_state
> cat /sys/class/drm/card0/device/power_dpm_state
> cat /sys/kernel/debug/dri/0/radeon_pm_info
Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Sat May 02, 2015 3:12 pm    Post subject: Reply with quote

Code:
localhost ~ # eselect qtgraphicssystem list
Available Qt Graphics Systems:
  [1]   native
  [2]   opengl (experimental)
  [3]   raster (default) *

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

localhost ~ #  eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

localhost ~ # grep -i radeon /usr/src/linux/.config
CONFIG_EXTRA_FIRMWARE="v4l-cx2341x-enc.fw radeon/TAHITI_uvd.bin radeon/VERDE_pfp.bin radeon/VERDE_rlc.bin radeon/VERDE_smc.bin radeon/VERDE_ce.bin radeon/VERDE_mc.bin radeon/VERDE_mc2.bin radeon/VERDE_me.bin"
CONFIG_DRM_RADEON=y
# CONFIG_DRM_RADEON_UMS is not set
# CONFIG_FB_RADEON is not set

localhost ~ # grep -i radeon /etc/portage/make.conf
#VIDEO_CARDS="radeon"
VIDEO_CARDS="radeon radeonsi"

localhost ~ # equery u mesa
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-libs/mesa-10.3.7-r1:
 U I
 - - abi_x86_32           : 32-bit (x86) libraries
 - - bindist              : Disable patent-encumbered ARB_texture_float,
                            EXT_texture_shared_exponent, and EXT_packed_float extensions.
 + + classic              : Build drivers based on the classic architecture.
 - - debug                : Enable extra debug codepaths, like asserts and extra output. If you want
                            to get meaningful backtraces see
                            http://www.gentoo.org/proj/en/qa/backtraces.xml
 + + dri3                 : Enable DRI3 support.
 + + egl                  : Enable EGL support.
 + + gallium              : Build drivers based on Gallium3D, the new architecture for 3D graphics
                            drivers.
 + + gbm                  : Enable the Graphics Buffer Manager for EGL on KMS.
 - - gles1                : Enable GLESv1 support.
 - - gles2                : Enable GLESv2 support.
 + + llvm                 : Enable LLVM backend for Gallium3D.
 + + nptl                 : Enable support for Native POSIX Threads Library, the new threading
                            module (requires linux-2.6 or better usually)
 - - opencl               : Enable the Clover Gallium OpenCL state tracker.
 - - openmax              : Enable OpenMAX video decode/encode acceleration for Gallium3D.
 - - openvg               : Enable the OpenVG 2D acceleration API for Gallium3D.
 - - osmesa               : Build the Mesa library for off-screen rendering.
 - - pax_kernel           : Enable if the user plans to run the package under a pax enabled hardened
                            kernel
 - - pic                  : disable optimized assembly code that is not PIC friendly
 - - r600-llvm-compiler   : Build the LLVM based r600 shader compiler.
 + + udev                 : Enable virtual/udev integration (device discovery, power and storage
                            device support, etc)
 + + vdpau                : Enable the VDPAU acceleration interface for the Gallium3D Video Layer.
 - - video_cards_i915     : VIDEO_CARDS setting to build driver for Intel i915 video cards
 - - video_cards_i965     : VIDEO_CARDS setting to build driver for Intel i965 video cards
 - - video_cards_ilo      : VIDEO_CARDS setting to build unofficial gallium driver for Intel gen6/7
                            video cards
 - - video_cards_intel    : VIDEO_CARDS setting to build driver for Intel video cards
 - - video_cards_nouveau  : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
 - - video_cards_r100     : VIDEO_CARDS setting to build only r100 based chips code for radeon
 - - video_cards_r200     : VIDEO_CARDS setting to build only r200 based chips code for radeon
 - - video_cards_r300     : VIDEO_CARDS setting to build only r300, r400 and r500 based chips code
                            for radeon
 - - video_cards_r600     : VIDEO_CARDS setting to build only r600, r700, Evergreen and Northern
                            Islands based chips code for radeon
 + + video_cards_radeon   : VIDEO_CARDS setting to build driver for ATI radeon video cards
 + + video_cards_radeonsi : VIDEO_CARDS setting to build only Southern Islands based chips code for
                            radeon
 - - video_cards_vmware   : VIDEO_CARDS setting to build driver for vmware video cards
 - - wayland              : Enable support for dev-libs/wayland
 - - xa                   : Enable the XA (X Acceleration) API for Gallium3D.
 - - xvmc                 : Enable the XvMC acceleration interface for the Gallium3D Video Layer.

localhost ~ # cat /sys/kernel/debug/dri/0/radeon_pm_info
cat: /sys/kernel/debug/dri/0/radeon_pm_info: No such file or directory

localhost ~ # cat /sys/class/drm/card0/device/power_method
dpm

localhost ~ # cat /sys/class/drm/card0/device/power_dpm_state
balanced

localhost ~ # echo "performance" > /sys/class/drm/card0/device/power_dpm_state
localhost ~ # cat /sys/class/drm/card0/device/power_dpm_state
performance

localhost ~ # cat /sys/kernel/debug/dri/0/radeon_pm_info
cat: /sys/kernel/debug/dri/0/radeon_pm_info: No such file or directory

localhost ~ # uname -a
Linux localhost 3.14.40-kms #1 SMP PREEMPT Wed Apr 29 17:28:27 CEST 2015 x86_64 AMD FX(tm)-6300 Six-Core Processor AuthenticAMD GNU/Linux



and additionally my xorg.conf which contains some unnecessary stuff:

Code:

bigbuzz ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        SubSection "extmod"
                Option  "omit XFree86-DGA"
        EndSubSection
EndSection

Section "ServerFlags"
        Option "BlankTime"              "0" # should turn off screensaver
        Option "StandbyTime"            "20"
        Option "SuspendTime"            "30"
        Option "OffTime"                "40"
        Option "DontZap"                "false"
        Option "DontVTSwitch"           "false"

        Option "AllowEmptyInput"        "false" # important w/ >= server-1.8.x
        Option "AutoAddDevices"         "false"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc104"
        Option      "XkbLayout" "us"
        Option      "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Section "InputDevice"

# USB Mouse
        Identifier  "Mouse0"
        Driver      "mouse"
#       Option      "Protocol" "auto"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "SyncMaster2443"
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 85.0
#       Option      "DPMS" "off"
        Option      "DPMS" "on"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "HD7770"

        Option      "RenderAccel" "true"
        Option      "EnablePageFlip" "true"
        Option      "DMAForXv" "true"
        Option      "DynamicClocks" "true"
        Option      "ColorTiling" "on"
        Option      "DynamicPM" "on"      # Dynamic powersaving.
        Option      "ClockGating" "on"    # Assisting option for powersaving.
        Option      "DRI" "on"
        # Option            "DisplayPriority" "HIGH" # 01/2011 MM, removed, took too much cpu time

        Option      "ClockGating"  "on"
        Option      "ForceLowPowerMode"   "on"
#       next two line for HD7770
        Option      "BusType" "PCIE"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection

Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Sat May 02, 2015 3:19 pm    Post subject: Reply with quote

this may also be helpful:

Code:
localhost ~ # cat /var/log/Xorg.0.log
[    18.702]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[    18.702] X Protocol Version 11, Revision 0
[    18.702] Build Operating System: Linux 3.14.34-kms x86_64 Gentoo
[    18.702] Current Operating System: Linux bigbuzz 3.14.40-kms #1 SMP PREEMPT Wed Apr 29 17:28:27 CEST 2015 x86_64
[    18.702] Kernel command line: root=/dev/sdc5 ro lpj=3516005 radeon.modeset=1 nbd.max_part=8 net.ifnames=0
[    18.702] Build Date: 28 February 2015  08:21:50PM
[    18.702] 
[    18.702] Current version of pixman: 0.32.6
[    18.702]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    18.702] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.702] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May  2 11:03:22 2015
[    18.758] (==) Using config file: "/etc/X11/xorg.conf"
[    18.758] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.781] (==) ServerLayout "X.org Configured"
[    18.781] (**) |-->Screen "Screen0" (0)
[    18.781] (**) |   |-->Monitor "Monitor0"
[    18.782] (**) |   |-->Device "Card0"
[    18.782] (**) |-->Input Device "Mouse0"
[    18.782] (**) |-->Input Device "Keyboard0"
[    18.782] (**) Option "DontVTSwitch" "false"
[    18.782] (**) Option "DontZap" "false"
[    18.782] (**) Option "BlankTime" "0"
[    18.782] (**) Option "StandbyTime" "20"
[    18.782] (**) Option "SuspendTime" "30"
[    18.782] (**) Option "OffTime" "40"
[    18.782] (**) Option "AutoAddDevices" "false"
[    18.782] (**) Not automatically adding devices
[    18.782] (==) Automatically enabling devices
[    18.782] (==) Automatically adding GPU devices
[    18.909] (**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/,
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/
[    18.909] (**) ModulePath set to "/usr/lib64/xorg/modules"
[    18.909] (II) Loader magic: 0x7ffc60
[    18.909] (II) Module ABI versions:
[    18.909]    X.Org ANSI C Emulation: 0.4
[    18.909]    X.Org Video Driver: 18.0
[    18.909]    X.Org XInput driver : 21.0
[    18.909]    X.Org Server Extension : 8.0
[    18.910] (II) xfree86: Adding drm device (/dev/dri/card0)
[    18.912] (--) PCI:*(0:1:0:0) 1002:683d:1787:2501 rev 0, Mem @ 0xc0000000/268435456, 0xf7300000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[    18.912] (--) PCI: (0:5:7:0) 14f1:8800:0070:9601 rev 5, Mem @ 0xf6000000/16777216
[    18.912] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    18.912] (II) LoadModule: "dbe"
[    18.913] (II) Module "dbe" already built-in
[    18.913] (II) LoadModule: "dri"
[    18.913] (II) Module "dri" already built-in
[    18.913] (II) LoadModule: "extmod"
[    18.913] (II) Module "extmod" already built-in
[    18.913] (II) LoadModule: "glx"
[    19.034] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    19.315] (II) Module glx: vendor="X.Org Foundation"
[    19.315]    compiled for 1.16.4, module version = 1.0.0
[    19.315]    ABI class: X.Org Server Extension, version 8.0
[    19.315] (==) AIGLX enabled
[    19.315] (II) LoadModule: "record"
[    19.315] (II) Module "record" already built-in
[    19.315] (II) LoadModule: "extmod"
[    19.315] (II) Module "extmod" already built-in
[    19.315] (II) LoadModule: "radeon"
[    19.315] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[    19.369] (II) Module radeon: vendor="X.Org Foundation"
[    19.369]    compiled for 1.16.4, module version = 7.5.0
[    19.369]    Module class: X.Org Video Driver
[    19.369]    ABI class: X.Org Video Driver, version 18.0
[    19.369] (II) LoadModule: "mouse"
[    19.405] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[    19.414] (II) Module mouse: vendor="X.Org Foundation"
[    19.414]    compiled for 1.16.4, module version = 1.9.1
[    19.414]    Module class: X.Org XInput Driver
[    19.414]    ABI class: X.Org XInput driver, version 21.0
[    19.414] (II) LoadModule: "kbd"
[    19.415] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[    19.426] (II) Module kbd: vendor="X.Org Foundation"
[    19.426]    compiled for 1.16.4, module version = 1.8.0
[    19.426]    Module class: X.Org XInput Driver
[    19.426]    ABI class: X.Org XInput driver, version 21.0
[    19.426] (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),
        ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
        ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
        ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
        ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
        ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
        ATI Radeon IGP330M/340M/350M (U2) 4337,
        ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
        ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
        ATI Radeon X800PRO (R420) JI (AGP),
        ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
        ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
        ATI Radeon Mobility 9800 (M18) JN (AGP),
        ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP),
        ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP),
        ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
        ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP),
        ATI Radeon Mobility M7 LW (AGP),
        ATI Mobility FireGL 7800 M7 LX (AGP),
        ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
        ATI FireGL Mobility 9000 (M9) Ld (AGP),
        ATI Radeon Mobility 9000 (M9) Lf (AGP),
        ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI FireMV 2400 PCI,
        ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP),
        ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP),
        ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP),
        ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP),
        ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP),
        ATI Radeon Mobility 9600 (M10) NQ (AGP),
        ATI Radeon Mobility 9600 (M11) NR (AGP),
        ATI Radeon Mobility 9600 (M10) NS (AGP),
        ATI FireGL Mobility T2 (M10) NT (AGP),
        ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP),
        ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
        ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
        ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI),
        ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI),
        ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI),
        ATI Radeon Mobility X300 (M22) 5460 (PCIE),
        ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE),
        ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE),
        ATI Radeon X800PRO (R423) UI (PCIE),
        ATI Radeon X800LE (R423) UJ (PCIE),
        ATI Radeon X800SE (R423) UK (PCIE),
        ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE),
        ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE),
        ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE),
        ATI FireGL unknown (R423) UR (PCIE),
        ATI FireGL unknown (R423) UT (PCIE),
        ATI Mobility FireGL V5000 (M26) (PCIE),
        ATI Mobility FireGL V5000 (M26) (PCIE),
        ATI Mobility Radeon X700 XL (M26) (PCIE),
        ATI Mobility Radeon X700 (M26) (PCIE),
        ATI Mobility Radeon X700 (M26) (PCIE),
        ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834,
        ATI Radeon Mobility 9100 IGP (U3) 5835,
        ATI Radeon XPRESS 200 5954 (PCIE),
        ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP),
        ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP),
        ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI),
        ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE),
        ATI Radeon XPRESS 200M 5975 (PCIE),
        ATI Radeon XPRESS 200 5A41 (PCIE),
        ATI Radeon XPRESS 200M 5A42 (PCIE),
        ATI Radeon XPRESS 200 5A61 (PCIE),
        ATI Radeon XPRESS 200M 5A62 (PCIE),
        ATI Radeon X300 (RV370) 5B60 (PCIE),
        ATI Radeon X600 (RV370) 5B62 (PCIE),
        ATI Radeon X550 (RV370) 5B63 (PCIE),
        ATI FireGL V3100 (RV370) 5B64 (PCIE),
        ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE),
        ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
        ATI Radeon Mobility 9200 (M9+) 5C63 (AGP),
        ATI Mobility Radeon X800 XT (M28) (PCIE),
        ATI Mobility FireGL V5100 (M28) (PCIE),
        ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE),
        ATI Radeon X850 XT PE (R480) (PCIE),
        ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE),
        ATI unknown Radeon / FireGL (R480) 5D50 (PCIE),
        ATI Radeon X850 XT (R480) (PCIE),
        ATI Radeon X800XT (R423) 5D57 (PCIE),
        ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE),
        ATI Radeon X700 PRO (RV410) (PCIE),
        ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE),
        ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800,
        ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800,
        ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300,
        ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800,
        ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800,
        ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
        ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
        ATI Mobility Radeon X1400, ATI Radeon X1300/X1550,
        ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300,
        ATI Mobility Radeon X1300, ATI Mobility Radeon X1300,
        ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300,
        ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350,
        ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550,
        ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450,
        ATI Radeon X1300/X1550, ATI Mobility Radeon X2300,
        ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
        ATI Mobility Radeon X1350, ATI Mobility Radeon X1450,
        ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350,
        ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600,
        ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600,
        ATI Mobility FireGL V5200, ATI Mobility Radeon X1600,
        ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600,
        ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400,
        ATI Mobility FireGL V5250, ATI Mobility Radeon X1700,
        ATI Mobility Radeon X1700 XT, ATI FireGL V5200,
        ATI Mobility Radeon X1700, ATI Radeon X2300HD,
        ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300,
        ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950,
        ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
        ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
        ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
        ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950,
        ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560,
        ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400,
        ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560,
        ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835,
        ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200,
        ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740,
        ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT,
        ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT,
        ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600,
        ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
        ATI Radeon 4800 Series, ATI Radeon HD 4850 x2,
        ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL),
        ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2,
        ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270,
        AMD FireStream 9250, ATI FirePro V8700 (FireGL),
        ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
        ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series,
        ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98,
        ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP),
        ATI Mobility Radeon HD 4670, ATI FirePro M5750,
        ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP),
        ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
        ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
        ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
        ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
        ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
        ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770,
        ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT,
        ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000,
        ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT,
        ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610,
        ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
        ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
        ATI Mobility Radeon HD 3850 X2, ATI RV670,
        ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2,
        ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850,
        ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550,
        ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710,
        ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series,
        ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series,
        ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
        ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
        ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
        ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
        ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
        ATI FireGL V3600, ATI Radeon HD 2600 LE,
        ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
        ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
        ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430,
        ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450,
        ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series,
        ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO,
        ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO,
        ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
        ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
        ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
        ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
        ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics,
        ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2,
        SUMO, SUMO, SUMO2, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200,
        ATI Radeon 4100, ATI Mobility Radeon HD 4200,
        ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
        AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics,
        AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics,
        AMD Radeon HD 6300 Series Graphics,
        AMD Radeon HD 6200 Series Graphics, PALM, PALM, PALM, CYPRESS,
        ATI FirePro (FireGL) Graphics Adapter,
        ATI FirePro (FireGL) Graphics Adapter,
        ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
        AMD Firestream 9350, ATI Radeon HD 5800 Series,
        ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series,
        ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series,
        ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
        ATI Mobility Radeon HD 5800 Series,
        ATI FirePro (FireGL) Graphics Adapter,
        ATI FirePro (FireGL) Graphics Adapter,
        ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series,
        ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
        ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
        ATI Mobility Radeon HD 5000 Series,
        ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
        ATI FirePro (FireGL) Graphics Adapter,
        ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670,
        ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD,
        ATI Mobility Radeon HD 5000 Series,
        ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics,
        ATI Mobility Radeon Graphics, CEDAR,
        ATI FirePro (FireGL) Graphics Adapter,
        ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR,
        ATI Radeon HD 5450, CEDAR, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
        CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
        AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN,
        CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series,
        BARTS, BARTS, Mobility Radeon HD 6000 Series,
        Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS,
        AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series,
        AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
        TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
        TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
        CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS,
        CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, ARUBA, ARUBA,
        ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
        ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
        ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
        ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, TAHITI, TAHITI, TAHITI, TAHITI,
        TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI,
        TAHITI, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
        PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
        VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
        VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
        VERDE, VERDE, VERDE, VERDE, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
        OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
        HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, BONAIRE, BONAIRE,
        BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,
        BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
        KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
        KABINI, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
        MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
        MULLINS, MULLINS, MULLINS, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
        KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
        KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
        KAVERI, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,
        HAWAII, HAWAII, HAWAII, HAWAII, HAWAII
[    19.431] (++) using VT number 7

[    19.451] (II) [KMS] Kernel modesetting enabled.
[    19.451] (**) RADEON(0): Depth 24, (--) framebuffer bpp 32
[    19.451] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    19.451] (==) RADEON(0): Default visual is TrueColor
[    19.451] (**) RADEON(0): Option "EnablePageFlip" "true"
[    19.451] (**) RADEON(0): Option "ColorTiling" "on"
[    19.451] (**) RADEON(0): Option "RenderAccel" "true"
[    19.451] (==) RADEON(0): RGB weight 888
[    19.451] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[    19.451] (--) RADEON(0): Chipset: "VERDE" (ChipID = 0x683d)
[    19.452] (II) Loading sub module "dri2"
[    19.452] (II) LoadModule: "dri2"
[    19.452] (II) Module "dri2" already built-in
[    19.452] (II) Loading sub module "glamoregl"
[    19.452] (II) LoadModule: "glamoregl"
[    19.489] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    19.532] (II) Module glamoregl: vendor="X.Org Foundation"
[    19.532]    compiled for 1.16.4, module version = 0.6.0
[    19.532]    ABI class: X.Org ANSI C Emulation, version 0.4
[    19.532] (II) glamor: OpenGL accelerated X.org driver based.
[    20.196] (II) glamor: EGL version 1.4 (DRI2):
[    20.224] (II) RADEON(0): glamor detected, initialising EGL layer.
[    20.224] (II) RADEON(0): KMS Color Tiling: enabled
[    20.224] (II) RADEON(0): KMS Color Tiling 2D: enabled
[    20.224] (II) RADEON(0): KMS Pageflipping: enabled
[    20.224] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[    20.227] (II) RADEON(0): Output HDMI-0 using monitor section Monitor0
[    20.229] (II) RADEON(0): Output DVI-0 has no monitor section
[    20.262] (II) RADEON(0): Output VGA-0 has no monitor section
[    20.264] (II) RADEON(0): EDID for output HDMI-0
[    20.266] (II) RADEON(0): EDID for output DVI-0
[    20.299] (II) RADEON(0): EDID for output VGA-0
[    20.299] (II) RADEON(0): Manufacturer: SAM  Model: 586  Serial#: 1297691188
[    20.299] (II) RADEON(0): Year: 2010  Week: 16
[    20.299] (II) RADEON(0): EDID Version: 1.3
[    20.299] (II) RADEON(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[    20.299] (II) RADEON(0): Sync:  Separate  Composite  SyncOnGreen
[    20.299] (II) RADEON(0): Max Image Size [cm]: horiz.: 52  vert.: 32
[    20.299] (II) RADEON(0): Gamma: 2.20
[    20.299] (II) RADEON(0): DPMS capabilities: Off; RGB/Color Display
[    20.299] (II) RADEON(0): First detailed timing is preferred mode
[    20.299] (II) RADEON(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[    20.299] (II) RADEON(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
[    20.299] (II) RADEON(0): Supported established timings:
[    20.299] (II) RADEON(0): 640x480@60Hz
[    20.299] (II) RADEON(0): 800x600@56Hz
[    20.299] (II) RADEON(0): 800x600@60Hz
[    20.299] (II) RADEON(0): 1024x768@60Hz
[    20.299] (II) RADEON(0): Manufacturer's mask: 0
[    20.299] (II) RADEON(0): Supported standard timings:
[    20.299] (II) RADEON(0): #0: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[    20.299] (II) RADEON(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    20.299] (II) RADEON(0): #2: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[    20.299] (II) RADEON(0): #3: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    20.299] (II) RADEON(0): #4: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    20.299] (II) RADEON(0): #5: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    20.299] (II) RADEON(0): Supported detailed timing:
[    20.299] (II) RADEON(0): clock: 154.0 MHz   Image Size:  518 x 324 mm
[    20.299] (II) RADEON(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
[    20.299] (II) RADEON(0): v_active: 1200  v_sync: 1203  v_sync_end 1209 v_blanking: 1235 v_border: 0
[    20.299] (II) RADEON(0): Ranges: V min: 56 V max: 60 Hz, H min: 30 H max: 81 kHz, PixClock max 175 MHz
[    20.299] (II) RADEON(0): Monitor name: SyncMaster
[    20.299] (II) RADEON(0): Serial No: H9XZ407323
[    20.299] (II) RADEON(0): EDID (in hex):
[    20.299] (II) RADEON(0):    00ffffffffffff004c2d86053432594d
[    20.299] (II) RADEON(0):    101401030e3420782aee91a3544c9926
[    20.299] (II) RADEON(0):    0f5054230800a9408180814081009500
[    20.299] (II) RADEON(0):    b30001010101283c80a070b023403020
[    20.299] (II) RADEON(0):    360006442100001a000000fd00383c1e
[    20.299] (II) RADEON(0):    5111000a202020202020000000fc0053
[    20.299] (II) RADEON(0):    796e634d61737465720a2020000000ff
[    20.299] (II) RADEON(0):    004839585a3430373332330a20200028
[    20.299] (II) RADEON(0): Printing probed modes for output VGA-0
[    20.299] (II) RADEON(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz eP)
[    20.299] (II) RADEON(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[    20.299] (II) RADEON(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[    20.299] (II) RADEON(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    20.299] (II) RADEON(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    20.299] (II) RADEON(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    20.299] (II) RADEON(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync (49.7 kHz e)
[    20.299] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    20.299] (II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    20.299] (II) RADEON(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    20.299] (II) RADEON(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    20.299] (II) RADEON(0): Output HDMI-0 disconnected
[    20.299] (II) RADEON(0): Output DVI-0 disconnected
[    20.299] (II) RADEON(0): Output VGA-0 connected
[    20.299] (II) RADEON(0): Using exact sizes for initial modes
[    20.299] (II) RADEON(0): Output VGA-0 using initial mode 1920x1200
[    20.299] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    20.299] (II) RADEON(0): mem size init: gart size :3fbde000 vram size: s:40000000 visible:3f6f6000
[    20.299] (==) RADEON(0): DPI set to (96, 96)
[    20.299] (II) Loading sub module "fb"
[    20.299] (II) LoadModule: "fb"
[    20.299] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    20.307] (II) Module fb: vendor="X.Org Foundation"
[    20.307]    compiled for 1.16.4, module version = 1.0.0
[    20.307]    ABI class: X.Org ANSI C Emulation, version 0.4
[    20.307] (II) Loading sub module "ramdac"
[    20.307] (II) LoadModule: "ramdac"
[    20.307] (II) Module "ramdac" already built-in
[    20.307] (--) Depth 24 pixmap format is 32 bpp
[    20.307] (II) RADEON(0): [DRI2] Setup complete
[    20.307] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
[    20.307] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
[    20.308] (II) RADEON(0): Front buffer size: 9120K
[    20.308] (II) RADEON(0): VRAM usage limit set to 927093K
[    20.308] (==) RADEON(0): Backing store enabled
[    20.308] (II) RADEON(0): Direct rendering enabled
[    20.416] (II) RADEON(0): Use GLAMOR acceleration.
[    20.416] (II) RADEON(0): Acceleration enabled
[    20.416] (**) RADEON(0): DPMS enabled
[    20.416] (==) RADEON(0): Silken mouse enabled
[    20.416] (II) RADEON(0): Set up textured video (glamor)
[    20.416] (II) RADEON(0): [XvMC] Associated with GLAMOR Textured Video.
[    20.416] (II) RADEON(0): [XvMC] Extension initialized.
[    20.416] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    20.417] (WW) RADEON(0): Option "DMAForXv" is not used
[    20.417] (WW) RADEON(0): Option "DynamicClocks" is not used
[    20.417] (WW) RADEON(0): Option "DynamicPM" is not used
[    20.417] (WW) RADEON(0): Option "ClockGating" is not used
[    20.417] (WW) RADEON(0): Option "DRI" is not used
[    20.417] (WW) RADEON(0): Option "ForceLowPowerMode" is not used
[    20.417] (WW) RADEON(0): Option "BusType" is not used
[    20.417] (--) RandR disabled
[    20.426] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    20.426] (II) AIGLX: enabled GLX_ARB_create_context
[    20.426] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    20.426] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    20.426] (II) AIGLX: enabled GLX_INTEL_swap_event
[    20.426] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    20.426] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    20.426] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    20.426] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    20.426] (II) AIGLX: Loaded and initialized radeonsi
[    20.426] (II) GLX: Initialized DRI2 GL provider for screen 0
[    20.452] (II) RADEON(0): Setting screen physical size to 508 x 317
[    20.921] (II) Using input driver 'mouse' for 'Mouse0'
[    20.921] (**) Option "CorePointer"
[    20.921] (**) Mouse0: always reports core events
[    20.921] (**) Option "Protocol" "ImPS/2"
[    20.921] (**) Option "Device" "/dev/input/mice"
[    20.921] (**) Mouse0: Protocol: "ImPS/2"
[    20.921] (**) Mouse0: always reports core events
[    20.938] (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
[    20.938] (**) Option "ZAxisMapping" "4 5"
[    20.938] (**) Mouse0: ZAxisMapping: buttons 4 and 5
[    20.938] (**) Mouse0: Buttons: 9
[    20.938] (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE, id 6)
[    20.938] (**) Mouse0: (accel) keeping acceleration scheme 1
[    20.938] (**) Mouse0: (accel) acceleration profile 0
[    20.938] (**) Mouse0: (accel) acceleration factor: 2.000
[    20.938] (**) Mouse0: (accel) acceleration threshold: 4
[    21.170] (II) Mouse0: ps2EnableDataReporting: succeeded
[    21.170] (II) Using input driver 'kbd' for 'Keyboard0'
[    21.170] (**) Option "CoreKeyboard"
[    21.170] (**) Keyboard0: always reports core events
[    21.170] (**) Keyboard0: always reports core events
[    21.170] (**) Option "Protocol" "standard"
[    21.170] (**) Option "XkbRules" "base"
[    21.170] (**) Option "XkbModel" "pc104"
[    21.171] (**) Option "XkbLayout" "us"
[    21.171] (**) Option "XkbOptions" "terminate:ctrl_alt_bksp"
[    21.171] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD, id 7)
[    21.197] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    21.197] (II) AutoAddDevices is off - not adding device.
[    21.198] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    21.198] (II) AutoAddDevices is off - not adding device.
[    21.198] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event4)
[    21.198] (II) AutoAddDevices is off - not adding device.
[    21.199] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[    21.199] (II) AutoAddDevices is off - not adding device.
[    21.199] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    21.199] (II) AutoAddDevices is off - not adding device.
[    21.200] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[    21.200] (II) AutoAddDevices is off - not adding device.
[    21.200] (II) config/udev: Adding input device i2c IR (cx88 Hauppauge XVR remo (/dev/input/event5)
[    21.200] (II) AutoAddDevices is off - not adding device.
[    70.525] (II) RADEON(0): EDID vendor "SAM", prod id 1414
[    70.525] (II) RADEON(0): Using hsync ranges from config file
[    70.525] (II) RADEON(0): Using vrefresh ranges from config file
[    70.525] (II) RADEON(0): Printing DDC gathered Modelines:
[    70.525] (II) RADEON(0): Modeline "1920x1200"x0.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz eP)
[    70.525] (II) RADEON(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    70.525] (II) RADEON(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    70.525] (II) RADEON(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    70.525] (II) RADEON(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    70.525] (II) RADEON(0): Modeline "1600x1200"x0.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[    70.525] (II) RADEON(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    70.525] (II) RADEON(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    70.525] (II) RADEON(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    70.525] (II) RADEON(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    70.525] (II) RADEON(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)


localhost ~ # glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.7
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.7
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:

Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Sat May 02, 2015 3:26 pm    Post subject: Reply with quote

had a look at your older posts. looks to me as if you are not including the
newer firmware for the 250X. IIRC it was about including radeon/VERDE_mc2.bin
that made the difference.

edit: check firmware package emerge -pv linux-firmware
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Mon May 25, 2015 7:48 am    Post subject: Reply with quote

theotherjoe wrote:
had a look at your older posts. looks to me as if you are not including the
newer firmware for the 250X. IIRC it was about including radeon/VERDE_mc2.bin
that made the difference.

edit: check firmware package emerge -pv linux-firmware


Thanks for posting back, nice to see that I'm not the only radeon user around here.
I don't think it's the difference between verde_me.bin and VERDE_mc2.bin, I had the latter in already when it wasn't working and changed it _after_ I started trying to fix it. My kernel line agrees with the table:
Code:
Kernel 3.16 and older: radeon/VERDE_ce.bin radeon/VERDE_mc.bin radeon/VERDE_mc2.bin radeon/VERDE_me.bin radeon/VERDE_pfp.bin radeon/VERDE_rlc.bin radeon/VERDE_smc.bin radeon/TAHITI_uvd.bin

Kernel 3.17 and newer: radeon/verde_ce.bin radeon/verde_mc.bin radeon/verde_me.bin radeon/verde_pfp.bin radeon/verde_rlc.bin radeon/verde_smc.bin radeon/TAHITI_uvd.bin

I've got 3.18.9 so I've got in the latter list of firmware.

Basically, the only difference that I can see between our systems (besides that my monitor is bigger) is that you've got an xorg.conf and I don't. But most of your 'module' lines in the xorg log say that they're redundant because they're built in anyway.

Other than that, I've got USE=+opencl +openmax +openvg +r600-llvm-compiler -vdpau different to yours. And I'm on a hardened kernel.

Can anyone else see any differences, or post their outputs to compare a larger sample size?
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Tue May 26, 2015 8:24 am    Post subject: Reply with quote

OK, well that was a waste of a day (and a waste of half an hour writing a response that got lost, so writing it again).

I've been reading on Phoronix that there are newer AMD drivers coming out with newer mesa and kernels, so I've installed all the latest:
Code:
> cat /etc/portage/package.keywords/general.keywords
=app-eselect/eselect-opengl-1.3.1-r4 ~amd64                                                                                                                                     
=media-libs/mesa-10.5.6 ~amd64                                                                                                                                                   
=sys-kernel/hardened-sources-4.0.4-r2 ~amd64                                                                                                                                     
virtual/jdk ~amd64                                                                                                                                                               
virtual/jre ~amd64                                                                                                                                                               
=x11-proto/glproto-1.4.17-r1 ~amd64                                                                                                                                             
x11-base/xorg-server ~amd64                                                                                                                                                     
=x11-base/xorg-drivers-1.17 ~amd64


No change.

I've changed my mesa USE flags to match theotherjoe:
Code:
> equery u mesa                                                                                                                                               
[ Legend : U - final flag setting for installation]                                                                                                                             
[        : I - package is installed with flag     ]                                                                                                                             
[ Colors : set, unset                             ]                                                                                                                             
 * Found these USE flags for media-libs/mesa-10.5.6:                                                                                                                             
 U I                                                                                                                                                                             
 - - bindist              : Disable patent-encumbered ARB_texture_float, EXT_texture_shared_exponent, and EXT_packed_float extensions.                                           
 + + classic              : Build drivers based on the classic architecture.                                                                                                     
 - - d3d9                 : Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine.                                                           
 - - debug                : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see                                           
                            http://www.gentoo.org/proj/en/qa/backtraces.xml                                                                                                     
 + + dri3                 : Enable DRI3 support.                                                                                                                                 
 + + egl                  : Enable EGL support.
 + + gallium              : Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.
 + + gbm                  : Enable the Graphics Buffer Manager for EGL on KMS.
 - - gles1                : Enable GLESv1 support.
 - - gles2                : Enable GLESv2 support.
 + + llvm                 : Enable LLVM backend for Gallium3D.
 + + nptl                 : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
 - - opencl               : Enable the Clover Gallium OpenCL state tracker.
 - - openmax              : Enable OpenMAX video decode/encode acceleration for Gallium3D.
 - - osmesa               : Build the Mesa library for off-screen rendering.
 + + pax_kernel           : Enable if the user plans to run the package under a pax enabled hardened kernel
 - - pic                  : disable optimized assembly code that is not PIC friendly
 + + udev                 : Enable virtual/udev integration (device discovery, power and storage device support, etc)
 - - vaapi                : Enable Video Acceleration API for hardware decoding
 - - vdpau                : Enable the VDPAU acceleration interface for the Gallium3D Video Layer.
 - - video_cards_i915     : VIDEO_CARDS setting to build driver for Intel i915 video cards
 - - video_cards_i965     : VIDEO_CARDS setting to build driver for Intel i965 video cards
 - - video_cards_ilo      : VIDEO_CARDS setting to build unofficial gallium driver for Intel gen6/7 video cards
 - - video_cards_intel    : VIDEO_CARDS setting to build driver for Intel video cards
 - - video_cards_nouveau  : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
 - - video_cards_r100     : VIDEO_CARDS setting to build only r100 based chips code for radeon
 - - video_cards_r200     : VIDEO_CARDS setting to build only r200 based chips code for radeon
 - - video_cards_r300     : VIDEO_CARDS setting to build only r300, r400 and r500 based chips code for radeon
 - - video_cards_r600     : VIDEO_CARDS setting to build only r600, r700, Evergreen and Northern Islands based chips code for radeon
 + + video_cards_radeon   : VIDEO_CARDS setting to build driver for ATI radeon video cards
 + + video_cards_radeonsi : VIDEO_CARDS setting to build only Southern Islands based chips code for radeon
 - - video_cards_vmware   : VIDEO_CARDS setting to build driver for vmware video cards
 - - wayland              : Enable support for dev-libs/wayland
 - - xa                   : Enable the XA (X Acceleration) API for Gallium3D.
 - - xvmc                 : Enable the XvMC acceleration interface for the Gallium3D Video Layer.


No change.


One thing has gotten slightly better, with the command:
Code:
> LIBGL_DEBUG=verbose glxinfo | head
libGL: OpenDriver: trying /usr/lib64/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/radeonsi_dri.so
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:

There used to be a line in there about 'your screen is not DRI3 compatible' or something, that has now gone.

But Matlab is throwing more errors:
Code:
> matlab
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  31
  Current serial number in output stream:  34
MATLAB is selecting SOFTWARE OPENGL rendering.


I've also read that sending the kernel parameter 'radeon.dpm=0' can help. Both of those above errors don't change with or without it.

One thing that has changed is the output of this:
Code:
> cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 1020000 kHz
current engine clock: 299990 kHz
default memory clock: 1125000 kHz
current memory clock: 148990 kHz
voltage: 1175 mV
PCIE lanes: 16


THIS DOES NOT CHANGE WHEN SCORCHED3D IS RUNNING.
ie, the core is always running at 300MHz and never gets up to 1020MHz.

Now, the question is, is that because the card is unable to clock up?
Or is the kernel / driver not able to tell it to clock up?
Or is any software I throw at it just running in software rendering mode, and the card doesn't need to clock up because it's not being used?
Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Tue May 26, 2015 9:21 am    Post subject: Reply with quote

Code:
localhost ~ # LIBGL_DEBUG=verbose glxinfo | head
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 4: 1002:683d, driver radeonsi
libGL: OpenDriver: trying /usr/lib64/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/radeonsi_dri.so
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
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_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, 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,


wonder if it would be worthwhile to generate a non-hardened kernel for tests?
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Tue May 26, 2015 9:22 am    Post subject: Reply with quote

and furthermore:
Code:
> cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 1020000 kHz
current engine clock: 299990 kHz
default memory clock: 1125000 kHz
current memory clock: 148990 kHz
voltage: 1175 mV
PCIE lanes: 16

> cat /sys/class/drm/card0/device/power_*
profile
default

> echo "high" > /sys/class/drm/card0/device/power_profile

> cat /sys/class/drm/card0/device/power_*
profile
high

> cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 1020000 kHz
current engine clock: 299990 kHz
default memory clock: 1125000 kHz
current memory clock: 148990 kHz
voltage: 1175 mV
PCIE lanes: 16


As in, the clock is sitting at 300MHz, with power_method on 'profile', and power_profile on 'default.
I set the power_profile to 'high'.
And the frigging thing still sits on 300MHz.

Does anyone want to buy a Gigabyte Radeon R250X-OC 2GB? May have slight traces of being run over by a car. It'll make a perfect paperweight.
Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Tue May 26, 2015 9:31 am    Post subject: Reply with quote

Code:
localhost ~ # cat /sys/class/drm/card0/device/power_*
auto
balanced
dpm
default

localhost ~ # echo "high" > /sys/class/drm/card0/device/power_profile                                 
-su: echo: write error: Invalid argument       

localhost ~ # cat /sys/class/drm/card0/device/power_*
auto
balanced
dpm
default


no debug output for drm device with current kernel, sorry...

edith says: it's very odd that there are error messages from loading
the radeonsi driver in the matlab output, isn't it?
could there be a permission problem or something?
Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Tue May 26, 2015 4:17 pm    Post subject: Reply with quote

did you have a look at drm initialisation in kernel log?

Code:
[    0.821208] [drm] Initialized drm 1.1.0 20060810
[    0.821300] [drm] radeon kernel modesetting enabled.
[    0.821574] [drm] initializing kernel modesetting (VERDE 0x1002:0x683D 0x1787:0x2501).
[    0.821670] [drm] register mmio base: 0xF7300000
[    0.821722] [drm] register mmio size: 262144
[    0.821793] radeon 0000:01:00.0: Invalid ROM contents
[    0.821877] ATOM BIOS: VERDE
[    0.822079] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    0.822171] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[    0.822261] [drm] Detected VRAM RAM=1024M, BAR=256M
[    0.822314] [drm] RAM width 128bits DDR
[    0.822405] [TTM] Zone  kernel: Available graphics memory: 4063014 kiB
[    0.822459] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    0.822511] [TTM] Initializing pool allocator
[    0.822566] [TTM] Initializing DMA pool allocator
[    0.822634] [drm] radeon: 1024M of VRAM memory ready
[    0.822687] [drm] radeon: 1024M of GTT memory ready.
[    0.823993] [drm] Loading VERDE Microcode
[    0.824064] [drm] radeon/VERDE_mc2.bin: 31500 bytes
[    0.824117] [drm] Internal thermal controller with fan control
[    0.824249] [drm] probing gen 2 caps for device 1002:5a16 = 31cd02/0
[    0.830379] [drm] radeon: dpm initialized
[    0.830440] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    0.831447] [drm] probing gen 2 caps for device 1002:5a16 = 31cd02/0
[    0.831505] [drm] PCIE gen 2 link speeds already enabled
[    0.840998] [drm] PCIE GART of 1024M enabled (table at 0x0000000000276000).
[    0.841143] radeon 0000:01:00.0: WB enabled
[    0.841197] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880234065c00
[    0.841291] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff880234065c04
[    0.841383] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff880234065c08
[    0.841476] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880234065c0c
[    0.841568] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff880234065c10
[    0.842146] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc900107b5a18
[    0.842238] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.842290] [drm] Driver supports precise vblank timestamp query.
[    0.842343] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[    0.842413] radeon 0000:01:00.0: irq 73 for MSI/MSI-X
[    0.842420] radeon 0000:01:00.0: radeon: using MSI.
[    0.842491] [drm] radeon: irq initialized.
[    1.345689] [drm] ring test on 0 succeeded in 1 usecs
[    1.345745] [drm] ring test on 1 succeeded in 1 usecs
[    1.345801] [drm] ring test on 2 succeeded in 1 usecs
[    1.345868] [drm] ring test on 3 succeeded in 4 usecs
[    1.345933] [drm] ring test on 4 succeeded in 3 usecs
[    1.532938] [drm] ring test on 5 succeeded in 2 usecs
[    1.532993] [drm] UVD initialized successfully.
[    1.533388] [drm] ib test on ring 0 succeeded in 0 usecs
[    1.533481] [drm] ib test on ring 1 succeeded in 0 usecs
[    1.533568] [drm] ib test on ring 2 succeeded in 0 usecs
[    1.533669] [drm] ib test on ring 3 succeeded in 0 usecs
[    1.533778] [drm] ib test on ring 4 succeeded in 1 usecs
[    1.685510] [drm] ib test on ring 5 succeeded
[    1.686354] [drm] Radeon Display Connectors
[    1.686408] [drm] Connector 0:
[    1.686460] [drm]   HDMI-A-1
[    1.686512] [drm]   HPD1
[    1.686564] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    1.686655] [drm]   Encoders:
[    1.686707] [drm]     DFP1: INTERNAL_UNIPHY2
[    1.686760] [drm] Connector 1:
[    1.686814] [drm]   DVI-D-1
[    1.686866] [drm]   HPD2
[    1.686918] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[    1.687009] [drm]   Encoders:
[    1.687060] [drm]     DFP2: INTERNAL_UNIPHY
[    1.687113] [drm] Connector 2:
[    1.687165] [drm]   VGA-1
[    1.687217] [drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[    1.687316] [drm]   Encoders:
[    1.687368] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    1.725289] [drm] fb mappable at 0xC1488000
[    1.725342] [drm] vram apper at 0xC0000000
[    1.725394] [drm] size 9216000
[    1.725446] [drm] fb depth is 24
[    1.725498] [drm]    pitch is 7680
[    1.725783] fbcon: radeondrmfb (fb0) is primary device
[    1.738865] Console: switching to colour frame buffer device 160x54
[    1.743179] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    1.743221] radeon 0000:01:00.0: registered panic notifier
[    1.746630] [drm] Initialized radeon 2.37.0 20080528 for 0000:01:00.0 on minor 0
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Tue May 26, 2015 10:27 pm    Post subject: Reply with quote

OK, so something interesting happened overnight.
I left it on, and when I woke up I just tried re-clocking it manually again, and it worked!
Code:
# echo "low" > /sys/class/drm/card0/device/power_profile

# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 1020000 kHz
current engine clock: 299990 kHz
default memory clock: 1125000 kHz
current memory clock: 149990 kHz
voltage: 825 mV
PCIE lanes: 16

# echo "high" > /sys/class/drm/card0/device/power_profile

# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 1020000 kHz
current engine clock: 1019980 kHz
default memory clock: 1125000 kHz
current memory clock: 1124990 kHz
voltage: 1175 mV
PCIE lanes: 16


I can see the temperature going up and don with re-clocking now too, from 29C on low to 38C on high
Performance is still crap though. Scorched3D still only gets up to 10fps now, on 1680x1050. Almost playable, but there's still a problem somewhere.

The thing with the matlab throwing error is fairly common, if you do some googling on it, and it's not just matlab.
You get a lot of people trying to play 32bit Steam on 64bit, not my problem (I'm 64bit no-multilib and matlab is 64bit only too).
There are other scientific programs like Arrayfire and Vesta users having this problem, none of their fixes have helped me (most are Nouveau users too).
There are people who don't have the .so files and/or don't have them in their LD path, I do and I have, so that ain't it.
I've got the correct libGL versions in the right places according to this.


theotherjoe wrote:
Code:
[    0.821300] [drm] radeon kernel modesetting enabled.
[    0.821574] [drm] initializing kernel modesetting (VERDE 0x1002:0x683D 0x1787:0x2501).
[    0.821670] [drm] register mmio base: 0xF7300000
[    0.821722] [drm] register mmio size: 262144
[    0.821793] radeon 0000:01:00.0: Invalid ROM contents
[    0.821877] ATOM BIOS: VERDE
[    0.822079] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    0.822171] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[    0.822261] [drm] Detected VRAM RAM=1024M, BAR=256M
[    0.822314] [drm] RAM width 128bits DDR



Now there's something interesting, compare that with mine:
Code:

[    2.793067] [drm] radeon kernel modesetting enabled.
[    2.793444] [drm] initializing kernel modesetting (VERDE 0x1002:0x683D 0x1458:0x2282).
[    2.793457] [drm] register mmio base: 0xFDD80000
[    2.793459] [drm] register mmio size: 262144
[    2.794022] ATOM BIOS: GV
[    2.794165] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[    2.794167] radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
[    2.794168] [drm] Detected VRAM RAM=2048M, BAR=256M
[    2.794169] [drm] RAM width 128bits DDR


According to both the Gentoo Wiki and Wikipedia, my R7 250X is a Cape Verde (or Cape Verde XT, whatever the difference is).
So then what the hell is an 'ATOM BIOS GV'?

There are only a few things I can think of left to try:
- Get rid of the IA32 emulation in my kernel (CONFIG_IA32_EMULATION=y / CONFIG_IA32_AOUT=y) I shouldn't need it because I (should) be running pure non-multilib, this could be confusing something into trying to load an x32 driver.
- Ignore the microcode list from the wiki (Kernel 3.17 and newer: radeon/verde_ce.bin radeon/verde_mc.bin radeon/verde_me.bin radeon/verde_pfp.bin radeon/verde_rlc.bin radeon/verde_smc.bin radeon/TAHITI_uvd.bin ) and just load in every friggin module I can find.
- Try a non-hardened kernel for the hell of it (although I doubt that's the problem.
- Try xfce or fluxbox or something (I doubt KDE is the problem, seeing as they'd all run on top of mesa anyway).
- Wait for new mesa, new kernels, new xorg server, new KDE, yada yada yada...
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Tue May 26, 2015 11:10 pm    Post subject: Reply with quote

Actually, just searching for 'ATOM BIOS: GV', I came across this guy
His problem is totally unrelated, but in his dmesg are the lines:
Code:
[   15.249249] [drm] initializing kernel modesetting (PITCAIRN 0x1002:0x6819 0x1458:0x2553).
[   15.249279] [drm] register mmio base: 0xF7E00000
[   15.249281] [drm] register mmio size: 262144
[   15.249361] ATOM BIOS: GV
[   15.249408] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[   15.249410] radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
[   15.249412] [drm] Detected VRAM RAM=2048M, BAR=256M
[   15.249413] [drm] RAM width 256bits DDR


So he's got a Pitcairn-core with 2GB ram at 256-bit width. According to the Gentoo wiki, that's an HD7800 or R9 270X, but on wikipedia an R9 270X is a Curaçao XT. At least one of those is wrong.

So I'm not sure what he's got, it could be an HD7850 or 7870.
But one thing I might try is to load the Pitcairn microcode instead of the Cape Verde (Kernel 3.17 and newer:radeon/pitcairn_ce.bin radeon/pitcairn_mc.bin radeon/pitcairn_me.bin radeon/pitcairn_pfp.bin radeon/pitcairn_rlc.bin radeon/pitcairn_smc.bin radeon/TAHITI_uvd.bin).

My lspci certainly gets confusing, it says the VGA is Cape Verde XT, but the HDMI Audio is Cape Verde / Pitcairn?
Code:
> lspci
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]


Of course, I don't know what the ATOM BIOS does, the GV could just mean that it's from Gigabyte. Or maybe that's only to do with the HDMI, which they used in both chips?
Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Wed May 27, 2015 6:26 am    Post subject: Reply with quote

Code:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]                                                                               


nothing to learn from my pci list :(

edit:
I am still curious about the missing error message in your kernel log
Code:
[    0.826147] radeon 0000:01:00.0: Invalid ROM contents
[    0.826229] ATOM BIOS: VERDE

so I had a look at a 3.18.x kernel-version that is still flying around on
my system. turns out the error message regarding ROM contents is
still in the log
Code:
[    0.000000] Linux version 3.18.12-kms (root@localhost) (gcc version 4.8.4 (Gentoo 4.8.4 p1.4, pie-0.6.1) ) #7 SMP PREEMPT Mon Apr 27 19:02:27 CEST 2015
.....
[    0.803820] radeon 0000:01:00.0: Invalid ROM contents
[    0.803895] ATOM BIOS: VERDE

BUT, no idea what that tells us about your hardware :(

edit2:
yeah, looks as if ATOM BIOS GV shows up on Gigabyte hardware only.
are you positive there actually is some firmware blob loaded during kernel
boot? (message in the log - looked through the thread but didnt find anything)
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Wed May 27, 2015 11:00 pm    Post subject: Reply with quote

Yeah, now there's a strange thing.
For that whole list of recommended firmware to put in the kernel, which I did:
Code:
> grep -i radeon /usr/src/linux/.config
CONFIG_EXTRA_FIRMWARE="radeon/verde_ce.bin radeon/verde_mc.bin radeon/verde_me.bin radeon/verde_pfp.bin radeon/verde_rlc.bin radeon/verde_smc.bin radeon/TAHITI_uvd.bin"
CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_UMS is not set
# CONFIG_FB_RADEON is not set


it only appears to be running one 'verde' at boot. Or maybe that still means it's loading all of them and just saying it once?
Code:
> dmesg | grep -i verde
[    2.750114] [drm] initializing kernel modesetting (VERDE 0x1002:0x683D 0x1458:0x2282).
[    2.750985] [drm] Loading verde Microcode

> dmesg | grep -i tahiti
(nothing)


Otherwise it seems to be loading everything fine at boot:
Code:
> dmesg | grep -i radeon
[    2.749645] [drm] radeon kernel modesetting enabled.
[    2.750897] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[    2.750900] radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
[    2.750976] [drm] radeon: 2048M of VRAM memory ready
[    2.750977] [drm] radeon: 1024M of GTT memory ready.
[    2.759635] [drm] radeon: dpm initialized
[    2.770977] radeon 0000:01:00.0: WB enabled
[    2.770980] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff8805131edc00
[    2.770982] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff8805131edc04
[    2.770984] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff8805131edc08
[    2.770986] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff8805131edc0c
[    2.770987] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff8805131edc10
[    2.771475] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc900116b5a18
[    2.771480] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[    2.771520] radeon 0000:01:00.0: radeon: using MSI.
[    2.771544] [drm] radeon: irq initialized.
[    4.135670] [drm] Radeon Display Connectors
[    4.190586] fbcon: radeondrmfb (fb0) is primary device
[    4.372567] [drm:si_dpm_set_power_state [radeon]] *ERROR* si_restrict_performance_levels_before_switch failed
[    4.487454] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    4.487461] radeon 0000:01:00.0: registered panic notifier
[    4.487521] [drm] Initialized radeon 2.41.0 20080528 for 0000:01:00.0 on minor 0

> dmesg | grep -i drm
[    1.968500] ata1.00: supports DRM functions and may not be fully accessible
[    1.968996] ata1.00: supports DRM functions and may not be fully accessible
[    2.692463] [drm] Initialized drm 1.1.0 20060810
[    2.749645] [drm] radeon kernel modesetting enabled.
[    2.750114] [drm] initializing kernel modesetting (VERDE 0x1002:0x683D 0x1458:0x2282).
[    2.750131] [drm] register mmio base: 0xFDD80000
[    2.750132] [drm] register mmio size: 262144
[    2.750901] [drm] Detected VRAM RAM=2048M, BAR=256M
[    2.750903] [drm] RAM width 128bits DDR
[    2.750976] [drm] radeon: 2048M of VRAM memory ready
[    2.750977] [drm] radeon: 1024M of GTT memory ready.
[    2.750985] [drm] Loading verde Microcode
[    2.750991] [drm] Internal thermal controller with fan control
[    2.751044] [drm] probing gen 2 caps for device 1002:5a16 = 31cd02/0
[    2.759635] [drm] radeon: dpm initialized
[    2.759657] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    2.760814] [drm] probing gen 2 caps for device 1002:5a16 = 31cd02/0
[    2.760820] [drm] PCIE gen 2 link speeds already enabled
[    2.770871] [drm] PCIE GART of 1024M enabled (table at 0x0000000000277000).
[    2.771477] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.771478] [drm] Driver supports precise vblank timestamp query.
[    2.771544] [drm] radeon: irq initialized.
[    3.307935] [drm] ring test on 0 succeeded in 1 usecs
[    3.307948] [drm] ring test on 1 succeeded in 1 usecs
[    3.307957] [drm] ring test on 2 succeeded in 1 usecs
[    3.307976] [drm] ring test on 3 succeeded in 8 usecs
[    3.307986] [drm] ring test on 4 succeeded in 3 usecs
[    3.485488] [drm] ring test on 5 succeeded in 2 usecs
[    3.485500] [drm] UVD initialized successfully.
[    3.486342] [drm] ib test on ring 0 succeeded in 0 usecs
[    3.486377] [drm] ib test on ring 1 succeeded in 0 usecs
[    3.486409] [drm] ib test on ring 2 succeeded in 0 usecs
[    3.486449] [drm] ib test on ring 3 succeeded in 0 usecs
[    3.486481] [drm] ib test on ring 4 succeeded in 0 usecs
[    4.134686] [drm] ib test on ring 5 succeeded
[    4.135670] [drm] Radeon Display Connectors
[    4.135673] [drm] Connector 0:
[    4.135674] [drm]   HDMI-A-1
[    4.135675] [drm]   HPD1
[    4.135678] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    4.135679] [drm]   Encoders:
[    4.135681] [drm]     DFP1: INTERNAL_UNIPHY2
[    4.135682] [drm] Connector 1:
[    4.135683] [drm]   DVI-D-1
[    4.135684] [drm]   HPD3
[    4.135686] [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[    4.135687] [drm]   Encoders:
[    4.135688] [drm]     DFP2: INTERNAL_UNIPHY1
[    4.135690] [drm] Connector 2:
[    4.135691] [drm]   DVI-D-2
[    4.135692] [drm]   HPD2
[    4.135694] [drm]   DDC: 0x6580 0x6580 0x6584 0x6584 0x6588 0x6588 0x658c 0x658c
[    4.135695] [drm]   Encoders:
[    4.135696] [drm]     DFP3: INTERNAL_UNIPHY
[    4.135697] [drm] Connector 3:
[    4.135698] [drm]   VGA-1
[    4.135700] [drm]   DDC: 0x65c0 0x65c0 0x65c4 0x65c4 0x65c8 0x65c8 0x65cc 0x65cc
[    4.135701] [drm]   Encoders:
[    4.135702] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    4.190423] [drm] fb mappable at 0xD047A000
[    4.190430] [drm] vram apper at 0xD0000000
[    4.190435] [drm] size 14745600
[    4.190439] [drm] fb depth is 24
[    4.190443] [drm]    pitch is 10240
[    4.190586] fbcon: radeondrmfb (fb0) is primary device
[    4.372567] [drm:si_dpm_set_power_state [radeon]] *ERROR* si_restrict_performance_levels_before_switch failed
[    4.487454] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    4.487521] [drm] Initialized radeon 2.41.0 20080528 for 0000:01:00.0 on minor 0


Don't worry about the thing with the '*ERROR* si_restrict_performance_levels_before_switch failed', that's what kernel command-line 'radeon.dpm=0' is meant to fix, I just wasn't that quick this boot. Seems that only affects the clock, and as I discovered above, even when I can set the clock to max it's still got crap performance.
So time to change the title again, it's not that it can't clock up, because it can, now I'm back to either a DRM/DRI error, or something completely different.

DRI seems to be loading in the Xorg.log too:
Code:
> grep -i dri /var/log/Xorg.0.log
[    33.074]    X.Org Video Driver: 19.0
[    33.074]    X.Org XInput driver : 21.0
[    33.074] (II) xfree86: Adding drm device (/dev/dri/card0)
[    33.094] (==) Matched ati as autoconfigured driver 0
[    33.094] (==) Matched ati as autoconfigured driver 1
[    33.094] (==) Matched modesetting as autoconfigured driver 2
[    33.094] (==) Matched fbdev as autoconfigured driver 3
[    33.094] (==) Matched vesa as autoconfigured driver 4
[    33.094] (==) Assigned the driver to the xf86ConfigLayout
[    33.094] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[    33.094]    Module class: X.Org Video Driver
[    33.094]    ABI class: X.Org Video Driver, version 19.0
[    33.095] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[    33.097]    Module class: X.Org Video Driver
[    33.097]    ABI class: X.Org Video Driver, version 19.0
[    33.097] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    33.098]    Module class: X.Org Video Driver
[    33.098]    ABI class: X.Org Video Driver, version 19.0
[    33.100] (II) RADEON: Driver for ATI Radeon chipsets:
[    33.105] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    33.128] (II) Loading sub module "dri2"
[    33.128] (II) LoadModule: "dri2"
[    33.128] (II) Module "dri2" already built-in
[    33.137] (II) glamor: OpenGL accelerated X.org driver based.
[    33.210] (II) glamor: EGL version 1.4 (DRI2):
[    33.353] (II) RADEON(0): [DRI2] Setup complete
[    33.353] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
[    33.353] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
[    33.472] (II) GLX: Initialized DRI2 GL provider for screen 0
Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Thu May 28, 2015 6:28 am    Post subject: Reply with quote

I compiled both kernels 3.14.x and 3.18.x with following list
of firmware:
Code:
grep -i radeon /usr/src/linux/.config
CONFIG_EXTRA_FIRMWARE="v4l-cx2341x-enc.fw radeon/TAHITI_uvd.bin radeon/VERDE_pfp.bin radeon/VERDE_rlc.bin radeon/VERDE_smc.bin radeon/VERDE_ce.bin radeon/VERDE_mc.bin radeon/VERDE_mc2.bin radeon/VERDE_me.bin"
CONFIG_DRM_RADEON=y
# CONFIG_DRM_RADEON_UMS is not set
# CONFIG_FB_RADEON is not set


and find the following message in the kernel log for both cases:
Code:
localhost ~ # dmesg | grep VERDE
[    0.832146] [drm] initializing kernel modesetting (VERDE 0x1002:0x683D 0x1787:0x2501).
[    0.832448] ATOM BIOS: VERDE
[    0.834566] [drm] Loading VERDE Microcode
[    0.834620] [drm] radeon/VERDE_mc2.bin: 31500 bytes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum