Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[DRI] Direct Rendering con Ati Radeon 7500 [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
skakz
Guru
Guru


Joined: 03 Jul 2004
Posts: 380
Location: Ischia/Napoli/Italia/Terra

PostPosted: Tue Dec 21, 2004 10:44 am    Post subject: [DRI] Direct Rendering con Ati Radeon 7500 [RISOLTO] Reply with quote

salve ragazzi,
le ho provate di tutte per far funzionare DRI con la mia radeon 7500.
Ho letto vari post e (se ho capito bene) non posso utilizzate gli ati-drivers perchè servono solo per le schede =>8500, quindi ho proceduto in questo modo:
installato kernel 2.6.9-gentoo-r1 con dri enabled

Code:

<M> Enhanced Real Time Clock Support
<M> /dev/agpgart (AGP Support)
<M>   ATI chipset support
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
<M>   ATI Radeon   


e all'avvio carico i moduli agpgart e rct
(in realtà ho anche provato a compilare questi moduli direttamente nel kernel)

ho installato x11-base/xorg-x11-6.8.0-r3

con il seguente xorg.conf

Code:

Section "Module"

    Load        "extmod"
    SubSection  "extmod"
    EndSubSection

    Load        "type1"
    Load        "speedo"
    Load        "freetype"
    Load       "glx"
    Load       "dri"
    Load    "GLcore"
    Load    "bitmap"
    Load    "ddc"
    Load    "int10"
    Load    "record"
    Load    "vbe"
    Load    "xtrap"
EndSection

Section "dri"
    Mode 0666
EndSection


Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
    ModulePath "/usr/X11R6/lib/modules"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "it"
EndSection



Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZaxisMapping" "4 5"
    Option "Emulate3Buttons"

EndSection


Section "Monitor"

    Identifier  "Monitor0"


    HorizSync   30-72

    VertRefresh 50-120

EndSection


Section "Device"

   Identifier  "ATI Radeon"
    VendorName  "ATI"
    BoardName "ATI"
    Driver "radeon"
    #VideoRam    65536
    Option "AGPMode"   "4"
    Option "AGPFastWrite" "True"
    Option "EnablePageFlip" "True"
    Option "DPMS"     "on"

EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Ati Radeon"
    Monitor     "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


ho provato anche con DefaultDepth 16 e risoluzione 1024x768 (dri con la mia vecchia voodoo3 funzionava solo così)

risultato?

Code:

Xorg.0.log
(EE) Failed to load module "speedo" (module does not exist, 0)

(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.



Code:

/usr/X11R6/bin/glxinfo
direct rendering: No

OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.1)



come al solito ogni suggerimento è ben accetto :)

ciao
luca.
_________________
Linux Registered User n.340423
Linux User Group Ischia
www.tush.it


Last edited by skakz on Tue Dec 21, 2004 11:00 am; edited 1 time in total
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Dec 21, 2004 10:47 am    Post subject: Re: [DRI] Direct Rendering con Ati Radeon 7500 Reply with quote

darkdude wrote:
Code:

<M>   ATI chipset support


Hai una mobo con chipset ATI? Sicuro di non aver dimenticato il supporto AGP per il tuo chipset?
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Tue Dec 21, 2004 10:53 am    Post subject: Reply with quote

Si secondo me ti manca il supporto per l'agp. Io ho la stessa scheda e il 3D va
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
skakz
Guru
Guru


Joined: 03 Jul 2004
Posts: 380
Location: Ischia/Napoli/Italia/Terra

PostPosted: Tue Dec 21, 2004 10:59 am    Post subject: Re: [DRI] Direct Rendering con Ati Radeon 7500 Reply with quote

MyZelF wrote:
darkdude wrote:
Code:

<M>   ATI chipset support


Hai una mobo con chipset ATI? Sicuro di non aver dimenticato il supporto AGP per il tuo chipset?


ok ok!!!
chiedo umilmente perdono per aver iniziato questo thread stupido!!!!
la mia mobo ha chipset VIA e non so perchè avevo messo ATI :?

Code:

glxinfo

direct rendering: Yes

OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20030328 AGP 4x x86/3DNow!+ TCL
OpenGL version string: 1.2 Mesa 6.1
OpenGL extensions:


Code:

glxgears20420 frames in 5.0 seconds = 4084.000 FPS
43714 frames in 5.0 seconds = 8742.800 FPS
47980 frames in 5.0 seconds = 9596.000 FPS
48253 frames in 5.0 seconds = 9650.600 FPS
47707 frames in 5.0 seconds = 9541.400 FPS



grazie :)
_________________
Linux Registered User n.340423
Linux User Group Ischia
www.tush.it
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Tue Dec 21, 2004 11:34 am    Post subject: Reply with quote

Ma e' una mobility??? O_o se si non capisco ma hai dei valori assurdi
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Dec 21, 2004 11:36 am    Post subject: Reply with quote

glxgears minimizzato o nascosto da altra finestra?
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Tue Dec 21, 2004 11:39 am    Post subject: Reply with quote

MyZelF wrote:
glxgears minimizzato o nascosto da altra finestra?

Si per forza il mio fa
Code:
$ glxgears
2753 frames in 5.0 seconds = 550.600 FPS
3134 frames in 5.0 seconds = 626.800 FPS
3133 frames in 5.0 seconds = 626.600 FPS
3129 frames in 5.0 seconds = 625.800 FPS

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Dec 21, 2004 11:58 am    Post subject: Reply with quote

io faccio 2500 con una 8500 a 24bpp.

peccato che AGPFastWrite mi inchioda tutto :S...
Avete idea? ho cercato un po'... ma senza successo.
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Dec 21, 2004 12:00 pm    Post subject: Reply with quote

Questi sono i miei valori (7500 Mobility):

Code:
$ glxgears
4959 frames in 5.0 seconds = 991.800 FPS
5615 frames in 5.0 seconds = 1123.000 FPS
5616 frames in 5.0 seconds = 1123.200 FPS
5613 frames in 5.0 seconds = 1122.600 FPS

_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Tue Dec 21, 2004 1:08 pm    Post subject: Reply with quote

MyZelF wrote:
Questi sono i miei valori (7500 Mobility):

A me arriva al massimo a 700 :(. Avro' configurato male qualcosa? Nel tuo xorg.conf hai qualche opzione speciale per la scheda
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
consdel
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 197
Location: Modena (Italy)

PostPosted: Tue Dec 21, 2004 1:12 pm    Post subject: Reply with quote

fedeliallalinea wrote:
MyZelF wrote:
Questi sono i miei valori (7500 Mobility):

A me arriva al massimo a 700 :(. Avro' configurato male qualcosa? Nel tuo xorg.conf hai qualche opzione speciale per la scheda


A me la 7500 arriva massimo a 720, ma con Xorg 6.7.0-r3 (mi pare) arrivava sui mille...
_________________
Quello che sognavi ti fa ridere
da quando sai che non lo puoi più avere

- AFTERHOURS Tutto fa un po male -

my blog... http://luci-artificiali.blogspot.com/
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Tue Dec 21, 2004 1:13 pm    Post subject: Reply with quote

consdel wrote:
A me la 7500 arriva massimo a 720, ma con Xorg 6.7.0-r3 (mi pare) arrivava sui mille...

Forse dipende anche dall'agp (chipset)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Dec 21, 2004 1:20 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Nel tuo xorg.conf hai qualche opzione speciale per la scheda


Niente di speciale, anzi stando a dmesg

Code:
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


mentre dovrebbe essere AGP 2x... e questa cosa non sono mai riuscito a risolverla... :?
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Dec 21, 2004 5:17 pm    Post subject: Reply with quote

ma hai messo?

Option "AGPMode"   "2"

e magari anche AGPFastWrite che a me non va :)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Dec 21, 2004 7:11 pm    Post subject: Reply with quote

Se non ricordo male con kernel 2.4 funzionava senza problemi "out of the box", mentre con 2.6 non ne ha mai voluto sapere anche forzandolo...

La questione era caduta nel dimenticatoio... ora riprovo (con un kernel più recente di allora) e ti so dire, anche per quanto riguarda il FastWrite.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Dec 21, 2004 11:34 pm    Post subject: Reply with quote

Finalmente sembra andare il tutto (development-sources-2.6.9 e xorg 6.8.0-r3)... L'impostazione corretta dell'AGP e l'attivazione del FastWrite non migliorano le prestazioni, almeno con glxgears, mentre l'attivazione del PageFlip si sente eccome...

Per dovere di cronaca posto la sezione di xorg.conf e i risultati di glxgears:

Code:
Section "Device"
    Identifier  "ATI Radeon Mobility 7500"
    Driver      "radeon"
    Option      "AGPMode" "4"
    Option      "AGPFastWrite" "true"
    Option      "EnablePageFlip" "true"
    Option      "DDCMode" "true"
    Option      "DynamicClocks" "true"
EndSection


Code:
 $ glxgears
6326 frames in 5.0 seconds = 1265.200 FPS
7531 frames in 5.0 seconds = 1506.200 FPS
7528 frames in 5.0 seconds = 1505.600 FPS
7530 frames in 5.0 seconds = 1506.000 FPS

_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Wed Dec 22, 2004 12:47 am    Post subject: Reply with quote

Purtroppo a me con le impostazioni di MyZelF migliora ma resto sugli 840 :cry:
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
skakz
Guru
Guru


Joined: 03 Jul 2004
Posts: 380
Location: Ischia/Napoli/Italia/Terra

PostPosted: Wed Dec 22, 2004 6:23 pm    Post subject: Reply with quote

naturalmente quei valori erano con glxgears minimizzato.
in primo piano mi da:

Code:

8974 frames in 5.0 seconds = 1794.800 FPS
9091 frames in 5.0 seconds = 1818.200 FPS
9122 frames in 5.0 seconds = 1824.400 FPS


non è mobility.
_________________
Linux Registered User n.340423
Linux User Group Ischia
www.tush.it
Back to top
View user's profile Send private message
strafacendo
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2004
Posts: 75

PostPosted: Thu Dec 23, 2004 3:50 am    Post subject: Reply with quote

sono l'unico che non riesce a far andare il 3d con una ati 7500 mobility?

dando dmesg mi dice:
Code:
PCI: Unable to reserve mem region #1:8000000@e8000000 for device 0000:01:05.0
radeonfb: cannot reserve PCI regions.  Someone already got them?
radeonfb: probe of 0000:01:05.0 failed with error -16
USB Universal Host Controller Interface driver v2.2
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[000bcd009e18913b]
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
eth0: DSPCFG accepted after 0 usec.
eth0: link up.
eth0: Setting full-duplex based on negotiated link capability.
mtrr: 0xe8000000,0x2000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x2000000 overlaps existing 0xe8000000,0x1000000
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_unlock] *ERROR* Process 8473 using kernel context 0


e poco più su:
Code:
agpgart: Detected Ati IGP320/M chipset
agpgart: Maximum main memory to use for agp memory: 408M
agpgart: AGP aperture is 64M @ 0xe4000000

ma quando avvio xorg nel log mi scrive:
Code:
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:05.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xdfa5d000
(II) RADEON(0): [drm] mapped SAREA 0xdfa5d000 to 0xb5cfe000
(II) RADEON(0): [drm] framebuffer handle = 0xe8000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module
is loaded before the radeon kernel module.
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xdfa5d000 at 0xb5cfe000
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
(II) RADEON(0): Reserved area from (0,768) to (1024,770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7421
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)


sono sfigato o ho configurato male qualcosa?

il kernel è a posto agpgart attivato, gli ho fatto compilare i moduli dei vari chipset agp e hotplug carica quello giusto, ho attivato dri per il chipset ati radeon.
dato il comando opengl-update xorg-x11
kernel e xorg sono 2.6.9-r9 e 6.9.0-r3
non so più che fare e per favore prima di postarmi qualche link in inglese sappiate che non ci capisco niente... :'-(
_________________
---Ho sentito urla di furore di generazioni senza piu' passato di neoprimitivi rozzi cibernetici signori degli anelli orgoglio dei manicomi---
Back to top
View user's profile Send private message
BikE
Guru
Guru


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Tue Jan 18, 2005 5:43 pm    Post subject: Reply with quote

Mi attacco a questo post per evitare di aprirne un altro.....
Io ho provato a mettere le opzioni
Code:

    Option      "AGPMode" "4"
    Option      "AGPFastWrite" "true"
    Option      "EnablePageFlip" "true"

solo che il log di xorg restituisce
Code:

(WW) fglrx(0): Option "AGPFastWrite" is not used
(WW) fglrx(0): Option "AGPMode" is not used
(WW) fglrx(0): Option "EnablePageFlip" is not used


E' una radeon 9200 SE, i valori di glxgears sono questi:
Code:

3358 frames in 5.0 seconds = 671.600 FPS
4029 frames in 5.0 seconds = 805.800 FPS
4030 frames in 5.0 seconds = 806.000 FPS
4029 frames in 5.0 seconds = 805.800 FPS


E' possibile che quelle opzioni non vadano bene per la 9200???
Qualcuno ha gli stessi problemi?
Back to top
View user's profile Send private message
fejfbo
Guru
Guru


Joined: 30 May 2005
Posts: 407
Location: Milano - Italy

PostPosted: Fri May 05, 2006 6:07 pm    Post subject: Reply with quote

Mi riallaccio a questo vecchio post perchè dopo un confronto, le prestazioni della mia scheda sono molto più basse dei valori che ho trovato, raggiungendo al massimo 230 FPS.

Mi sono accorto che non viene caricato il modulo AGPGART, ma se lo inserisco tra i moduli da caricare all'avvio, mi restituisce un errore.
Come posso far caricare quel modulo?

Possiedo anche io una Ati Radeon mobility 7500 e il supporto all'Agp nel kernel è attivato
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri May 05, 2006 6:20 pm    Post subject: Reply with quote

fai scorrere /var/log/Xorg.0.log alla ricerca di errori.
sono marcati con "EE" all'inizio della riga
Back to top
View user's profile Send private message
fejfbo
Guru
Guru


Joined: 30 May 2005
Posts: 407
Location: Milano - Italy

PostPosted: Fri May 05, 2006 6:28 pm    Post subject: Reply with quote

Code:
AGP not available

AGP failed to initialize. Disabling DRI

Make sure than Agpgart module is loaded before radeon module


Come faccio? :oops:
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri May 05, 2006 6:29 pm    Post subject: Reply with quote

il modulo AGP è caricato e compilato?
domanda stupida: hai compilato il modulo giusto? ;)
Back to top
View user's profile Send private message
fejfbo
Guru
Guru


Joined: 30 May 2005
Posts: 407
Location: Milano - Italy

PostPosted: Fri May 05, 2006 6:31 pm    Post subject: Reply with quote

sì, il modulo Agp è caricato.

Giusto è giusto, ho caricato quello Intel....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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