From: Nicolas C. <nic...@ym...> - 2009-08-06 14:50:13
|
Hi all, I use the i945GME, I try to have a verticale synchronisation with the functions glXGetVideoSyncSGI and glXWaitVideoSyncSGI. But when I call the function glXGetVideoSyncSGI, the driver call the function i915_get_vblank_counter and display this message : [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0 This my xorg.conf : ################################################################################ Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 #InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" #Option "AIGLX" "false" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/lib/X11/fonts/misc/" FontPath "/usr/lib/X11/fonts/TTF/" FontPath "/usr/lib/X11/fonts/OTF" FontPath "/usr/lib/X11/fonts/Type1/" FontPath "/usr/lib/X11/fonts/100dpi/" FontPath "/usr/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "glx" EndSection Section "ServerFlags" Option "blank time" "0" Option "standby time" "0" Option "suspend time" "0" Option "off time" "0" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection #Section "InputDevice" # Identifier "Mouse0" # Driver "mouse" # Option "Protocol" "auto" # Option "Device" "/dev/input/mice" # Option "ZAxisMapping" "4 5 6 7" #EndSection Section "Monitor" Identifier "TMDS-2" Option "DPMS" VendorName "Monitor Vendor" ModelName "Monitor Model" Modeline "1024x768 INITIAL MODE" 64.99 1024 1048 1184 1344 768 771 777 806 -HSync -VSync Modeline "1280x720 60Hz CEA" 74.25 1280 1500 1540 1650 720 725 730 750 +HSync +VSync ModeLine "1360x768 60Hz VESA" 85.50 1360 1392 1712 1744 768 783 791 807 +HSync +Vsync ModeLine "1366x768 60Hz" 85.86 1366 1440 1584 1800 768 769 772 795 -HSync +Vsync Modeline "1376x768 60Hz VESA" 85.25 1376 1448 1584 1784 768 771 781 798 -HSync +VSync EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [<bool>] #Option "SWcursor" # [<bool>] #Option "ColorKey" # <i> #Option "CacheLines" # <i> #Option "Dac6Bit" # [<bool>] #Option "DRI" # [<bool>] #Option "NoDDC" # [<bool>] #Option "ShowCache" # [<bool>] #Option "XvMCSurfaces" # <i> #Option "PageFlip" # [<bool>] Identifier "Card0" Driver "intel" VendorName "Unknown Vendor" BoardName "Unknown Board" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "TMDS-2" SubSection "Display" Viewport 0 0 Depth 16 Modes "1024x768 INITIAL MODE" "1280x720 60Hz CEA" "1360x768 60Hz" "1366x768 60Hz" "1376x768 60Hz VESA" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1024x768 INITIAL MODE" "1280x720 60Hz CEA" "1360x768 60Hz" "1366x768 60Hz" "1376x768 60Hz VESA" EndSubSection EndSection ################################################################################ This is my Xorg.log : ################################################################################ WW) Failed to open protocol names file /cygdrive/c/usr/software/embedded-systems/system-builders/innes/player2G/boxpc-linux-x/boxpc-linux-x-2.11/usrfs/lib/xorg/protocol.txt This is a pre-release version of the X server from The X.Org Foundation. It is not supported in any way. Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/. Select the "xorg" product for bugs you find in this release. Before reporting bugs in pre-release versions please check the latest version in the X.Org Foundation git repository. See http://wiki.x.org/wiki/GitPage for git access instructions. X.Org X Server 1.6.99.1 Release Date: (unreleased) X Protocol Version 11, Revision 0 Build Operating System: CYGWIN_NT-6.0 1.5.25(0.156/4/2) i686 Current Operating System: Linux mpdsbcn270 2.6.28.9 #13 SMP Wed Aug 5 19:09:21 CEST 2009 i686 Build Date: 16 June 2009 03:33:45PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. 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/Xorg.log", Time: Thu Aug 6 15:37:20 2009 (==) Using config file: "/etc/xorg.conf" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "TMDS-2" (**) | |-->Device "Card0" (**) |-->Input Device "Keyboard0" (**) Option "BlankTime" "0" (**) Option "StandbyTime" "0" (**) Option "SuspendTime" "0" (**) Option "OffTime" "0" (==) Not automatically adding devices (==) Not automatically enabling devices (WW) The directory "/usr/lib/X11/fonts/misc/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/TTF/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/OTF" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/Type1/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/100dpi/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/75dpi/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/misc/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/TTF/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/OTF" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/Type1/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/100dpi/" does not exist. Entry deleted from font path. (WW) The directory "/usr/lib/X11/fonts/75dpi/" does not exist. Entry deleted from font path. (**) FontPath set to: built-ins (++) ModulePath set to "/usr/lib/xorg/modules" (==) |-->Input Device "<default pointer>" (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. (II) Loader magic: 0x823c300 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 5.0 X.Org XInput driver : 5.0 X.Org Server Extension : 2.0 (--) using VT number 2 (--) PCI:*(0@0:2:0) unknown vendor (0x8086) unknown chipset (0x27ae) rev 3, Mem @ 0xfea80000/524288, 0xd0000000/268435456, 0xfea40000/262144, I/O @ 0x0000dc00/8 (--) PCI: (0@0:2:1) unknown vendor (0x8086) unknown chipset (0x27a6) rev 3, Mem @ 0xfe980000/524288 (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) (II) System resource ranges: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. (II) "glx" will be loaded. This was enabled by default and also specified in the config file. (II) "dri" will be loaded. This was enabled by default and also specified in the config file. (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "dbe" (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "dri" (II) Loading /usr/lib/xorg/modules/extensions/libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "dri2" (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so (II) Module dri2: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.1.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "extmod" (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "glx" (II) Loading /usr/lib/xorg/modules/extensions/libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX enabled (II) Loading extension GLX (II) LoadModule: "intel" (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so (II) Module intel: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 2.7.99 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0 (II) LoadModule: "kbd" (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.3.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 5.0 (II) LoadModule: "mouse" (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.4.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 5.0 (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, Mobile Intel® GM45 Express Chipset, Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41 (II) Primary Device is: PCI 00@00:02:0 (II) resource ranges after xf86ClaimFixedResources() call: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] (II) resource ranges after probing: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] (II) Loading sub module "vgahw" (II) LoadModule: "vgahw" (II) Loading /usr/lib/xorg/modules/libvgahw.so (II) Module vgahw: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 0.1.0 ABI class: X.Org Video Driver, version 5.0 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (++) intel(0): Depth 24, (--) framebuffer bpp 32 (==) intel(0): RGB weight 888 (==) intel(0): Default visual is TrueColor (II) intel(0): Integrated Graphics Chipset: Intel(R) 945GME (--) intel(0): Chipset: "945GME" (--) intel(0): Linear framebuffer at 0xD0000000 (--) intel(0): IO registers at addr 0xFEA80000 (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB Failed to load DMI info, MSI LVDS quirk not applied. (--) intel(0): Using UXA for acceleration (II) intel(0): 2 display pipes available. (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Module "ddc" already built-in (II) Loading sub module "i2c" (II) LoadModule: "i2c" (II) Module "i2c" already built-in (II) intel(0): Output VGA using monitor section TMDS-2 (II) intel(0): Output LVDS has no monitor section (II) intel(0): I2C bus "LVDSDDC_C" initialized. (II) intel(0): Attempting to determine panel fixed mode. (II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0. (II) intel(0): EDID vendor "NEC", prod id 26345 (II) intel(0): Output TV has no monitor section (II) intel(0): EDID vendor "NEC", prod id 26345 (II) intel(0): Output VGA disconnected (II) intel(0): Output LVDS connected (II) intel(0): Output TV disconnected (II) intel(0): Using exact sizes for initial modes (II) intel(0): Output LVDS using initial mode 1360x768 (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. (II) intel(0): detected 256 kB GTT. (II) intel(0): detected 7932 kB stolen memory. (==) intel(0): video overlay key set to 0x101fe (==) intel(0): DPI set to (96, 96) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/lib/xorg/modules/libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) intel(0): Comparing regs from server start up to After PreInit (WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd000000a (WW) intel(0): PP_STATUS before: on, ready, sequencing idle (WW) intel(0): PP_STATUS after: on, ready, sequencing on (WW) intel(0): Register 0x70024 (PIPEASTAT) changed from 0x00000000 to 0x00000203 (WW) intel(0): PIPEASTAT before: status: (WW) intel(0): PIPEASTAT after: status: VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS (WW) intel(0): Register 0x71024 (PIPEBSTAT) changed from 0x00000202 to 0x80000202 (WW) intel(0): PIPEBSTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS (WW) intel(0): PIPEBSTAT after: status: FIFO_UNDERRUN VSYNC_INT_STATUS VBLANK_INT_STATUS (==) Depth 24 pixmap format is 32 bpp (II) do I need RAC? No, I don't. (II) resource ranges after preInit: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD) [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD) [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD) [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU) [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU) (II) intel(0): Kernel reported 238848 total, 1 used (II) intel(0): I830CheckAvailableMemory: 955388 kB available drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenByBusid: drmOpenMinor returns 9 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) intel(0): [DRI2] Setup complete (**) intel(0): Framebuffer compression enabled (**) intel(0): Tiling enabled (==) intel(0): VideoRam: 262144 KB (II) intel(0): Attempting memory allocation with tiled buffers. (II) intel(0): Tiled allocation successful. (II) intel(0): adjusting plane->pipe mappings to allow for framebuffer compression (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (II) UXA(0): Driver registered support for the following operations: (II) solid (II) copy (II) composite (RENDER acceleration) (==) intel(0): Backing store disabled (==) intel(0): Silken mouse enabled (II) intel(0): Initializing HW Cursor (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x005fffff: compressed frame buffer (6144 kB, 0x000000003f800000 physical ) (II) intel(0): 0x00600000-0x00600fff: compressed ll buffer (4 kB, 0x000000003fe00000 physical ) (II) intel(0): 0x00601000-0x0060afff: HW cursors (40 kB, 0x000000003fe01000 physical ) (II) intel(0): 0x0060b000-0x0060bfff: overlay registers (4 kB, 0x000000003fe0b000 physical ) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x007bf000-0x0f9f3fff: DRI memory manager (248020 kB) (II) intel(0): 0x10000000: end of aperture (II) intel(0): BO memory allocation layout: (II) intel(0): 0x007bf000: start of memory manager (II) intel(0): 0x00800000-0x00ffffff: front buffer (8192 kB) X tiled (II) intel(0): 0x0f9f4000: end of memory manager (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe A. (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (II) intel(0): Output TV is connected to pipe none (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. (**) intel(0): DPMS enabled (II) intel(0): Set up textured video (II) intel(0): Set up overlay video (II) intel(0): direct rendering: DRI2 Enabled (--) RandR disabled (II) Initializing built-in extension Generic Event Extension (II) Initializing built-in extension SHAPE (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension BIG-REQUESTS (II) Initializing built-in extension SYNC (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension XC-MISC (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects (II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so (II) GLX: Initialized DRI2 GL provider for screen 0 (II) intel(0): Setting screen physical size to 359 x 203 (**) Option "CoreKeyboard" (**) Keyboard0: always reports core events (**) Option "Protocol" "standard" (**) Keyboard0: Protocol: standard (**) Option "XkbRules" "base" (**) Keyboard0: XkbRules: "base" (**) Option "XkbModel" "pc105" (**) Keyboard0: XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) Keyboard0: XkbLayout: "us" (**) Option "CustomKeycodes" "off" (**) Keyboard0: CustomKeycodes disabled (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) (WW) <default pointer>: No Device specified, looking for one... (EE) <default pointer>: Cannot find which device to use. (==) <default pointer>: Protocol: "Auto" (**) Option "CorePointer" (**) <default pointer>: always reports core events (EE) xf86OpenSerial: No Device specified. (EE) <default pointer>: cannot open input device (EE) PreInit failed for input device "<default pointer>" (II) UnloadModule: "mouse" (II) intel(0): EDID vendor "NEC", prod id 26345 (II) intel(0): Using EDID range info for horizontal sync (II) intel(0): Using EDID range info for vertical refresh (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1360x768"x0.0 84.75 1360 1432 1568 1776 768 771 776 798 -hsync +vsync (47.7 kHz) (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) intel(0): Modeline "1366x768"x59.8 84.75 1366 1432 1568 1776 768 770 780 798 -hsync +vsync (47.7 kHz) (II) intel(0): EDID vendor "NEC", prod id 26345 ################################################################################ Somebody can help me to resolve my problem ? Thanks Nico |