[CG] Catalyst : pas d'accélération 3D(en cours)

Reconnaissance et configuration du matériel / kernel linux
Alfrodull
Hankyu
Messages : 13
Inscription : mar. 29 mars 2011, 18:47

[CG] Catalyst : pas d'accélération 3D(en cours)

Message par Alfrodull »

Coucou, c'est encore moi ! ^^

Alors, cette fois, c'est pour un problème d'accélération 3D. J'ai installé Catalyst depuis le dépot du même nom, et après un "aticonfig --initial", je n'ai apparemment pas d'accélération graphique. Pour avoir les effets compiz, j'ai dû activer l'option "indirect rendering".

Code : Tout sélectionner

$ lsmod
Module                  Size  Used by
nls_cp437               4533  1 
vfat                    8343  1 
fat                    42842  1 vfat
fuse                   57240  3 
ipv6                  243529  22 
arc4                    1078  2 
ecb                     1597  2 
radeon                845939  0 
snd_seq_dummy           1119  0 
uvcvideo               55373  0 
snd_seq_oss            25232  0 
snd_seq_midi_event      4568  1 snd_seq_oss
ttm                    44512  1 radeon
snd_seq                41912  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
videodev               57747  1 uvcvideo
v4l1_compat            13986  2 uvcvideo,videodev
drm_kms_helper         23703  1 radeon
snd_seq_device          4409  3 snd_seq_dummy,snd_seq_oss,snd_seq
drm                   141584  3 radeon,ttm,drm_kms_helper
i2c_algo_bit            4191  1 radeon
snd_pcm_oss            33950  0 
snd_mixer_oss          15366  1 snd_pcm_oss
snd_hda_codec_hdmi     20024  1 
fglrx                2386484  72 
snd_hda_codec_idt      48271  1 
snd_hda_intel          18988  1 
ath5k                 127844  0 
ath                    10929  1 ath5k
snd_hda_codec          64796  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
mac80211              178372  1 ath5k
firewire_ohci          23529  0 
cfg80211              120401  3 ath5k,ath,mac80211
ir_lirc_codec           3559  0 
snd_hwdep               4804  1 snd_hda_codec
firewire_core          43457  1 firewire_ohci
snd_pcm                59496  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
lirc_dev                8091  1 ir_lirc_codec
mmc_block               8586  2 
ir_sony_decoder         1831  0 
sdhci_pci               5978  0 
sdhci                  14925  1 sdhci_pci
hp_wmi                  4605  0 
sparse_keymap           2372  1 hp_wmi
joydev                  7727  0 
r8169                  31536  0 
ir_jvc_decoder          1925  0 
rfkill                 12958  2 cfg80211,hp_wmi
ohci_hcd               19134  0 
i2c_piix4               7108  0 
mmc_core               55282  2 mmc_block,sdhci
hp_accel               12716  0 
snd_timer              15687  2 snd_seq,snd_pcm
jmb38x_ms               6838  0 
ehci_hcd               34522  0 
ir_rc6_decoder          2341  0 
memstick                5318  1 jmb38x_ms
rc_rc6_mce              1096  0 
ir_rc5_decoder          1829  0 
crc_itu_t               1061  1 firewire_core
mii                     3206  1 r8169
wmi                     6873  1 hp_wmi
ir_nec_decoder          2117  0 
video                  10367  0 
lis3lv02d               8641  1 hp_accel
agpgart                22880  3 ttm,drm,fglrx
ene_ir                 13201  0 
snd                    43987  14 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
usbcore               117240  4 uvcvideo,ohci_hcd,ehci_hcd
shpchp                 23205  0 
output                  1456  1 video
input_polldev           2462  1 lis3lv02d
i2c_core               16029  6 radeon,videodev,drm_kms_helper,drm,i2c_algo_bit,i2c_piix4
serio_raw               3638  0 
psmouse                50354  0 
pci_hotplug            21691  1 shpchp
thermal                 6590  0 
processor              22529  0 
k10temp                 2067  0 
sg                     21196  0 
evdev                   7179  10 
battery                 8335  0 
ir_core                12818  9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,rc_rc6_mce,ir_rc5_decoder,ir_nec_decoder,ene_ir
pcspkr                  1367  0 
button                  3882  1 fglrx
soundcore               4961  1 snd
snd_page_alloc          6053  2 snd_hda_intel,snd_pcm
ac                      2433  0 
ext3                  111097  1 
jbd                    39547  1 ext3
mbcache                 4338  1 ext3
sr_mod                 13569  0 
cdrom                  31666  1 sr_mod
sd_mod                 25488  3 
pata_acpi               2348  0 
pata_atiixp             2913  0 
ahci                   17693  2 
libahci                15536  1 ahci
libata                151324  4 pata_acpi,pata_atiixp,ahci,libahci
scsi_mod              107414  4 sg,sr_mod,sd_mod,libata

Code : Tout sélectionner

$ lsmod | grep ati
pata_atiixp             2913  0 
libata                151324  4 pata_acpi,pata_atiixp,ahci,libahci

Code : Tout sélectionner

$ glxgears
299 frames in 5.0 seconds = 59.780 FPS
299 frames in 5.0 seconds = 59.660 FPS
299 frames in 5.0 seconds = 59.663 FPS
299 frames in 5.0 seconds = 59.661 FPS
299 frames in 5.0 seconds = 59.659 FPS
299 frames in 5.0 seconds = 59.630 FPS

Merci d'avance pour votre aide !
Tour intel, dual core 2*2,6GHz, Packard Bell, 2Go ram, NVidia 7050, Frugalware 1.4/ Debian Sid/ Windows Vista ( bah je l'ai payé, je le garde :p ) bestiole vieille de 3 ans.
Laptop HP Pavilion DV5 1215ef, AMD 2*2,2GHz, 3Go de ram, Radeon HD3650, Debian testing/Ubuntu 10.10/Archlinux, 2 ans au compteur.
Netbook Samsung N140+, Intel atom 1.6GHz, 1Go de ram, chipset grapique intel GMA950, Ubuntu 10.10 ( pour madame ), le petit jeune de la famille avec ses trois mois.
QNux
newbie
Messages : 7
Inscription : jeu. 31 mars 2011, 07:20
Localisation : Rennes

Re: [CG] Catalyst : pas d'accélération 3D(en cours)

Message par QNux »

Peux-tu poster :
  • Ton xorg.conf
  • glxinfo |head qui indiquera le support ou non du DRI.
Arch x86_64 / Gnome
Intel i7 / SSD / raid1 HDD / Radeon HD 6870
Alfrodull
Hankyu
Messages : 13
Inscription : mar. 29 mars 2011, 18:47

Re: [CG] Catalyst : pas d'accélération 3D(en cours)

Message par Alfrodull »

Salut !

Voilà ce que tu m'as demandé :

Code : Tout sélectionner

$ glxinfo | head
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group

Code : Tout sélectionner

$ cat /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "0-LVDS"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
	Option	    "PreferredMode" "1280x800"
	Option	    "TargetRefresh" "60"
	Option	    "Position" "0 0"
	Option	    "Rotate" "normal"
	Option	    "Disable" "false"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	Option	    "Monitor-LVDS" "0-LVDS"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

J'ai donc apparemment le direct rendering. Pourtant sous Debian, je tourne à 1600 FPS...
Tour intel, dual core 2*2,6GHz, Packard Bell, 2Go ram, NVidia 7050, Frugalware 1.4/ Debian Sid/ Windows Vista ( bah je l'ai payé, je le garde :p ) bestiole vieille de 3 ans.
Laptop HP Pavilion DV5 1215ef, AMD 2*2,2GHz, 3Go de ram, Radeon HD3650, Debian testing/Ubuntu 10.10/Archlinux, 2 ans au compteur.
Netbook Samsung N140+, Intel atom 1.6GHz, 1Go de ram, chipset grapique intel GMA950, Ubuntu 10.10 ( pour madame ), le petit jeune de la famille avec ses trois mois.
QNux
newbie
Messages : 7
Inscription : jeu. 31 mars 2011, 07:20
Localisation : Rennes

Re: [CG] Catalyst : pas d'accélération 3D(en cours)

Message par QNux »

En effet le Direct Rendering est supporté par ton driver.

En revanche tu peux essayer d'ajouter cette section à ton Xorg.conf :

Code : Tout sélectionner

Section "DRI"
        Mode 0666
EndSection
Ainsi que de remplir la section Modules

Code : Tout sélectionner

Section "Module"
        Load  "extmod"
        Load  "dbe"
        Load  "xtrap"
        Load  "record"
        Load  "dri"
        Load  "glx"
        Load  "GLcore"
        Load  "freetype"
EndSection
Source : https://wiki.archlinux.org/index.php/ATI_Catalyst

C'est comme ça que j'ai fait ma config. Je n'ai pas compiz d'installé, mais le DRI fonctionne avec d'autres trucs.
Arch x86_64 / Gnome
Intel i7 / SSD / raid1 HDD / Radeon HD 6870
Alfrodull
Hankyu
Messages : 13
Inscription : mar. 29 mars 2011, 18:47

Re: [CG] Catalyst : pas d'accélération 3D(en cours)

Message par Alfrodull »

Avec ta config, plantage de X et/ou GDM. Voilà le log :

Code : Tout sélectionner

/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: ssh-agent not found!
/etc/gdm/Xsession: Setup done, will execute: startxfce4
/usr/bin/startxfce4: X server already running on display :0

** (gnome-screensaver:2361): WARNING **: Failed to get session presence proxy: Could not get owner of name 'org.gnome.SessionManager': no such name
xfdesktop[2386]: starting up
xfce4-settings-helper: Another instance is already running. Leaving...
Could not read application.ini
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
Warning: Crypt::Simple not found ...
Warning: Crypt::Blowfish not found ...
Warning: FreezeThaw not found ...

CheckGmail requires the above packages for password encryption
Please download and install from CPAN (http://search.cpan.org) if you want to use this feature ...

Warning: Gtk2::Sexy not found ...

CheckGmail uses Gtk2::Sexy for clickable URLs in mail messages
Please download and install from CPAN (http://search.cpan.org) if you want to use this feature ...

** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
/usr/lib/guake/guake.py:1354: GtkWarning: IA__gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed
  gtk.main()
gnome-screensaver: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.
xfsettingsd: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.
xfdesktop: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
Thunar: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.
xfce4-panel: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
xfce4-settings-helper: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
xfce4-mixer-plugin: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
wrapper: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
xfce4-session: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.
polkit-gnome-authentication-agent-1: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
running 'kill -INT 2352; rm -f /home/alfrodull/.cache/gpg-agent-info'

(xfwm4:2494): libxfce4ui-WARNING **: ICE I/O Error

(xfwm4:2494): libxfce4ui-WARNING **: Disconnected from session manager.
gnome-power-manager: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
nm-applet: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
checkgmail: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
evolution-alarm-notify: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
fusion-icon: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
 * Detected Session: xfce
 * Searching for installed applications...
 * Using the GTK Interface
 * Starting Xfwm4
guake.py: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
epiphany: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
Tour intel, dual core 2*2,6GHz, Packard Bell, 2Go ram, NVidia 7050, Frugalware 1.4/ Debian Sid/ Windows Vista ( bah je l'ai payé, je le garde :p ) bestiole vieille de 3 ans.
Laptop HP Pavilion DV5 1215ef, AMD 2*2,2GHz, 3Go de ram, Radeon HD3650, Debian testing/Ubuntu 10.10/Archlinux, 2 ans au compteur.
Netbook Samsung N140+, Intel atom 1.6GHz, 1Go de ram, chipset grapique intel GMA950, Ubuntu 10.10 ( pour madame ), le petit jeune de la famille avec ses trois mois.
QNux
newbie
Messages : 7
Inscription : jeu. 31 mars 2011, 07:20
Localisation : Rennes

Re: [CG] Catalyst : pas d'accélération 3D(en cours)

Message par QNux »

Ça c'est un autre soucis, tu as déjà un autre xfce qui tourne :

Code : Tout sélectionner

/usr/bin/startxfce4: X server already running on display :0

Code : Tout sélectionner

xfce4-settings-helper: Another instance is already running. Leaving...
Arch x86_64 / Gnome
Intel i7 / SSD / raid1 HDD / Radeon HD 6870
Alfrodull
Hankyu
Messages : 13
Inscription : mar. 29 mars 2011, 18:47

Re: [CG] Catalyst : pas d'accélération 3D(en cours)

Message par Alfrodull »

Pourtant c'est au boot, comment ça se pourrait ?
Tour intel, dual core 2*2,6GHz, Packard Bell, 2Go ram, NVidia 7050, Frugalware 1.4/ Debian Sid/ Windows Vista ( bah je l'ai payé, je le garde :p ) bestiole vieille de 3 ans.
Laptop HP Pavilion DV5 1215ef, AMD 2*2,2GHz, 3Go de ram, Radeon HD3650, Debian testing/Ubuntu 10.10/Archlinux, 2 ans au compteur.
Netbook Samsung N140+, Intel atom 1.6GHz, 1Go de ram, chipset grapique intel GMA950, Ubuntu 10.10 ( pour madame ), le petit jeune de la famille avec ses trois mois.
QNux
newbie
Messages : 7
Inscription : jeu. 31 mars 2011, 07:20
Localisation : Rennes

Re: [CG] Catalyst : pas d'accélération 3D(en cours)

Message par QNux »

Si tu remets le Xorg.conf comme avant ça marche ? (enfin tu n'as plus l'erreur ?)
Arch x86_64 / Gnome
Intel i7 / SSD / raid1 HDD / Radeon HD 6870
cariboo
Hankyu
Messages : 43
Inscription : dim. 04 oct. 2009, 12:27
Localisation : Lyon, France

Re: [CG] Catalyst : pas d'accélération 3D(en cours)

Message par cariboo »

Woot,

En voyant ton post, une chose m'intrigue :

-ne serait-il pas nécessaire de copier le xorg.conf dans le dossier /etc/X11/xorg.conf.d (car je suppose que tu as un xorg-server > 1.8) ?

Peut-être que je me trompe complètement, mais ayant les catalyst, le simple xorg.conf ne suffit pas pour xorg !

J'ai donc un /etc/X11/xorg.conf qui peut être lu par les applications qui le nécessitent, ainsi qu'un /etc/X11/xorg.conf.d/10-monitor.conf pour le serveur graphique.

Au cas où...si ça peut aider :)

++
"Apporter la lumière c'est pour que tout le monde y voit;si c'est que pour ma gueule je vois pas l'intérêt"
Répondre