From owner-freebsd-current@FreeBSD.ORG Thu Jun 28 15:45:59 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB9D4106566C; Thu, 28 Jun 2012 15:45:59 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 77C878FC16; Thu, 28 Jun 2012 15:45:59 +0000 (UTC) Received: by obbun3 with SMTP id un3so4191115obb.13 for ; Thu, 28 Jun 2012 08:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=achtdJjX8vTi7VLbdOEblnTyp/aD8eATYlie9Gl2QmQ=; b=hSbfyf9bNMlKO2aMlnAjk2D5Hv09KgGgueeScqe3jcFAF0tbnxsjf55j1gSW/xwSb1 JcXVxaYlaOmpycpB8SwYQMJg1f16LKRZK29+t1TTDW4jGMvxehTn03wAbplQCv2/vP84 l9wLM2uZHWU4RJofVSuJJi5KEFOmEYhuWkXW6YUlItZZFYVSBX2KOvXrc46Jns81KjwO DpZEE2ddu43WgqoBZLr+RP1wSPew1orf8t84sVxOvikJbnI6RPCen84D6/AQaUpy7ipB b5jACCflWz30O+P9FHgbFCETolQI+VUzFRsauHoYVNztpKatFFlA1xcoauGssu93eAdw ZjVw== MIME-Version: 1.0 Received: by 10.182.17.42 with SMTP id l10mr3088342obd.52.1340898358710; Thu, 28 Jun 2012 08:45:58 -0700 (PDT) Received: by 10.60.14.42 with HTTP; Thu, 28 Jun 2012 08:45:58 -0700 (PDT) Date: Thu, 28 Jun 2012 19:45:58 +0400 Message-ID: From: Andrey Fesenko To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current Subject: GPU_KMS still not working CURRENT X220 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2012 15:45:59 -0000 I have lenovo thinkpad x220 # uname -a FreeBSD bsdx220 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r237683: Thu Jun 28 08:41:40 MSK 2012 root@bsdx220:/usr/obj/usr/src/sys/MY_INTEL amd64 # pciconf -lvb vgapci0@pci0:0:2:0: class=0x030000 card=0x21da17aa chip=0x01268086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '2nd Generation Core Processor Family Integrated Graphics Controller' class = display subclass = VGA bar [10] = type Memory, range 64, base 0xf0000000, size 4194304, enabled bar [18] = type Prefetchable Memory, range 64, base 0xe0000000, size 268435456, enabled bar [20] = type I/O Port, range 32, base 0x6000, size 64, enabled After # kldload i915kms screen is black, if # kldunload i915kms panic # kldstat Id Refs Address Size Name 1 23 0xffffffff80200000 15d3268 kernel 2 1 0xffffffff81a12000 a9f3 fuse.ko 3 1 0xffffffff81a1d000 690a4 i915kms.ko 4 1 0xffffffff81a87000 1ba2 iicbb.ko 5 4 0xffffffff81a89000 1dd7 iicbus.ko 6 1 0xffffffff81a8b000 1cd5 iic.ko 7 1 0xffffffff81a8d000 32271 drm2.ko # sysctl -a | grep hw.dri | less hw.dri.0.name: i915 0x9c hw.dri.0.vm: hw.dri.0.clients: hw.dri.0.vblank: hw.dri.0.info.i915_capabilities: gen: 6 hw.dri.0.info.i915_gem_objects: 8 objects, 4636672 bytes hw.dri.0.info.i915_gem_gtt: 0xfffffe00084cca00: p 4KiB 0001 0001 0 0 snooped (LLC) (gtt offset: 00000000, size: 00001000) (p mappable) hw.dri.0.info.i915_gem_active: Active: hw.dri.0.info.i915_gem_flushing: Flushing: hw.dri.0.info.i915_gem_inactive: Inactive: hw.dri.0.info.i915_gem_pinned: Pinned: hw.dri.0.info.i915_gem_deferred_free: Deferred free: hw.dri.0.info.i915_gem_pageflip: No flip due on pipe A (plane A) hw.dri.0.info.i915_gem_request: No requests hw.dri.0.info.i915_gem_seqno: Current sequence (render ring): 0 hw.dri.0.info.i915_gem_fence_regs: Reserved fences = 0 hw.dri.0.info.i915_gem_interrupt: North Display Interrupt enable: 8c248080 hw.dri.0.info.i915_gem_hws: 0x00000000: 0x00000000 0x00000000 0x00000000 0x00000000 hw.dri.0.info.i915_gem_hws_blt: 0x00000000: 0x00000000 0x00000000 0x00000000 0x00000000 hw.dri.0.info.i915_gem_hws_bsd: 0x00000000: 0x00000000 0x00000000 0x00000000 0x00000000 hw.dri.0.info.i915_ringbuffer_data: 00000000 : 00000000 hw.dri.0.info.i915_ringbuffer_info: Ring render ring: hw.dri.0.info.i915_bsd_ringbuffer_data: 00000000 : 00000000 hw.dri.0.info.i915_bsd_ringbuffer_info: Ring gen6 bsd ring: hw.dri.0.info.i915_blt_ringbuffer_data: 00000000 : 00000000 hw.dri.0.info.i915_blt_ringbuffer_info: Ring blt ring: hw.dri.0.info.i915_error_state: no error state collected hw.dri.0.info.i915_rstdby_delays: w/ctx: 0, w/o ctx: 0 hw.dri.0.info.i915_cur_delayinfo: GT_PERF_STATUS: 0x00000d83 hw.dri.0.info.i915_delayfreq_table: P00VIDFREQ: 0x00000000 (VID: 0) hw.dri.0.info.i915_inttoext_table: INTTOEXT01: 0x00000000 hw.dri.0.info.i915_drpc_info: RC information accurate: yes hw.dri.0.info.i915_emon_status: Not supported hw.dri.0.info.i915_ring_freq_table: GPU freq (MHz) Effective CPU freq (MHz) hw.dri.0.info.i915_gfxec: GFXEC: 0 hw.dri.0.info.i915_fbc_status: FBC disabled: no outputs hw.dri.0.info.i915_sr_status: self-refresh: disabled hw.dri.0.info.i915_gem_framebuffer: fbcon size: 1366 x 768, depth 24, 32 bpp, obj 0xfffffe000846da00: p 4128KiB 0041 0000 0 0 uncached (gtt offset: 00064000, size: 00408000) (p mappable) hw.dri.0.info.i915_gen6_forcewake_count_info: forcewake count = 0 hw.dri.0.info.i915_swizzle_info: bit6 swizzle for X-tiling = bit9/bit10 hw.dri.0.info.i915_ppgtt_info: GFX_MODE: 0x00000a00 hw.dri.0.info.i915_gem_wired_pages: 1132 hw.dri.0.wedged: 0 hw.dri.0.max_freq: 1300 hw.dri.0.cache_sharing: 0 hw.dri.0.sync_exec: 0 hw.dri.0.fix_mi: 0 hw.dri.0.intr_pf: 0 hw.dri.0.busid: pci:0000:00:02.0 hw.dri.0.modesetting: 1 hw.dri.debug: 2 hw.dri.notyet: 0 hw.dri.vblank_offdelay: 5000 hw.dri.timestamp_precision: 20 # less /var/log/messages Jun 28 17:32:17 bsdx220 kernel: drmn0: on vgapci0 Jun 28 17:32:17 bsdx220 kernel: info: [drm] MSI enabled 1 message(s) Jun 28 17:32:17 bsdx220 kernel: info: [drm] AGP at 0xe0000000 256MB Jun 28 17:32:17 bsdx220 kernel: iicbus0: on iicbb0 addr 0xff Jun 28 17:32:17 bsdx220 kernel: iic0: on iicbus0 Jun 28 17:32:17 bsdx220 kernel: iic1: on iicbus1 Jun 28 17:32:17 bsdx220 kernel: iicbus2: on iicbb1 addr 0xff Jun 28 17:32:17 bsdx220 kernel: iic2: on iicbus2 Jun 28 17:32:17 bsdx220 kernel: iic3: on iicbus3 Jun 28 17:32:17 bsdx220 kernel: iicbus4: on iicbb2 addr 0xff Jun 28 17:32:17 bsdx220 kernel: iic4: on iicbus4 Jun 28 17:32:17 bsdx220 kernel: iic5: on iicbus5 Jun 28 17:32:17 bsdx220 kernel: iicbus6: on iicbb3 addr 0xff Jun 28 17:32:17 bsdx220 kernel: iic6: on iicbus6 Jun 28 17:32:17 bsdx220 kernel: iic7: on iicbus7 Jun 28 17:32:17 bsdx220 kernel: iicbus8: on iicbb4 addr 0xff Jun 28 17:32:17 bsdx220 kernel: iic8: on iicbus8 Jun 28 17:32:17 bsdx220 kernel: iic9: on iicbus9 Jun 28 17:32:17 bsdx220 kernel: iicbus10: on iicbb5 addr 0xff Jun 28 17:32:17 bsdx220 kernel: iic10: on iicbus10 Jun 28 17:32:17 bsdx220 kernel: iic11: on iicbus11 Jun 28 17:32:17 bsdx220 kernel: iicbus12: on iicbb6 addr 0xff Jun 28 17:32:17 bsdx220 kernel: iic12: on iicbus12 Jun 28 17:32:17 bsdx220 kernel: iic13: on iicbus13 Jun 28 17:32:17 bsdx220 kernel: iicbus14: on iicbb7 addr 0xff Jun 28 17:32:17 bsdx220 kernel: iic14: on iicbus14 Jun 28 17:32:17 bsdx220 kernel: iic15: on iicbus15 Jun 28 17:32:17 bsdx220 kernel: info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). Jun 28 17:32:17 bsdx220 kernel: info: [drm] Driver supports precise vblank timestamp query. Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_detect_pch] Found CougarPoint PCH Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:init_vbt_defaults] Set default to SSC at 100MHz Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_parse_bios] Using VBT from OpRegion: $VBT SANDYBRIDGE-M d Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:parse_general_features] BDB_GENERAL_FEATURES int_tv_support 0 int_crt_su pport 1 lvds_use_ssc 0 lvds_ssc_freq 120 display_clock_mode 0 Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:parse_general_definitions] crt_ddc_bus_pin: 2 Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:parse_lfp_panel_data] Found panel mode in BIOS VBT tables: Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 0 75200 1366 1414 1478 1582 768 772 779 792 0x8 0xa Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:parse_sdvo_panel_data] Found SDVO panel mode in BIOS VBT tables: Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:drm_mode_debug_printmodeline] Modeline 0:"1600x1200" 0 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x8 0xa Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:parse_sdvo_device_mapping] No SDVO device info is found in VBT Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_modeset_init] 2 display pipes available. Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_crt_init] pch crt adpa set to 0xf40000 Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_setup_outputs] HDMIB 1 PCH_DP_B 1 HDMIC 1 HDMID 1 PCH_DP_C 1 PCH_DP_D 1 LVDS 1 Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_sdvo_read_byte] i2c transfer returned 2 Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_sdvo_init] No SDVO device found on SDVOB Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_dp_i2c_init] i2c_init DPDDC-B Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_dp_aux_ch] dp_aux_ch timeout status 0x5145003f Jun 28 17:32:17 bsdx220 kernel: [drm:KMS:pid844:intel_dp_i2c_aux_ch] aux_ch failed -60