
correctalanic wrote: Which ebuild is the one you maintain? Are you talking about the overlay in your sig?
Code: Select all
/usr/lib/xorg/modules/dri/Code: Select all
LIBGL_DEBUG=verbose glxgearsCode: Select all
libGL: XF86DRIGetClientDriverName: 1.4.1 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i915_dri.so
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error:
i915 DRI driver expected DDX version 1-1.5.x but got version 1.4.1
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
Code: Select all
[root@zapatta] /root(9,6G free) # Xgl :1 -ac -accel glx:pbuffer -accel xv:pbufferCode: Select all
No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 24
No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 24
Could not init font path element /usr/share/fonts/OTF, removing from list!
Could not init font path element /usr/share/fonts/CID/, removing from list!zapata wrote:Can someone post the Xgl command for i810?
when I start this from a term
I resive following message:Code: Select all
[root@zapatta] /root(9,6G free) # Xgl :1 -ac -accel glx:pbuffer -accel xv:pbufferCode: Select all
No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 24 No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 24 Could not init font path element /usr/share/fonts/OTF, removing from list! Could not init font path element /usr/share/fonts/CID/, removing from list!
yes.CoffeeBuzz wrote: So let me get this straight, no one here has had Xgl working with mesa 6.4.3 (cvs)?
All you get is this:
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 159 (GLX)
Minor opcode of failed request: 1 (X_GLXRender)
Serial number of failed request: 93
Current serial number in output stream: 94
No, then it gives:CoffeeBuzz wrote: But if you use mesa 6.4.2-r1 it works? Because DRM in 2.6.15 or xorg7 isnt up to snuff. ?
Code: Select all
~ $ LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:1 compiz gconf
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display :1
~ $ LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:1 glxcompmgr
glxcompmgr: GLX_MESA_render_texture is missing
glxcompmgr: Failed to manage screen: 0
glxcompmgr: No managable screens found on display :1
Code: Select all
Section "Files"
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/truetype/"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "glx"
Load "dri"
Load "GLcore"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "DRI"
Mode 0660
EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "AutoRepeat" "250 30"
Option "LeftAlt" "Meta"
Option "RightAlt" "ModeShift"
Option "XkbModel" "microsoft"
Option "XkbLayout" "pt"
EndSection
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "CRT"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5 - 80.5
VertRefresh 50 - 60
Option "NoDDC"
Option "DPMS"
EndSection
Section "Device"
Identifier "CRTHead"
Driver "i810"
VendorName "Intel"
BoardName "Intel i915"
VideoRam 65536
BusID "PCI:0:2:0"
Screen 0
Option "DevicePresence" "yes"
EndSection
Section "Screen"
Identifier "CRTScreen"
Device "CRTHead"
Monitor "CRT"
DefaultDepth 24
SubSection "Display"
Virtual 1024 768
Depth 24
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Layout"
Screen "CRTScreen" 0 0
InputDevice "Mouse" "CorePointer"
InputDevice "Keyboard" "CoreKeyboard"
EndSection
Section "Extensions"
Option "Composite" "true"
EndSection
Code: Select all
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(WW) I810(0): Successfully set original devices
(WW) I810(0): Setting the original video mode instead of restoring
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(WW) I810(0): Successfully set original devices (2)
My lspci outputs the following:I have an Intel chipset on my laptop and I use the i810 driver with the i915 kernel module. Here is the output of lspci:
Code: Select all
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Code: Select all
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
Code: Select all
i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../../drm/shared-core -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config --cflags libdrm` -Wall -Wmissing-prototypes -march=pentium3 -O3 -pipe -g -fPIC -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib/xorg/modules/dri"' -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib/xorg/modules/dri"' intel_ioctl.c -o intel_ioctl.o
intel_ioctl.c: In function `intelGetLastFrame':
intel_ioctl.c:49: Fehler: »I915_PARAM_LAST_DISPATCH« nicht deklariert (erste Benutzung in dieser Funktion)
intel_ioctl.c:49: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
intel_ioctl.c:49: Fehler: für jede Funktion in der er auftritt.)
make[6]: *** [intel_ioctl.o] error 1
make[6]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060225/work/Mesa/src/mesa/drivers/dri/i915'
make[5]: *** [subdirs] error 1
make[5]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060225/work/Mesa/src/mesa/drivers/dri'
make[4]: *** [linux-solo] error 2
make[4]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060225/work/Mesa/src/mesa'
make[3]: *** [default] error 2
make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060225/work/Mesa/src/mesa'
make[2]: *** [subdirs] error 1
make[2]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060225/work/Mesa/src'
make[1]: *** [default] error 1
make[1]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060225/work/Mesa'
make: *** [linux-dri-x86] error 2
!!! ERROR: media-libs/mesa-6.4.3_alpha20060225 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_compile
ebuild.sh, line 941: Called src_compile
!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Code: Select all
VIDEO_CARDS="i810"Code: Select all
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)Code: Select all
Section "Module"
Load "dbe" # Double buffer extension
Load "extmod"
Load "type1"
Load "synaptics"
Load "freetype"
Load "glx"
Load "dri"
# Load "ddc"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
# FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
# FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
# FontPath "/usr/share/fonts/terminus"
# FontPath "/usr/share/fonts/mathematica-fonts"
# FontPath "unix/:-1"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbKeycodes" "xfree86+aliases(qwerty)"
Option "XkbTypes" "complete"
Option "XkbCompat" "complete"
Option "XkbModel" "pc105"
Option "XkbSymbols" "en_US(pc105)+de"
Option "XkbGeometry" "pc(pc105)"
Option "XkbOption" ""
Option "XkbLayout" "de"
EndSection
Section "InputDevice"
Identifier "trackpoint"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mouse0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
EndSection
Section "Monitor"
VertRefresh 50-70
Identifier "LCD"
HorizSync 28-49
VertRefresh 43-72
Option "DPMS"
EndSection
Section "Monitor"
Identifier "External Monitor"
HorizSync 31-64
VertRefresh 56-75
Option "DPMS"
EndSection
Section "Device"
Identifier "Intel0"
Driver "i810"
#VideoRam 131072
Option "DRI" "true"
#Option "VBERestore" "true"
#Option "Clone" "true"
Option "MonitorLayout" "CRT,LFP"
Option "DevicePresence" "true"
# Insert Clocks lines here if appropriate
# Screen 0
EndSection
Section "Device"
Identifier "Intel1"
Driver "i810"
Option "DRI" "true"
Option "VBERestore" "no"
Option "MonitorLayout" "CRT,LFP"
Option "DevicePresence" "true"
BusID "PCI:0:2:0"
Option "AGPMode" "4"
Screen 1
EndSection
Section "Screen"
Identifier "LCD"
Device "Intel0"
Monitor "LCD"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "VGA"
Device "Intel1"
Monitor "External Monitor"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "LCD"
Screen 1 "VGA" LeftOf "LCD"
InputDevice "trackpoint"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
Code: Select all
# Ftape, the floppy tape device driver
#
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# 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 is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
CONFIG_DRM_I915=m
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_MWAVE is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set

Code: Select all
/usr/lib/xorg/modules/drivers/i810_drv.soCode: Select all
/usr/lib/xorg/modules/dri/i810_dri.soCode: Select all
dules/dri"' -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib/xorg/modules/dri"' intel_ioctl.c -o intel_ioctl.o
intel_ioctl.c: In function `intelGetLastFrame':
intel_ioctl.c:49: Fehler: »I915_PARAM_LAST_DISPATCH« not declaired(first use in this function)
intel_ioctl.c:49: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
intel_ioctl.c:49: Fehler: für jede Funktion in der er auftritt.)
make[6]: *** [intel_ioctl.o] Fehler 1
make[6]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src/mesa/drivers/dri/i915'
make[5]: *** [subdirs] Fehler 1
make[5]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src/mesa/drivers/dri'
make[4]: *** [linux-solo] Fehler 2
make[4]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src/mesa'
make[3]: *** [default] Fehler 2
make[3]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src/mesa'
make[2]: *** [subdirs] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src'
make[1]: *** [default] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa'
make: *** [linux-dri-x86] Fehler 2
!!! ERROR: media-libs/mesa-6.5.0_alpha20060301 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_compile
ebuild.sh, line 941: Called src_compile
!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.zapata wrote:hi, I have update the coffee-xgl-overlay (svn up), but I reveice the same error by retrying to install mesa:
has someone an idea?Code: Select all
dules/dri"' -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib/xorg/modules/dri"' intel_ioctl.c -o intel_ioctl.o intel_ioctl.c: In function `intelGetLastFrame': intel_ioctl.c:49: Fehler: »I915_PARAM_LAST_DISPATCH« not declaired(first use in this function) intel_ioctl.c:49: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt intel_ioctl.c:49: Fehler: für jede Funktion in der er auftritt.) make[6]: *** [intel_ioctl.o] Fehler 1 make[6]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src/mesa/drivers/dri/i915' make[5]: *** [subdirs] Fehler 1 make[5]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src/mesa/drivers/dri' make[4]: *** [linux-solo] Fehler 2 make[4]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src/mesa' make[3]: *** [default] Fehler 2 make[3]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src/mesa' make[2]: *** [subdirs] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa/src' make[1]: *** [default] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/mesa-6.5.0_alpha20060301/work/Mesa' make: *** [linux-dri-x86] Fehler 2 !!! ERROR: media-libs/mesa-6.5.0_alpha20060301 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant.
RoninTT wrote:I got XGL runing a little better than before. This time I used the i810 driver and libshadow module from here:
http://www.fairlite.demon.co.uk/intel.html
Then I can start XGL without copying the old mesa driver back. And if I copy that driver back it won't work.
Now comes the strange part, even though XGL runs as good as it ever has on my laptop. When I run glxinfo it says that there is on DRI??
I get about 600-700 FPS in glxgears without any warnings of any kind and all the effect are working.
So I just wanted to see if any you could get the same result or maybe better than me.
alanic wrote:As far as I know, there is no direct rendering for other programs that run under Xgl.
How much better is it? Worth a try?
RoninTT wrote:I got XGL runing a little better than before. This time I used the i810 driver and libshadow module from here:
http://www.fairlite.demon.co.uk/intel.html
Then I can start XGL without copying the old mesa driver back. And if I copy that driver back it won't work.
Now comes the strange part, even though XGL runs as good as it ever has on my laptop. When I run glxinfo it says that there is on DRI??
I get about 600-700 FPS in glxgears without any warnings of any kind and all the effect are working.
So I just wanted to see if any you could get the same result or maybe better than me.