[hybrid snb-m-gt2 + GF106] libdrm assert hit in drm_intel_bufmgr_gem_init() because wrong kernel module was loaded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-intel (Ubuntu) |
Fix Released
|
High
|
Canonical X.org | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Problem]
An assertion is hit in drm_intel_
__GI___assert_fail (assertion=
drm_intel_
intel_init_bufmgr (intel=0xb85cfe08) at ../../src/
The assertion appears to be catching a condition where the pci id does not match any known intel chip generation. Yet (in most cases), Xorg.0.log shows the system is indeed running on INTEL.
However, the system has two video cards. Either it's a hybrid (such as in this case), or it has an add-in card.
[Troubleshooting]
1. Run `lspci -vn | grep VGA` and verify that it shows two video cards.
2. Look in your /var/log/Xorg.0.log for mentions of which X driver is being loaded. The lines look like this:
[ 16.675] (II) RADEON(0): blah blah
3. Run `dmesg | grep drm`. The messages will talk about whatever kernel driver it is loading up.
4. If dmesg mentions anything about "nvidia" or "fglrx", you have the proprietary video driver installed, and probably should uninstall and purge it first.
5. If it is discussing "nouveau" or "radeon", then the kernel is trying to load the wrong driver. Do any one of the following:
a) For hybrid graphics: In BIOS look for a setting to disable the second video card and use it.
b) Blacklist nouveau and/or radeon in your /etc/modprobe.
[Original Report]
it crahed when updating gnome
snb-m-gt2 (8086:0116) sandybridge xserver-
[ 504.155] (--) PCI:*(0:0:2:0) 8086:0116:1043:15f2 rev 9, Mem @ 0xdd400000/4194304, 0xb0000000/
[ 504.155] (--) PCI: (0:1:0:0) 10de:0df4:1043:15f2 rev 161, Mem @ 0xdc000000/
Thread 1 (Thread 0xb70b8a40 (LWP 19907)):
#0 0xb7522424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb71b61ef in __GI_raise (sig=6) at ../nptl/
resultvar = <optimized out>
resultvar = <optimized out>
pid = -1221419020
selftid = 19907
#2 0xb71b9835 in __GI_abort () at abort.c:91
save_stage = 2
act = {__sigaction_
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb71af095 in __assert_fail_base (fmt=0xb72e8858 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
str = 0xb85cc428 "p\244\
total = 4096
#4 0xb71af147 in __GI___assert_fail (assertion=
No locals.
#5 0xb6f21dc5 in drm_intel_
bufmgr_gem = 0xb85cc098
aperture = {aper_size = 132847026983193
gp = {param = -1201885960, value = 0xb7738ff4}
ret = <optimized out>
tmp = -1201865208
exec2 = false
#6 0xb6f60fbe in intel_init_bufmgr (intel=0xb85cfe08) at ../../src/
batch_size = <optimized out>
#7 I830PreInit (scrn=0xb85cacf8, flags=0) at ../../src/
intel = 0xb85cfe08
pEnt = <optimized out>
flags24 = 22
zeros = {red = 0, green = 0, blue = 0}
#8 0xb75c1caf in InitOutput (pScreenInfo=
i = <optimized out>
j = <optimized out>
k = <optimized out>
scr_index = <optimized out>
was_blocked = 0
modulelist = <optimized out>
optionlist = 0xb85b9708
screenpix24 = <optimized out>
pix24 = <optimized out>
pix24From = X_DEFAULT
pix24Fail = 0
autoconfig = <optimized out>
#9 0xb756a0e0 in main (argc=8, argv=0xbff33924, envp=0xbff33948) at ../../dix/
i = <optimized out>
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-core 2:1.11.4-0ubuntu7
ProcVersionSign
Uname: Linux 3.2.0-19-
.tmp.unity.
ApportVersion: 1.95-0ubuntu1
Architecture: i386
CompizPlugins: No value set for `/apps/
CompositorRunning: None
Date: Fri Mar 23 11:00:29 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xorg
ExtraDebuggingI
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
MachineType: ASUSTeK Computer Inc. K53SV
ProcCmdline: /usr/bin/X :1 -auth /var/run/
ProcEnviron:
ProcKernelCmdLine: BOOT_IMAGE=
Signal: 6
SourcePackage: xorg-server
Title: Xorg crashed with SIGABRT in raise()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 09/26/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: K53SV.315
dmi.board.
dmi.board.name: K53SV
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: K53SV
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
version.compiz: compiz 1:0.9.7.
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
tags: | added: apport-request-retrace |
Changed in xorg-server (Ubuntu): | |
importance: | Medium → High |
tags: | added: bugpattern-needed |
summary: |
- Xorg crashed with SIGABRT in __assert_fail_base() + Xorg crashed with SIGABRT in __assert_fail_base() unless clear + compiz/unity settings |
Changed in xorg-server (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: quantal |
description: | updated |
description: | updated |
summary: |
- Xorg crashed with SIGABRT in __assert_fail_base() unless clear - compiz/unity settings + [snb-m-gt2] Xorg crashed with SIGABRT in __assert_fail_base() unless + clear compiz/unity settings |
affects: | xorg-server (Ubuntu) → xserver-xorg-video-intel (Ubuntu) |
summary: |
- [snb-m-gt2 + GF106] libdrm assert hit in drm_intel_bufmgr_gem_init() - because wrong kernel module was loaded + [hybrid snb-m-gt2 + GF106] libdrm assert hit in + drm_intel_bufmgr_gem_init() because wrong kernel module was loaded |
StacktraceTop: 0xb6f2df80 "0", file=0xb6f2e5ac "../../ intel/intel_ bufmgr_ gem.c", line=2783, function=0xb6f2ebb7 "drm_intel_ bufmgr_ gem_init" ) at assert.c:94 0xb6f2df80 "0", file=0xb6f2e5ac "../../ intel/intel_ bufmgr_ gem.c", line=2783, function=0xb6f2ebb7 "drm_intel_ bufmgr_ gem_init" ) at assert.c:103 bufmgr_ gem_init (fd=-1, batch_size=16384) at ../../intel/ intel_bufmgr_ gem.c:2783 intel_driver. c:409 intel_driver. c:619
__assert_fail_base (fmt=0xb72e8858 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
__GI___assert_fail (assertion=
drm_intel_
intel_init_bufmgr (intel=0xb85cfe08) at ../../src/
I830PreInit (scrn=0xb85cacf8, flags=0) at ../../src/