Автор Тема: Opengl radeon 7500  (Прочетена 4594 пъти)

ShwangShwing

  • Напреднали
  • *****
  • Публикации: 13
    • Профил
Opengl radeon 7500
« -: Mar 31, 2007, 14:19 »
С gentoo съм и не мога да накарам видео картата ми да върви с хардуерно ускорение. Ползвам драйвера radeon, защото драйвера на ати не е за мойта карта. Въпроса ми е възможно ли е да накарам хардуерното ускорение да тръгне, защото ми казаха, че щом ати не поддържа драйвери за тази видео карта за линукс няма как да стане.

/opt/ati/bin/fglrxinfo
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: http://www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
Активен

buboleck

  • Напреднали
  • *****
  • Публикации: 388
  • Distribution: Gentoo
  • Window Manager: Kde 4.x
  • ?
    • Профил
Opengl radeon 7500
« Отговор #1 -: Mar 31, 2007, 15:08 »
emerge x11-drm

В ядрото трябва да имаш AGP Support като модул и модул за чипсета. Редактраш /etc/X11/xorg.conf като слагаш radeon в Section "Device" / Driver "radeon ".

П.С. Това важи за радеони от 7000 до 9200 включително. Още информация тук.



Активен

Powered by Gentoo, AMD Athlon64 X2 5050e (Intel Pentium D 840 sucks) and 400W Fortron PSU
http://www.russian-motorcycles.com

ShwangShwing

  • Напреднали
  • *****
  • Публикации: 13
    • Профил
Opengl radeon 7500
« Отговор #2 -: Apr 01, 2007, 21:04 »
След много човъркане стигнах до следното положение:

grep Direct /var/log/Xorg.0.log
(II) RADEON(0): Direct rendering enabled

но...

glxinfo | grep direct
direct rendering: No

/opt/ati/bin/fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20060327 AGP 1x x86/MMX+/3DNow!+ TCL
OpenGL version string: 1.2 (1.3 Mesa 6.5.1)
Активен

ShwangShwing

  • Напреднали
  • *****
  • Публикации: 13
    • Профил
Opengl radeon 7500
« Отговор #3 -: Apr 01, 2007, 21:11 »
LIBGL_DEBUG=all glxinfo
name of display: :0.0
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: radeon_dri.so
display: :0  screen: 0
direct rendering: No
.....
Активен

buboleck

  • Напреднали
  • *****
  • Публикации: 388
  • Distribution: Gentoo
  • Window Manager: Kde 4.x
  • ?
    • Профил
Opengl radeon 7500
« Отговор #4 -: Apr 01, 2007, 21:35 »
Цитат
emerge -va x11-drm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-base/x11-drm-20060608  VIDEO_CARDS="nv -i810 -mach64 -mga -r128 -radeon -savage -sis (-sunffb) -tdfx -via" 559 kB


ПОгледни горе и си помисли дали не си изпуснал нещо '<img'>
Активен

Powered by Gentoo, AMD Athlon64 X2 5050e (Intel Pentium D 840 sucks) and 400W Fortron PSU
http://www.russian-motorcycles.com

ShwangShwing

  • Напреднали
  • *****
  • Публикации: 13
    • Профил
Opengl radeon 7500
« Отговор #5 -: Apr 01, 2007, 22:08 »
emerge-нах си го както трябва. Имам VIDEO_CARDS="radeon" в make.conf. В radeon_dri.so ли е проблема? Това някакъв драйвер ли е? Нали драйвера на видеокартата ми е radeon.  Нищо не разбирам  ':huh:' .
grep Direct /var/log/Xorg.0.log
(II) RADEON(0): Direct rendering enabled
Това тук не би ли трябвало да значи, че имам хардуерно ускорение?

glxinfo | grep direct
direct rendering: No

а това, че нямам... Разяснете малко моля. Както казах нищо не разбирам.
Активен

buboleck

  • Напреднали
  • *****
  • Публикации: 388
  • Distribution: Gentoo
  • Window Manager: Kde 4.x
  • ?
    • Профил
Opengl radeon 7500
« Отговор #6 -: Apr 01, 2007, 23:51 »
Цитат
lsmod
...
mach64                50720  2
drm                     68696  3 mach64
intel_agp              20188  1
agpgart                25136  2 drm,intel_agp
...

Така изглежда на машина с intel bx440 чипсет и видеокарта ATI Rage Mobility. Трябва да заредиш agpgart i xxx_agp (xxx чипсета ти)... Прочети линка който по-горе съм ти дал точно за твоя въпрос става дума. Описано е от началото до края, провери какво си пропуснал.

xorg.conf
...
Section "Device"
    Identifier  "Rage Mobility"
    Driver      "ati"
    Option      "AGPMode" "2"
    Option      "XAANoOffscreenPixmaps" "true"
    Option      "DRI"     "true"
    #VideoRam    8192
    # Insert Clocks lines here if appropriate
EndSection
....

AGPMode може да е и 4 зависи дали чипсета поддържа. Driver в твоя случай е не ati, a radeon.

Цитат
emerge -va xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-server-1.1.1-r4  USE="aiglx dri nptl xorg -3dfx -debug -dmx -ipv6 -kdrive -minimal -sdl -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="mach64 v4l vesa vga -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 -i740 -i810 (-impact) -imstt -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -via -vmware -voodoo" 0 kB


Май трябва да прекомпилираш и това. Най добре сложи
VIDEO_CARDS="radeon" е /etc/make.conf и emerge -uvaDN world



Активен

Powered by Gentoo, AMD Athlon64 X2 5050e (Intel Pentium D 840 sucks) and 400W Fortron PSU
http://www.russian-motorcycles.com

ShwangShwing

  • Напреднали
  • *****
  • Публикации: 13
    • Профил
Opengl radeon 7500
« Отговор #7 -: Apr 02, 2007, 23:35 »
Всичко съм направил по инструкциите. Компилирах си отново x11-drm i xorg-server с VIDEO_CARDS="radeon". Въпреки това не знам защо не тръгва... не мога да се сетя какво не правя правилно.

Сега ще се опитам да дам цялата информация, която би била полезна:

Цитат

shwangshwing@DURON700 ~ $ LIBGL_DEBUG=all glxinfo
name of display: :0.0
libGL error: dlopen $LIBGL_DRIVERS_PATH/radeon_dri.so failed ($LIBGL_DRIVERS_PATH/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to find driver: radeon_dri.so
libGL error: dlopen $LIBGL_DRIVERS_PATH/radeon_dri.so failed ($LIBGL_DRIVERS_PATH/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/xorg/modules/dri/radeon_dri.so failed (/usr/lib/xorg/modules/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to find driver: radeon_dri.so
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_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
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: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20060327 AGP 4x x86/MMX+/3DNow!
Активен

ShwangShwing

  • Напреднали
  • *****
  • Публикации: 13
    • Профил
Opengl radeon 7500
« Отговор #8 -: Apr 02, 2007, 23:41 »
Нещо не излезе целия лог
Ето уорнингите

Цитат

shwangshwing@DURON700 ~ $ grep "(EE)" /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

shwangshwing@DURON700 ~ $ grep "(WW)" /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
(WW) (1280x960,Samsung) mode clock 148.5MHz exceeds DDC maximum 140MHz
(WW) (1280x1024,Samsung) mode clock 157.5MHz exceeds DDC maximum 140MHz
(WW) (1600x1200,Samsung) mode clock 162MHz exceeds DDC maximum 140MHz
(WW) (1600x1200,Samsung) mode clock 175.5MHz exceeds DDC maximum 140MHz
(WW) (1600x1200,Samsung) mode clock 189MHz exceeds DDC maximum 140MHz
(WW) (1600x1200,Samsung) mode clock 202.5MHz exceeds DDC maximum 140MHz
(WW) (1600x1200,Samsung) mode clock 229.5MHz exceeds DDC maximum 140MHz
(WW) (1792x1344,Samsung) mode clock 204.8MHz exceeds DDC maximum 140MHz
(WW) (1792x1344,Samsung) mode clock 261MHz exceeds DDC maximum 140MHz
(WW) (1856x1392,Samsung) mode clock 218.3MHz exceeds DDC maximum 140MHz
(WW) (1856x1392,Samsung) mode clock 288MHz exceeds DDC maximum 140MHz
(WW) (1920x1440,Samsung) mode clock 234MHz exceeds DDC maximum 140MHz
(WW) (1920x1440,Samsung) mode clock 297MHz exceeds DDC maximum 140MHz
(WW) (1400x1050,Samsung) mode clock 155.8MHz exceeds DDC maximum 140MHz
(WW) (1920x1440,Samsung) mode clock 341.35MHz exceeds DDC maximum 140MHz
(WW) (2048x1536,Samsung) mode clock 266.95MHz exceeds DDC maximum 140MHz
(WW) (2048x1536,Samsung) mode clock 340.48MHz exceeds DDC maximum 140MHz
(WW) (2048x1536,Samsung) mode clock 388.04MHz exceeds DDC maximum 140MHz
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xd3ffd000 is: 0xd3ffd000
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xd87fd800
(WW) RADEON(0): Option "DRI" is not used
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32

Както и lsmod
Цитат

shwangshwing@DURON700 ~ $ lsmod
Module                  Size  Used by
snd_seq_oss            27840  0
snd_seq_midi_event      5888  1 snd_seq_oss
snd_seq                42896  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            36192  0
snd_mixer_oss          13952  1 snd_pcm_oss
snd_via82xx            21396  0
snd_ac97_codec         89568  1 snd_via82xx
snd_ac97_bus            1856  1 snd_ac97_codec
snd_pcm                58888  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              17348  2 snd_seq,snd_pcm
snd_page_alloc          7432  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6080  1 snd_via82xx
snd_rawmidi            18208  1 snd_mpu401_uart
snd_seq_device          6348  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    41828  11 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer

,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               5664  1 snd
radeon                114080  2
drm                    68248  3 radeon
usbcore               109828  1
ntfs                  213908  1
vfat                   10112  1
fat                    43612  1 vfat
via_agp                 7744  1
agpgart                25136  2 drm,via_agp
pcspkr                  2240  0
psmouse                33992  0
8139too                21632  0

Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
ATI RADEON 7500
Хардуерни и софтуерни проблеми
x11r6 0 2469 Последна публикация Oct 29, 2003, 22:46
от x11r6
RADEON 7500
Настройка на хардуер
lkm 0 2785 Последна публикация Mar 08, 2004, 12:05
от lkm
ATI 7500 PRO erros
Настройка на хардуер
Ironman 0 2329 Последна публикация Sep 03, 2004, 12:14
от Ironman
OpenGL с Ati Radeon 9550
Настройка на хардуер
bld 1 3476 Последна публикация May 24, 2005, 19:25
от bld
Latitude c640 и radeon mobility 7500
Настройка на хардуер
nov_chovek 1 3463 Последна публикация Apr 05, 2007, 16:17
от nov_chovek