PDA

Visualizza la versione completa : Xlib


christian78
13-04-2004, 23:50
Dove si trovano le Xlib o qualche file di configurazione?
Come posso risolvere questo errore:

Xlib: extension "XFree86-DRI" missing on display ":0.0".

Grazie a tutti per l'aiuto!! :ciauz:

almafer
13-04-2004, 23:57
guarda se in /etc/X11/XFConfig non hai
# Section "DRI"
# Mode 0666
# EndSection
fatto cos, nel caso decommenta queste righe

GNAWS
14-04-2004, 00:00
Le Xlib non sono altro che le librerie di X (o di un qualunque altro server X)...
Quell'errore comunque c'entra poco: riguarda soprattutto il direct rendering...
Prova a postare il contenuto del tuo /etc/X11/XF86Config, /etc/X11/XF86Config-4, dicci che scheda video hai, e se hai attivato o meno il direct rendering (l'accelerazione hardware) e se s con quali driver
:ciauz:

christian78
14-04-2004, 00:05
Sono decommentate...ma ho 2 sezioni cos:

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

l'altra:

Section "DRI"
Mode 0666
EndSection

Il direct rendering quello che sto disperatamente cercando di attivare da pi di 2 settimane senza risultati :dh: :dh:
Cmq ho una scheda video Ati Radeon 9800Pro 128Mb, ma ho uno slot agp a 4x (non credo che dovrebbe presentare problemi cmq)

alex86
14-04-2004, 00:10
sembra ke la tua skeda video non sia completamente supportata!...cmq se pu esserti d'aiuto c' questo post (http://forum.html.it/forum/showthread.php?s=&threadid=607248&highlight=ati+9800) ...a volte basterebbe una semplice ricerca! :ciauz:

christian78
14-04-2004, 00:16
Originariamente inviato da alex86
sembra ke la tua skeda video non sia completamente supportata!...cmq se pu esserti d'aiuto c' questo post (http://forum.html.it/forum/showthread.php?s=&threadid=607248&highlight=ati+9800) ...a volte basterebbe una semplice ricerca! :ciauz:
Li so a memoria i post del forum che hanno a che fare con ati, radeon direct rendering e via dicendo, sono 2 sett. che cerco info sul forum su come installare sto ***** di direct rendering :dh: :dh: nei post tutti risolvono i loro problemi e attivano sta benedetta :nonlodire :nonlodire :mad: :mad: accelerazione 3d...io non riesco a capire cosa cavolo sbaglio...non mi si attiva eppure le ho provate tutte!

christian78
14-04-2004, 00:19
Questo il mio XF86Config-4:
# ************************************************** ********************
# 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 Type1 and FreeType font modules
Load "type1"
Load "freetype"

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

# 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
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"
EndSection

Section "DRI"
Mode 0666
EndSection
# ************************************************** ********************
# Input devices
# ************************************************** ********************

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

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc101"
Option "XkbLayout" "it"

# 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"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"

Option "XkbRules" "xfree86"
EndSection
# ************************************************** ********************
# Core Pointer's InputDevice section
# ************************************************** ********************

Section "InputDevice"
# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
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"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

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

# Option "ChordMiddle"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor0"
HorizSync 31-61
VertRefresh 56-75

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "ATI Radeon 9800"
VendorName "ATI"
BoardName "ATI Radeon (fglrx)"
Driver "radeon"
Option "DPMS"
Option "FSAAMSPosY1" "0.000000"
Option "StereoSyncEnable" "1"

# === disable PnP Monitor ===
#Option "NoDDC"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAADisableGamma" "no"

# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
Option "ForceGenericCPU" "no"
Option "GammaCorrectionII" "0x00000000"
Option "VRefresh2" "unspecified"
Option "FSAAMSPosY5" "0.000000"
Option "CenterMode" "off"
Option "IgnoreEDID" "off"

# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
Option "FSAACustomizeMSPos" "no"

# === FSAA ===
Option "FSAAScale" "1"

# === FireGL DDX driver module specific settings ===
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "HSync2" "unspecified"
Option "TVHStartAdj" "0"
Option "FSAAMSPosX0" "0.000000"
Option "no_dri" "no"
Option "GammaCorrectionI" "0x00000000"
Option "FSAAMSPosX1" "0.000000"
Option "UseInternalAGPGART" "no"
Option "BlockSignalsOnLock" "on"
Option "MonitorLayout" "AUTO, AUTO"

# === disable/enable XAA/DRI ===
Option "no_accel" "no"

# === Misc Options ===
Option "UseFastTLS" "0"
Option "FSAAMSPosY3" "0.000000"

# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
Option "TVStandard" "NTSC-M"
Option "TVVPosAdj" "0"
Option "TVColorAdj" "0"
Option "FSAAMSPosY2" "0.000000"

# === TV-out Management ===
Option "NoTV" "yes"
Option "TVHSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "ScreenOverlap" "0"

# === QBS Support ===
Option "Stereo" "off"
Option "FSAAMSPosX3" "0.000000"
Option "TVVSizeAdj" "0"
EndSection

Section "Screen"
Identifier "screen1"
Device "ATI Radeon 9800"
Monitor "Monitor0"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
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 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"
Screen "screen1"
EndSection

almafer
14-04-2004, 00:26
Section "Device"
Identifier "ATI Radeon 9800"
VendorName "ATI"
BoardName "ATI Radeon (fglrx)"
Driver "radeon"
Option "DPMS"
Option "FSAAMSPosY1" "0.000000"
Option "StereoSyncEnable" "1"


ma non ho capito, hai installato i driver ati o vuoi usare il DRI?

christian78
14-04-2004, 00:30
Originariamente inviato da almafer

ma non ho capito, hai installato i driver ati o vuoi usare il DRI?

Vorrei semplicemente avere l'accelerazione 3d cio il DRI (giusto?) i driver ati non centrano nulla?

almafer
14-04-2004, 00:35
o usi i driver o il DRI del kernel.
riassiumiamo un po, prego postare
-lsmod fatto da root
-dmesg
-che kernel hai
-come settato come modulo o statico, tutto quel che riguarda agp e drm
basta, credo :stordita:

Loading