Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI che non va [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
gnu-statix
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 84
Location: Switzerland, Lugano

PostPosted: Wed Jan 21, 2004 10:19 pm    Post subject: ATI che non va [Risolto] Reply with quote

Ciao

oggi ho comperato una nuova scheda video (ATI RADEON 9200SE) siccome quella vecchia (MATROX G400) ha un po' di problemi :(

Uso kernel 2.6.1-gentoo-r1

Ho seguito l'howto che ho trovato nel sito di gentoo.it, ma proprio non perché non funziona.

Code:

comando lspci:

01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5964 (rev 01)
01:00.1 Display controller: ATI Technologies Inc: Unknown device 5d44 (rev 01)


è normale quel Unknown device?

altra cosa, quando lancio il comando xf86cfg -textmode prima di avviarsi passa un casino di moduli e quando arriva al modulo fglrx_drv.o si blocca devo terminare con ^C

Code:

Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
Module fglrx: vendor="Fire GL - ATI Research GmbH, Germany"
        compiled for 4.3.0, module version = 3.2.8


devo cancellare il pacchetto ati-drivers per farlo funzionare

altra cosa, ho provato a lanciare X -configure e questo è il risultato, (taglio alcuni pezzi per rendere la videata più leggera):
Code:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.1-gentoo-r1 i686 [ELF]
Build Date: 21 January 2004
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jan 21 22:52:01 2004
Using vt 7
List of video drivers:
        fglrx
        radeon
        atimisc
        r128
        mga
        glint
        nv
        tga
        s3
        s3virge
        sis
        rendition
        neomagic
        i740
        tdfx
        savage
        cirrus
        vmware
        tseng
        trident
        chips
        apm
        fbdev
        i128
        nsc
        ati
        i810
        ark
        cyrix
        siliconmotion
        vesa
        vga
        dummy
        v4l
Symbol XAAPixmapIndex from module /usr/X11R6/lib/modules/drivers/apm_drv.o is unresolved!
[...]
Symbol XvErrorBase from module /usr/X11R6/lib/modules/drivers/apm_drv.o is unresolved!
Symbol drmGetClient from module /usr/X11R6/lib/modules/drivers/radeon_drv.o is unresolved!

[...]
Symbol firegl_PM4Alloc from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
Symbol fbWinPrivateIndex from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
Symbol fbWi
[...]
Symbol XAAPatternROP_PM from module /usr/X11R6/lib/modules/drivers/nsc_drv.o is unresolved!
Symbol XAAPatternROP_PM from module /usr/X11R6/lib/modules/drivers/nsc_drv.o is unresolved!
 
   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.
 
Fatal server error:
Caught signal 11.  Server aborting
 
 
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.


Ho cercato nel forum... ma non so come risolvere

grazie
_________________
"Se in un primo momento l'idea non è assurda,
allora non c'è nessuna speranza che si realizzi." - Albert Einstein
Back to top
View user's profile Send private message
anborn
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 185
Location: Somewhere over the rainbow

PostPosted: Thu Jan 22, 2004 2:46 am    Post subject: Reply with quote

Hai compilato built-in nel kernel:

agpgart
drm support
..e il supporto radeon che vedi qualche riga sotto al drm?

se sì.. prova ad emergere Xfree 4.3.99.902.ebuild e a compilarlo con USE = "-debug"

Poi facci sapere

Anb
Back to top
View user's profile Send private message
gnu-statix
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 84
Location: Switzerland, Lugano

PostPosted: Thu Jan 22, 2004 8:31 am    Post subject: Reply with quote

anborn wrote:
Hai compilato built-in nel kernel:

agpgart
drm support
..e il supporto radeon che vedi qualche riga sotto al drm?


Ciao

mentre aspetto che ricompila xfree posto la configurazione del kernel:

Code:

Character devices  --->
   [*] Unix98 PTY support
   <*> Enhanced Real Time Clock Support
   <*> /dev/agpgart (AGP Support)
   <*>   SiS chipset support
   [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
   <*>   ATI Radeon

Graphics support  --->
   [*] Support for frame buffer devices
   [*]   VESA VGA graphics support
   <*>   ATI Radeon display support


E uso i drivers:
media-video/ati-drivers-3.2.8
_________________
"Se in un primo momento l'idea non è assurda,
allora non c'è nessuna speranza che si realizzi." - Albert Einstein
Back to top
View user's profile Send private message
gnu-statix
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 84
Location: Switzerland, Lugano

PostPosted: Thu Jan 22, 2004 10:25 am    Post subject: Reply with quote

xfree ricompilato, ma il problema persiste

uhm... provo a postare un po' di info

Code:

# glrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 Mesa 5.0.2
-------------------------------------------------------------------------------------
# fgl_glxgears
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  31
  Current serial number in output stream:  31
-------------------------------------------------------------------------------------
# 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_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_SGI_make_current_read
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
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 Mesa 5.0.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



L'XF86Config è stato generato con il tools della ati fglrxconfig.

Code:

# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath     "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option "Protocol"   "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option "Xleds"      "1 2 3"

#    Option "LeftAlt"    "Meta"
#    Option "RightAlt"   "ModeShift"

    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "fr_CH"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/mouse"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"   "9600"
#    Option "SampleRate" "150"


# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 - 80.5
    VertRefresh 60 - 85
    Option "DPMS"

# === mode lines based on GTF ===
# VGA @ 100Hz
# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# 1152x864 @ 60Hz
# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync
# 1152x864 @ 85Hz
# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
# 1152x864 @ 100Hz
# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
# 1280x960 @ 75Hz
# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
# 1280x960 @ 100Hz
# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017  +hsync +vsync
# SXGA @ 100Hz
# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
# Modeline "GDM-1950"  109.62  1280 1336 1472 1720  1024 1024 1026 1062 -hsync -vsync
# 1600x1000 @ 60Hz
# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
# 1600x1000 @ 75Hz
# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync
# 1600x1000 @ 85Hz
# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync
# 1600x1000 @ 100Hz
# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync
# 1600x1024 @ 60Hz
# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
# 1600x1024 @ 75Hz
# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync
# 1600x1024 @ 76Hz
# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync
# 1600x1024 @ 85Hz
# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync
# 1920x1080 @ 60Hz
# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
# 1920x1080 @ 75Hz
# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync
# 1920x1200 @ 60Hz
# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 1400x1050 @ 60Hz M9 Laptop mode
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync
# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

##Section "Device"
##    Identifier  "Standard VGA"
##    VendorName  "Unknown"
##    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset     "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

##    Driver      "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# installed.

#    BusID       "PCI:0:10:0"

#    VideoRam    256

#    Clocks      25.2 28.3

##EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === FireGL DDX driver module specific settings ===
# === Screen Management ===
    Option "DesktopSetup"               "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                       "yes"
    Option "TVStandard"                 "NTSC-M"
    Option "TVHSizeAdj"                 "0"
    Option "TVVSizeAdj"                 "0"
    Option "TVHPosAdj"                  "0"
    Option "TVVPosAdj"                  "0"
    Option "TVHStartAdj"                "0"
    Option "TVColorAdj"                 "0"
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    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 "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=5964
    Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Server Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.

    Screen "Screen0"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###



Qualche suggerimento?

Grazie
_________________
"Se in un primo momento l'idea non è assurda,
allora non c'è nessuna speranza che si realizzi." - Albert Einstein
Back to top
View user's profile Send private message
giacomo_0974
n00b
n00b


Joined: 12 Jan 2004
Posts: 68
Location: Treviso

PostPosted: Thu Jan 22, 2004 10:54 am    Post subject: Reply with quote

Ho un portatile con la ATI radeon 9200 M 64MB.

Io il kernel l'ho compilato senza il supporto per il frame -buffer specifico per la radeon ho messo solo il VESA generic.

Poi ho seguito la guida di Yoshi :

http://www.gentoo.it/tips/ATI-Driver.html

Se puo' esserti di aiuto?!
Back to top
View user's profile Send private message
anborn
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 185
Location: Somewhere over the rainbow

PostPosted: Thu Jan 22, 2004 1:12 pm    Post subject: Reply with quote

giacomo_0974 wrote:
Io il kernel l'ho compilato senza il supporto per il frame -buffer specifico per la radeon ho messo solo il VESA generic.


Sì, anch'io, anche se la mia Radeon é una Mobility 7500, ho dovuto usare SOLO il fb vesa e non quello specifico radeon, altrimenti lo schermo diventava nero subito dopo il menù del lilo.

Ma non penso che sia questo il problema.. a quanto ho capito Gnu-statix ha problemi con X.. non con il framebuffer..

La guida di Yoshi é senza dubbio un'ottima possibilità.

Il tool fglrxconfig.. ha riconosciuto la tua scheda? Se no.. prova ad aggiungere
Code:
VIDEO_CARDS="radeon"
a /etc/make.conf e a vedere con
Code:
emerge -vp ati-drivers
se cambia qualche flag di compilazione.

Anb
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Thu Jan 22, 2004 6:07 pm    Post subject: Reply with quote

ciao... non vorrei dire una siocchezza ma mi sa che i driver DRI, che penso siano quelli che hai selezionato nel kernel, mi sa che non c'entrano niente con quelli che installi quando fai emerge ati-drivers. I primi sono open-source mentre gli altri sono proprietari ATI. Io ho una radeon 9600... per farla funzionare con Xfree mi ci sono voluti due giorni di tentativi... alla fine ci sono riuscito installando i driver proprietari ATI (emerge ati-drivers) ed usando lo script di configurazione fglrxconfig. Anche a me dà unknown device usando lspci.... però sembra che funzioni tutto bene. Spero di non aver detto cavolate.. prendile col beneficio del dubbio
Back to top
View user's profile Send private message
gnu-statix
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 84
Location: Switzerland, Lugano

PostPosted: Thu Jan 22, 2004 6:24 pm    Post subject: Reply with quote

Ciao

Ho risolto il problema... quasi a scapito della pausa di mezzogiorno!

yuza wrote:
ciao... non vorrei dire una siocchezza ma mi sa che i driver DRI, che penso siano quelli che hai selezionato nel kernel, mi sa che non c'entrano niente con quelli che installi quando fai emerge ati-drivers. I primi sono open-source mentre gli altri sono proprietari ATI.


Si, hai ragione. Difatti ho eliminato tutte ciò che appartiene a ati dal mio pc eccetto la scheda :)
Sono andato solo di kernel e di xfree! Funziona, bene.

yuza wrote:

Io ho una radeon 9600... per farla funzionare con Xfree mi ci sono voluti due giorni di tentativi...


Anch'io, mi sono ammazzato! Non avevo ben individuato la differenza, pensavo fossero due complementari.

Ci sono arrivato... alla fine :)


Code:

Guida gentoo [Guida all'accelerazione hardware 3d]:
[...]
In molti casi, i drivers esistono sia precompilati che opensource. I drivers opensource son preferibili, perchè stiamo usando Linux e l'opensource è uno dei suoi principi chiave.
[...]


Ciao ragazzi, e grazie
_________________
"Se in un primo momento l'idea non è assurda,
allora non c'è nessuna speranza che si realizzi." - Albert Einstein
Back to top
View user's profile Send private message
-YoShi-
l33t
l33t


Joined: 26 Nov 2003
Posts: 684
Location: Besana Brianza - ItaLy -

PostPosted: Thu Jan 22, 2004 6:28 pm    Post subject: Reply with quote

Ciao,

Per configurare la tua ATi, come ha detto Yuza hai due metodi:
Usare il DRM (del kernel se usi il 2.6 perchè "xfree-drm" non funziona ancora con questa versione) oppure usare i driver di ATi.

Per esperienza personale ti consiglio i secondi. Molto più performanti rispetto al DRM.

Se vuoi usare i driver-ati devi cominciare a togliere DRI support nel kernel

gnu-statix wrote:

Code:

Character devices  --->
   [*] Unix98 PTY support
   <*> Enhanced Real Time Clock Support
   <*> /dev/agpgart (AGP Support)
   <*>   SiS chipset support
   [ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)         <- NIENTE
   < >   ATI Radeon                                                         <- NIENTE

# Non ho ancora provato, quindi non ti so dire se il FB funziona anche con Radeon o ATI, io uso il VESA.

Graphics support  --->
   [*] Support for frame buffer devices
   [*]   VESA VGA graphics support
   <*>   ATI Radeon display support             


E uso i drivers:
media-video/ati-drivers-3.2.8


Devi anzitutto skipppare le opengl su xfree, in modo che non dia problemi ai driver ati quando poi li vai a compilare.

Code:

# opengl-update xfree


Al posto dei 3.2.8 ti consiglio i 3.7, danno un 10/20 FPS in più e sono più stabili dei precedenti.
Code:

# emerge /usr/portage/media-video/ati-drivers/ati-drivers-3.7.0.ebuild


Ti posto il mio XF86Config-4 in modo che ti possa basare su questo per la conf.

Code:


# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection

Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
.....

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

....

# === ATI device section ===

Section "Device"

    Identifier                          "ATI Graphics Adapter"
    VendorName                          "ATI"
    BoardName                           "ATI Radeon 9200 SE"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Own Settings (CTh) ===
#       VideoRam        65536
    Option          "AGPMode"               "4"
    Option          "AGPFastWrite"          "True"
    Option          "EnablePageFlip"        "True"

# === Screen Management ===
    Option "DesktopSetup"               "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                       "yes"     
    Option "TVStandard"                 "NTSC-M"     
    Option "TVHSizeAdj"                 "0"
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x06419064"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    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 "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "2"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=5961
    Screen 0
EndSection


P.S. Se vuoi ti puoi ti puoi basare sulla guida di gentoo.it (ma non l'ho ancora aggiornata
:oops:, ma se fai una ricerchina veloce trovi su questo forum l'HOWTO originale che è più aggiornato :D

Ciao
_________________
Io lo vedo tutti i giorni, un Re per vederlo deve uscire dal suo regno, e il Papa lo vede quando si spoglia. Chi è?
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Thu Jan 22, 2004 6:48 pm    Post subject: Reply with quote

già che siamo in tema ho anche io una domandina... sto ricompilando il kernel perchè voglio usare il franebuffer e mettere una bella splash image 8) ... solo che non riesco a farlo funzionare!!
Allora prima di tutto devo selezionare il driver per la radeon nel kernel oppure no? (come già detto sull'altro kernel utilizzo i driver proprietari..) Pensavo di si perchè altrimenti come fa a caricare i driver ati prima ancora del boot? Io ce li ho messi però a questo punto ho un problema con grub:
se uso questa opzione:
Code:

vga=795 (o qualsiasi altro numero)

quando avvio il computer si vede solamente il quadrante inferiore destro dello schermo ingigantito
se uso quest'altra:
Code:

video=radeonfb:1024x768@85

non mi pare che funzioni molto bene perchè, provando ad alzare la risoluzione, si vede sempre nello stesso modo.... che fra l'altro secondo me non è assolutamente 1024x768, sarà sì e no 800x600. Prima di iniziare la configurazione della splash image vorrei riuscire a far funzionare bene questo cavolo di framebuffer... qualche idea?
Grazie in anticipo
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Thu Jan 22, 2004 10:00 pm    Post subject: Reply with quote

qualche idea??
Back to top
View user's profile Send private message
gnu-statix
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 84
Location: Switzerland, Lugano

PostPosted: Thu Jan 22, 2004 10:04 pm    Post subject: Reply with quote

yuza wrote:
qualche idea??


http://www.gentoo.it/tips/kernel-2.6.0.html

Guarda questo link, penso che anche se non usi il 2.6 la faccenda è simile.

Una cosa, io uso il driver vesa

ciao[/code]
_________________
"Se in un primo momento l'idea non è assurda,
allora non c'è nessuna speranza che si realizzi." - Albert Einstein
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Thu Jan 22, 2004 10:11 pm    Post subject: Reply with quote

Quote:
Una cosa, io uso il driver vesa


Quindi mi consigli di non usare il driver radeonfb?? adesso farò un tentativo....
Un'altra cosa, io normalmente uso i driver proprietari ati con Xfree.... il fatto di aver compilato il kernel con i driver DRM per la radeon mi causerà dei problemi??

Grazie in aniticipo....
Back to top
View user's profile Send private message
-YoShi-
l33t
l33t


Joined: 26 Nov 2003
Posts: 684
Location: Besana Brianza - ItaLy -

PostPosted: Thu Jan 22, 2004 10:15 pm    Post subject: Reply with quote

yuza wrote:
già che siamo in tema ho anche io una domandina... sto ricompilando il kernel perchè voglio usare il franebuffer e mettere una bella splash image 8) ... solo che non riesco a farlo funzionare!!


Sinceramente non saprei, ma ci sono 3 o 4 3d che ne parlano, prova a fare una piccola ricerchina :)

yuza wrote:
Allora prima di tutto devo selezionare il driver per la radeon nel kernel oppure no? (come già detto sull'altro kernel utilizzo i driver proprietari..) Pensavo di si perchè altrimenti come fa a caricare i driver ati prima ancora del boot? Io ce li ho messi però a questo punto ho un problema con grub:


No nel kernel devi solo selezionare VESA, o ATi (come vuoi), che sono quelli per il frame buffer
Code:

Graphics support  --->
   [*] Support for frame buffer devices
   [*]   VESA VGA graphics support
   <*>   ATI Radeon display support             


Questa parte invece ti serve solo per il sistema grafico. Quindi lasciala com'è.

Code:

Character devices  --->
   [*] Unix98 PTY support
   <*> Enhanced Real Time Clock Support
   <*> /dev/agpgart (AGP Support)
   <*>   SiS chipset support
   [ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)         <- NIENTE
   < >   ATI Radeon                                                         <- NIENTE


yuza wrote:

se uso questa opzione:
Code:

vga=795 (o qualsiasi altro numero)

quando avvio il computer si vede solamente il quadrante inferiore destro dello schermo ingigantito
se uso quest'altra:
Code:

video=radeonfb:1024x768@85

non mi pare che funzioni molto bene perchè, provando ad alzare la risoluzione, si vede sempre nello stesso modo.... che fra l'altro secondo me non è assolutamente 1024x768, sarà sì e no 800x600. Prima di iniziare la configurazione della splash image vorrei riuscire a far funzionare bene questo cavolo di framebuffer... qualche idea?
Grazie in anticipo


Probabilmente avrai fatto qualche casino nel kernel :) prova a ricompilare solo col supporto al Frame Buffer e i driver VESA, poi in lilo/grub metti vga=795, così dovrebbe funzionare :)

Ciao
_________________
Io lo vedo tutti i giorni, un Re per vederlo deve uscire dal suo regno, e il Papa lo vede quando si spoglia. Chi è?
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Thu Jan 22, 2004 10:18 pm    Post subject: Reply with quote

ti ringrazio ora proverò a fare tutte queste cose.... la ricerchina l'avevo fatta ma dei vari topic che parlano della radeon mi è sembrato che nessuno facesse al caso mio!

Grazie ancora...! :D
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Thu Jan 22, 2004 10:46 pm    Post subject: Reply with quote

Wov il mio framebuffer funziona!!!! E' da oggi pomeriggio alle 3 che mi scervello sul mio computer di casa e su un toshiba satellite (un po' vecchiotto) co 'sto framebuffer e alla fine sembra che ci sia riuscito!! Adesso mi metterò al lavoro sulla splash image...
Un'ultima domandina (tanto per cambiare).... ho notato che con il nuovo kernel che ho compilato (2.4.22 prima avevo il .20) alsa e i driver ati non funzionano.... bisogna riemergerli dopo aver cambiato il kernel?? e se sì, poi ovviamente non funzioneranno con quello più vecchio vero?

Grazie a tutti!
Back to top
View user's profile Send private message
-YoShi-
l33t
l33t


Joined: 26 Nov 2003
Posts: 684
Location: Besana Brianza - ItaLy -

PostPosted: Fri Jan 23, 2004 6:44 pm    Post subject: Reply with quote

yuza wrote:
Wov il mio framebuffer funziona!!!! E' da oggi pomeriggio alle 3 che mi scervello sul mio computer di casa e su un toshiba satellite (un po' vecchiotto) co 'sto framebuffer e alla fine sembra che ci sia riuscito!! Adesso mi metterò al lavoro sulla splash image...


Eheh sono contento per te :) e buon lavoro per la splash ;)

yuza wrote:

Un'ultima domandina (tanto per cambiare).... ho notato che con il nuovo kernel che ho compilato (2.4.22 prima avevo il .20) alsa e i driver ati non funzionano.... bisogna riemergerli dopo aver cambiato il kernel?? e se sì, poi ovviamente non funzioneranno con quello più vecchio vero?

Grazie a tutti!

Si con la serie 2.4 del kernel ad ogni compilazione del kernel devi ricompilare i driver del suono e video. Purtroppo non ti so dire se con il vecchio non funzioneranno più, non ho mai provato :oops: eheh

P.S. Prima di re-emergere i driver ati ricordarti di skippare le open-gl a xfree
Code:

# opengl-update xfree
# emerge ati-drivers
# opengl-update ati


Ciao
_________________
Io lo vedo tutti i giorni, un Re per vederlo deve uscire dal suo regno, e il Papa lo vede quando si spoglia. Chi è?
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Fri Jan 23, 2004 9:17 pm    Post subject: Reply with quote

Quote:
Prima di re-emergere i driver ati ricordarti di skippare le open-gl a xfree


Scusa l'ignoranza ma questa cosa che mi dici mi risulta completamente nuova... 8O
Cosa vuol dire?? :oops:
Back to top
View user's profile Send private message
-YoShi-
l33t
l33t


Joined: 26 Nov 2003
Posts: 684
Location: Besana Brianza - ItaLy -

PostPosted: Fri Jan 23, 2004 10:25 pm    Post subject: Reply with quote

yuza wrote:
Quote:
Prima di re-emergere i driver ati ricordarti di skippare le open-gl a xfree


Scusa l'ignoranza ma questa cosa che mi dici mi risulta completamente nuova... 8O
Cosa vuol dire?? :oops:


Code:

# opengl-update xfree
# emerge ati-drivers
# opengl-update ati


Praticamente devi portare il sistema grafico (libGL.so) a funzionare momentaneamente con i driver xfree. Una volta riemerso i driver ati devi far ritornare libGL ad usare i driver giusti (ATI)

Se non lo fai tutte le volte che compili i driver, (per mia esperienza..) poi potresti avere dei problemi che vanno dalla compilazione, a errori con MTRR (lo vedi con "dmesg" ), Direct Rendering disattivato, ecc...

Ciao
_________________
Io lo vedo tutti i giorni, un Re per vederlo deve uscire dal suo regno, e il Papa lo vede quando si spoglia. Chi è?
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Fri Jan 23, 2004 10:44 pm    Post subject: Reply with quote

Grazie mille sei stato gentilissimo!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum