Ati Mobility Radeon M10 x86_64

8 risposte [Ultimo messaggio]
Ritratto di pastaboy
pastaboy
(Junior)
Offline
Junior
Iscritto: 24/05/2005
Messaggi: 9

Salve,non riesco in nessun modo a far funzionare il 3D sulla mia ATI Radeon,che dovrebbe essere una 9700,ma viene riconosciuta come 9600.

Uso la mandriva 10.2 x86_64 e il problema è che installando da rpm l'ultima versione del drivers ATI non mi crea il modulo fglrx e cercando di compilarlo manualmente mi da ogni volta un gran numero di errori e non completa il processo.

Riporto sotto l'output di lspci e i della compilazione di fglrx

[root@coblin build_mod]# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 755 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:06.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
00:09.0 CardBus bridge: O2 Micro, Inc. OZ711M1/MC1 4-in-1 MemoryCardBus Controller (rev 20)
00:09.1 CardBus bridge: O2 Micro, Inc. OZ711M1/MC1 4-in-1 MemoryCardBus Controller (rev 20)
00:09.2 System peripheral: O2 Micro, Inc. OZ711Mx 4-in-1 MemoryCardBus Accelerator
00:0b.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus Reference Card (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] AddressMap
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]

[root@coblin build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.11-6mdk/build SUBDIRS=/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.11-6mdk'
CC [M] /home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7611: warning:`pm_register' is deprecated (declared at include/linux/pm.h:106)
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7621: warning:`pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
CC [M] /home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
CC [M] /home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:508: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:510: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:574)
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:530: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:573)
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:561: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_get_user_ptr':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1077: warning: assignment makes pointer from integer without a cast
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_put_user_ptr':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1109: warning: cast from pointer to integer of different size
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1109: warning: cast from pointer to integer of different size
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1109: warning: cast from pointer to integer of different size
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1109: warning: cast from pointer to integer of different size
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_get_vm_phys_addr':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1672: error: structure has no member named `pud'
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `do_vm_shm_nopage':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2202: error: structure has no member named `pud'
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_phys_addr_str':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2572: error: structure has no member named `pud'
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2660: warning: initialization from incompatible pointer type
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_map':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2721: warning: implicit declaration of function `remap_page_range'
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2875: error: syntax error before '*' token
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2875: warning: type defaults to `int' in declaration of `drm_agp_module_stub'
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2875: warning: data definition has no type or storage class
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agpgart_available':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3017: error: `drm_agp_t' undeclared (first use in this function)
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3017: error: (Each undeclared identifier is reported only once
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3017: error: for each function it appears in.)
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3017: error: syntax error before ')' token
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3038: error: request for member `free_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3040: error: request for member `free_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3043: error: request for member `allocate_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3045: error: request for member `allocate_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3048: error: request for member `bind_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3050: error: request for member `bind_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3053: error: request for member `unbind_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3055: error: request for member `unbind_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3058: error: request for member `enable' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3060: error: request for member `enable' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3063: error: request for member `acquire' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3065: error: request for member `acquire' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3068: error: request for member `release' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3070: error: request for member `release' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3073: error: request for member `copy_info' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3075: error: request for member `copy_info' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_uninit':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3157: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_free_memory':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3190: error: request for member `free_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3191: error: request for member `free_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_allocate_memory':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3200: error: request for member `allocate_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3201: error: request for member `allocate_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_bind_memory':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3211: error: request for member `bind_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3212: error: request for member `bind_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_unbind_memory':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3222: error: request for member `unbind_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3223: error: request for member `unbind_memory' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_enable':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3233: error: request for member `enable' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3235: error: request for member `enable' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_acquire':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3281: error: request for member `acquire' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3282: error: request for member `acquire' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_release':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3292: error: request for member `release' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3293: error: request for member `release' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_copy_info':
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3306: error: request for member `copy_info' in something not a structure or union
/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3313: error: request for member `copy_info' in something not a structure or union
make[2]: *** [/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/home/pasta/fglrx/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11-6mdk'
make: *** [kmod_build] Error 2
build failed with return value 2

Ritratto di Madman
Madman
(Guru)
Offline
Guru
Iscritto: 19/12/2004
Messaggi: 2016

Hai provato a seguire la guida presente qui sul forum? Thinking

http://www.mandrakeitalia.org/modules/wfsection/article.php?articleid=69

In ogni caso per avere una compilazione con un output degli errori su un file separato ti consiglio di dare ./configure 2>err && make 2>>err && make install 2>>err.

Ulteriori informazioni sulla compilazione di pacchetti sorgenti:

http://www.mandrakeitalia.org/modules/wfsection/article.php?articleid=71

Ritratto di pastaboy
pastaboy
(Junior)
Offline
Junior
Iscritto: 24/05/2005
Messaggi: 9

Sono riuscito,applicando una patch a fglrx a compilare il modulo e ad installarlo,l'ho anche caricato e non mi da problemi,ora ho eseguito fglrxconfig,ho riavviato X,ma quando avvio fglrxinfo mi da quest'errore:

[pasta@coblin lib64]$ fglrxinfo
Loading required GL library /usr/lib64/libGL.so.1
Segmentation fault

ps: Il file /usr/lib64/libGL.so.1 è presente nel sistema..

Ritratto di Madman
Madman
(Guru)
Offline
Guru
Iscritto: 19/12/2004
Messaggi: 2016

Io un un i686 e libGL.so.1 e linkata alle seguenti librerie:

ldd /usr/X11R6/lib/libGL.so.1<br />        linux-gate.so.1 =&gt;  (0xffffe000)<br />        libpthread.so.0 =&gt; /lib/tls/libpthread.so.0 (0xb7f66000)<br />        libXxf86vm.so.1 =&gt; /usr/X11R6/lib/libXxf86vm.so.1 (0xb7f61000)<br />        libXext.so.6 =&gt; /usr/X11R6/lib/libXext.so.6 (0xb7f53000)<br />        libX11.so.6 =&gt; /usr/X11R6/lib/libX11.so.6 (0xb7e86000)<br />        libdl.so.2 =&gt; /lib/libdl.so.2 (0xb7e82000)<br />        libc.so.6 =&gt; /lib/tls/libc.so.6 (0xb7d58000)<br />        /lib/ld-linux.so.2 (0x80000000)

Prova a vedere se c'è qualche errore. Wink

Ritratto di pastaboy
pastaboy
(Junior)
Offline
Junior
Iscritto: 24/05/2005
Messaggi: 9

Scusa,non ho capito,cosa devo fare?

Ritratto di Madman
Madman
(Guru)
Offline
Guru
Iscritto: 19/12/2004
Messaggi: 2016

Scrivere ldd /usr/X11R6/lib/libGL.so.1 in una console e cpnfrontarne l'output con quello che ti ho postato. Wink

Ritratto di pastaboy
pastaboy
(Junior)
Offline
Junior
Iscritto: 24/05/2005
Messaggi: 9

Questo è il libGL.so.1 presente in /usr/X11R6/lib/

[root@coblin Desktop]# ldd /usr/X11R6/lib/libGL.so.1
linux-gate.so.1 => (0xffffe000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x55618000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x55626000)
libpthread.so.0 => /lib/libpthread.so.0 (0x556f3000)
libdl.so.2 => /lib/libdl.so.2 (0x55746000)
libc.so.6 => /lib/libc.so.6 (0x5574a000)
/lib/ld-linux.so.2 (0x56555000)

Mentre questo è quello presente in /usr/X11R6/lib64/

[root@coblin Desktop]# ldd /usr/X11R6/lib64/libGL.so.1
libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaaabf9000)
libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x00002aaaaacfd000)
libc.so.6 => /lib64/tls/libc.so.6 (0x00002aaaaaede000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555555000)

Delle differenze ci sono..
Cosa posso fare?
Sad :-o

Ritratto di pastaboy
pastaboy
(Junior)
Offline
Junior
Iscritto: 24/05/2005
Messaggi: 9

Ho disinstallato le librerie mesa ed ora non mi da più quel problema,prima non mi partiva neanche glxgear mentre ora parte,glxinfo mi da il seguente output

[root@coblin fglrx]# glxinfo
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_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
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

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None

mentre fgl_glxgear non parte e mi da questo:
[root@coblin fglrx]# fgl_glxgears
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 129 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 32
Current serial number in output stream: 32

Ritratto di pastaboy
pastaboy
(Junior)
Offline
Junior
Iscritto: 24/05/2005
Messaggi: 9

Grande,è andato,mi è bastato riavviare x per far andare tutto come doveva..
Grazie dell'aiuto..