** Description changed:

+ My computer is Sony Vaio VPCCB2S1E with these GPUs:
+ Intel® HD Graphics 3000
+ AMD Radeon™ HD 6630M
+ 
  I have fglrx drivers in my hybrid fglrx/intel system and I am using the 
integrated GPU, setup by:
  amdconfig --px-igpu
  
  The problem is that in every reboot after I have successfully used the iGPU, 
the X server to crashes, which means:
  - One time the X server loads normally **
  - One time the X server crashes, giving the error in the attached log and the 
only thing I can do is reboot the system
  This periodic behaviour is totally reproducible: once it crashes, after the 
reboot it works fine, on the next reboot crashes again, and so on...
  
  ** I had to use the patched fglrx/intel drivers from:
  https://launchpad.net/~andrikos/+archive/ppa
  in order to avoid Bug #1068404
  
  WORKAROUND: An obvious workaround (not a solution) is to use the discrete ATI 
GPU by giving:
  amdconfig --px-dgpu
  
  I post two logs, both of them crashes when I reboot after I have
  successfully used the iGPU.
  
  Their difference is that the first one refers to the configuration where the 
iGPU is used again and it is the procedure described above.
  The second one shows what happens if I select the dGPU before I reboot 
(running amdconfig --px-dgpu, while using the iGPU).
  
- 
  Log when iGPU is selected:
- 
  
  [   26.312365] AMD IOMMUv2 driver by Joerg Roedel <joerg.roe...@amd.com>
  [   26.312368] AMD IOMMUv2 functionality not available on this sytem
  [   26.316087] cfg80211: Calling CRDA to update world regulatory domain
  [   26.320596] fglrx: module license 'Proprietary. (C) 2002 - ATI 
Technologies, Starnberg, GERMANY' taints kernel.
  [   26.320601] Disabling lock debugging due to kernel taint
  [   26.321625] lp: driver loaded but no devices found
  [   26.324924] ACPI Warning: 0x0000000000000460-0x000000000000047f SystemIO 
conflicts with Region \PMIO 1 (20120320/utaddress-251)
  [   26.324938] ACPI: If an ACPI driver is available for this device, you 
should use it instead of the native driver
  [   26.324941] lpc_ich: Resource conflict(s) found affecting iTCO_wdt
  [   26.324945] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO 
conflicts with Region \PMIO 1 (20120320/utaddress-251)
  [   26.324951] ACPI: If an ACPI driver is available for this device, you 
should use it instead of the native driver
  [   26.324955] ACPI Warning: 0x0000000000000500-0x000000000000057f SystemIO 
conflicts with Region \GPIO 1 (20120320/utaddress-251)
  [   26.324960] ACPI Warning: 0x0000000000000500-0x000000000000057f SystemIO 
conflicts with Region \_SB_.PCI0.PEG0.PEGP.GPIO 2 (20120320/utaddress-251)
  [   26.324964] ACPI: If an ACPI driver is available for this device, you 
should use it instead of the native driver
  [   26.324965] lpc_ich: Resource conflict(s) found affecting gpio_ich
  [   26.336973] [drm] Initialized drm 1.1.0 20060810
  [   26.338394] [fglrx] Maximum main memory to use for locked dma buffers: 
3704 MBytes.
  [   26.338642] [fglrx]   vendor: 1002 device: 6741 count: 1
  [   26.340712] [fglrx] ioport: bar 4, base 0xd000, size: 0x100
  [   26.340727] pci 0000:01:00.0: enabling device (0006 -> 0007)
  [   26.340839] [fglrx] Kernel PAT support is enabled
  [   26.340857] [fglrx] module loaded - fglrx 9.1.11 [Oct 18 2012] with 1 
minors
  [   28.984723] fglrx_pci 0000:01:00.0: irq 51 for MSI/MSI-X
  [   28.985107] [fglrx] Firegl kernel thread PID: 1463
  [   28.985185] [fglrx] Firegl kernel thread PID: 1464
  [   28.985260] [fglrx] Firegl kernel thread PID: 1465
  [   28.985383] [fglrx] IRQ 51 Enabled
  [   29.032632] [fglrx] Gart USWC size:1208 M.
  [   29.032634] [fglrx] Gart cacheable size:479 M.
  [   29.032636] [fglrx] Reserved FB block: Shared offset:0, size:1000000
  [   29.032638] [fglrx] Reserved FB block: Unshared offset:f936000, size:3ca000
  [   29.032639] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000
  [   29.062838] [fglrx:firegl_cail_early_init] *ERROR* CAIL: already 
initialized!
  [   29.062843] [fglrx:hal_init_gpu] *ERROR* Failed to early init cail!
  [   29.062844] [fglrx] device open failed with code -1
  [   34.540409] BUG: unable to handle kernel paging request at ffffc90015b48700
  [   34.540447] IP: [<ffffffffa01964d7>] 
_ZN8AsicR6007getRptrE12_QS_CP_RING_+0x7/0x10 [fglrx]
  [   34.540547] PGD 12b020067 PUD 12b021067 PMD 10ceed067 PTE 0
  [   34.540574] Oops: 0000 [#1] SMP
  [   34.540591] CPU 0
  [   34.540599] Modules linked in: pci_stub vboxpci(O) vboxnetadp(O) 
vboxnetflt(O) vboxdrv(O) parport_pc rfcomm ppdev bnep binfmt_misc 
snd_hda_codec_hdmi snd_hda_codec_realtek coretemp kvm_intel kvm ghash_clmulni
  _intel cryptd btusb bluetooth uvcvideo videobuf2_core videodev 
videobuf2_vmalloc videobuf2_memops joydev microcode snd_hda_intel snd_hda_codec 
snd_hwdep snd_pcm snd_seq_midi arc4 snd_rawmidi snd_seq_midi_event s
  nd_seq snd_timer snd_seq_device psmouse serio_raw mac_hid
  sony_laptop snd ath9k mei i915 drm_kms_helper fglrx(PO) drm soundcore 
snd_page_alloc i2c_algo_bit video mac80211 ath9k_common lpc_ich ath9k_hw ath 
cfg80211 amd_iommu_v2 lp parport hid_generic usbhid hid mmc_bloc
  k atl1c sdhci_pci sdhci
  [   34.540911]
  [   34.540915] Pid: 1204, comm: Xorg Tainted: P           O 3.5.0-20-generic 
#31-Ubuntu Sony Corporation VPCCB2S1E/VAIO
  [   34.540956] RIP: 0010:[<ffffffffa01964d7>]  [<ffffffffa01964d7>] 
_ZN8AsicR6007getRptrE12_QS_CP_RING_+0x7/0x10 [fglrx]
  [   34.541045] RSP: 0018:ffff8801079c9cf0  EFLAGS: 00010246
  [   34.541065] RAX: 0000000000000001 RBX: ffffffffa02a8830 RCX: 
0000000000000007
  [   34.541090] RDX: ffffc90015b40000 RSI: 0000000000000000 RDI: 
ffffc9001674b020
  [   34.541115] RBP: ffffc90016b6f140 R08: 0000000000000004 R09: 
ffffc9001674b020
  [   34.541141] R10: 0000000000000000 R11: ffff88010c880500 R12: 
ffffc9001674b198
  [   34.541166] R13: ffff88010db80000 R14: ffff88010db80000 R15: 
0000000000000000
  [   34.541193] FS:  00007f19d9cbd880(0000) GS:ffff88012fa00000(0000) 
knlGS:0000000000000000
  [   34.541222] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [   34.541243] CR2: ffffc90015b48700 CR3: 00000001079c4000 CR4: 
00000000000407f0
  [   34.541268] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
  [   34.541295] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 
0000000000000400
  [   34.541320] Process Xorg (pid: 1204, threadinfo ffff8801079c8000, task 
ffff880108039700)
  [   34.541349] Stack:
  [   34.541357]  ffffffffa0179535 ffff8801079c9d48 ffffc9001674b020 
0000000000000000
  [   34.542796]  ffffffffa0197ba9 ffff88010db80000 0000000000000000 
ffff880107a6d120
  [   34.544219]  ffffffffa014aff4 ffff880107a6d120 ffffffffa0103dfa 
ffff8801079c9d58
  [   34.545661] Call Trace:
  [   34.547115]  [<ffffffffa0179535>] ? 
_ZN15ExecutableUnits17assertPrimaryRingEb+0x1e5/0x220 [fglrx]
  [   34.548603]  [<ffffffffa0197ba9>] ? _ZN8AsicR6009assertPM4Eb+0x39/0x80 
[fglrx]
  [   34.550077]  [<ffffffffa014aff4>] ? CMMQS_DisableQS+0x24/0x30 [fglrx]
  [   34.551541]  [<ffffffffa0103dfa>] ? firegl_cmmqs_Disable_QS+0x3a/0xe0 
[fglrx]
  [   34.553004]  [<ffffffffa00cea9e>] ? KCL_PCI_ReadConfigWord+0x1e/0x20 
[fglrx]
  [   34.554458]  [<ffffffffa00d8c64>] ? firegl_takedown+0x854/0x8f0 [fglrx]
  [   34.555927]  [<ffffffffa0106c08>] ? firegl_acpi_eval_method+0x348/0x500 
[fglrx]
  [   34.557371]  [<ffffffff812b31d8>] ? security_capable+0x18/0x20
  [   34.558838]  [<ffffffffa01068c0>] ? 
firegl_acpi_eval_method_helper+0x100/0x100 [fglrx]
  [   34.560308]  [<ffffffffa00d7b6d>] ? firegl_ioctl+0x1ed/0x250 [fglrx]
  [   34.561769]  [<ffffffffa00c7ace>] ? ip_firegl_unlocked_ioctl+0xe/0x20 
[fglrx]
  [   34.563214]  [<ffffffff81193bd9>] ? do_vfs_ioctl+0x99/0x590
  [   34.564652]  [<ffffffff811a0544>] ? mntput+0x24/0x40
  [   34.566088]  [<ffffffff81183422>] ? fput+0x1a2/0x260
  [   34.567513]  [<ffffffff81194169>] ? sys_ioctl+0x99/0xa0
  [   34.568980]  [<ffffffff8168b969>] ? system_call_fastpath+0x16/0x1b
  [   34.570402] Code: 8b 4c 24 10 41 89 4a 08 41 8b 38 49 8b 33 89 7e 0c 41 8b 
50 04 49 8b 1b 89 53 10 49 83 03 14 eb 8a 90 66 90 48 8b 97 00 01 00 00 <8b> 82 
00 87 00 00 c3 66 90 53 48 89 fb e8 97 6a fc ff 48 8b
   bb
  [   34.571991] RIP  [<ffffffffa01964d7>] 
_ZN8AsicR6007getRptrE12_QS_CP_RING_+0x7/0x10 [fglrx]
  [   34.573588]  RSP <ffff8801079c9cf0>
  [   34.575105] CR2: ffffc90015b48700
  [   34.596474] ---[ end trace aeeb911c328d3cdb ]---
  [   34.597160] [fglrx:firegl_release] *ERROR* device busy: 1 0
  [   34.597162] [fglrx] release failed with code -EBUSY
  [   34.687351] init: lightdm main process (1193) terminated with status 1
  
- 
- 
  Log when dGPU is selected:
- 
  
  [   14.576583] AMD IOMMUv2 driver by Joerg Roedel <joerg.roe...@amd.com>
  [   14.576587] AMD IOMMUv2 functionality not available on this sytem
  [   14.581175] fglrx: module license 'Proprietary. (C) 2002 - ATI 
Technologies, Starnberg, GERMANY' taints kernel.
  [   14.581180] Disabling lock debugging due to kernel taint
  [   14.582734] cfg80211: Calling CRDA to update world regulatory domain
  [   14.588559] [drm] Initialized drm 1.1.0 20060810
  [   14.592371] [fglrx] Maximum main memory to use for locked dma buffers: 
3704 MBytes.
  [   14.592650] [fglrx]   vendor: 1002 device: 6741 count: 1
  [   14.592938] ACPI Warning: 0x0000000000000460-0x000000000000047f SystemIO 
conflicts with Region \PMIO 1 (20120320/utaddress-251)
  [   14.592945] ACPI: If an ACPI driver is available for this device, you 
should use it instead of the native driver
  [   14.592947] lpc_ich: Resource conflict(s) found affecting iTCO_wdt
  [   14.592950] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO 
conflicts with Region \PMIO 1 (20120320/utaddress-251)
  [   14.592954] ACPI: If an ACPI driver is available for this device, you 
should use it instead of the native driver
  [   14.592958] ACPI Warning: 0x0000000000000500-0x000000000000057f SystemIO 
conflicts with Region \GPIO 1 (20120320/utaddress-251)
  [   14.592962] ACPI Warning: 0x0000000000000500-0x000000000000057f SystemIO 
conflicts with Region \_SB_.PCI0.PEG0.PEGP.GPIO 2 (20120320/utaddress-251)
  [   14.592966] ACPI: If an ACPI driver is available for this device, you 
should use it instead of the native driver
  [   14.592968] lpc_ich: Resource conflict(s) found affecting gpio_ich
  [   14.593112] [fglrx] ioport: bar 4, base 0xd000, size: 0x100
  [   14.593126] pci 0000:01:00.0: enabling device (0006 -> 0007)
  [   14.593254] [fglrx] Kernel PAT support is enabled
  [   14.593272] [fglrx] module loaded - fglrx 9.1.11 [Dec  2 2012] with 1 
minors
  [   14.595871] mei 0000:00:16.0: wd: failed to find the client
  [   14.599969] i915 0000:00:02.0: setting latency timer to 64
  [   17.755002] fglrx_pci 0000:01:00.0: irq 51 for MSI/MSI-X
  [   17.755380] [fglrx] Firegl kernel thread PID: 1450
  [   17.755446] [fglrx] Firegl kernel thread PID: 1451
  [   17.755511] [fglrx] Firegl kernel thread PID: 1452
  [   17.755630] [fglrx] IRQ 51 Enabled
  [   17.802713] [fglrx] Gart USWC size:1208 M.
  [   17.802716] [fglrx] Gart cacheable size:479 M.
- [   17.802722] [fglrx] Reserved FB block: Shared offset:0, size:1000000 
- [   17.802724] [fglrx] Reserved FB block: Unshared offset:f936000, 
size:3ca000 
- [   17.802726] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000 
+ [   17.802722] [fglrx] Reserved FB block: Shared offset:0, size:1000000
+ [   17.802724] [fglrx] Reserved FB block: Unshared offset:f936000, size:3ca000
+ [   17.802726] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000
  [   17.859180] [fglrx:firegl_cail_early_init] *ERROR* CAIL: already 
initialized!
  [   17.859183] [fglrx:hal_init_gpu] *ERROR* Failed to early init cail!
  [   17.859185] [fglrx] device open failed with code -1
  [   23.678686] ------------[ cut here ]------------
  [   23.678712] kernel BUG at 
/build/buildd/linux-3.5.0/security/apparmor/include/context.h:112!
  [   23.678743] invalid opcode: 0000 [#1] SMP
  [   23.678762] CPU 0
  [   23.678771] Modules linked in: pci_stub vboxpci(O) vboxnetadp(O) 
vboxnetflt(O) vboxdrv(O) parport_pc ppdev rfcomm bnep binfmt_misc 
snd_hda_codec_hdmi snd_hda_codec_realtek coretemp kvm_intel kvm 
ghash_clmulni_intel cryptd joydev uvcvideo videobuf2_core videodev 
videobuf2_vmalloc videobuf2_memops btusb bluetooth snd_hda_intel snd_hda_codec 
snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event arc4 snd_seq 
microcode sony_laptop lp parport mac_hid snd_timer snd_seq_device ath9k i915 
mac80211 ath9k_common ath9k_hw ath psmouse serio_raw fglrx(PO) drm_kms_helper 
drm i2c_algo_bit video cfg80211 snd lpc_ich amd_iommu_v2 soundcore mei 
snd_page_alloc hid_generic usbhid hid mmc_block sdhci_pci atl1c sdhci
  [   23.679099]
  [   23.679104] Pid: 1201, comm: Xorg Tainted: P           O 3.5.0-20-generic 
#31-Ubuntu Sony Corporation VPCCB2S1E/VAIO
  [   23.679147] RIP: 0010:[<ffffffff8167c4ae>]  [<ffffffff8167c4ae>] 
aa_cred_profile.isra.3.part.4+0x4/0x6
  [   23.679196] RSP: 0018:ffff8801162338b8  EFLAGS: 00010246
  [   23.679215] RAX: 0000000000000000 RBX: ffff880115572100 RCX: 
ffff88011811f950
  [   23.679241] RDX: 0000000000000006 RSI: ffff880115572100 RDI: 
0000000000000012
  [   23.679266] RBP: ffff8801162338b8 R08: 0000000000000006 R09: 
0000000000000005
  [   23.679292] R10: 0000000000000000 R11: 0000000000004000 R12: 
0000000000000003
  [   23.679317] R13: 0000000000000001 R14: 0000000000000005 R15: 
ffff880119ff3800
  [   23.679344] FS:  00007f12a3b8b880(0000) GS:ffff88012fa00000(0000) 
knlGS:0000000000000000
  [   23.679372] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [   23.679393] CR2: 00007f12a6557e9b CR3: 0000000127e8b000 CR4: 
00000000000407f0
  [   23.679419] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
  [   23.679444] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 
0000000000000400
  [   23.679470] Process Xorg (pid: 1201, threadinfo ffff880116232000, task 
ffff88011547ae00)
  [   23.679498] Stack:
  [   23.679507]  ffff8801162338c8 ffffffff812ed866 ffff8801162338d8 
ffffffff812ed8e8
  [   23.679539]  ffff8801162338e8 ffffffff812ed946 ffff8801162338f8 
ffffffff812b289f
  [   23.679570]  ffff880116233958 ffffffff8113eb60 ffff88011c726060 
ffff88011c726000
  [   23.679602] Call Trace:
  [   23.679615]  [<ffffffff812ed866>] common_file_perm+0xe6/0xf0
  [   23.679637]  [<ffffffff812ed8e8>] common_mmap+0x48/0x60
  [   23.679656]  [<ffffffff812ed946>] apparmor_mmap_file+0x16/0x20
  [   23.679681]  [<ffffffff812b289f>] security_mmap_file+0x2f/0x80
  [   23.679704]  [<ffffffff8113eb60>] vm_mmap_pgoff+0x50/0xb0
  [   23.679726]  [<ffffffff8113ebed>] vm_mmap+0x2d/0x40
  [   23.679780]  [<ffffffffa00f0a8e>] 
KCL_MEM_AllocLinearAddrInterval+0x1e/0x30 [fglrx]
  [   23.679835]  [<ffffffffa01165f9>] __create_mapping+0x349/0x4c0 [fglrx]
  [   23.679860]  [<ffffffff812222ec>] ? ext4_dirty_inode+0x3c/0x60
  [   23.679908]  [<ffffffffa01124d2>] ? gal_map_virtual_space+0x62/0xc0 [fglrx]
  [   23.679961]  [<ffffffffa011c81e>] ? 
__mc_heap_map_virtual_space+0x12e/0x210 [fglrx]
  [   23.680015]  [<ffffffffa011792e>] ? mc_heap_map_virtual_space+0x6e/0x170 
[fglrx]
  [   23.680067]  [<ffffffffa010c408>] ? 
MCIL_GetVirtualAddressInDescriptor+0xd8/0x1d0 [fglrx]
  [   23.681447]  [<ffffffffa019cae9>] ? 
_ZN14NODElist_alloc7addNodeEP7CMMNode+0x19/0x40 [fglrx]
  [   23.682828]  [<ffffffffa017f53e>] ? 
_ZN2OS17getVirtualAddressEP4AsicPvmm9_CMM_HEAPb+0xae/0xe0 [fglrx]
  [   23.684207]  [<ffffffffa00f5d4e>] ? KCL_STR_Memset+0xe/0x10 [fglrx]
  [   23.685599]  [<ffffffffa01805dc>] ? _ZN8MemPages8mapPagesEb+0x7c/0xa0 
[fglrx]
  [   23.687012]  [<ffffffffa0191e65>] ? _ZN15CMMProcess_COREC2Ev+0x15/0x20 
[fglrx]
  [   23.688430]  [<ffffffffa017a75a>] ? _ZN3MSF13createProcessEj+0x5a/0xc0 
[fglrx]
  [   23.689865]  [<ffffffffa01a3269>] ? 
_ZN16CMMClientManager12createClientE11_CMM_CLIENTR13_CLIENT_FLAGSj+0x159/0x170 
[fglrx]
  [   23.691328]  [<ffffffffa01a2d71>] ? 
_ZN9QS_CLIENT10initializeEP17_QS_REG_CLIENT_IN+0x101/0x260 [fglrx]
  [   23.692779]  [<ffffffffa017d1f0>] ? 
_ZN10QS_PRIVATE14registerClientEP17_QS_REG_CLIENT_INP18_QS_REG_CLIENT_OUT+0x140/0x180
 [fglrx]
  [   23.694249]  [<ffffffffa018a794>] ? _Z8uCWDDEQCmjjPvjS_+0x514/0x1200 
[fglrx]
  [   23.695707]  [<ffffffff8107c36e>] ? down+0x2e/0x50
  [   23.697160]  [<ffffffffa012b14f>] ? firegl_cmmqs_CWDDE_32+0x36f/0x480 
[fglrx]
  [   23.698632]  [<ffffffffa012998e>] ? firegl_cmmqs_CWDDE32+0x8e/0x140 [fglrx]
  [   23.700055]  [<ffffffff8105ed87>] ? capable+0x17/0x20
  [   23.701501]  [<ffffffffa0129900>] ? firegl_cmmqs_disabledriver+0x120/0x120 
[fglrx]
  [   23.702949]  [<ffffffffa00feb6d>] ? firegl_ioctl+0x1ed/0x250 [fglrx]
  [   23.704381]  [<ffffffff8168734c>] ? do_page_fault+0x1cc/0x4e0
  [   23.705835]  [<ffffffffa00eeace>] ? ip_firegl_unlocked_ioctl+0xe/0x20 
[fglrx]
  [   23.707272]  [<ffffffff81193bd9>] ? do_vfs_ioctl+0x99/0x590
  [   23.708707]  [<ffffffff81194169>] ? sys_ioctl+0x99/0xa0
  [   23.710144]  [<ffffffff8168b969>] ? system_call_fastpath+0x16/0x1b
  [   23.711573] Code: 8b 43 08 48 29 c8 48 83 f8 01 76 14 4d 85 e4 74 08 66 8b 
01 66 41 89 04 24 48 83 43 10 02 b2 01 5b 41 5c 88 d0 5d c3 55 48 89 e5 <0f> 0b 
55 48 89 e5 0f 0b 55 48 89 e5 41 55 41 54 53 50 66 66 66
  [   23.713223] RIP  [<ffffffff8167c4ae>] aa_cred_profile.isra.3.part.4+0x4/0x6
  [   23.714787]  RSP <ffff8801162338b8>
  [   23.733719] ---[ end trace 45072a237b17ad35 ]---
  [   23.735474] [fglrx:firegl_release] *ERROR* device busy: 1 0
  [   23.735476] [fglrx] release failed with code -EBUSY

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1088220

Title:
  Periodic Xserver crash when using integrated GPU in flgrx/Intel
  systems

To manage notifications about this bug go to:
https://bugs.launchpad.net/fglrx/+bug/1088220/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to