Portál AbcLinuxu, 10. května 2025 03:11

Dotaz: xorg+fglrx(ATI) jak nakonfigurovat

29.4.2007 11:01 *
xorg+fglrx(ATI) jak nakonfigurovat
Přečteno: 853×
Odpovědět | Admin
Zdar.

Cim by to mohlo byt, ze mi nefunguje 3D akcelerace?

V logu vidim ze mam asi neco blbe. Bud mi nesedi knihovny ovladace vs. Xorg nebo nahravam blby moduly v xorg.conf? Tusi nekdo co je potreba pro HW GL pres fglrx?
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: _glapi_Dispatch
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(II) UnloadModule: "GLcore"
(EE) Failed to load module "GLcore" (loader failed, 7)
A xorg.conf ma tydle moduly. Co tam chybi a co tam prebyva?
Section "Module"
        Load  "GLcore"
#       Load  "glx"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "dbe"
        Load  "dri"
        Load  "type1"
        Load  "v4l"           # video for linux overlay module
        Load  "vbe"
EndSection
Instalce ATI balicku probehla uspesne.
10:49 :~(0)> fglrxinfo
+10:49 fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X700 PRO
OpenGL version string: 2.0.6458 (8.36.5)

10:49 :~(0)> Xorg -version
+10:49 Xorg -version

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux * 2.6.20.6-i386 #1 Sat Apr 14 21:56:57 CEST 2007 i686
Build Date: 04 April 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
10:49 :~(0)> lsmod
+10:50 lsmod
Module                  Size  Used by
fglrx                 640412  15
vmnet                  25764  3
vmmon                 177388  0
snd_intel8x0           27676  0
ohci_hcd               30404  0
ehci_hcd               39500  0
10:50 :~(0)> dmesg
+10:50 dmesg
[fglrx] Maximum main memory to use for locked dma buffers: 430 MBytes.
[fglrx] module loaded - fglrx 8.36.5 [Apr 17 2007] on minor 0
[fglrx] total      GART = 130023424
[fglrx] free       GART = 114032640
[fglrx] max single GART = 114032640
[fglrx] total      LFB  = 134086656
[fglrx] free       LFB  = 69062656
[fglrx] max single LFB  = 69062656
[fglrx] total      Inv  = 0
[fglrx] free       Inv  = 0
[fglrx] max single Inv  = 0
[fglrx] total      TIM  = 0
10:50 :~(0)> grep /var/log/Xorg.0.log -e EE -e WW
+10:51 grep /var/log/Xorg.0.log -e EE -e WW
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/Type1".
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(EE) Failed to load module "GLcore" (loader failed, 7)
(II) Loading extension MIT-SCREEN-SAVER
(WW) fglrx: No matching Device section for instance (BusID PCI:5:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) LoadModule: given non-canonical module name "glesx.so"
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used
no a na finale uryvky ze startu Xorg

jo a DRI/DRM se nahraje ok:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:5:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0x2000
(II) fglrx(0): [drm] mapped SAREA 0x2000 to 0xb746d000
(II) fglrx(0): [drm] framebuffer handle = 0x3000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: fglrx
(II) fglrx(0):     Version: 8.36.5
(II) fglrx(0):     Date: Apr 17 2007
(II) fglrx(0):     Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0):     Build-Kernel UTS_RELEASE:        2.6.20.6-i386
(II) fglrx(0):     Build-Kernel MODVERSIONS:        no
(II) fglrx(0):     Build-Kernel __SMP__:            yes
(II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
(II) fglrx(0): [drm] register handle = 0x00004000
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] texture shared area handle = 0x00008000
(II) fglrx(0): shared FSAAScale=4
(II) fglrx(0): DRI initialization successfull!
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

29.4.2007 11:08 *
Rozbalit Rozbalit vše Re: xorg+fglrx(ATI) jak nakonfigurovat
Odpovědět | | Sbalit | Link | Blokovat | Admin
jo a pritom se pouziva softwarovy GL. debian 4.0 stable po dvou dist-upgrade z woodyho pres 3.1 na aktualni.

Jak se zbavim toho SGI z glxinfo aby tam zustala jen ATI pripadne jak prehodit jejich prioritu, aby ATI se pouzila prvni?
11:03 :~(0)> glxinfo
+11:03 glxinfo
name of display: :0.0
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: 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_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X700 PRO
OpenGL version string: 2.0.6458 (8.36.5)
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
    GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
    GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
    GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
    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_ARB_texture_float, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_blend,
    GL_ARB_vertex_buffer_object, GL_ARB_pixel_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
    GL_ARB_draw_buffers, GL_ATI_draw_buffers, GL_ATI_element_array,
    GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer,
    GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
    GL_ATI_texture_float, GL_ATI_texture_mirror_once,
    GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object,
    GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3,
    GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_EXT_texgen_reflection, GL_EXT_texture3D,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
    GL_EXT_texture_edge_clamp, 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_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
    GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
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 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2c 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2d 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2e 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  4 1 None
0x30 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  4 1 None
0x31 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  4 1 None
0x32 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  4 1 None
0x33 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x34 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x35 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x36 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x37 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x38 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x39 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x3a 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x3b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x3c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x3d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x3e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x3f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  4 1 None
0x40 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  4 1 None
0x41 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  4 1 None
0x42 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  4 1 None
Jeste me napada nemel bych treba zrusit neco z nasledujicich balicku? Pripadne to treba forcnout?
11:06 :~(0)> dpkg --get-selections | grep xorg
+11:06 grep xorg
+11:06 dpkg --get-selections
libglu1-xorg-dev                                install
xserver-xorg                                    install
xserver-xorg-core                               install
xserver-xorg-input-all                          install
xserver-xorg-input-evdev                        install
xserver-xorg-input-kbd                          install
xserver-xorg-input-mouse                        install
xserver-xorg-input-synaptics                    install
xserver-xorg-input-wacom                        install
xserver-xorg-video-all                          install
xserver-xorg-video-apm                          install
xserver-xorg-video-ark                          install
xserver-xorg-video-ati                          install
xserver-xorg-video-chips                        install
xserver-xorg-video-cirrus                       install
xserver-xorg-video-cyrix                        install
xserver-xorg-video-dummy                        install
xserver-xorg-video-fbdev                        install
xserver-xorg-video-glint                        install
xserver-xorg-video-i128                         install
xserver-xorg-video-i740                         install
xserver-xorg-video-i810                         install
xserver-xorg-video-imstt                        install
xserver-xorg-video-mga                          install
xserver-xorg-video-neomagic                     install
xserver-xorg-video-newport                      install
xserver-xorg-video-nsc                          install
xserver-xorg-video-nv                           install
xserver-xorg-video-rendition                    install
xserver-xorg-video-s3                           install
xserver-xorg-video-s3virge                      install
xserver-xorg-video-savage                       install
xserver-xorg-video-siliconmotion                install
xserver-xorg-video-sis                          install
xserver-xorg-video-sisusb                       install
xserver-xorg-video-tdfx                         install
xserver-xorg-video-tga                          install
xserver-xorg-video-trident                      install
xserver-xorg-video-tseng                        install
xserver-xorg-video-v4l                          install
xserver-xorg-video-vesa                         install
xserver-xorg-video-vga                          install
xserver-xorg-video-via                          install
xserver-xorg-video-vmware                       install
xserver-xorg-video-voodoo                       install
11:06 :~(0)> dpkg --get-selections | grep xlib
+11:06 grep xlib
+11:06 dpkg --get-selections
xlibmesa-gl                                     install
xlibmesa-gl-dev                                 install
xlibmesa-glu                                    install
xlibosmesa4                                     deinstall
xlibs                                           deinstall
xlibs-data                                      install
xlibs-static-dev                                install
Nejaky napad?
29.4.2007 11:19 *
Rozbalit Rozbalit vše Re: xorg+fglrx(ATI) jak nakonfigurovat
Hmm. Cim to proboha je, kdyz to teda vypada, ze pouziva HW rendrovani ze je vykon 12x pomalejsi nez v ovladaci 8.32 nebo tak nejak na XFree86 4.1

Dela to to samy, ale 12x pomalejc. To prece neni normalni. To musi debug nejak blbe reportovat a ve skutecnosti je to SOFT GL, ne? Da se to lecit softwarove nebo si mam naklikat objednavku NVidie?
11:14 :~(0)> LIBGL_DEBUG=verbose glxgears
+11:14 LIBGL_DEBUG=verbose
+11:14 glxgears
libGL: XF86DRIGetClientDriverName: 8.36.5 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.36.5 fglrx (screen 0)
drmOpenByBusid: busid is PCI:5:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:5:0:0
Can't open configuration file /etc/drirc: No such file or directory.
Can't open configuration file /home/ledva/.drirc: No such file or directory.
29.4.2007 11:43 *
Rozbalit Rozbalit vše Re: xorg+fglrx(ATI) jak nakonfigurovat
Odpovědět | | Sbalit | Link | Blokovat | Admin
Hmm
11:29 :~(0)> fglrx_xgamma
+11:30 fglrx_xgamma
fglrx_xgamma: error while loading shared libraries: libfglrx_gamma.so.1: cannot open shared object file: No such file or directory

Tak pri upgrade se mi asi neupdatnul /etc/ld.so.conf nebo mozna ani nemel... Kazdopadne sem sem pridal: /usr/lib/xorg
+11:30 ls /usr/lib/xorg/ -l
total 838
-rw-r--r-- 1 root root      0 2007-04-14 21:37 FGL.renamed.libGL.so.1.2
-rw-r--r-- 1 root root   7274 2007-04-29 10:36 libfglrx_dm.a
-rw-r--r-- 1 root root  12235 2007-04-29 10:36 libfglrx_dm.so.1.0
-rw-r--r-- 1 root root   5050 2007-04-29 10:36 libfglrx_gamma.a
lrwxrwxrwx 1 root root     21 2007-04-14 21:37 libfglrx_gamma.so.1 -> libfglrx_gamma.so.1.0
-rw-r--r-- 1 root root  10224 2007-04-29 10:36 libfglrx_gamma.so.1.0
-rw-r--r-- 1 root root   3776 2007-04-29 10:36 libfglrx_pp.a
-rw-r--r-- 1 root root   9433 2007-04-29 10:36 libfglrx_pp.so.1.0
-rw-r--r-- 1 root root   4022 2007-04-29 10:36 libfglrx_tvout.a
lrwxrwxrwx 1 root root     21 2007-04-14 21:37 libfglrx_tvout.so.1 -> libfglrx_tvout.so.1.0
-rw-r--r-- 1 root root   6307 2007-04-29 10:36 libfglrx_tvout.so.1.0
lrwxrwxrwx 1 root root     26 2007-04-29 10:36 libGL.so -> /usr/lib/xorg/libGL.so.1.2
lrwxrwxrwx 1 root root     26 2007-04-29 10:36 libGL.so.1 -> /usr/lib/xorg/libGL.so.1.2
-rw-r--r-- 1 root root 783353 2007-04-29 10:36 libGL.so.1.2
drwxr-xr-x 8 root root   1024 2007-04-29 10:36 modules
Ze by i ty Xorg linkovaly za behu fglrx proti mese?
3.5.2007 13:16 Tomas
Rozbalit Rozbalit vše Re: xorg+fglrx(ATI) jak nakonfigurovat
Odpovědět | | Sbalit | Link | Blokovat | Admin

Problém bude tady:

(WW) fglrx: No matching Device section for instance (BusID PCI:5:0:1) found

Zkuste dodat Section Device z xorg.conf. Není tam náhodou řádek BusID "PCI:5:0:1" ?. Případně zkuste přidat výpis lspci -vv

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.