Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg + Ati + DRI: non ne vuol sapere..
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
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Wed Feb 01, 2006 6:51 pm    Post subject: Xorg + Ati + DRI: non ne vuol sapere.. Reply with quote

buonasera a tutti,

possiedo un portatile con scheda Ati integrata, modello IGP340M (l'equivalente della 7500), e sto cercando di attivare il DRI in Xorg.

Andiamo per gradi..

Ho ricompilato Xorg con la flag INSECURE-DRIVERS.
Ho compilato il kernel senza supporto dri.
Ho emerso x11-drm.
Ho modificato Xorg mettendo come driver "radeon", caricando i moduli "glx" e "dri", e aggiunto:
Code:
 Section "DRI"
    Mode 0666
 EndSection


Credo che sia tutto..

Dunque, dopo qualche tentativo (sbagliavo a scrivere correttamente l'xorg.conf), riesco finalmente ad entrare in X. Avviando però glxinfo ottengo, con somma disperazione:
Code:
$ glxinfo
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

   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
----------------------------------------------------------------------
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x21 24 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x22 24 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None


Quindi ho di certo qualche problemino con DRI..

Nel /var/log/Xorg.0.log le righe "sospette" sono:
Code:
cat /var/log/Xorg.0.log | grep EE
Current Operating System: Linux Urumi 2.6.14-gentoo-r2 #20 PREEMPT Wed Feb 1 13:12:17 CET 2006 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load /usr/lib/modules/extensions/libGLcore.so
(EE) Failed to load module "glx" (a required submodule could not be loaded, 7)


Io (profondo niubbo :oops: ) ho provato a dare un "equery belongs libGLcore.so", ma non mi trova nessun pacchetto (strano, vero?)..

Non credo che anche attivando il DRI possa avere chissà quali prestazioni, però volevo cercare di attivarlo lo stesso.. potete aiutarmi voi?


Buona serata a tutti
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Wed Feb 01, 2006 9:06 pm    Post subject: Reply with quote

equery u xorg-x11 wrote:
+ + opengl : Adds support for OpenGL

Hai impostato questa USE?
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
Nuitari
Apprentice
Apprentice


Joined: 15 May 2005
Posts: 245

PostPosted: Wed Feb 01, 2006 10:27 pm    Post subject: Reply with quote

Io ho la ati igp 345M (modello dopo la tua). Non ho una gran accelerazione 3d, ma le mie impostazioni sono:
Configurazione dello xorg.conf:
http://www.rafb.net/paste/results/Vei10784.html
Pacchetti ati-drivers e x11-drm non installati
Parte del kernel sui driver video:


Code:

# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
CONFIG_AGP_ALI=y
CONFIG_AGP_ATI=y
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=y
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=y
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set



prestazioni di glxgears:

2354 frames in 5.0 seconds = 470.800 FPS
2597 frames in 5.0 seconds = 519.400 FPS
2547 frames in 5.0 seconds = 509.400 FPS
2402 frames in 5.0 seconds = 480.400 FPS
Broken pipe

lo so fan un po schifo....io sinceramnete dopo un po mi son arreso la scheda 3d va meglio in windows :( . Se sto thread servira' a dare nuove soluzioni son ben contento :)
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Thu Feb 02, 2006 10:45 am    Post subject: Reply with quote

Onip wrote:
equery u xorg-x11 wrote:
+ + opengl : Adds support for OpenGL

Hai impostato questa USE?


sì, questa USE è correttamente impostata.

grazie lo stesso
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Thu Feb 02, 2006 12:39 pm    Post subject: Reply with quote

ho provato anche la configurazione utilizzata da Nuitari (senza x11-drm e supporto dri implementato nel kernel), ma SEMPRE trovo nel log di Xorg:

Code:
(EE) Failed to load /usr/lib/modules/extensions/libGLcore.so
(EE) Failed to load module "glx" (a required submodule could not be loaded, 7)



a sto punto.. chiedo a voi oh sommi maestri, come faccio a sistemare questo simpaticissimo libGLcore.so? cosa posso emergere?


aggiungo: anche eseguendo "opengl-update xorg-x11" permane quell'errore su libGLcore.so..

mi viene da piangere :cry:
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Thu Feb 02, 2006 3:21 pm    Post subject: Reply with quote

prova a dare questo comando:
Code:
su -
Password:
#cp -i /usr/lib/libGL.so /usr/lib/modules/extensions/

Comunque nello xorg.conf deve esserci qualche opzione sbagliata perchè non è lì che si trova libGL.so ma in /usr/lib prova a controllare che la path dele librerie nel file di configurazione non sia sbagliata
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Thu Feb 02, 2006 3:43 pm    Post subject: Reply with quote

purtroppo anche copiando libGL.so non cambia nulla.


vi riporto meglio il passaggio sul log di Xorg:

Code:
LoadModule: "glx"
Loading /usr/lib/modules/extensions/libglx.a
Module glx: vendor="X.Org Foundation"
   compiled for 6.8.2, module version = 1.0.0
   ABI class: X.Org Server Extension, version 0.2
Loading sub module "GLcore"
LoadModule: "GLcore"
Loading /usr/lib/modules/extensions/libGLcore.so
n: /usr/lib/modules/extensions/libGLcore.so: undefined symbol: __glXLastContext
Failed to load /usr/lib/modules/extensions/libGLcore.so
UnloadModule: "GLcore"
UnloadModule: "glx"
Unloading /usr/lib/modules/extensions/libglx.a
Failed to load module "glx" (a required submodule could not be loaded, 7)


ed anche il mio xorg.conf:

Code:

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 font modules
    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"

# per caricare il mouse!
#
   Load "synaptics"


EndSection

Section "Files"


    RgbPath   "/usr/lib/X11/rgb"


    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
#    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"

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

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

EndSection

Section "ServerFlags"


EndSection

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


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

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"


    Option "AutoRepeat" "500 30"



    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "it"

EndSection


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

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping" "6 7"

EndSection
Section "InputDevice"
    Identifier "SynapticsMouse1"
    Driver "synaptics"
    Option "Protocol" "auto-dev"
    Option "Device" "/dev/input/mouse0"
    Option "MaxSpeed" "0.18"
    Option "MinSpeed" "0.09"
    Option "BottomEdge" "4200"
    Option "SHMConfig" "off"
    Option "FingerLow" "25"
    Option "LeftEdge" "1700"
    Option "MaxTapMove" "220"
    Option "MaxTapTime" "180"
    Option "FingerHigh" "30"
    Option "VertScrollDelta" "100"
    Option "TopEdge" "1700"
    Option "AccelFactor" "0.0015"
    Option "RightEdge" "5300"
EndSection


Section "Monitor"

    Identifier  "monitor1"


    HorizSync   31.5 - 55

    VertRefresh 40-70
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection



# Device configured by xorgconfig:

Section "Device"
    Identifier  "ATIRadeon"
    Driver      "radeon"
    Option      "DPMS"
    VideoRam    65536
    # Insert Clocks lines here if appropriate
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  "screen1"
    Device      "ATIRadeon"
    Monitor     "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
        Depth       8
        ViewPort    0 0
        Modes       "1024x768" "800x600" "640x480"
#        Virtual 1024 768

    EndSubsection
    Subsection "Display"
        Depth       16
#        Virtual 1024 768
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
#        Virtual 1024 768
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"
    Screen "screen1"


    InputDevice "Mouse1" "CorePointer"
    InputDevice "SynapticsMouse1" "AlwaysCore"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

 Section "DRI"
    Mode 0666
 EndSection





a me sembrerebbe tutto giusto.. :x
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Fri Feb 03, 2006 5:25 pm    Post subject: Reply with quote

up :oops:


scusatemi, ma mi aggrappo a voi per sperare di risolvere in qualche modo..
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
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