2012-12-23, 05:55
I have installed the most recent version of XBMCbuntu with Eden. I am using a Gigabyte motherboard with a Z77 chipset and and Intel Core i3 Ivy Bridge CPU with HD 4000 Graphics. I am using the integrated graphics (via HDMI) with this build.
When using XBMC for watching movies or listening to music, etc. everything works fine. However, I seem to have some issues when playing ROMs (being launched with RCB). I have the issue with both ZSNES and Mednafen (for NES), but it only seems to be when running with XBMC. If I close down XBMC and run the same emulator and game in Gnome I don't seem to see the issue. Essentially, every so often the game hangs for a few seconds and the frame rate drops to 0, then jumps back up to 60.
Each time the "hang" occurs I get this error in syslog:
So my first thought was to launch the emulators in solo mode since it seems to work fine in Gnome. However, when I do this, XBMC exits and the emulator starts up (I can hear the music) but I loose my HDMI video output and just have a black screen. If I then hit ESC on the keyboard the emulator exits and XBMC returns but the screen is still black (I know XBMC is launched because I can move left and right and hear the XBMC sounds). At this point I just have to ssh in and reboot the machine.
Another issue that is probably tied to all of this is that if the HTPC is up and running and I change the reciever input to TV (for example) and then later turn it back to the HTPC input I loose HDMI video as well and have to reboot in order to fix the problem.
After doing some Googling I found that this is most likely due to the integrated graphics driver. I tried updating the driver by running
...but it didn't seem to help.
Here is some additional info that may or may not help:
Output from lshw:
Output from lsmod:
Output from modinfo i915:
Anyone else happen to know how to fix this issue? Let me know if you need any more info.
Code:
Linux xbmc 3.0.0-28-generic-pae #45-Ubuntu SMP Wed Nov 14 21:58:38 UTC 2012 i686 i686 i386 GNU/Linux
When using XBMC for watching movies or listening to music, etc. everything works fine. However, I seem to have some issues when playing ROMs (being launched with RCB). I have the issue with both ZSNES and Mednafen (for NES), but it only seems to be when running with XBMC. If I close down XBMC and run the same emulator and game in Gnome I don't seem to see the issue. Essentially, every so often the game hangs for a few seconds and the frame rate drops to 0, then jumps back up to 60.
Each time the "hang" occurs I get this error in syslog:
Code:
Dec 21 14:48:15 xbmc kernel: [ 2489.439943] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 1592454, at 1592454], missed IRQ?
Dec 21 14:49:15 xbmc kernel: [ 2548.624800] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 1633135, at 1633135], missed IRQ?
Dec 21 14:49:53 xbmc kernel: [ 2586.458618] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 1658742, at 1658742], missed IRQ?
Dec 21 14:52:10 xbmc kernel: [ 2723.416309] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt ring idle [waiting on 1754182, at 1754182], missed IRQ?
So my first thought was to launch the emulators in solo mode since it seems to work fine in Gnome. However, when I do this, XBMC exits and the emulator starts up (I can hear the music) but I loose my HDMI video output and just have a black screen. If I then hit ESC on the keyboard the emulator exits and XBMC returns but the screen is still black (I know XBMC is launched because I can move left and right and hear the XBMC sounds). At this point I just have to ssh in and reboot the machine.
Another issue that is probably tied to all of this is that if the HTPC is up and running and I change the reciever input to TV (for example) and then later turn it back to the HTPC input I loose HDMI video as well and have to reboot in order to fix the problem.
After doing some Googling I found that this is most likely due to the integrated graphics driver. I tried updating the driver by running
Code:
sudo add-apt-repository ppa:glasen/intel-driver
sudo apt-get update
sudo apt-get install xserver-xorg-video-intel
...but it didn't seem to help.
Here is some additional info that may or may not help:
Output from lshw:
Code:
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:41 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64)
Output from lsmod:
Code:
Module Size Used by
i915 513833 2
Output from modinfo i915:
Code:
filename: /lib/modules/3.0.0-28-generic-pae/kernel/drivers/gpu/drm/i915/i915.ko
license: GPL and additional rights
description: Intel Graphics
author: Tungsten Graphics, Inc.
license: GPL and additional rights
srcversion: 16A7F36B9744D969F5952F5
alias: pci:v00008086d0000015Asv*sd*bc03sc*i*
......
alias: pci:v00008086d00002562sv*sd*bc03sc*i*
alias: pci:v00008086d00003577sv*sd*bc03sc*i*
depends: drm,drm_kms_helper,video,i2c-algo-bit
vermagic: 3.0.0-28-generic-pae SMP mod_unload modversions 686
parm: modeset:int
parm: fbpercrtc:int
parm: panel_ignore_lid:int
parm: powersave:int
parm: semaphores:int
parm: i915_enable_rc6:int
parm: i915_enable_fbc:int
parm: lvds_downclock:int
parm: lvds_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
parm: vbt_sdvo_panel_type:int
parm: reset:bool
Anyone else happen to know how to fix this issue? Let me know if you need any more info.