Re: [Intel-gfx] xf86-video-intel: configure.ac

2010-07-28 Thread Chris Wilson
On Tue, 27 Jul 2010 09:34:01 -0700, Jesse Barnes jbar...@virtuousgeek.org 
wrote:
 and glproto is missing a dep on GL:
 
 arjan In file included from i810.h:60:0,
 arjan  from i810_accel.c:41:
 arjan /usr/include/GL/glxint.h:36:19: fatal error: GL/gl.h: No such file or 
 directory

From memory, I think this is just a bit of idiocacy in the driver
inappropriately using a GL type, i.e. for a variable unconnected with
any of the GL interfaces.
-- 
Chris Wilson, Intel Open Source Technology Centre
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] xf86-video-intel: configure.ac

2010-07-28 Thread Kristian Høgsberg
On Wed, Jul 28, 2010 at 4:42 AM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 On Tue, 27 Jul 2010 09:34:01 -0700, Jesse Barnes jbar...@virtuousgeek.org 
 wrote:
 and glproto is missing a dep on GL:

 arjan In file included from i810.h:60:0,
 arjan                  from i810_accel.c:41:
 arjan /usr/include/GL/glxint.h:36:19: fatal error: GL/gl.h: No such file 
 or directory

 From memory, I think this is just a bit of idiocacy in the driver
 inappropriately using a GL type, i.e. for a variable unconnected with
 any of the GL interfaces.

There was a few gratuitous uses of GLuint in the core driver that I
just removed.  Then the legacy i810 driver still had the code to
create and set GLX visuals, which hasn't been used for years now (we
get the configs from the dri driver even for dri1 since 2007).I
removed that chunk of code, which means that the legacy driver wont
work with X server before 2007, but the purpose of the legacy code is
to run the old driver on new servers anyway (right?).

Kristian
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] 3d performance very low

2010-07-28 Thread Hanno Böck
Hi,

it seems I'm currently getting insanely slow 3d performance on my system. 
q3demo benchmark (run with ` to start console, timedemo 1, demo demo001) gives 
me 57 fps. I think even my old r200 got more than 100 there.

From the logs everything seems to be fine. Any ideas what I could look for 
what's wrong here?

kernel 2.6.34-rc6, xorg-server-1.8.2, xf86-video-intel-2.12.0,T61 laptop, card 
is
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 0c)


dmesg says:
agpgart-intel :00:00.0: Intel 965GM Chipset
agpgart-intel :00:00.0: detected 7676K stolen memory
agpgart-intel :00:00.0: AGP aperture is 256M @ 0xe000
[drm] Initialized drm 1.1.0 20060810
i915 :00:02.0: power state changed by ACPI to D0
i915 :00:02.0: power state changed by ACPI to D0
i915 :00:02.0: PCI INT A - GSI 16 (level, low) - IRQ 16
i915 :00:02.0: setting latency timer to 64
ACPI: Battery Slot [BAT0] (battery present)
i915 :00:02.0: irq 45 for MSI/MSI-X
[drm] set up 7M of stolen space
[drm] initialized overlay support
Console: switching to colour frame buffer device 175x65
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
acpi device:01: registered as cooling_device2
input: Video Bus as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0

xorg log says:
[24.079] (==) Depth 24 pixmap format is 32 bpp
[24.079] (II) intel(0): [DRI2] Setup complete
[24.079] (II) intel(0): [DRI2]   DRI driver: i965
[24.079] (**) intel(0): Tiling enabled
[24.079] (**) intel(0): SwapBuffers wait enabled
[24.079] (==) intel(0): VideoRam: 262144 KB
[24.079] (II) intel(0): Allocated new frame buffer 1408x1050 stride 5632, 
tiled
[24.119] (II) UXA(0): Driver registered support for the following 
operations:
[24.119] (II) solid
[24.119] (II) copy
[24.119] (II) composite (RENDER acceleration)
[24.119] (II) put_image
[24.119] (II) get_image
[24.119] (==) intel(0): Backing store disabled
[24.119] (==) intel(0): Silken mouse enabled
[24.119] (II) intel(0): Initializing HW Cursor
[24.147] (II) intel(0): RandR 1.2 enabled, ignore the following RandR 
disabled message.
[24.152] (==) intel(0): DPMS enabled
[24.152] (==) intel(0): Intel XvMC decoder enabled
[24.152] (II) intel(0): Set up textured video
[24.152] (II) intel(0): Set up overlay video
[24.152] (II) intel(0): [XvMC] i965_xvmc driver initialized.
[24.152] (II) intel(0): direct rendering: DRI2 Enabled
[24.152] (--) RandR disabled
[24.152] (II) Initializing built-in extension Generic Event Extension
[24.153] (II) Initializing built-in extension SHAPE
[24.153] (II) Initializing built-in extension MIT-SHM
[24.153] (II) Initializing built-in extension XInputExtension
[24.153] (II) Initializing built-in extension XTEST
[24.153] (II) Initializing built-in extension BIG-REQUESTS
[24.153] (II) Initializing built-in extension SYNC
[24.153] (II) Initializing built-in extension XKEYBOARD
[24.153] (II) Initializing built-in extension XC-MISC
--
[24.153] (II) Initializing built-in extension RENDER
[24.153] (II) Initializing built-in extension RANDR
[24.153] (II) Initializing built-in extension COMPOSITE
[24.153] (II) Initializing built-in extension DAMAGE
[24.430] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[24.430] (II) AIGLX: enabled GLX_INTEL_swap_event
[24.430] (II) AIGLX: enabled GLX_SGI_swap_control and 
GLX_MESA_swap_control
[24.430] (II) AIGLX: enabled GLX_SGI_make_current_read
[24.430] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[24.430] (II) AIGLX: Loaded and initialized /usr/lib64/dri/i965_dri.so
[24.430] (II) GLX: Initialized DRI2 GL provider for screen 0


-- 
Hanno Böck  Blog:   http://www.hboeck.de/
GPG: 3DBD3B20   Jabber/Mail:ha...@hboeck.de

http://schokokeks.org - professional webhosting


signature.asc
Description: This is a digitally signed message part.
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] 3d performance very low

2010-07-28 Thread Hanno Böck
Am Mittwoch 28 Juli 2010 schrieb Matt Turner:
 On Wed, Jul 28, 2010 at 5:17 PM, Hanno Böck ha...@hboeck.de wrote:
  Hi,
  
  it seems I'm currently getting insanely slow 3d performance on my system.
  q3demo benchmark (run with ` to start console, timedemo 1, demo demo001)
  gives me 57 fps. I think even my old r200 got more than 100 there.
  
  From the logs everything seems to be fine. Any ideas what I could look
  for what's wrong here?
  
  kernel 2.6.34-rc6, xorg-server-1.8.2, xf86-video-intel-2.12.0,T61 laptop,
  card
 
 The most important piece of software here is Mesa. What version of Mesa?

Sorry, I forgot, latest 7.8.2.

-- 
Hanno Böck  Blog:   http://www.hboeck.de/
GPG: 3DBD3B20   Jabber/Mail:ha...@hboeck.de

http://schokokeks.org - professional webhosting


signature.asc
Description: This is a digitally signed message part.
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 2/4] drm/i915: Enable panel fitting for eDP

2010-07-28 Thread Dave Airlie
did this patch go anywhere?

On Mon, Jul 19, 2010 at 6:43 PM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 From: Zhao Yakui yakui.z...@intel.com

 When trying to set other display mode besides the fixed panel mode, the
 panel fitting should be enabled. This is similar to LVDS.

 Signed-off-by: Zhao Yakui yakui.z...@intel.com
 Reviewed-by: Chris Wilson ch...@chris-wilson.co.uk
 Cc: sta...@kernel.org
 ---
  drivers/gpu/drm/i915/intel_display.c |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

 diff --git a/drivers/gpu/drm/i915/intel_display.c 
 b/drivers/gpu/drm/i915/intel_display.c
 index 8359c50..77ae44e 100644
 --- a/drivers/gpu/drm/i915/intel_display.c
 +++ b/drivers/gpu/drm/i915/intel_display.c
 @@ -1888,7 +1888,8 @@ static void ironlake_crtc_dpms(struct drm_crtc *crtc, 
 int mode)
                }

                /* Enable panel fitting for LVDS */
 -               if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) {
 +               if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)
 +                   || HAS_eDP || intel_pch_has_edp(crtc)) {
                        temp = I915_READ(pf_ctl_reg);
                        I915_WRITE(pf_ctl_reg, temp | PF_ENABLE | 
 PF_FILTER_MED_3x3);

 --
 1.7.1

 ___
 Intel-gfx mailing list
 Intel-gfx@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/intel-gfx

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 1/4] drm/i915: Add fixed panel mode parsed from EDID for eDP without fixed mode in VBT

2010-07-28 Thread Dave Airlie
Or any of this series? I'm not seeing them upstream, and I'd really
like to know if they are necessary.

Dave.

On Mon, Jul 19, 2010 at 6:43 PM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 From: Zhao Yakui yakui.z...@intel.com

 Signed-off-by: Zhao Yakui yakui.z...@intel.com
 Reviewed-by: Chris Wilson ch...@chris-wilson.co.uk
 Cc: sta...@kernel.org
 ---
  drivers/gpu/drm/i915/intel_dp.c |   16 +++-
  1 files changed, 15 insertions(+), 1 deletions(-)

 diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
 index b4f0282..74d026c 100644
 --- a/drivers/gpu/drm/i915/intel_dp.c
 +++ b/drivers/gpu/drm/i915/intel_dp.c
 @@ -1325,8 +1325,22 @@ static int intel_dp_get_modes(struct drm_connector 
 *connector)
         */

        ret = intel_ddc_get_modes(connector, intel_encoder-ddc_bus);
 -       if (ret)
 +       if (ret) {
 +               if ((IS_eDP(intel_encoder) || IS_PCH_eDP(dp_priv)) 
 +                   !dev_priv-panel_fixed_mode) {
 +                       struct drm_display_mode *newmode;
 +                       list_for_each_entry(newmode, connector-probed_modes,
 +                                           head) {
 +                               if (newmode-type  DRM_MODE_TYPE_PREFERRED) {
 +                                       dev_priv-panel_fixed_mode =
 +                                               drm_mode_duplicate(dev, 
 newmode);
 +                                       break;
 +                               }
 +                       }
 +               }
 +
                return ret;
 +       }

        /* if eDP has no EDID, try to use fixed panel mode from VBT */
        if (IS_eDP(intel_encoder) || IS_PCH_eDP(dp_priv)) {
 --
 1.7.1

 ___
 Intel-gfx mailing list
 Intel-gfx@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/intel-gfx

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx