[TiLUG] ATI mobility radeon 9700 - fglrx.. aiutatemi vi prego non ne posso più!

Daniele Mastro daniele.bilug@gmail.com
Mer 2 Ago 2006 02:43:22 CEST


Allora

ho un notebook Asus A4K

AMD 64 - 2 GB di ram
scheda come da oggetto

Kernel configurato a manina versione 2.6.15.. se volete il .config ve
lo mando altrimenti ve lo evito.. ma "credo" li dentro non ci siano
problemi..

comunque.. giusto per farne un riassunto... ho compilato come moduli
AGPGart e AGP Amd 64, Modulo tutto ciò che riguarda la scheda video in
modo da poterlo rimuovere...

sto usando Debian Testing versione 32bit con Gnome e XOrg 7.0

ho installato fglrx con l'opzione per creare i pacchetti debian...
quindi ho installato tutti i pacchetti debian con dpkg -i senza
ottenere alcun errore..

dopodiche ho dato un bel module-assinstance a-i fglrx
nessun errore..

niente accellerazione 3D:

lspci dice questo della mia scheda:
01:00.0 VGA compatible controller: ATI Technologies Inc RV350
[Mobility Radeon 9600 M10]

in realtà è la 9700 con chip di accellerazione M11

ecco a voi tutti i dati che suppongo possano servirvi....

c'è ne un bel po.. datemi una mano! sto sclerando e per la mia tesi
devo usare openGL!!!! fra poco mi vedrò costretto a farla su
winzozz...

lsmod
____________

Module                  Size  Used by
ppp_deflate             5888  0
zlib_deflate           20376  1 ppp_deflate
bsd_comp                5632  0
ppp_async              10240  1
ppp_generic            23444  7 ppp_deflate,bsd_comp,ppp_async
slhc                    6528  1 ppp_generic
ipv6                  222592  30
nls_utf8                2176  1
ntfs                  188176  1
fglrx                 386220  0
sr_mod                 15140  0
sbp2                   21124  0
scsi_mod               89320  2 sr_mod,sbp2
ide_cd                 36612  0
cdrom                  33952  2 sr_mod,ide_cd
usbhid                 32736  0
irtty_sir               7936  0
sk98lin               142688  0
sir_dev                17324  1 irtty_sir
pcmcia                 35348  0
i2c_nforce2             6400  0
hsfmc97ich             67600  2
hsfserial              22788  4 hsfmc97ich
hsfengine            1316628  2 hsfmc97ich,hsfserial
hsfosspec              98536  6 hsfmc97ich,hsfserial,hsfengine
ohci_hcd               18052  0
ehci_hcd               29064  0
amd74xx                12956  0 [permanent]
amd64_agp              11460  1
agpgart                31816  2 fglrx,amd64_agp
usbcore               112388  5 usbhid,hsfosspec,ohci_hcd,ehci_hcd
hsfsoar                85512  1 hsfmc97ich
irda                  165820  2 irtty_sir,sir_dev
rtc                    11572  0
crc_ccitt               2176  2 ppp_async,irda
yenta_socket           25356  1
rsrc_nonstatic         11136  1 yenta_socket
pcmcia_core            38032  3 pcmcia,yenta_socket,rsrc_nonstatic
ohci1394               30516  0
ieee1394               87604  2 sbp2,ohci1394
parport_pc             32068  0
parport                32200  1 parport_pc
joydev                  9024  0
evdev                   9088  1
____________

__________

daniele@mastro:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)
__________

e glxinfo

__________

name of display: :0.0
display: :0  screen: 0
direct rendering: No  <--------- come potete vedere non è attiva...
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_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_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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)
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

__________

ecco cosa dice dmesg... (ultime parti)

___________

Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: AGP aperture is 128M @ 0xf0000000

[..cut..]

[fglrx] Maximum main memory to use for locked dma buffers: 1899 MBytes.
[fglrx] module loaded - fglrx 8.26.18 [Jun 22 2006] on minor 0

[..cut..]

mtrr: no more MTRRs available
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-28)
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState   = 0x1f00421b (hardware caps of chipset)
mtrr: no more MTRRs available
[fglrx:firegl_unlock] *ERROR* Process 4167 using kernel context 0
___________

come potete dere problemi con l'mtrr che non so come gestire..
e per qualche motivo il supporto AGP del kernel è attivo..

è compilato come modulo.. come dicono di fare alcune guide che ho
trovato in giro per installare fglrx...

comunque..

a voi /proc/mtrr

_________

reg00: base=0x00000000 (   0MB), size=  16MB: write-back, count=1
reg01: base=0x01000000 (  16MB), size=  16MB: write-back, count=1
reg02: base=0x02000000 (  32MB), size=  32MB: write-back, count=1
reg03: base=0x04000000 (  64MB), size=  64MB: write-back, count=1
reg04: base=0x08000000 ( 128MB), size= 128MB: write-back, count=1
reg05: base=0x10000000 ( 256MB), size= 256MB: write-back, count=1
reg06: base=0x20000000 ( 512MB), size= 512MB: write-back, count=1
reg07: base=0x40000000 (1024MB), size=1024MB: write-back, count=1
_________

ed eccovi anche tutto xorg.conf

__________

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/CID"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "it"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection
Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier                      "Scheda Video ATI"
        # cambio il driver usato
        Driver                          "fglrx"
        Option "no_accel"               "no"
        Option "no_dri"                 "no"
        Option "mtrr"                   "off" # disable DRI mtrr mapper
        Option "DesktopSetup"           "0x00000100"
        Option "MonitorLayout"          "AUTO, AUTO"
        Option "IgnoreEDID"             "off"
        Option "HSync2"                 "31.5 - 80.5"
        Option "VRefresh2"              "60 - 80"
        Option "ScreenOverlap"          "0"
        Option "NoTV"                   "yes"
        Option "GammaCorrectionI"       "0x06419064"
        Option "GammaCorrectionII"      "0x00000000"
        Option "Capabilities"           "0x00000000"
        Option "VideoOverlay"           "on"
        Option "OpenGLOverlay"          "off"
        Option "CenterMode"             "off"
        Option "PseudoColorVisuals"     "off"
        Option "Stereo"                 "off"
        Option "StereoSyncEnable"       "1"
        Option "FSAAEnable"             "no"
        Option "FSAAScale"              "1"
        Option "FSAADisableGamma"       "no"
        Option "FSAACustomizeMSPos"     "no"
        Option "FSAAMSPosX0"            "0.000000"
        Option "FSAAMSPosY0"            "0.000000"
        Option "FSAAMSPosX1"            "0.000000"
        Option "FSAAMSPosY1"            "0.000000"
        Option "FSAAMSPosX2"            "0.000000"
        Option "FSAAMSPosY2"            "0.000000"
        Option "FSAAMSPosX3"            "0.000000"
        Option "FSAAMSPosY3"            "0.000000"
        Option "FSAAMSPosX4"            "0.000000"
        Option "FSAAMSPosY5"            "0.000000"
        Option "FSAAMSPosX5"            "0.000000"
        Option "FSAAMSPosY5"            "0.000000"
        Option "UseFastTLS"             "0"
        Option "BlockSignalsOnLock"     "on"
        Option "UseInternalAGPGART"     "yes"
        Option "ForceGenericCPU"        "no"
        BusID   "PCI:1:0:0"
        Screen 0
EndSection

Section "Monitor"
        Identifier      "DXS:1313"
        HorizSync       28-49
        VertRefresh     43-72
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Scheda Video ATI"
        Monitor         "DXS:1313"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x800" "1024x768" "800x600" "640x480"
                ViewPort        0 0     # initial origin if mode is
smaller than desktop
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Generic Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection
__________


questo portatile mi sta facendo tribulare di brutto (ho iniziato a
smanettare con linux da poco e non mi sta rendendo la vita facile)..

tanto x dirne qualcuna..
modem conexant (driver a pagamento) sono riuscito a farlo funzionare ieri
scheda wireless che dovrebbe funzionare con il driver z12qualcosa ma
che non sono ancora riuscito a far funzionare
non ho trovato molto per come settare gli hotkey... anche se ho visto
che con il live CD di ubuntu qualcuno me lo imposta in automatico...

grazie mille a chiunque si prenderà la briga di darmi una mano

--

ciao,
Daniele


Maggiori informazioni sulla lista Tilug