Problemi Ati x300 M22 con driver open

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Avatar utente
sardylan
Linux 3.x
Linux 3.x
Messaggi: 993
Iscritto il: mar 24 apr 2007, 9:21
Nome Cognome: Luca Cireddu
Slackware: current 64bits
Kernel: 3.16
Desktop: KDE 4.14
Distribuzione: Debian - CLFS
Località: Cagliari
Contatta:

Re: Problemi Ati x300 M22 con driver open

Messaggio da sardylan »

Si... Provato pure quello... Però niente da fare... Le prestazioni in 2D sono notevolmente superiori (inkscape, gimp, etc...), ma non quelle in 3D (openarena, urbanterror, etc...), dove sono più performanti gli Open.
Però ottengo errori di grafica ogni tanto, sfarfallii strani, e sopratutto, chiudendo X e tornando alla shell si vede tutto strano...
Quindi alla fine mi sono tenuto radeon... Comunque, in entrambi i casi, i drivers son stati ricompilati da poco... E sopratutto sono stati ricompilati per ultimi... Quindi non saprei...

ldd -r /usr/lib/xorg/modules/dri/r300_dri.so

Codice: Seleziona tutto

sardylan@achille:~$ ldd -r /usr/lib/xorg/modules/dri/r300_dri.so
undefined symbol: _glapi_tls_Context    (/usr/lib/xorg/modules/dri/r300_dri.so)
undefined symbol: _glapi_tls_Dispatch   (/usr/lib/xorg/modules/dri/r300_dri.so)
undefined symbol: _glapi_get_dispatch_table_size        (/usr/lib/xorg/modules/dri/r300_dri.so)
undefined symbol: _glapi_get_context    (/usr/lib/xorg/modules/dri/r300_dri.so)
undefined symbol: _glapi_add_dispatch   (/usr/lib/xorg/modules/dri/r300_dri.so)
undefined symbol: _glapi_set_warning_func       (/usr/lib/xorg/modules/dri/r300_dri.so)
undefined symbol: _glapi_set_context    (/usr/lib/xorg/modules/dri/r300_dri.so)
undefined symbol: _glapi_noop_enable_warnings   (/usr/lib/xorg/modules/dri/r300_dri.so)
undefined symbol: _glapi_set_dispatch   (/usr/lib/xorg/modules/dri/r300_dri.so)
        linux-gate.so.1 =>  (0xffffe000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7c80000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7c60000)
        libm.so.6 => /lib/libm.so.6 (0xb7c3a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7c23000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7c1e000)
        libc.so.6 => /lib/libc.so.6 (0xb7ad2000)
        librt.so.1 => /lib/librt.so.1 (0xb7ac9000)
        /lib/ld-linux.so.2 (0xb7ee7000)
LIBGL_DEBUG=verbose glxinfo

Codice: Seleziona tutto

sardylan@achille:~$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL: Can't open configuration file /etc/drirc: No such file or directory.
display: :0  screen: 0
direct rendering: Yes
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_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
OpenGL version string: 1.4 Mesa 7.5.1
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_point_parameters, GL_ARB_shadow, GL_ARB_shadow_ambient,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_MESAX_texture_float,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_equation_separate,
    GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax,
    GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
    GL_ATI_separate_stencil, GL_IBM_multimode_draw_arrays,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
    GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

8 GLX Visuals
   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 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

8 GLXFBConfigs:
   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  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x25  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x27  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2f  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
cat /var/log/Xorg.0.log | grep EE

Codice: Seleziona tutto

root@achille:/home/sardylan# cat /var/log/Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r300_dri.so failed (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: _glapi_tls_Context)
(EE) AIGLX: reverting to software rendering
E giusto per completezza: cat /etc/X11/Xorg.conf

Codice: Seleziona tutto

root@achille:/home/sardylan# cat /etc/X11/xorg.conf
Section "Module"
        Load    "dbe"
        Load    "type1"
        Load    "freetype"
        Load    "glx"
        Load    "dri"
EndSection

Section "Files"
        FontPath        "/usr/share/fonts/others"
        FontPath        "/usr/share/fonts/TTF"
        FontPath        "/usr/share/fonts/OTF"
        FontPath        "/usr/share/fonts/Type1"
        FontPath        "/usr/share/fonts/misc"
        FontPath        "/usr/share/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/local/"
        FontPath        "/usr/lib/X11/fonts/misc/"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Speedo/"
        FontPath        "/usr/lib/X11/fonts/Type1/"
        FontPath        "/usr/lib/X11/fonts/TTF/"
        FontPath        "/usr/lib/X11/fonts/OTF/"
        FontPath        "/usr/lib/X11/fonts/cyrillic/"
        FontPath        "/usr/lib/X11/fonts/75dpi/"
        FontPath        "/usr/lib/X11/fonts/100dpi/"
EndSection

Section "InputDevice"
        Identifier      "Keyboard"
        Driver          "kbd"
        Option          "AutoRepeat" "150 55"
        Option          "XkbRules" "xorg"
        Option          "XkbModel" "pc105"
        Option          "XkbLayout" "it"
EndSection

Section "InputDevice"
        Identifier      "Mouse"
        Driver          "mouse"
        Option          "Protocol" "IMPS/2"
        Option          "Device" "/dev/input/mice"
        Option          "ZAxisMapping" "4 5 6 7 8"
        Option          "Emulate3Buttons"
EndSection

Section "Monitor"
        Identifier      "LCD"
        Option          "DPMS" "true"
EndSection

Section "Monitor"
        Identifier      "VGA"
        Option          "DPMS" "true"
EndSection

Section "Monitor"
        Identifier      "DVI"
        Option          "DPMS" "true"
EndSection

Section "Monitor"
        Identifier      "DVIa"
        Option          "DPMS" "true"
EndSection

Section "Monitor"
        Identifier      "TV"
        Option          "DPMS" "true"
        Option          "PreferredMode" "800x600"
EndSection

Section "Device"
        Identifier      "ATI Mobility Radeon X1400"
        VendorName      "ATI Technologies Inc."
        BoardName       "ATI Mobility Radeon X1400 256 MB HM"
        Driver          "radeon"
        BusID           "PCI:1:00:0"
        Option          "monitor-VGA-0" "VGA"
        Option          "monitor-DVI-0" "DVI"
        Option          "monitor-LVDS" "LCD"
        Option          "DRI" "true"
        Option          "BusType" "PCIE"
        Option          "AllowGLXWithComposite" "true"
        Option          "TripleBuffer" "true"
        Option          "RenderAccel" "true"
        Option          "XAANoOffscreenPixmaps" "true"
#       Option          "AccelMethod" "EXA"
        Option          "AccelMethod" "XAA"
        Option          "MigrationHeuristic" "greedy"
EndSection

#Section "Device"
#       Identifier      "ATI Mobility Radeon X1400"
#       VendorName      "ATI Technologies Inc."
#       BoardName       "ATI Mobility Radeon X1400 256 MB HM"
#       Driver          "radeonhd"
#       BusID           "PCI:1:00:0"
#       Option          "monitor-VGA_1" "VGA"
#       Option          "monitor-PANEL" "LCD"
#       Option          "monitor-DVI-I_1/digital" "DVI"
#       Option          "monitor-DVI-I_1/analog" "DVIa"
#       Option          "monitor-TV_SVIDEO" "TV"
#       Option          "DRI" "true"
##      Option          "AccelMethod" "xaa"
#       Option          "AccelMethod" "exa"
#       Option          "UseAtomBIOS" "true"
#       Option          "TVMode" "PAL"
#EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Mobility Radeon X1400"
        Monitor         "LCD"
        Option          "AddARGBGLXVisuals" "true"
        Option          "DisableGLXRootClipping" "true"
        DefaultDepth    24
        Subsection "Display"
                Depth           8
                Modes           "1440x900" "1280x800" "1024x768" "800x600" "640x480" "320x240"
                ViewPort        0 0
        EndSubsection
        Subsection "Display"
                Depth           16
                Modes           "1440x900" "1280x800" "1024x768" "800x600" "640x480" "320x240"
                ViewPort        0 0
        EndSubsection
        Subsection "Display"
                Depth           24
                Modes           "1440x900" "1280x800" "1024x768" "800x600" "640x480" "320x240"
                ViewPort        0 0
        EndSubsection
EndSection

Section "Screen"
        Identifier      "External Screen"
        Device          "ATI Mobility Radeon X1400"
        Monitor         "VGA"
        DefaultDepth    24
        Subsection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480" "320x240"
                ViewPort        0 0
        EndSubsection
        Subsection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480" "320x240"
                ViewPort        0 0
        EndSubsection
        Subsection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480" "320x240"
                ViewPort        0 0
        EndSubsection
EndSection

Section "Screen"
        Identifier      "TV Screen"
        Device          "ATI Mobility Radeon X1400"
        Monitor         "TV"
        DefaultDepth    24
        Subsection "Display"
                Depth           8
                Modes           "800x600"
        EndSubsection
        Subsection "Display"
                Depth           16
                Modes           "800x600"
        EndSubsection
        Subsection "Display"
                Depth           24
                Modes           "800x600"
        EndSubsection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          0 "Default Screen"
#       Screen          1 "External Screen" RightOf "Default Screen"
#       Screen          1 "TV Screen" Relative "Default Screen" 0 0
        InputDevice     "Mouse" "CorePointer"
        InputDevice     "Keyboard" "CoreKeyboard"
EndSection

Section "ServerFlags"
        Option          "AllowEmptyInput" "true"
        Option          "AutoAddDevices" "true"
#       Option          "Xinerama" "true"
        Option          "AIGLX" "true"
EndSection

Section "Extensions"
        Option  "Composite" "true"
EndSection

Section "DRI"
        Mode    0666
EndSection

Avatar utente
targzeta
Iper Master
Iper Master
Messaggi: 6643
Iscritto il: gio 3 nov 2005, 14:05
Nome Cognome: Emanuele Tomasi
Slackware: 64-current
Kernel: latest stable
Desktop: IceWM
Località: Carpignano Sal. (LE) <-> Pisa

Re: Problemi Ati x300 M22 con driver open

Messaggio da targzeta »

sardylan ha scritto:Si... Provato pure quello... Però niente da fare... Le prestazioni in 2D sono notevolmente superiori (inkscape, gimp, etc...), ma non quelle in 3D (openarena, urbanterror, etc...), dove sono più performanti gli Open.
Però ottengo errori di grafica ogni tanto, sfarfallii strani, e sopratutto, chiudendo X e tornando alla shell si vede tutto strano...
Solo una precisazione, i radeonhd sono open. Anche a me dava problemi il ritorno alla shell, era dovuto al backlight e all'AtomBIOS. Ora hanno sistemato gli hardware backlight e tutto funziona alla perfezione, però non uso AIGLX, appena posso vedo di fare una prova e ti faccio sapere.

Emanuele
Se pensi di essere troppo piccolo per fare la differenza, prova a dormire con una zanzara -- Dalai Lama

Avatar utente
targzeta
Iper Master
Iper Master
Messaggi: 6643
Iscritto il: gio 3 nov 2005, 14:05
Nome Cognome: Emanuele Tomasi
Slackware: 64-current
Kernel: latest stable
Desktop: IceWM
Località: Carpignano Sal. (LE) <-> Pisa

Re: Problemi Ati x300 M22 con driver open

Messaggio da targzeta »

@sardylan
Ho provato AIGLX e non ci sono problemi, come ho scritto anche in un post precedente.

Prova ad usare i driver radeonhd, nella mia 64bit ho questo pacchetto:
./x/xf86-video-radeonhd-1.2.5-x86_64-1.txz
poi basta mettere nell'xorg.conf:

Codice: Seleziona tutto

Section "Device"
        Identifier  "ATI Mobility Radeon X1400"
        Driver      "radeonhd"
EndSection
Al sito:
http://cgit.freedesktop.org/xorg/driver ... -radeonhd/
puoi seguire lo sviluppo dei driver, io mi aggiorno ad ogni modifica. Come ti dicevo ho la tua stessa scheda video e mi sembra che funzioni tutto bene.

Emanuele
Se pensi di essere troppo piccolo per fare la differenza, prova a dormire con una zanzara -- Dalai Lama

Rispondi