F11: Blender and the i915 driver

Petrus de Calguarium kwhiskerz at gmail.com
Tue Jul 14 16:59:54 UTC 2009


Marco Guazzone wrote:

> On Mon, Jul 13, 2009 at 7:08 PM, Petrus de
> Calguarium<kwhiskerz at gmail.com> wrote:
>> Marco Guazzone wrote:
>>
>>> Hi all,
>>>
>>> It seems that the i915 driver of the kernel shipped with
>> F11
>>> (2.6.29.5-191.fc11.x86_64) has some problems.
>>>
>>> When I start blender (v, 2.49a) my X will completely
>> freeze!
>>>
>>> Looking in /var/log/messages:
>>>
>>> Jul 13 15:15:35 feedback kernel: ------------[ cut here
>> ]------------
>>> Jul 13 15:15:35 feedback kernel: kernel BUG at
>>> drivers/gpu/drm/i915/i915_gem.c:2136!
>>> Jul 13 15:15:35 feedback kernel: invalid opcode: 0000 
[#1]
>> SMP
>>> Jul 13 15:15:35 feedback kernel: last sysfs file:
>>>
>> 
/sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/charge_full
>>> Jul 13 15:15:35 feedback kernel: CPU 1
>>> Jul 13 15:15:35 feedback kernel: Modules linked in: fuse
>> ipv6
>>> cpufreq_ondemand acpi_cpufreq freq_table dm_multipath
>> kvm_intel kvm
>>> uinput arc4 ecb snd_hda_codec_idt iwl3945 firewire_ohci
>> snd_hda_intel
>>> firewire_core snd_hda_codec snd_hwdep mac80211 snd_pcm
>> yenta_socket
>>> tg3 rsrc_nonstatic i2c_i801 snd_timer snd iTCO_wdt
>> soundcore
>>> iTCO_vendor_support snd_page_alloc wmi pcspkr crc_itu_t
>> lib80211
>>> cfg80211 dell_laptop joydev dcdbas i915 drm i2c_algo_bit
>> i2c_core
>>> video output [last unloaded: microcode]
>>> Jul 13 15:15:35 feedback kernel: Pid: 2162, comm: blender
>> Not tainted
>>> 2.6.29.5-191.fc11.x86_64 #1 Latitude D830
>>> Jul 13 15:15:35 feedback kernel: RIP: 0010:
>> [<ffffffffa005f3d2>]
>>> [<ffffffffa005f3d2>]
>> i915_gem_object_get_fence_reg+0x221/0x61e [i915]
>>> Jul 13 15:15:35 feedback kernel: RSP: 
0000:ffff88006c915be8
>> EFLAGS:
>>> 00010202 Jul 13 15:15:35 feedback kernel: RAX:
>> 0000000000001524 RBX:
>>> ffff88006f88d480 RCX: 0000000000000010
>>> Jul 13 15:15:35 feedback kernel: RDX: 0000000000002a02 
RSI:
>>> 0000000000001524 RDI: ffff88006f88d240
>>> Jul 13 15:15:35 feedback kernel: RBP: ffff88006c915c28 
R08:
>>> 0000000000000004 R09: ffff88007d5ae1f0
>>> Jul 13 15:15:35 feedback kernel: R10: 0000000000000200 
R11:
>>> 0000000000000040 R12: ffff88006f88d3c0
>>> Jul 13 15:15:35 feedback kernel: R13: ffff88007d5ae000 
R14:
>>> ffff88006f88d600 R15: ffff88007d5ac000
>>> Jul 13 15:15:35 feedback kernel: FS:
>> 00007fb7540f1780(0000)
>>> GS:ffff88007f001f00(0000) knlGS:0000000000000000
>>> Jul 13 15:15:35 feedback kernel: CS:  0010 DS: 0000 ES:
>> 0000 CR0:
>>> 0000000080050033
>>> Jul 13 15:15:35 feedback kernel: CR2: 00007fb7540fc000 
CR3:
>>> 000000006c813000 CR4: 00000000000026e0
>>> Jul 13 15:15:35 feedback kernel: DR0: 0000000000000000 
DR1:
>>> 0000000000000000 DR2: 0000000000000000
>>> Jul 13 15:15:35 feedback kernel: DR3: 0000000000000000 
DR6:
>>> 00000000ffff0ff0 DR7: 0000000000000400
>>> Jul 13 15:15:35 feedback kernel: Process blender (pid:
>> 2162,
>>> threadinfo ffff88006c914000, task ffff88006a920000)
>>> Jul 13 15:15:35 feedback kernel: Stack:
>>> Jul 13 15:15:35 feedback kernel: ffff88006c915c38
>> ffff88007d5ae1f0
>>> ffff88007d5ac020 ffff88006f88d600
>>> Jul 13 15:15:35 feedback kernel: ffff88007d5ac020
>> ffff88006f88d480
>>> ffff88006f9c2580 ffff88006c915ce8
>>> Jul 13 15:15:35 feedback kernel: ffff88006c915c98
>> ffffffffa00610d3
>>> ffff88006c915c68 00007fb7540fc000
>>> Jul 13 15:15:35 feedback kernel: Call Trace:
>>> Jul 13 15:15:35 feedback kernel: [<ffffffffa00610d3>]
>>> i915_gem_fault+0xc1/0x136 [i915]
>>> Jul 13 15:15:35 feedback kernel: [<ffffffff810b213f>]
>>> __do_fault+0x55/0x3d5 Jul 13 15:15:35 feedback kernel:
>>> [<ffffffff812429bb>] ? agp_flush_chipset+0x1b/0x1d
>>> Jul 13 15:15:35 feedback kernel: [<ffffffffa005d523>] ?
>>> i915_gem_object_flush_cpu_write_domain+0x26/0x32 [i915]
>>> Jul 13 15:15:35 feedback kernel: [<ffffffff810b4475>]
>>> handle_mm_fault+0x349/0x7c5
>>> Jul 13 15:15:35 feedback kernel: [<ffffffff813ae615>]
>>> do_page_fault+0x5b5/0x9e9 Jul 13 15:15:35 feedback 
kernel:
>>> [<ffffffff813ac01a>] ? unlock_kernel+0x2f/0x32 Jul 13
>> 15:15:35 feedback
>>> kernel: [<ffffffff810e0e27>] ? vfs_ioctl+0x76/0x87 Jul 13
>> 15:15:35
>>> feedback kernel: [<ffffffff810e12bb>] ?
>> do_vfs_ioctl+0x462/0x4a3 Jul 13
>>> 15:15:35 feedback kernel: [<ffffffff813abab5>] ?
>>> trace_hardirqs_off_thunk+0x3a/0x6c Jul 13 15:15:35 
feedback
>> kernel:
>>> [<ffffffff813ac175>] page_fault+0x25/0x30 Jul 13 15:15:35
>> feedback kernel:
>>> Code: ff e8 35 e9 ff ff 85 c0 0f 84 b3 fe ff ff e9 06 04 
00
>> 00 41 83 7c 24
>>> 20 00 75 10 48 8b 55 c8 48 8b 02 f7 40 70 be ff ff ff 74 
04
>> <0f> 0b eb fe
>>> 49 8b bf 38 01 00 00 48 8b 70 38 48 85 ff 74 1a 48
>>> Jul 13 15:15:35 feedback kernel: RIP 
 [<ffffffffa005f3d2>]
>>> i915_gem_object_get_fence_reg+0x221/0x61e [i915]
>>> Jul 13 15:15:35 feedback kernel: RSP <ffff88006c915be8>
>>> Jul 13 15:15:35 feedback kernel: ---[ end trace
>> 77c31c0b3328e17f ]---
>>>
>>> I looked at the kenerloops.org site and I've found many
>> bugs related
>>> to i915 but I'm not sure that mine is included
>>>
>>>
>>> Should I submit a bug? ... and where?
>>>
>>> Thanks in advance!
>>>
>>> Cheers
>>>
>>> -- Marco
>>>
>> It is possible that it is this bug:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=496614
>>
>> The workaround is to disable modesetting. I think it might 
be
>> fixed in rawhide with the recent X server. The unfortunate
>> side effect of the workaround is that you will also lose
>> plasma compositing functionality.
>>
> 
> Hi!
> 
> Sorry for the delay.
> 
> I've tried to use "nomodeset" but the problem remains even 
if this
> time only the screen and the keyboard frozen, not the 
mouse. Furhter,
> the blender window remained transparent, while without 
nomodeset it
> remains completely grey.
> 
> Anyway,  I had to reboot since there was no way to interact 
with the
> system
> 
> Here below is the trace:
> 
> Jul 14 11:33:06 feedback kernel: ------------[ cut here 
]------------
> Jul 14 11:33:06 feedback kernel: kernel BUG at
> drivers/gpu/drm/i915/i915_gem.c:2136!
> Jul 14 11:33:06 feedback kernel: invalid opcode: 0000 [#1] 
SMP
> Jul 14 11:33:06 feedback kernel: last sysfs file:
> /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq
> Jul 14 11:33:06 feedback kernel: CPU 1
> Jul 14 11:33:06 feedback kernel: Modules linked in: fuse 
ipv6
> cpufreq_ondemand acpi_cpufreq freq_table dm_multipath 
kvm_intel kvm
> uinput arc4 ecb snd_hda_codec_idt iwl3945 snd_hda_intel 
snd_hda_codec
> mac80211 snd_hwdep snd_pcm firewire_ohci snd_timer 
yenta_socket
> firewire_core tg3 rsrc_nonstatic i2c_i801 snd soundcore 
snd_page_alloc
> iTCO_wdt lib80211 iTCO_vendor_support crc_itu_t cfg80211 
pcspkr joydev
> dell_laptop wmi dcdbas i915 drm i2c_algo_bit i2c_core video 
output
> [last unloaded: microcode]
> Jul 14 11:33:06 feedback kernel: Pid: 9149, comm: 
blender.bin Not
> tainted 2.6.29.5-191.fc11.x86_64 #1 Latitude D830
> Jul 14 11:33:06 feedback kernel: RIP: 0010:
[<ffffffffa005f3d2>]
> [<ffffffffa005f3d2>] 
i915_gem_object_get_fence_reg+0x221/0x61e [i915]
> Jul 14 11:33:06 feedback kernel: RSP: 0000:ffff880065181be8  
EFLAGS:
> 00010202 Jul 14 11:33:06 feedback kernel: RAX: 
00000000000fc4f1 RBX:
> ffff88006e934900 RCX: 0000000000000010
> Jul 14 11:33:06 feedback kernel: RDX: 0000000000002a02 RSI:
> 00000000000fc4f1 RDI: ffff88006e8a7d80
> Jul 14 11:33:06 feedback kernel: RBP: ffff880065181c28 R08:
> 0000000000000003 R09: ffff88007d5b41e8
> Jul 14 11:33:06 feedback kernel: R10: 0000000000000200 R11:
> 0000000000000040 R12: ffff88006e8a7b40
> Jul 14 11:33:06 feedback kernel: R13: ffff88007d5b4000 R14:
> ffff88006f03d840 R15: ffff88007d5b3000
> Jul 14 11:33:06 feedback kernel: FS:  
00007f71d55df710(0000)
> GS:ffff88007f001f00(0000) knlGS:0000000000000000
> Jul 14 11:33:06 feedback kernel: CS:  0010 DS: 0000 ES: 
0000 CR0:
> 0000000080050033
> Jul 14 11:33:06 feedback kernel: CR2: 00007f71d553b000 CR3:
> 000000006f15d000 CR4: 00000000000026e0
> Jul 14 11:33:06 feedback kernel: DR0: 0000000000000000 DR1:
> 0000000000000000 DR2: 0000000000000000
> Jul 14 11:33:06 feedback kernel: DR3: 0000000000000000 DR6:
> 00000000ffff0ff0 DR7: 0000000000000400
> Jul 14 11:33:06 feedback kernel: Process blender.bin (pid: 
9149,
> threadinfo ffff880065180000, task ffff88005580ae00)
> Jul 14 11:33:06 feedback kernel: Stack:
> Jul 14 11:33:06 feedback kernel: ffff880065181c38 
ffff88007d5b41e8
> ffff88007d5b3020 ffff88006f03d840
> Jul 14 11:33:06 feedback kernel: ffff88007d5b3020 
ffff88006e934900
> ffff88004b850370 ffff880065181ce8
> Jul 14 11:33:06 feedback kernel: ffff880065181c98 
ffffffffa00610d3
> ffff880065181c68 00007f71d553b000
> Jul 14 11:33:06 feedback kernel: Call Trace:
> Jul 14 11:33:06 feedback kernel: [<ffffffffa00610d3>]
> i915_gem_fault+0xc1/0x136 [i915]
> Jul 14 11:33:06 feedback kernel: [<ffffffff810b213f>]
> __do_fault+0x55/0x3d5 Jul 14 11:33:06 feedback kernel:
> [<ffffffff812429bb>] ? agp_flush_chipset+0x1b/0x1d
> Jul 14 11:33:06 feedback kernel: [<ffffffffa005d523>] ?
> i915_gem_object_flush_cpu_write_domain+0x26/0x32 [i915]
> Jul 14 11:33:06 feedback kernel: [<ffffffff810b4475>]
> handle_mm_fault+0x349/0x7c5
> Jul 14 11:33:06 feedback kernel: [<ffffffff813ae615>]
> do_page_fault+0x5b5/0x9e9 Jul 14 11:33:06 feedback kernel:
> [<ffffffff813ac01a>] ? unlock_kernel+0x2f/0x32 Jul 14 
11:33:06 feedback
> kernel: [<ffffffff810e0e27>] ? vfs_ioctl+0x76/0x87 Jul 14 
11:33:06
> feedback kernel: [<ffffffff810e12bb>] ? 
do_vfs_ioctl+0x462/0x4a3 Jul 14
> 11:33:06 feedback kernel: [<ffffffff813abab5>] ?
> trace_hardirqs_off_thunk+0x3a/0x6c Jul 14 11:33:06 feedback 
kernel:
> [<ffffffff813ac175>] page_fault+0x25/0x30 Jul 14 11:33:06 
feedback kernel:
> Code: ff e8 35 e9 ff ff 85 c0 0f 84 b3 fe ff ff e9 06 04 00 
00 41 83 7c 24
> 20 00 75 10 48 8b 55 c8 48 8b 02 f7 40 70 be ff ff ff 74 04 
<0f> 0b eb fe
> 49 8b bf 38 01 00 00 48 8b 70 38 48 85 ff 74 1a 48
> Jul 14 11:33:06 feedback kernel: RIP  [<ffffffffa005f3d2>]
> i915_gem_object_get_fence_reg+0x221/0x61e [i915]
> Jul 14 11:33:06 feedback kernel: RSP <ffff880065181be8>
> Jul 14 11:33:06 feedback kernel: ---[ end trace 
3231cf4d512c550e ]---
> 
> 
> Thank you very much
> 
> -- Marco
> 
My symptoms are similar (but using video, not blender), and I 
also have to shut down and reboot to resolve.

I would suggest you post the trace to the bug report stated 
above, as it will not likely do any good here at all, unless 
someone just happens to spot it.




More information about the fedora-list mailing list