Bug 40182 - AIGLX on Juniper LE [AMD Radeon HD 6700 Series]
Summary: AIGLX on Juniper LE [AMD Radeon HD 6700 Series]
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 17:57 UTC by Miroslav Suchy
Modified: 2011-08-22 03:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
full Xorg.0.log (248.79 KB, text/plain)
2011-08-17 17:58 UTC, Miroslav Suchy
no flags Details
dmesg output (57.64 KB, text/plain)
2011-08-18 09:28 UTC, Miroslav Suchy
no flags Details

Description Miroslav Suchy 2011-08-17 17:57:26 UTC
I have:
 VGA ATI Gigabyte HD6750, 1GB DDR5, PCI-e (Passive)
lspci state:
 01:00.0 VGA compatible controller: ATI Technologies Inc Juniper LE [AMD Radeon HD 6700 Series]
lspci -n state:
 01:00.0 0300: 1002:68bf

And I have problem with 3d acceleration - I mean I have no 3d acceleration, everything in 3d is painfully slow.

From Xorg.0.log (full log attached):
[1507168.959] (II) AIGLX: Screen 0 is not DRI2 capable
[1507168.959] (II) AIGLX: Screen 0 is not DRI capable
[1507169.038] (II) AIGLX: Loaded and initialized /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

# ls /usr/lib/x86_64-linux-gnu/dri/
i915_dri.so  mach64_dri.so  radeon_dri.so  r200_dri.so  r600_dri.so    sis_dri.so     tdfx_dri.so
i965_dri.so  mga_dri.so     r128_dri.so    r300_dri.so  savage_dri.so  swrast_dri.so  unichrome_dri.so

# grep EE /var/log/Xorg.0.log
/var/log/Xorg.0.log:    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
/var/log/Xorg.0.log:[1507168.226] (II) Loading extension MIT-SCREEN-SAVER
/var/log/Xorg.0.log:[1507168.292] (EE) Failed to load module "vesa" (module does not exist, 0)
/var/log/Xorg.0.log:[1507168.293] (EE) Failed to load module "fbdev" (module does not exist, 0)
/var/log/Xorg.0.log:[1507168.876] (EE) RADEON(0): Acceleration initialization failed
/var/log/Xorg.0.log:[1507169.803] (EE) USB-compliant keyboard: failed to initialize for relative axes.
/var/log/Xorg.0.log:[1507204.356] (EE) RADEON(0): Acceleration required for rotation

I'm using Debian sid with:
# dpkg -l |grep xorg
ii  xorg-docs-core                       1:1.6-1                          Core documentation for the X.org X Window System
ii  xorg-sgml-doctools                   1:1.8-2                          Common tools for building X.Org SGML documentation
ii  xserver-xorg                         1:7.6+8                          X.Org X server
ii  xserver-xorg-core                    2:1.10.3-1                       Xorg X server - core server
ii  xserver-xorg-core-dbg                2:1.10.3-1                       Xorg - the X.Org X server (debugging symbols)
ii  xserver-xorg-input-evdev             1:2.6.0-2+b1                     X.Org X server -- evdev input driver
ii  xserver-xorg-video-ati               1:6.14.2-1                       X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-ati-dbg           1:6.14.2-1                       X.Org X server -- AMD/ATI display driver wrapper (debugging symbols)
rc  xserver-xorg-video-intel             2:2.15.0-1                       X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mach64            6.9.0-1                          X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-mach64-dbg        6.9.0-1                          X.Org X server -- ATI display driver (debugging symbols)
ii  xserver-xorg-video-r128              6.8.1-5+b1                       X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-r128-dbg          6.8.1-5+b1                       X.Org X server -- ATI r128 display driver (debugging symbols)
ii  xserver-xorg-video-radeon            1:6.14.2-1                       X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-radeon-dbg        1:6.14.2-1                       X.Org X server -- AMD/ATI Radeon display driver (debugging symbols)

I do believe that 6700 series is supported, although I could not find JUNIPER specified. I'm puzzled whether my card is supported or I hit some bug in AIXGL?
Comment 1 Miroslav Suchy 2011-08-17 17:58:40 UTC
Created attachment 50337 [details]
full Xorg.0.log
Comment 2 Michel Dänzer 2011-08-18 02:21:26 UTC
Please attach the dmesg output.
Comment 3 Miroslav Suchy 2011-08-18 09:28:08 UTC
Created attachment 50352 [details]
dmesg output
Comment 4 Michel Dänzer 2011-08-18 09:45:41 UTC
There's no sign of the radeon kernel module being loaded. Do things work better if you load it manually before starting X for the first time after bootup?
Comment 5 Alex Deucher 2011-08-18 09:55:17 UTC
KMS is required for hw acceleration on evergreen and newer hardware.  Does sid have a new enough kernel for evergreen support?
Comment 6 Miroslav Suchy 2011-08-18 11:57:44 UTC
$ uname -a
Linux triple 3.0.0-1-amd64 #1 SMP Wed Aug 17 04:08:52 UTC 2011 x86_64 GNU/Linux

Is it new enough? ;)
Comment 7 Miroslav Suchy 2011-08-18 12:12:34 UTC
after:
# modprobe radeon
dmesg add:
[32362.119178] pci 0000:01:00.0: setting latency timer to 64
[32362.121003] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[32362.121012] [drm] No driver support for vblank timestamp query.
[32362.121022] [drm] Initialized radeon 1.33.0 20080528 for 0000:01:00.0 on minor 0
[32407.114007] mtrr: no MTRR for d0000000,10000000 found

glxinfo:
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_MESA_copy_sub_buffer, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap, 
    GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_INTEL_swap_event
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.10.3
OpenGL shading language version string: 1.20

/var/log/Xorg.0.log still:
...
[ 32408.743] (--) RandR disabled
...
[ 32408.751] (II) AIGLX: Screen 0 is not DRI2 capable
[ 32408.751] (II) AIGLX: Screen 0 is not DRI capable
[ 32408.753] (II) AIGLX: Loaded and initialized /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
[ 32408.753] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 32408.753] (II) RADEON(0): Setting screen physical size to 444 x 277
...

# lsmod |grep radeon   # run from kde, so X is running
radeon                652538  0 
ttm                    52979  1 radeon
drm_kms_helper         27216  1 radeon
i2c_algo_bit           12850  1 radeon
power_supply           13475  3 radeon,battery,ac
drm                   163280  4 radeon,ttm,drm_kms_helper,via
i2c_core               23909  25 radeon,drm_kms_helper,i2c_algo_bit,tda10048,tda10086,tda8083,tda10023,tda10021,tda826x,saa7134_dvb,saa7134,v4l2_common,videodev,tveeprom,drm,dvb_usb_dib0700,dib7000p,dib0090,dib7000m,dib0070,dvb_usb,dib8000,dib3000mc,dibx000_common,i2c_piix4
Hmm so it seem that Xorg does not use radeon driver at all...
BTW: righn now I'm running without xorg.conf, but recently I've been using xorg.conf and it was the same.
Comment 8 Michel Dänzer 2011-08-19 00:28:09 UTC
Looks like KMS is disabled for some reason, try

modprobe radeon modeset=1
Comment 9 Miroslav Suchy 2011-08-19 14:45:22 UTC
indeed, running:
 modprobe radeon modeset=1
helps. It is working now - from glxinfo:
 OpenGL renderer string: Gallium 0.4 on AMD JUNIPER

So whose responsibility is to load this kernel module - and with this parameter set. Is it Xorg? Or should I file Debian bug?
Comment 10 Michel Dänzer 2011-08-22 03:26:07 UTC
(In reply to comment #9)
> So whose responsibility is to load this kernel module -

udev. Maybe you have something like a stray /etc/modprobe.d/display_class file which blacklists the radeon module.

> and with this parameter set.

It's enabled by default. Maybe you have set it to 0 in /etc/modprobe.d/radeon-kms.conf .

Anyway, this is most definitely not an upstream driver issue.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.