Created attachment 101917 [details] runlevel 4 GPU crash dump hw: Dell Inspiron 1100, graphics i845GL, BIOS A32 (latest), RAM allocated to video in BIOS 8M (max) os: slackware 14.1 w/ kernel 3.14.5, i915, kdm, lxde no kernel module options, and no xorg.conf editing (although various combinations have been tried) symptoms: - boot to runlevel 3 login startx black screen & mooveable mouse [moment of logs, all seems normal] right click brings desktop menu w/ letters missing guess start menu/logout position and logout (stops x) startx everything works normally - boot to runlevel 4 (equivalent to 5 of other distros) kdm login screen ok [moment of logs, gpu crash dump] login kdm login screen freezes wait for disk led to stop right click brings desktop menu w/ letters missing guess start menu/logout position and logout kdm login screen ok login everything works normally - whatever it is, it happens the very first time X starts, directly or by kdm. Subsequent x restarts work ok. secondary symptoms (perhaps unrelated): - during boot, before drm kicks in, output only covers the central ~1/3 of screen - during boot, when drm kicks in, a black screen (random)
Created attachment 101918 [details] runlevel 4 messages excerpt
Created attachment 101919 [details] runlevel 4 syslog excerpt
Created attachment 101920 [details] runlevel 4 Xorg.0.log
Created attachment 101921 [details] runlevel 4 kdm.log
Created attachment 101922 [details] runlevel 3 messages excerpt
Created attachment 101923 [details] runlevel 3 syslog excerpt
Created attachment 101924 [details] runlevel 3 Xorg.0.log
Created attachment 101925 [details] runlevel 3 kdm.log
Looks like an issue with stolen memory. Simple test: diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c b/drivers/gpu/drm/i915/i915_gem_stolen.c index 78fa532..2bce530 100644 --- a/drivers/gpu/drm/i915/i915_gem_stolen.c +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c @@ -330,6 +330,8 @@ int i915_gem_init_stolen(struct drm_device *dev) struct drm_i915_private *dev_priv = dev->dev_private; struct resource *r; + return 0; + #ifdef CONFIG_INTEL_IOMMU if (intel_iommu_gfx_mapped && INTEL_INFO(dev)->gen < 8) { DRM_INFO("DMAR active, disabling use of stolen memory\n");
Chris, Thanks for your swift reply. By issuing 'patch -p1 < patchfile' from my /usr/src/linux I get: patching file drivers/gpu/drm/i915/i915_gem_stolen.c Hunk #1 FAILED at 330. 1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem_stolen.c.rej I'll keep trying.
It's a one line patch... Just return 0 from the start of i915_gem_init_stolen
Created attachment 102121 [details] runlevel 4 GPU crash dump (patch comment 9) True enough, but against the latest kernel, not against the 3.14.5 I'm running. No matter. I built and installed the latest 3.16.0-rc3, with the patch from Comment 9. The gpu crash still occurs and I attach the dump. The overall behaviour is a little better in that the black screens appear now as a rare exception.
Created attachment 102123 [details] runlevel 4 messages excerpt (patch comment 9)
Well that does rule it out as being a conflict over stolen memory. Can you please attach full boot log with drm.debug=6 for the black screen?
Created attachment 102267 [details] runlevel 4 dmesg with drm.debug=6 Still with kernel 3.16.0-rc3, and applied patch from comment 9. A few notes that might help. [ 11.014827] [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_d uplicates=1"if the current driver doesn't work. -- For this I have tried both 'video=SVIDEO-1:d' and 'video.allow_d uplicates='0|1 with no result. [ 107.248698] i915: render error detected, EIR: 0x00000010 -- This is the first login screen. It is about where the black screen appeared with kernel 3.14.5. With 3.16.0-rc3, there is usually no black screen, but the remainder of the initial description still happens, ie login screen doesn't change to desktop and you have to logout and login again before you can work normally. I have to point out that to diminish the chance of a black screen during logout, I have in kdmrc 'TerminateServer=true', so at each logout the X server restarts. [ 336.708729] [drm:drm_mode_getconnector] [CONNECTOR:7:?] -- This must be the beginning of the first login. [ 428.826241] [drm:drm_mode_getconnector] [CONNECTOR:7:?] -- This must be the beginning of the second login. It may be irrelevant, but it is noticeably shorter. It feels like that too, the second login. Thanks for keeping at it.
Closed after more than one year of inactivity. Feel free to reopen if needed. Thanks
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.