View previous topic :: View next topic |
Author |
Message |
bouba n00b
Joined: 03 Jun 2003 Posts: 40
|
Posted: Thu Oct 30, 2003 8:42 am Post subject: |
|
|
kwenspc wrote: | j'ai toujours pas le DRI...
dites c normal si ke load bien au boot le module d'xfree-drm nommé "radeon" mais que X ne l'utilise pas???
en effet après avoir démarré mon X, un insmod me dit que le module radeon est (unused)
donc X utilise pas le bon module...
pourtant j'ai bien spécifié "radeon" dans device dans mon XF86Config
la joie quoi... |
Peux-tu poster ton XF86config, et indiquer le chemin du lien libGL.so de ton /usr/lib/. |
|
Back to top |
|
|
DomiX Apprentice
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Thu Oct 30, 2003 9:53 am Post subject: |
|
|
Bonjour
Cela m'est deja arrivé de ne pas avoir le module 'radeon' de lancer par xfree, quand cela m'arrivait je faisais cela :
kwenspc : "DomiX : donc tu as pris les drivers xfree-drm ou bien le DRI du noyau directement?"
Oui, j'utilise bien xfree-drm, car le drm pour radeon contenu dans le kernel (2.4.21 par exemple) ne fonctionne qu'avec xfree4.2. |
|
Back to top |
|
|
kwenspc Advocate
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Thu Oct 30, 2003 11:22 am Post subject: |
|
|
ben justement j'ai fait emerge xfree-drm
j'ai tout bien installé, configuré etc...
simplement xfree n'utilise pas le module radeon (qui a été compilé par xfree-drm) chargé en mémoire mais va utilisé ses propres drivers radeon_drv.o etc...ainsi que ati_drv.o
donc mon module créer par xfree-drm est en unused et c donc à cause de cela que je n'ai pas le DRI...c génant.
y a moyen de forcer Xfree d'utiliser ce moduleet rien d'autre? |
|
Back to top |
|
|
DomiX Apprentice
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Thu Oct 30, 2003 10:49 pm Post subject: |
|
|
Bonsoir
As tu essayer de faire :
Code: | # opengl-update xfree |
Si ca ne modifie toujours pas, il faut regarder comme on me l'avais conseiller les liens symbolique dans /usr/lib/ concernant les libGL.
Bon Courage |
|
Back to top |
|
|
kwenspc Advocate
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Fri Oct 31, 2003 2:12 pm Post subject: |
|
|
Bon...c'est de pire en pire ici
déjà je fais un lsmod (j'ai mis agpgart en module cette fois-ci plutôt qu'en dur dans le noyau) :
Code: |
Module Size Used by Tainted: GF
agpgart 24616 0 (unused)
i810_audio 25160 0 (unused)
ac97_codec 13736 0 [i810_audio]
soundcore 3908 2 [i810_audio]
b44 14856 1
ohci1394 31560 0 (unused)
ieee1394 188580 0 [ohci1394]
mousedev 4404 1
usbmouse 2296 0 (unused)
3c589_cs 9284 0 (unused)
radeon 102920 0
usb-storage 63820 0 (unused)
hid 21856 0 (unused)
uhci 26624 0 (unused)
ehci-hcd 25024 0 (unused)
usbcore 70144 1 [usbmouse usb-storage hid uhci ehci-hcd]
|
bon déjà : agpgart est "(unused)"
super...
je fais donc un opengl-update xfree pour voir...
le lsmod me sors toujours la même réponse.
je check mes libs :
Code: |
lrwxrwxrwx 1 root root 38 2003-10-31 14:52 libGL.so -> /usr/lib/opengl/xfree/lib/libGL.so.1.2
lrwxrwxrwx 1 root root 38 2003-10-31 14:52 libGL.so.1 -> /usr/lib/opengl/xfree/lib/libGL.so.1.2
-rw-r--r-- 1 root root 689588 2003-10-07 23:11 libGLU.a
-rw-r--r-- 1 root root 769 2003-10-07 23:11 libGLU.la
lrwxrwxrwx 1 root root 13 2003-10-28 19:24 libGLU.so -> libGLU.so.1.3
lrwxrwxrwx 1 root root 13 2003-10-28 19:24 libGLU.so.1 -> libGLU.so.1.3
-rwxr-xr-x 1 root root 597801 2003-10-07 23:11 libGLU.so.1.3
lrwxrwxrwx 1 root root 13 2003-10-28 19:24 libMesaGLU.so -> libGLU.so.1.3
|
après ça un glxinfo me sort :
Code: |
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_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
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
|
dri : no
super...nan nan si si c génial.
ma conf XF86Config est "a priori" bonne :
Code: |
...
# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"
Load "GLcore"
...
Section "Device"
Identifier "Carte Video"
VendorName "Ati"
Driver "radeon"
VideoRam 65536
Option "AGPMode" "4"
Option "AGPFastWrite" "True"
Option "EnablePageFlip" "True"
# Insert Clocks lines here if appropriate
EndSection
...
|
et mon log Xfree me sort :
Code: |
...
(II) PCI-to-CardBus bridge:
(II) Bus 3: bridge is at (2:4:0), (2,3,6), BCTRL: 0x05c0 (VGA_EN is cleared)
(--) PCI:*(1:0:0) ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] rev 0, Mem @ 0xe8000000/27, 0xfcff0000/16, I/O @ 0xc000/8
...
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) LoadModule: "radeon"
(II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(II) Module radeon: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 4.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 6.4.18
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.6
...
(--) Assigning device section with no busID to primary device
(--) Chipset ATI Radeon Mobility M7 LW (AGP) found
...
(II) Loading sub module "radeon"
(II) LoadModule: "radeon"
(II) Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
...
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) RADEON(0): PCI bus 1 card 0 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option "AGPMode" "4"
(**) RADEON(0): Option "AGPFastWrite" "True"
(**) RADEON(0): Option "EnablePageFlip" "True"
...
(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon Mobility M7 LW (AGP)" (ChipID = 0x4c57)
(--) RADEON(0): Linear framebuffer at 0xe8000000
(--) RADEON(0): MMIO registers at 0xfcff0000
(II) RADEON(0): Video RAM override, using 65536 kB instead of 65536 kB
(**) RADEON(0): VideoRAM: 65536 kByte (64-bit DDR SDRAM)
...
(**) RADEON(0): Using AGP 4x mode
(**) RADEON(0): Enabling AGP Fast Write
...
(II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe096e000
(II) RADEON(0): [drm] mapped SAREA 0xe096e000 to 0x40013000
(II) RADEON(0): [drm] framebuffer handle = 0xe8000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xe096e000 at 0x40013000
(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): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7417
(II) RADEON(0): Direct rendering disabled
|
Bon désolé pour la longueur du post.
donc : j'ai pas l'agp d lancé alors que le module est bien chargé. kesako?
pkoi il veut pas de mon module agp? j'ai loupé kek chose dans la conf noyau ou quoi?
donc ben voili voilou je suis bien embeté...
si kk1 a une piste pour m'aider je suis tout ouï
parce que là je désespère un peu... |
|
Back to top |
|
|
kwenspc Advocate
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Fri Oct 31, 2003 3:50 pm Post subject: |
|
|
AYÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ j'ai le DRI!!!
truc méga con : j'ai un chipset I845G. et bien dans le module agpgart il faut préciser à la conf du noyau de ne prendre que la ligne des intels concernant I830/I840 etc...et ce SANS la ligne intel avec "(on board)" de marqué.
j'avais mis toutes les lignes concernant intel moi, je ne savais pas exactement quel chip j'avais. en fait c'est après un modprobe agpgart qu'il m'a indiqué que j'avais un tel chip avant de foiré. j'ai donc recompilé le module agpgart mais avec seuleument la ligne intel qui m'intéréssait et donc là ça marche nickel. pas besoin de faire opengl-update xfree
je suis à 1500fps pour une résolution de 1024*728
pour un driver du projet dro c pas mal! (ils sont jamais au top comparés au drivers constructeurs quand il y en a...)
bouba : donc pas besoin du noyau 2.6
voili voilou!
et encore merci de votre aide! |
|
Back to top |
|
|
bouba n00b
Joined: 03 Jun 2003 Posts: 40
|
Posted: Fri Oct 31, 2003 5:26 pm Post subject: |
|
|
kwenspc wrote: |
bouba : donc pas besoin du noyau 2.6
|
erf! tu y viendras va! ))
Sinon, content que tu aies resolu ton probleme.
A+
Bouba |
|
Back to top |
|
|
|
|
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
|
|