Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ati Direct Render problem!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
PardoX
n00b
n00b


Joined: 26 Jan 2006
Posts: 29

PostPosted: Sat Feb 04, 2006 4:27 am    Post subject: Ati Direct Render problem! Reply with quote

Hi
Im using a Gentoo base linux,i need help to load direct render support.I couldn't able to activate.Please help.


Code:

# lspci|grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AQ [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AQ [Radeon 9600] (Secondary)

lspci|grep AGP
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)


Code:

# lsmod
Module                  Size  Used by
appletalk              26320  2
ipx                    20236  2
p8022                   1472  1 ipx
psnap                   2532  2 appletalk,ipx
llc                     5076  2 p8022,psnap
uhci_hcd               25616  0
parport_pc             26468  0
parport                27656  1 parport_pc
eth1394                14920  0
8139too                19136  0
mii                     4096  1 8139too
ohci1394               26644  0
ieee1394               76056  2 eth1394,ohci1394
usb_storage            28548  0
scsi_mod               72840  1 usb_storage
ehci_hcd               23912  0
usbhid                 30400  0
ohci_hcd               15780  0
sis_agp                 5668  1
usbcore                97764  6 uhci_hcd,usb_storage,ehci_hcd,usbhid,ohci_hcd
ntfs                   83248  1
nls_iso8859_9           3968  2
nls_cp857               4224  2
vfat                    9184  2
fat                    38684  1 vfat
fglrx                 430080  0
agpgart                25480  2 sis_agp,fglrx


Code:

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
    GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None


Some part of Xorg.conf
Code:

$ cat /etc/X11/xorg.conf
..............
Section "Module"
        Load  "dbe"      # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "type1"
        Load  "freetype"
        Load  "glx"
        Load  "dri"
        Load  "v4l"
EndSection

Section "ServerFlags"
        Option      "AllowMouseOpenFail" "True"
        Option      "BlankTime" "0"
        Option      "StandbyTime" "0"
        Option      "SuspendTime" "0"
        Option      "OffTime" "0"
EndSection

Section "Device"
        Identifier  "ATI Graphics Adapter"
        Driver      "fglrx"
        Option      "RenderAccel" "true"
        Option      "UseInternalAGPGART" "no"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "ATI Graphics Adapter"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     8
                Modes    "1600x1200" "1280x1024" "1024x768" Section "DRI"
        Mode         0666
EndSection
.................


Kernel .config file:
Code:

    * Loadable module support -> Enable loadable module support: ENABLED
    * Loadable module support -> Module unloading: ENABLED
    * Loadable module support -> Automatic kernel module loading: ENABLED
    * Bus options (PCI, PCMCIA, EISA, MCA, ISA) -> PCI Express support: ENABLED
    * File systems -> Pseudo filesystems -> Virtual memory file system support: ENABLED
    * Processor type and features -> MTRR (Memory Type Range Register) support: ENABLED
    * Device drivers -> Character Devices -> /dev/agpgart (AGP Support): ENABLED
    * Device drivers -> Character Devices -> Sis Enabled
    * Device drivers -> Character Devices -> Direct Rendering:DISABLED


Xorg.0.log:
Code:

...... same as below.....
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card254
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xf8a3b000
(II) fglrx(0): [drm] mapped SAREA 0xf8a3b000 to 0xb76f8000
(II) fglrx(0): [drm] framebuffer handle = 0xc0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: fglrx
(II) fglrx(0):     Version: 8.21.7
(II) fglrx(0):     Date: Jan 14 2006
(II) fglrx(0):     Desc: ATI FireGL DRM kernel module
(WW) fglrx(0): Kernel Module version does *not* match driver.
(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8a3b000 at 0xb76f8000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x08000000
(==) fglrx(0): Write-combining range (0xc0000000,0x8000000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1600,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1600,1200) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(==) fglrx(0): Using hardware cursor (scanline 1200)
(II) fglrx(0): Largest offscreen area available: 1600 x 6988
(WW) fglrx(0): Option "RenderAccel" is not used
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        Solid Horizontal and Vertical Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
(II) Setting vga for screen 0.

----------------------
Kernel 2.6.15
Kde 3.5.0
---------------------
Ps: Sorry for the mess :(
Thanks a lot.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Sat Feb 04, 2006 6:44 am    Post subject: Reply with quote

Hi, read these 2 docs:

https://forums.gentoo.org/viewtopic-t-105524-highlight-ati+radeon.html
http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html

hope they can help! :D
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 445

PostPosted: Sat Feb 04, 2006 6:53 am    Post subject: Reply with quote

Quote:

(WW) fglrx(0): Kernel Module version does *not* match driver.


Hmm, try unmering ati drivers and then re-install the module..
Code:

emerge --unmerge ati-drivers
emerge ati-drivers
cd /usr/src/linux
make clean && modules && make modules_install
eselect opengl ati
reboot
Back to top
View user's profile Send private message
PardoX
n00b
n00b


Joined: 26 Jan 2006
Posts: 29

PostPosted: Mon Feb 06, 2006 4:29 am    Post subject: Reply with quote

Maitreya wrote:
Quote:

(WW) fglrx(0): Kernel Module version does *not* match driver.


Hmm, try unmering ati drivers and then re-install the module..
Code:

emerge --unmerge ati-drivers
emerge ati-drivers
cd /usr/src/linux
make clean && modules && make modules_install
eselect opengl ati
reboot


nothink has changed. ;(
maybe I might use other distribution.I thing gentoo isnt best fit for me. :(
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1991
Location: Poland

PostPosted: Mon Feb 06, 2006 5:49 am    Post subject: Reply with quote

Should be other way around :)

Code:

emerge --unmerge ati-drivers
cd /usr/src/linux
make clean
make && make modules_install
[copy over new kernel image]
emerge ati-drivers
eselect opengl set ati
reboot


You emerge drivers after compiling kernel.
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Mon Feb 06, 2006 3:55 pm    Post subject: Reply with quote

Wrong section. Reported.
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Mon Feb 06, 2006 4:00 pm    Post subject: Reply with quote

Moved from Unsupported Software to Kernel & Hardware.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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