@Nick, I installed the packages in your ppa. $ dpkg --list|grep -e video-intel -e fglrx ii fglrx 2:9.000-0ubuntu3+andrik4 amd64 Video driver for the AMD graphics accelerators ii fglrx-amdcccle 2:9.000-0ubuntu3+andrik4 amd64 Catalyst Control Center for the AMD graphics accelerators ii xserver-xorg-video-intel 2:2.20.9-0ubuntu2+andrik2 amd64 X.Org X server -- Intel i8xx, i9xx display driver X works correctly, only not able to switch to DGPU. But the biggest problem is when shutdowning, there is always a crash. Feb 27 11:26:06 wliao-envymint kernel: [ 5.891430] fglrx_pci 0000:01:00.0: >irq 49 for MSI/MSI-X Feb 27 11:26:06 wliao-envymint kernel: [ 5.892544] [fglrx] Firegl kernel thread PID: 2334 Feb 27 11:26:06 wliao-envymint kernel: [ 5.892688] [fglrx] Firegl kernel thread PID: 2335 Feb 27 11:26:06 wliao-envymint kernel: [ 5.892754] [fglrx] Firegl kernel thread PID: 2336 Feb 27 11:26:06 wliao-envymint kernel: [ 5.892828] [fglrx] IRQ 49 Enabled Feb 27 11:26:06 wliao-envymint kernel: [ 5.944549] [fglrx] Gart USWC size:1204 M. Feb 27 11:26:06 wliao-envymint kernel: [ 5.944556] [fglrx] Gart cacheable size:478 M. Feb 27 11:26:06 wliao-envymint kernel: [ 5.944565] [fglrx] Reserved FB block: Shared offset:0, size:1000000 Feb 27 11:26:06 wliao-envymint kernel: [ 5.944569] [fglrx] Reserved FB block: Unshared offset:f93a000, size:3c6000 Feb 27 11:26:06 wliao-envymint kernel: [ 5.944573] [fglrx] Reserved FB block: Unshared offset:7fff4000, size:c000 Feb 27 11:26:06 wliao-envymint kernel: [ 6.411819] [fglrx] module unloaded - fglrx 9.0.2 [Sep 20 2012] Feb 27 11:26:06 wliao-envymint kernel: [ 6.429481] [fglrx] Maximum main memory to use for locked dma buffers: 3696 MBytes. Feb 27 11:26:06 wliao-envymint kernel: [ 6.429630] [fglrx] vendor: 1002 device: 6840 count: 1 Feb 27 11:26:06 wliao-envymint kernel: [ 6.429800] [fglrx] ioport: bar 4, base 0x3000, size: 0x100 Feb 27 11:26:06 wliao-envymint kernel: [ 6.429871] [fglrx] Kernel PAT support is enabled Feb 27 11:26:06 wliao-envymint kernel: [ 6.429885] [fglrx] module loaded - fglrx 9.0.2 [Sep 20 2012] with 1 minors Feb 27 11:26:07 wliao-envymint kernel: [ 7.425490] ------------[ cut here ]------------ Feb 27 11:26:07 wliao-envymint kernel: [ 7.425508] WARNING: at /build/buildd/linux-3.5.0/drivers/pci/msi.c:828 pci_enable_msi_block+0x2a4/0x2b0() Feb 27 11:26:07 wliao-envymint kernel: [ 7.425512] Hardware name: HP ENVY Sleekbook 4 PC Feb 27 11:26:07 wliao-envymint kernel: [ 7.425514] Modules linked in: fglrx(PO) bnep rfcomm parport_pc ppdev snd_hda_codec_hdmi snd_hda_codec_idt coretemp kvm ghash_clmulni_intel aesni_intel cryptd aes_x86_64 snd_hda_intel snd_hda_codec snd_hwdep joydev snd_pcm hid_generic hp_wmi sparse_keymap snd_seq_midi snd_rawmidi uvcvideo videobuf2_core videodev videobuf2_vmalloc videobuf2_memops snd_seq_midi_event snd_seq microcode snd_timer snd_seq_device usbhid snd hid psmouse serio_raw arc4 lpc_ich i915 drm_kms_helper ath9k(O) mac80211(O) ath9k_common(O) ath9k_hw(O) ath(O) drm i2c_algo_bit cfg80211(O) soundcore snd_page_alloc compat(O) mei wmi btusb bluetooth mac_hid hp_accel lis3lv02d input_polldev video lp parport r8169 [last unloaded: fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.425613] Pid: 1718, comm: Xorg Tainted: P O 3.5.0-17-generic #28-Ubuntu Feb 27 11:26:07 wliao-envymint kernel: [ 7.425616] Call Trace: Feb 27 11:26:07 wliao-envymint kernel: [ 7.425629] [] warn_slowpath_common+0x7f/0xc0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.425637] [] warn_slowpath_null+0x1a/0x20 Feb 27 11:26:07 wliao-envymint kernel: [ 7.425645] [] pci_enable_msi_block+0x2a4/0x2b0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.425729] [] KCL_RequestMSI+0x13/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.425824] [] IRQMGR_initialize+0x24f/0x380 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.425918] [] ? IRQMGR_alloc_context+0xb7/0x110 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426009] [] ? irqmgr_wrap_initialize+0x1e/0xb0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426101] [] ? firegl_irqmgr_init+0x55/0x100 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426197] [] ? hal_init_gpu+0x1d1/0x4a0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426280] [] ? firegl_open+0x2e7/0x320 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426341] [] ? ip_firegl_open+0x17/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426401] [] ? firegl_stub_open+0xa5/0x120 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426439] [] ? chrdev_open+0xaf/0x1a0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426449] [] ? __dentry_open+0x21f/0x330 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426456] [] ? cdev_put+0x30/0x30 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426463] [] ? vfs_open+0x3a/0x40 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426497] [] ? nameidata_to_filp+0x58/0xb0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426522] [] ? do_last+0x49f/0xa10 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426543] [] ? apparmor_file_alloc_security+0x2c/0x60 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426549] [] ? path_openat+0xd9/0x430 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426614] [] ? KCL_SPINLOCK_STATIC_Release+0x16/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426693] [] ? drm_free+0xf3/0x180 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426774] [] ? firegl_release_helper+0x3dd/0x6c0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.426781] [] ? do_filp_open+0x41/0xa0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426787] [] ? alloc_fd+0xc6/0x110 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426793] [] ? do_sys_open+0xf5/0x230 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426798] [] ? sys_open+0x21/0x30 Feb 27 11:26:07 wliao-envymint kernel: [ 7.426807] [] ? system_call_fastpath+0x16/0x1b Feb 27 11:26:07 wliao-envymint kernel: [ 7.426812] ---[ end trace bd816c5c2a0dc0e2 ]--- Feb 27 11:26:07 wliao-envymint kernel: [ 7.427619] fglrx_pci 0000:01:00.0: >irq 50 for MSI/MSI-X Feb 27 11:26:07 wliao-envymint kernel: [ 7.427640] fglrx_pci 0000:01:00.0: >irq 51 for MSI/MSI-X Feb 27 11:26:07 wliao-envymint kernel: [ 7.427657] ------------[ cut here ]------------ Feb 27 11:26:07 wliao-envymint kernel: [ 7.427668] WARNING: at /build/buildd/linux-3.5.0/fs/sysfs/dir.c:529 sysfs_add_one+0xca/0x100() Feb 27 11:26:07 wliao-envymint kernel: [ 7.427670] Hardware name: HP ENVY Sleekbook 4 PC Feb 27 11:26:07 wliao-envymint kernel: [ 7.427673] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/msi_irqs' Feb 27 11:26:07 wliao-envymint kernel: [ 7.427676] Modules linked in: fglrx(PO) bnep rfcomm parport_pc ppdev snd_hda_codec_hdmi snd_hda_codec_idt coretemp kvm ghash_clmulni_intel aesni_intel cryptd aes_x86_64 snd_hda_intel snd_hda_codec snd_hwdep joydev snd_pcm hid_generic hp_wmi sparse_keymap snd_seq_midi snd_rawmidi uvcvideo videobuf2_core videodev videobuf2_vmalloc videobuf2_memops snd_seq_midi_event snd_seq microcode snd_timer snd_seq_device usbhid snd hid psmouse serio_raw arc4 lpc_ich i915 drm_kms_helper ath9k(O) mac80211(O) ath9k_common(O) ath9k_hw(O) ath(O) drm i2c_algo_bit cfg80211(O) soundcore snd_page_alloc compat(O) mei wmi btusb bluetooth mac_hid hp_accel lis3lv02d input_polldev video lp parport r8169 [last unloaded: fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.427765] Pid: 1718, comm: Xorg Tainted: P W O 3.5.0-17-generic #28-Ubuntu Feb 27 11:26:07 wliao-envymint kernel: [ 7.427768] Call Trace: Feb 27 11:26:07 wliao-envymint kernel: [ 7.427779] [] warn_slowpath_common+0x7f/0xc0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427786] [] warn_slowpath_fmt+0x46/0x50 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427794] [] sysfs_add_one+0xca/0x100 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427800] [] create_dir+0x78/0xd0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427809] [] ? kvasprintf+0x57/0x90 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427816] [] sysfs_create_dir+0x86/0xe0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427824] [] kobject_add_internal+0x9c/0x220 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427831] [] ? kobject_set_name+0x38/0x40 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427838] [] kset_register+0x46/0x70 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427845] [] kset_create_and_add+0x76/0xc0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427854] [] populate_msi_sysfs+0x2e/0x110 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427862] [] pci_enable_msi_block+0x1d3/0x2b0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.427938] [] KCL_RequestMSI+0x13/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428032] [] IRQMGR_initialize+0x24f/0x380 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428125] [] ? IRQMGR_alloc_context+0xb7/0x110 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428217] [] ? irqmgr_wrap_initialize+0x1e/0xb0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428308] [] ? firegl_irqmgr_init+0x55/0x100 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428404] [] ? hal_init_gpu+0x1d1/0x4a0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428486] [] ? firegl_open+0x2e7/0x320 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428547] [] ? ip_firegl_open+0x17/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428606] [] ? firegl_stub_open+0xa5/0x120 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428614] [] ? chrdev_open+0xaf/0x1a0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428623] [] ? __dentry_open+0x21f/0x330 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428629] [] ? cdev_put+0x30/0x30 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428637] [] ? vfs_open+0x3a/0x40 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428642] [] ? nameidata_to_filp+0x58/0xb0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428648] [] ? do_last+0x49f/0xa10 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428655] [] ? apparmor_file_alloc_security+0x2c/0x60 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428661] [] ? path_openat+0xd9/0x430 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428725] [] ? KCL_SPINLOCK_STATIC_Release+0x16/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428803] [] ? drm_free+0xf3/0x180 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428884] [] ? firegl_release_helper+0x3dd/0x6c0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.428890] [] ? do_filp_open+0x41/0xa0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428896] [] ? alloc_fd+0xc6/0x110 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428901] [] ? do_sys_open+0xf5/0x230 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428907] [] ? sys_open+0x21/0x30 Feb 27 11:26:07 wliao-envymint kernel: [ 7.428915] [] ? system_call_fastpath+0x16/0x1b Feb 27 11:26:07 wliao-envymint kernel: [ 7.428919] ---[ end trace bd816c5c2a0dc0e3 ]--- Feb 27 11:26:07 wliao-envymint kernel: [ 7.428924] ------------[ cut here ]------------ Feb 27 11:26:07 wliao-envymint kernel: [ 7.428932] WARNING: at /build/buildd/linux-3.5.0/lib/kobject.c:196 kobject_add_internal+0x204/0x220() Feb 27 11:26:07 wliao-envymint kernel: [ 7.428934] Hardware name: HP ENVY Sleekbook 4 PC Feb 27 11:26:07 wliao-envymint kernel: [ 7.428937] kobject_add_internal failed for msi_irqs with -EEXIST, don't try to register things with the same name in the same directory. Feb 27 11:26:07 wliao-envymint kernel: [ 7.428940] Modules linked in: fglrx(PO) bnep rfcomm parport_pc ppdev snd_hda_codec_hdmi snd_hda_codec_idt coretemp kvm ghash_clmulni_intel aesni_intel cryptd aes_x86_64 snd_hda_intel snd_hda_codec snd_hwdep joydev snd_pcm hid_generic hp_wmi sparse_keymap snd_seq_midi snd_rawmidi uvcvideo videobuf2_core videodev videobuf2_vmalloc videobuf2_memops snd_seq_midi_event snd_seq microcode snd_timer snd_seq_device usbhid snd hid psmouse serio_raw arc4 lpc_ich i915 drm_kms_helper ath9k(O) mac80211(O) ath9k_common(O) ath9k_hw(O) ath(O) drm i2c_algo_bit cfg80211(O) soundcore snd_page_alloc compat(O) mei wmi btusb bluetooth mac_hid hp_accel lis3lv02d input_polldev video lp parport r8169 [last unloaded: fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429017] Pid: 1718, comm: Xorg Tainted: P W O 3.5.0-17-generic #28-Ubuntu Feb 27 11:26:07 wliao-envymint kernel: [ 7.429020] Call Trace: Feb 27 11:26:07 wliao-envymint kernel: [ 7.429027] [] warn_slowpath_common+0x7f/0xc0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429034] [] ? kvasprintf+0x57/0x90 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429041] [] warn_slowpath_fmt+0x46/0x50 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429049] [] kobject_add_internal+0x204/0x220 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429055] [] ? kobject_set_name+0x38/0x40 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429062] [] kset_register+0x46/0x70 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429069] [] kset_create_and_add+0x76/0xc0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429077] [] populate_msi_sysfs+0x2e/0x110 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429084] [] pci_enable_msi_block+0x1d3/0x2b0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429153] [] KCL_RequestMSI+0x13/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429243] [] IRQMGR_initialize+0x24f/0x380 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429333] [] ? IRQMGR_alloc_context+0xb7/0x110 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429422] [] ? irqmgr_wrap_initialize+0x1e/0xb0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429512] [] ? firegl_irqmgr_init+0x55/0x100 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429607] [] ? hal_init_gpu+0x1d1/0x4a0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429688] [] ? firegl_open+0x2e7/0x320 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429749] [] ? ip_firegl_open+0x17/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429808] [] ? firegl_stub_open+0xa5/0x120 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.429816] [] ? chrdev_open+0xaf/0x1a0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429824] [] ? __dentry_open+0x21f/0x330 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429830] [] ? cdev_put+0x30/0x30 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429838] [] ? vfs_open+0x3a/0x40 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429843] [] ? nameidata_to_filp+0x58/0xb0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429848] [] ? do_last+0x49f/0xa10 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429854] [] ? apparmor_file_alloc_security+0x2c/0x60 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429860] [] ? path_openat+0xd9/0x430 Feb 27 11:26:07 wliao-envymint kernel: [ 7.429924] [] ? KCL_SPINLOCK_STATIC_Release+0x16/0x20 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.430002] [] ? drm_free+0xf3/0x180 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.430082] [] ? firegl_release_helper+0x3dd/0x6c0 [fglrx] Feb 27 11:26:07 wliao-envymint kernel: [ 7.430088] [] ? do_filp_open+0x41/0xa0 Feb 27 11:26:07 wliao-envymint kernel: [ 7.430094] [] ? alloc_fd+0xc6/0x110 Feb 27 11:26:07 wliao-envymint kernel: [ 7.430100] [] ? do_sys_open+0xf5/0x230 Feb 27 11:26:07 wliao-envymint kernel: [ 7.430105] [] ? sys_open+0x21/0x30 Feb 27 11:26:07 wliao-envymint kernel: [ 7.430113] [] ? system_call_fastpath+0x16/0x1b Feb 27 11:26:07 wliao-envymint kernel: [ 7.430116] ---[ end trace bd816c5c2a0dc0e4 ]--- Feb 27 11:26:07 wliao-envymint kernel: [ 7.430139] [fglrx] Could not enable MSI; System prevented initialization Feb 27 11:26:07 wliao-envymint kernel: [ 7.430981] [fglrx] Firegl kernel thread PID: 2339 Feb 27 11:26:07 wliao-envymint kernel: [ 7.431030] [fglrx] Firegl kernel thread PID: 2340 Feb 27 11:26:07 wliao-envymint kernel: [ 7.431076] [fglrx] Firegl kernel thread PID: 2341 Feb 27 11:26:07 wliao-envymint kernel: [ 7.431113] genirq: Flags mismatch irq 49. 00000080 (fglrx[0]@PCI:1:0:0) vs. 00000820 () Feb 27 11:26:07 wliao-envymint kernel: [ 7.431116] [fglrx:irqmgr_install_interrupt_handler] *ERROR* unable to install interrupt handler Feb 27 11:26:07 wliao-envymint kernel: [ 7.431117] [fglrx:irqmgr_wrap_initialize] *ERROR* IRQMGR fail to install interrupt handler! Feb 27 11:26:07 wliao-envymint kernel: [ 7.442577] [fglrx:firegl_pplib_init_powerplay] *ERROR* PPLIB: PP_Initialize failed. Feb 27 11:26:07 wliao-envymint kernel: [ 7.442640] [fglrx] Gart USWC size:1204 M. Feb 27 11:26:07 wliao-envymint kernel: [ 7.442644] [fglrx] Gart cacheable size:478 M. Feb 27 11:26:07 wliao-envymint kernel: [ 7.442652] [fglrx] Reserved FB block: Shared offset:0, size:1000000 Feb 27 11:26:07 wliao-envymint kernel: [ 7.442656] [fglrx] Reserved FB block: Unshared offset:f93a000, size:3c6000 Feb 27 11:26:07 wliao-envymint kernel: [ 7.442659] [fglrx] Reserved FB block: Unshared offset:7fff4000, size:c000 Feb 27 11:26:09 wliao-envymint kernel: [ 8.605227] [fglrx] module unloaded - fglrx 9.0.2 [Sep 20 2012]