Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange ATI/DRI errors
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
SkyeAdun
n00b
n00b


Joined: 24 Oct 2006
Posts: 56
Location: France

PostPosted: Sun Nov 19, 2006 8:30 pm    Post subject: Strange ATI/DRI errors Reply with quote

Hello

I read a lot of posts and docs before posting myself, but I have some strange problems with DRI.

I am trying to use opensource ATI drivers with DRI. I've no options about radeon or DRM in my kernel, using the most recent xf86-video-ati and x11-drm. It works well but without DRI.

I have a Radeon X800 XL in PCI-express.

Code:

# lspci | grep ATI
05:00.0 VGA compatible controller: ATI Technologies Inc R430 [Radeon X800 XL] (PCIe)
05:00.1 Display controller: ATI Technologies Inc R430 [Radeon X800 XL] (PCIe) Secondary


So I haven't activated apggart in my kernel. This options isn't even available for some reasons. But I found this :

Code:

# dmesg | egrep -i "drm|agp"
No AGP bridge found
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized radeon 1.25.0 20060524 on minor 0:
[drm] Used old pci detect: framebuffer loaded
[drm] Setting GART location based on new memory map
[drm:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in FB memory


I also have this errors and warnings in sorg log :

Code:

# egrep "^.EE|^.WW" /var/log/Xorg.0.log
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) xf86OpenConsole: setpgid failed: Operation not permitted
(WW) xf86OpenConsole: setsid failed: Operation not permitted
(WW) RADEON: No matching Device section for instance (BusID PCI:5:0:1) found
(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
(WW) RADEON(0): Direct rendering disabled
(EE) AIGLX: Screen 0 is not DRI capable


Then I have some questions :

1/ Having no AGP card, do I need APGGART ?
2/ How can I have GART in frame buffer ?
3/ My card is in found in PCI:5:0:1 and PCI:5:0:0, do I need two sections in my xorg.conf ?
4/ Why do I find "Direct rendering disabled" ? DRI is enabled in my xorg.conf.
5/ Did someone has DRI working with open-source drivers and chipset R430 ?

And almost more...

I would greatly appreciate any help, and any explanation about open source DRI. Very confused in my mind.
Back to top
View user's profile Send private message
tamtu
n00b
n00b


Joined: 18 Nov 2006
Posts: 1
Location: Prague, Czech Republic

PostPosted: Mon Nov 20, 2006 12:29 am    Post subject: Reply with quote

Do not use xf86-video-ati or x11-drm, they are supposed to be obsolete. What version of X a kernel do you have on your system? I would suggest using ati-drivers, as the open source ones do not support newer cards...
Back to top
View user's profile Send private message
SkyeAdun
n00b
n00b


Joined: 24 Oct 2006
Posts: 56
Location: France

PostPosted: Mon Nov 20, 2006 7:48 pm    Post subject: Reply with quote

Thanks,

My card isn't new, it's a 2 years old Radeon X800 XL.

I dropped ati-drivers because the last version I get (8-30-something) give me a black screen while starting X. The stable version is not compatible with my linux-2.6.18-gentoo-r2 kernel. But before that, I had ati-drivers 8-27-sthg working with DRI under a linux-2.6.17-gentoo-r8 kernel, just getting me some minor problems.

I am now trying to use :

Code:

/var/db/pkg/sys-kernel/gentoo-sources-2.6.18-r2
/var/db/pkg/sys-kernel/linux-headers-2.6.11-r2
/var/db/pkg/x11-base/xorg-server-1.1.1-r1
/var/db/pkg/x11-base/xorg-x11-7.1
/var/db/pkg/x11-misc/xorg-cf-files-1.0.2
Back to top
View user's profile Send private message
pathfinder
l33t
l33t


Joined: 19 Jan 2006
Posts: 731
Location: Barcelona, Spain

PostPosted: Mon Nov 20, 2006 9:00 pm    Post subject: Reply with quote

toi use gart, try
Quote:

Section "Device"

#VideoRam 262144
# Insert Clocks lines here if appropriate
Identifier "ATI Radeon X300 RV370"
VendorName "ATI Technologies Inc"
Driver "radeon"
# Driver "fglrx"
# Option "XAANoOffscreenPixmaps" "true"
Option "dri" "true"

# this may solve some issues
Option "BusType" "PCI"
# acceleration
Option "AGPMode" "4"
Option "AGPFastWrite" "yes"
Option "EnablePageFlip" "on"
# 1/0 Increases 3D performance substantially
# seemingly in XAA mode only
Option "RenderAccel" "on"
Option "GARTSize" "64"
# Option "AccelMethod" "EXA" # or XXA
# from emerge xorgserver:
# * AIGLX patches will be applied.
# * These patches are known to cause problems with EXA enabled.
Option "BackingStore" "true"
# Option "ExaNoOffscreenPixmaps"

# enable (partial) PowerPlay features
Option "DynamicClocks" "on"

# use bios hot keys on thinkpad (aka fn+f7)
# Option "BIOSHotkeys" "on"
#
# # enable radeon specific xinerama
Option "MergedFB" "false"
## Option "CRT2Position" "RightOf"
## Option "CRT2Hsync" "50-75"
## Option "CRT2VRefresh" "30-82"
## Option "MetaModes" "1024x768-1280x1024"
## Option "MergedNonRectangular" "true"
#
# Color Tiling
Option "ColorTiling" "on"
#
# # Video overlay
# #Option "OverlayOnCRTC2" "on"


EndSection

as i ve read somewhere that the default was 8 and it may not be enough.
as for your problem, i ve got a similar one, no way to solve it right now.
it s in french, but may help:
https://forums.gentoo.org/viewtopic-p-3730346.html#3730346
http://dri.freedesktop.org/wiki/
https://forums.gentoo.org/viewtopic-t-516248-start-50.html
i ll try to help you if i find something!
cheers!
Back to top
View user's profile Send private message
SkyeAdun
n00b
n00b


Joined: 24 Oct 2006
Posts: 56
Location: France

PostPosted: Mon Nov 20, 2006 10:55 pm    Post subject: Reply with quote

Thanks

Ca ne me dérange pas beaucoup que ce soit en français ;).

I cannot restart X from now. I will try tomorrow and post about my conclusions.
Back to top
View user's profile Send private message
tuppe666
Guru
Guru


Joined: 02 Mar 2004
Posts: 423

PostPosted: Tue Nov 21, 2006 10:10 am    Post subject: Reply with quote

Quote:
Do not use xf86-video-ati or x11-drm, they are supposed to be obsolete
Is that true. I personally really doubt it.
Back to top
View user's profile Send private message
pathfinder
l33t
l33t


Joined: 19 Jan 2006
Posts: 731
Location: Barcelona, Spain

PostPosted: Tue Nov 21, 2006 11:10 am    Post subject: Reply with quote

if they ARE obsolete, considering the fact I m using them, it could explain, somehow, why I can t get that damned DRI working on my r300 rv370 radeon card.
I don t have an AGP card, i have a PIC express, and I can t answer your question 1.

I don t know whether DRI is possible on such ATI cards, with modular X.
As seen in https://forums.gentoo.org/viewtopic-p-3731343.html#3731343, it seems that the DRI doesn t cope with
Quote:
1. Building the DRI with X.org and Mesa

This is a basic guide to building DRI from source. This guide only covers building the client-side 3D drivers. Since the transition to the modular X.org build, building an X-server and 2D drivers is beyond the scope of this document. That information can be found in the [WWW]X.org Modular Developer's Guide.

KDrive servers are not supported at this time. Please report any problems with these instructions on the dri-users mailing list or on IRC.

The 2D drivers with DRI support, server-side GLX support and the GL library capable of loading DRI 3D drivers are developed upstream in X.org CVS. The 3D drivers now live in the Mesa tree, so you will have to check out the Mesa CVS tree too. You should also get the DRM tree for the updated kernel modules. The following instructions will guide you through the process step by step.

Warning: In case you didn't notice, you are about to compile and install experimental software. This will allow you to test the latest features and bug fixes. It may, however, also introduce new bugs. Be prepared for problems every now and then.
seen in http://dri.freedesktop.org/wiki/Building

there s also this:
http://www.thinkwiki.org/wiki/ATI_Mobility_Radeon_X300[/quote]
http://dri.freedesktop.org/wiki/ATIRadeon#head-2f5098616350345fc8b9d26888cb729d63303cf2
can t help. lost in too many docs and don t know which one is really up to date.
anyway, everything is said to be HIGHLY EXPERIMENTAL STUFF. so i m a little bit afraid,...
I ll be in standby. sorry guys.
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