intel / XenGT-Preview-kernel

Other
33 stars 14 forks source link

Testing results of XenGT on BayTrail #4

Open Jaeyong-Yoo opened 9 years ago

Jaeyong-Yoo commented 9 years ago

Hello,

I picked up the baytrail patch in the repository and tried to run it on Asus T100 (BayTrail) and encountered 3 issues:

1) In the domU booting phase, it shows a kernel warning:

[ 6.122333] Eddie: i915_initi915_init [ 6.122404] Eddie: ------------- [ 6.122493] i915: xen_start_vgt done [ 6.123424] xen: --> pirq=24 -> irq=24 (gsi=24) [ 6.124785] [drm] Memory usable by graphics device = 2048M [ 6.125064] i915 0000:00:02.0: setting latency timer to 64 [ 6.144472] i915: intel_detect_pch [ 6.144596] i915: find pch with devfn(8), device(7000) [ 6.144710] i915: find pch with devfn(f8), device(f1c) [ 7.260232] tsc: Refined TSC clocksource calibration: 1333.340 MHz [ 7.264960] i915: the number of the fence registers (4) [ 7.269702] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 7.270103] [drm] Driver supports precise vblank timestamp query. [ 7.273520] vGT: setup vGT irq hook in valleyview_irq_preinstall [ 7.278104] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 7.293920] [drm:intel_dp_aux_wait_done] ERROR dp aux hw did not signal timeout (has irq: 0)! [ 7.307077] [drm:intel_dp_aux_wait_done] ERROR dp aux hw did not signal timeout (has irq: 0)! [ 7.320099] [drm:intel_dp_aux_wait_done] ERROR dp aux hw did not signal timeout (has irq: 0)! [ 7.332962] [drm:intel_dp_aux_wait_done] ERROR dp aux hw did not signal timeout (has irq: 0)! [ 7.345985] [drm:intel_dp_aux_wait_done] ERROR dp aux hw did not signal timeout (has irq: 0)! [ 7.346908] [drm:intel_dp_aux_ch] ERROR dp_aux_ch receive error status 0xd2350064 [ 7.353824] ------------[ cut here ]------------ [ 7.354096] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/i915/intel_dp.c:343 intel_dp_aux_ch+0x10c/0x640() [ 7.355203] dp_aux_ch not started status 0xd2350064 [ 7.355375] Modules linked in: [ 7.356073] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11.6-vgt+ #11 [ 7.356620] Hardware name: Xen HVM domU, BIOS 4.3.1 11/07/2014 [ 7.356747] 0000000000000009 ffff88003cf137e0 ffffffff8172a59b ffff88003cf13828 [ 7.359626] ffff88003cf13818 ffffffff8106e1fd 0000000000000003 0000000000000000 [ 7.360372] 0000000000000064 00000000001e4110 ffff8800156f0000 ffff88003cf13878 [ 7.361128] Call Trace: [ 7.361582] [] dump_stack+0x45/0x56 [ 7.362086] [] warn_slowpath_common+0x7d/0xa0 [ 7.362614] [] warn_slowpath_fmt+0x4c/0x50 [ 7.363098] [] ? i915_read32+0x67/0x1c0 [ 7.363622] [] intel_dp_aux_ch+0x10c/0x640 [ 7.364134] [] ? intel_dp_aux_ch+0x127/0x640 [ 7.364696] [] ? sysfs_add_file_mode+0xa3/0xe0 [ 7.365217] [] intel_dp_i2c_aux_ch+0x97/0x2a0 [ 7.365799] [] i2c_algo_dp_aux_stop+0x26/0x30 [ 7.366281] [] i2c_dp_aux_add_bus+0x43/0x50 [ 7.366885] [] intel_dp_init_connector+0x304/0xc80 [ 7.367419] [] ? drm_modeset_unlock_all+0x52/0x60 [ 7.367959] [] intel_dp_init+0x114/0x160 [ 7.368517] [] intel_modeset_init+0xada/0xf10 [ 7.369003] [] ? drm_irq_install+0x13f/0x260 [ 7.369559] [] i915_driver_load+0xb72/0xe40 [ 7.370104] [] ? extcon_dev_register+0x6f0/0x6f0 [ 7.370658] [] drm_get_pci_dev+0x166/0x2c0 [ 7.371135] [] i915_pci_probe+0x8b/0x90 [ 7.371681] [] pci_device_probe+0x147/0x160 [ 7.372189] [] driver_probe_device+0x7f/0x380 [ 7.372712] [] __driver_attach+0x93/0xa0 [ 7.461871] [] ? device_attach+0x40/0x40 [ 7.462018] [] bus_for_each_dev+0x63/0xa0 [ 7.462169] [] driver_attach+0x1e/0x20 [ 7.462304] [] bus_add_driver+0x1e8/0x2a0 [ 7.462428] [] ? ttm_init+0x67/0x67 [ 7.462560] [] driver_register+0x74/0x150 [ 7.462680] [] ? ttm_init+0x67/0x67 [ 7.462823] [] pci_register_driver+0x4b/0x50 [ 7.462958] [] drm_pci_init+0x115/0x130 [ 7.463061] [] ? ttm_init+0x67/0x67 [ 7.463220] [] i915_init+0x82/0x84 [ 7.463356] [] do_one_initcall+0xd2/0x180 [ 7.463489] [] ? parse_args+0x225/0x400 [ 7.463634] [] kernel_init_freeable+0x15e/0x1e3 [ 7.463769] [] ? do_early_param+0x88/0x88 [ 7.463889] [] ? rest_init+0x80/0x80 [ 7.464005] [] kernel_init+0xe/0x190 [ 7.464120] [] ret_from_fork+0x7c/0xb0 [ 7.464270] [] ? rest_init+0x80/0x80 [ 7.464387] ---[ end trace c3213d42aeaf80b3 ]---

I'm not sure this is an important warning or not. But after this warning, kernel is proceeding its initiation anyway.

2) The second issue is: domU's ubuntu desktop is not properly working. Just the background screen shows up and I can move mouse pointers. But, nothing happens afterward. So, I uninstall ubuntu desktop and install xubuntu desktop. And Xubuntu desktop looks working for me.

3) In Xubuntu desktop, I tried to run glxgears (very simple opengl application), but it gives this message and failed.

glxgears: brw_vs.c:138: brw_compute_vue_map: Assertion `!"VUE map not known for this chip generation"' failed. Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate.

I'm willing to take a deeper look, and appreciate if you tell me some comments or pointers.