Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI radeon Sticky (part 3)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tomk
Bodhisattva
Bodhisattva


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

PostPosted: Sat Feb 18, 2006 12:52 pm    Post subject: ATI radeon Sticky (part 3) Reply with quote

This is a continuation of ATI radeon Sticky (part 2).
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
zardiac
n00b
n00b


Joined: 18 Feb 2006
Posts: 13

PostPosted: Sat Feb 18, 2006 12:56 pm    Post subject: Reply with quote

Hi!
I have tried to get direct rendering to work on my Radeon 9800Pro. Using kernel 2.6.15.
Can load fglrx and everyting seem to work fine.

But glxgears gives me only 150 fps...

My xorg logg says
Code:

(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): *********************************************


How do I solve that?
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sat Feb 18, 2006 1:25 pm    Post subject: Reply with quote

zardiac wrote:
Hi!
I have tried to get direct rendering to work on my Radeon 9800Pro. Using kernel 2.6.15.
Can load fglrx and everyting seem to work fine.

But glxgears gives me only 150 fps...

My xorg logg says
Code:

(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): *********************************************


How do I solve that?

This'll be the 4th radeon-related thread that i'll be currently posting on, so i apologise in advance if i get the various issues mixed up... :oops:

Regarding the above quote, assuming your username is already in the 'video' group, is there anything that doesn't look right in the output of 'dmesg'? A lot of the solutions listed in the Gentoo Radeon FAQ refer to the output of that command. :?
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
zardiac
n00b
n00b


Joined: 18 Feb 2006
Posts: 13

PostPosted: Sat Feb 18, 2006 3:03 pm    Post subject: Reply with quote

Actually my user was not in the videogroup ut i am now, ut no diference.

I found a nother error in the xorg log file
Code:

(EE) fglrx: Failed to load module "drm" (module does not exist, 0)


I thougt that i chould disale the drm in the kernel? Or is this something else?

I am still looking for errors in dmesg, I will post if I run into something, or if I solve everyting:)
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sat Feb 18, 2006 3:23 pm    Post subject: Reply with quote

zardiac wrote:
...I found another error in the xorg log file
Code:

(EE) fglrx: Failed to load module "drm" (module does not exist, 0)

I thought that i chould disable the drm in the kernel? Or is this something else?

This is referring to the 'fglrx' module's own internal-drm - the one in the kernel does need to be disabled.

Quote:
I am still looking for errors in dmesg, I will post if I run into something, or if I solve everyting :)

The way you load your modules can make finding things in 'dmesg' difficult - try this command to make it easier :-
Code:
dmesg | grep fglrx

...& post the output here, if you'd like some help understanding it. :wink:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
zardiac
n00b
n00b


Joined: 18 Feb 2006
Posts: 13

PostPosted: Sat Feb 18, 2006 4:10 pm    Post subject: Reply with quote

It seem that
Code:

dmesg | grep fglrx

Gives me nothing at all
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sat Feb 18, 2006 4:25 pm    Post subject: Reply with quote

zardiac wrote:
It seem that
Code:

dmesg | grep fglrx

Gives me nothing at all

That suggests that no commands have even been made to load the module - what do you see if you type 'lsmod'?
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
zardiac
n00b
n00b


Joined: 18 Feb 2006
Posts: 13

PostPosted: Sat Feb 18, 2006 8:58 pm    Post subject: Reply with quote

Sorry, Last time I forgot to load te fglrx module :oops:

well here is the output
Code:

dmesg | grep fglrx
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx] module loaded - fglrx 8.22.5 [Feb  7 2006] on minor 0
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Sun Feb 19, 2006 4:28 am    Post subject: Reply with quote

Anyone knows how to enable composite extension and direct rendering at the same time? cause when i want to enable composite extension then direct rendering is disabled, i want to use xgl and compiz, im now using modular X, thanks.
Back to top
View user's profile Send private message
turboedvo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 87

PostPosted: Sun Feb 19, 2006 7:48 am    Post subject: Reply with quote

I'm having problems getting X to display anything on my DFP monitor off my ATI Radeon 7500 All-In-Wonder. However, it does work with a CRT. Any ideas?

Eamon
Back to top
View user's profile Send private message
Shadow r00fler
n00b
n00b


Joined: 17 Feb 2004
Posts: 39
Location: Rochester, New York, USA

PostPosted: Sun Feb 19, 2006 8:27 am    Post subject: Reply with quote

Hey there. ATI Radeon 9200, xorg 6.8.2-r6. After much wasted time and swearing, I finally got 3D acceleration working with xorg's radeon driver... sort of. Only after a few minutes, any of the 3D screensavers lock up on me. Anyone have any ideas?
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sun Feb 19, 2006 12:09 pm    Post subject: Reply with quote

Shadow r00fler wrote:
Hey there. ATI Radeon 9200, xorg 6.8.2-r6. After much wasted time and swearing, I finally got 3D acceleration working with xorg's radeon driver... sort of. Only after a few minutes, any of the 3D screensavers lock up on me. Anyone have any ideas?

Yeah, two ideas...

The first is to use 'ati-drivers', because the 'radeon' driver can't provide a fast enough frame-rate to cope with the opengl-screensavers (33% slower on my system)...

...The second is to upgrade 'xorg-x11' to the new hardmasked version-7.0-r1, which uses a new acceleration-method called 'EXA'.

The second option is just a theory, though, as i'm still reading up on it, before giving it a try myself on my 9200SE (RV280) - if you want to wait about a week, i'll let you know how i get on... :wink:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
vanten
n00b
n00b


Joined: 08 Jan 2006
Posts: 44
Location: Sweden

PostPosted: Sun Feb 19, 2006 1:46 pm    Post subject: Reply with quote

Hi all. I have some problems geting dri to work with my ati drivers. I get Mesa drivers all the time. I know there is many treads and post about this on the forum but i keep geting mesa drivers and no dri after trying everything i have encounter. some info:
I dont wannt to flood with my xorg.conf so i just post some parts
Quote:
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA ext$
EndSubSection
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
Load "glx"
# This loads the DRI module
Load "dri"
EndSection

Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection

Section "Device"
Identifier "ATI Graphics Adapter 0"
Driver "fglrx"
VideoRam 131072
Option "backingstore" "true"
Option "UseInternalAGPGART" "no"
BusID "PCI:1:0:0"
ChipID 0x4e48
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "true"
EndSection
Code:
uname -r
2.6.15-gentoo-r1
Code:
grep -e AGP -e DRM /usr/src/linux/.config
CONFIG_AGP=m
CONFIG_AGP_VIA=m
# CONFIG_DRM is not set
Code:
#Same here, just parts.
lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
01:00.0 VGA compatible controller: ATI Technologies Inc R350 AH [Radeon 9800]
01:00.1 Display controller: ATI Technologies Inc Radeon R350 [Radeon 9800] (Secondary)
Code:
gcc-config -l
 [1] i686-pc-linux-gnu-3.4.4 *
 [2] i686-pc-linux-gnu-3.4.4-hardened
 [3] i686-pc-linux-gnu-3.4.4-hardenednopie
 [4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [5] i86-pc-linux-gnu-3.4.4-hardenednossp
Code:
cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-Os -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="dri -kde -gnome alsa ssl tcpd pam cjk nls immqt-bc -immqt unicode -xmms -arts -emacs -esd -qt"
PORTDIR_OVERLAY="/usr/local/portage"
CONFIG_PROTECT_MASK="/usr/X11R6/bin/startx"
PORTDIR_OVERLAY="/usr/local/portage"
INPUT_DEVICES="kbd mouse keyboard"
VIDEO_CARDS="fglrx vga"
Code:
cat /etc/modules.autoload.d/kernel-2.6
agpgart
via_agp
fglrx
Code:
dmesg | grep -e agp -e fglrx
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: AGP aperture is 128M @ 0xf0000000
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
[fglrx] module loaded - fglrx 8.22.5 [Feb  7 2006] on minor 0
[fglrx] module unloaded - fglrx 8.22.5 [Feb  7 2006] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
[fglrx] module loaded - fglrx 8.22.5 [Feb  7 2006] on minor 0
Code:
lsmod
Module                  Size  Used by
fglrx                 437452  0
via_agp                 7424  1
agpgart                25928  2 fglrx,via_agp
Code:
grep -i version /var/log/Xorg.0.log
X Window System Version 7.0.0
X Protocol Version 11, Revision 0, Release 7.0
Code:
glxinfo
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0  screen: 0
direct rendering: No
Code:
fglrxinfo
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)
Code:
grep -e WW -e EE /var/log/Xorg.0.log
Current Operating System: Linux haku 2.6.15-gentoo-r1 #2 PREEMPT Sat Feb 18 19:05:11 CET 2006 i686
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): Specified desktop setup not supported: 8
(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): ********************************************* *

I have resently done an emerge -e system, emerge -e world and build a new kernel, so i know that all my system have been build with the same gcc-version. I do got x11-base/x11-drm and x11-libs/libdrm installed as well. I dont think i have to do with my Use-options neither.
Something i have missed? - Or any thoughts?
_________________
.: GNU/Linux :: Gentoo :: Fluxbox :.
.: BSD :: OpenBSD :: Fluxbox :.
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sun Feb 19, 2006 2:07 pm    Post subject: Reply with quote

vanten, did you emerge xorg-x11-7.0-r1 with the 'dri' USE-flag enabled for the modules that need it (xorg-server, etc)?
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
vanten
n00b
n00b


Joined: 08 Jan 2006
Posts: 44
Location: Sweden

PostPosted: Sun Feb 19, 2006 2:58 pm    Post subject: Reply with quote

taipan67 wrote:
vanten, did you emerge xorg-x11-7.0-r1 with the 'dri' USE-flag enabled for the modules that need it (xorg-server, etc)?
I had the dri USE-flag in my make.conf file, but no entry with etc xorg-server and dri in my package.use. (Not included at all.) Have added all package that whants the dri USE-flag to my package.use now and are currently doing an remerge on xorg-server. I report later if it works.

Edit: now have i emerge xorg-server and xf86-video-via after added both with dri USE-flag in my /etc/portage/package.use
.(I have the dri USE-flag in my /etc/make.conf too.) Nothing new, same problem as before. Id it enough to emerge the both packeges or do i need to reemerge something more too? (sorry new to gentoo)
Code:
equery uses xorg-server
[ Searching for packages matching xorg-server... ]
[ Colour Code : set unset ]
[ Legend   : Left column  (U) - USE flags from make.conf           ]
[         : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-base/xorg-server-1.0.1-r3 ]
 U I
 - - debug   : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 + + dri     : Enable direct rendering: used for accelerated 3D and some 2D, like DMA
 + + ipv6    : Adds support for IP version 6
 - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 - - xprint  : Support for xprint, http://www.mozilla.org/projects/xprint/
Code:
equery uses xf86-video-via
[ Searching for packages matching xf86-video-via... ]
[ Colour Code : set unset ]
[ Legend   : Left column  (U) - USE flags from make.conf           ]
[         : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-drivers/xf86-video-via-0.1.33.2 ]
 U I
 - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 + + dri   : Enable direct rendering: used for accelerated 3D and some 2D, like DMA

_________________
.: GNU/Linux :: Gentoo :: Fluxbox :.
.: BSD :: OpenBSD :: Fluxbox :.
Back to top
View user's profile Send private message
CloudBolt
Apprentice
Apprentice


Joined: 04 Feb 2006
Posts: 192
Location: The Netherlands

PostPosted: Sun Feb 19, 2006 4:36 pm    Post subject: Reply with quote

I have properly installed the ATi Proprietary Linux drivers from ati.com, because ati-drivers failed to correctly create the fglrx module, and everything works fine now, except for two little problems(all right, so NOT everything works fine :roll: ): my video RAM should be 256 MB(Radeon X550 256MB), but ATi Control, Cedega and most games display that it is a 64 MB card, and therefore use it as such, not using the card full capability. secondly, completely random, when I start a 3D application/game, such as TuxRacer, it either runs smooth(as smooth as a 64 MB card can handle), or quits GNOME and X and gives a kernel panic, not syncing error, which is most likely caused by the kernel module, because each time I get an error(they're all different errors), it mentions fglrx at least once.

any help would be greatly appreciated :D

I forgot to mention: my kernel version is 2.6.15-gentoo-r4(gentoo-sources), my X version is X.org 6.8.2, my GNOME version is 2.12, my ati drivers version is 8.22.5
_________________
GNU/Linux is an operating system.
IBM OS/2 is half an operating system.
Windows is a shell.
DOS is a boot partition virus.


Last edited by CloudBolt on Sun Feb 19, 2006 4:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Sun Feb 19, 2006 4:37 pm    Post subject: Reply with quote

zietbukuel wrote:
Anyone knows how to enable composite extension and direct rendering at the same time? cause when i want to enable composite extension then direct rendering is disabled, i want to use xgl and compiz, im now using modular X, thanks.


Can anyone answer this, please?
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sun Feb 19, 2006 4:40 pm    Post subject: Reply with quote

vanten wrote:
Nothing new, same problem as before. Id it enough to emerge the both packeges or do i need to reemerge something more too? (sorry new to gentoo)

Well, i'm new to xorg-7 (probably building it next week), so i'm not certain...

I think you need VIDEO_CARDS="fglrx" in your /etc/make.conf, which pulls in 'ati-drivers'. I don't think you need 'xf86-video-via', that's for VIA graphics-cards. For your KT400 chipset, enabling via-agp as a module in the kernel-configuration should be all you need.

I asked about the USE-flag because your logs were saying that the DRI part of Xlib was missing, which i guessed was because the USE-flag wasn't enabled for the server-emerge.

As long as your kernel was built correctly to support 'ati-drivers' before, the only other idea i have is to re-emerge 'ati-drivers' now that 'xorg-server' has DRI-support.

Whoa! Sorry, i just noticed that you said you have 'x11-drm' emerged - for 'ati-drivers', that would be the same as having DRM enabled in the kernel. As long as you emerged it yourself, & it isn't a dependency of X11R7, i think you'll need to unmerge it before 'ati-drivers' will work. 8O

Sorry if i'm not being clear enough - i'm following 3 or 4 different radeon-threads & trying to learn how to install X11R7 all at the same time, so my head's a bit frazzled right now... :oops:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
vanten
n00b
n00b


Joined: 08 Jan 2006
Posts: 44
Location: Sweden

PostPosted: Sun Feb 19, 2006 5:47 pm    Post subject: Reply with quote

I had ati drivers for some month ago. with the same kernel options and so on. :cry:
@ taipan67: I got the VIDEO_CARDS="fglrx" that you mention. But i have vga too, vga cant make it all wrong then?
have unmerge x11-drm and libdrm now, do i had emerge them by my self. find out that x11R7 had an 3dfx USE-flagg. cheacking out now if that is what i had missed.
And secondly, included dlloader and opengl USE-flags just to be sure.
_________________
.: GNU/Linux :: Gentoo :: Fluxbox :.
.: BSD :: OpenBSD :: Fluxbox :.
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sun Feb 19, 2006 6:26 pm    Post subject: Reply with quote

vanten wrote:
...I got the VIDEO_CARDS="fglrx" that you mention. But i have vga too, vga cant make it all wrong then?

I don't think so. Of the different options that can go into 'VIDEO_CARDS=', only 'fglrx' & 'nvidia' use external packages that build actual kernel-modules - the others build the X-libraries that are needed by the corresponding open-source drivers that come with the kernel.

Quote:
have unmerge x11-drm and libdrm now, do i had emerge them by my self.

As best as i can tell, you don't need x11-drm, but you do need libdrm - it's a dependency required by xorg-server.

Quote:
find out that x11R7 had an 3dfx USE-flag. checking out now if that is what i had missed.
And secondly, included dlloader and opengl USE-flags just to be sure.

You should only need 3dfx if you have one of their graphics-cards. You definitely want 'opengl' USE-flag, but probably not 'dlloader' - it isn't used by 'ati-drivers-8.22.5', & it's the default for X11R7, anyway (use the '-v' option with 'emerge' to see what USE-flags are being applied).

Maybe your best bet would be to get rid of 'x11-drm', make sure your USE-flags are how you need them, & run :-
Code:
revdep-rebuild -p

...(the '-p' is for pretend-mode, the same as for 'emerge') - 'revdep-rebuild' is part of 'gentoolkit', & it ought to highlight any broken library-dependencies for you & correct them when you run it without the pretend-option. :wink:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
vanten
n00b
n00b


Joined: 08 Jan 2006
Posts: 44
Location: Sweden

PostPosted: Mon Feb 20, 2006 11:17 am    Post subject: Reply with quote

Square one again. :? Is there any one out there with latest ati-drivers and X11R7 working? 8O
_________________
.: GNU/Linux :: Gentoo :: Fluxbox :.
.: BSD :: OpenBSD :: Fluxbox :.
Back to top
View user's profile Send private message
Kamp
n00b
n00b


Joined: 15 May 2005
Posts: 33
Location: Gdynia - Poland

PostPosted: Mon Feb 20, 2006 3:46 pm    Post subject: Reply with quote

Hi,

I have major problems with ATI drivers.

First of all sometimes when I log out from X, I get freeze black screen. Also I can't make dri to run.

I have ATI Radeon 9550....

My files:

emerge --info
Code:
Gentoo Base System version 1.6.12
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts bzip2 cdr crypt cups dri dvd eds emboss encode expat foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jack jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


cat Xorg.0.log | grep -e EE -e WW
Code:

        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Loading extension MIT-SCREEN-SAVER
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(EE) fglrx(0): === [R200DALSetDisplayConfig] === CWDDC DisplaySetConfig failed: 4
(EE) fglrx(0): DRIScreenInit failed!
(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): ********************************************* *


xorg.conf
Code:

Section "ServerLayout"
        Identifier     "Server Layout"
        Screen         "Screen0" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "/usr/X11R6/lib/X11/fonts/local/"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
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"   # libglx.a
        Load  "dri"   # libdri.a
EndSection
Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc101"
        Option      "XkbLayout" "pl"
EndSection
Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "ZAxisMapping" "4 5"
        Option      "Device" "/dev/input/mice"
EndSection
Section "Monitor"
        Identifier   "Monitor0"
        HorizSync    30.0 - 83.0
        VertRefresh  56.0 - 76.0
        Option      "DPMS"
EndSection
Section "Device"
        Identifier  "Standard VGA"
        Driver      "vga"
        VendorName  "Unknown"
        BoardName   "Unknown"
EndSection
Section "Device"
    #Option                              "NoDDC"
    # vendor=1002, device=4153
        Identifier  "ATI Graphics Adapter"
        Driver      "fglrx"
        Option      "no_accel" "no"
       Option      "no_dri" "no"
        Option      "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
        Option      "DesktopSetup" "(null)"
        Option      "HSync2" "unspecified"
        Option      "VRefresh2" "unspecified"
        Option      "ScreenOverlap" "0"
        Option      "TVFormat" "PAL-D"
        Option      "TVStandard" "VIDEO"
        Option      "TVHSizeAdj" "0"
        Option      "TVVSizeAdj" "0"
        Option      "TVHPosAdj" "0"
        Option      "TVVPosAdj" "0"
        Option      "TVHStartAdj" "0"
        Option      "TVColorAdj" "0"
        Option      "GammaCorrectionI" "0x00000000"
        Option      "GammaCorrectionII" "0x00000000"
        Option      "Capabilities" "0x00000000"
        Option      "CapabilitiesEx" "0x00000000"
        Option      "VideoOverlay" "on"
        Option      "OpenGLOverlay" "on"
        Option      "CenterMode" "off"
        Option      "PseudoColorVisuals" "off"
        Option      "Stereo" "off"
        Option      "StereoSyncEnable" "1"
        Option      "FSAAEnable" "no"
        Option      "FSAAScale" "6"
        Option      "FSAADisableGamma" "no"
        Option      "FSAACustomizeMSPos" "no"
        Option      "FSAAMSPosX0" "0.000000"
        Option      "FSAAMSPosY0" "0.000000"
        Option      "FSAAMSPosX1" "0.000000"
        Option      "FSAAMSPosY1" "0.000000"
        Option      "FSAAMSPosX2" "0.000000"
        Option      "FSAAMSPosY2" "0.000000"
        Option      "FSAAMSPosX3" "0.000000"
        Option      "FSAAMSPosY3" "0.000000"
        Option      "FSAAMSPosX4" "0.000000"
        Option      "FSAAMSPosY4" "0.000000"
        Option      "FSAAMSPosX5" "0.000000"
        Option      "FSAAMSPosY5" "0.000000"
        Option      "UseFastTLS" "0"
        Option      "BlockSignalsOnLock" "on"
        Option      "UseInternalAGPGART" "on"
        Option      "ForceGenericCPU" "no"
        BusID       "PCI:1:0:0"
EndSection
Section "Screen"
    #Option "backingstore"
        Identifier "Screen0"
        Device     "ATI Graphics Adapter"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
  # initial origin if mode is smaller than desktop
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
Section "DRI"
        Mode         0666
EndSection

glxinfo
Code:

name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2



dmesg | grep -e agp -e fglrx
Code:

Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: AGP aperture is 128M @ 0xe0000000
Linux agpgart interface v0.101 (c) Dave Jones


And my kernel: http://m3ntos.ath.cx/~kamp/kernel.config


lsmod gives me nothing. I added fglrx, agpgart and nvidia_agp into /etc/modules.autoload.d/kernel-2.6 file, but I get only errors, that they can't be found.

Any idea what is going on ? Maybe I should update gcc to 3.4.4 and recompile ati-drivers ? Or maybe emerge xorg 7.0 or download ati-drivers stable version once again (but I also had the problem with DRI and blank screen)... ?
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Mon Feb 20, 2006 4:43 pm    Post subject: Reply with quote

Kamp wrote:
...lsmod gives me nothing. I added fglrx, agpgart and nvidia_agp into /etc/modules.autoload.d/kernel-2.6 file, but I get only errors, that they can't be found...

That's why DRI won't work - now we have to figure out why 'fglrx' won't load...

When you boot your system, the kernel looks for it's modules in a sub-directory of /lib/modules who's name matches the version-number at the top of your '.config' file. That's why, when you emerge 'ati-drivers', it's important to have the /usr/src/linux symlink pointing to the kernel source-tree that matches the kernel it's going to work with - 'ati-drivers' installs the 'fglrx' module into a new 'video' sub-directory of that original modules-directory. 8O

My guess would be that you've emerged 'ati-drivers' against a differently-configured source-tree, & the module isn't where your current kernel is looking for it.

I'd suggest re-emerging 'ati-drivers' after first making certain that the kernel source-tree matches the kernel you're using, & that the /usr/src/linux symlink points to it correctly.

There may also be problems with how the modules are being loaded, but before i get into that, i'd like to hear if what i've already written differs from your current setup. :wink:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
wsuetholz
n00b
n00b


Joined: 23 Nov 2002
Posts: 4
Location: Wisconsin, USA

PostPosted: Mon Feb 20, 2006 4:43 pm    Post subject: ATI AIW-8500DV X11 7.0 using Xorg driver Reply with quote

Hello,
I have been having a problem with lockups using the Xorg drivers and back using the XFree86 drivers as well, but, moving forward, I have installed the latest Xorg Gentoo package 7.0.0-rc1 on my machine, AND wonder of wonders managed to get everything that I use working :-). That means, I have 3D, and the Multimedia bits of the card working, which is very nice. GLXGears shows a consistant 1470+-5 FPS which seems decent to me. And, the TV Tuner is working from within xawtv (XVideo mode). AVView also works.

My problem is: If I do a simple change resolution (C-A-+ or -), usually it takes two, my machine will lock up. NumLock and CapsLock no longer lighting the indicators locked up. C-A-Del doesn't work as well.

Based upon comments in this long sequence of messages, I have disabled the RadeonFB driver in the kernel. I even disabled the VESA FB driver as well - don't really need FB.

I haven't tried the ATI binary drivers, since they don't allow the multimedia functions of the card to work.

Some Dmesg output:

Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA KT266/KY266x/KT333 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[drm] Initialized radeon 1.20.0 20050911 on minor 0:
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[drm] Loading R200 Microcode


Machine config:

Gentoo - fairly up to date...
Xorg 7.0
KDE 3.5
Kernel 2.6.16-rc3-nitro1 using genkernel

Soyo Dragon KT333 system board - the Silver one..
Athalon 2000+ Stepping 02
ATI AIW8500DV
Adaptech 2940 Ultra SCSI adpater (aic7880)


Thanks for any pointers, on what I should do.. not what lake I should jump into please.

Bill
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Mon Feb 20, 2006 5:05 pm    Post subject: Re: ATI AIW-8500DV X11 7.0 using Xorg driver Reply with quote

wsuetholz wrote:
...My problem is: If I do a simple change resolution (C-A-+ or -), usually it takes two, my machine will lock up. NumLock and CapsLock no longer lighting the indicators locked up. C-A-Del doesn't work as well.
......
Thanks for any pointers, on what I should do.. not what lake I should jump into please.

Bill

It's probably keyboard-related rather than graphics-card-related. Try searching the forums for posts with the keyword 'XKeysymDB' - there's lots of talk about that over on the Modular Xorg thread (i'm up to page 30). :D
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 1 of 10

 
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