@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]  [<ffffffff81051c4f>] 
warn_slowpath_common+0x7f/0xc0
Feb 27 11:26:07 wliao-envymint kernel: [    7.425637]  [<ffffffff81051caa>] 
warn_slowpath_null+0x1a/0x20
Feb 27 11:26:07 wliao-envymint kernel: [    7.425645]  [<ffffffff8136c124>] 
pci_enable_msi_block+0x2a4/0x2b0
Feb 27 11:26:07 wliao-envymint kernel: [    7.425729]  [<ffffffffa0987b53>] 
KCL_RequestMSI+0x13/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.425824]  [<ffffffffa09a758f>] 
IRQMGR_initialize+0x24f/0x380 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.425918]  [<ffffffffa09a72e7>] ? 
IRQMGR_alloc_context+0xb7/0x110 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426009]  [<ffffffffa09a652e>] ? 
irqmgr_wrap_initialize+0x1e/0xb0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426101]  [<ffffffffa09a7185>] ? 
firegl_irqmgr_init+0x55/0x100 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426197]  [<ffffffffa09b7f01>] ? 
hal_init_gpu+0x1d1/0x4a0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426280]  [<ffffffffa0994587>] ? 
firegl_open+0x2e7/0x320 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426341]  [<ffffffffa0984b17>] ? 
ip_firegl_open+0x17/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426401]  [<ffffffffa0984145>] ? 
firegl_stub_open+0xa5/0x120 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426439]  [<ffffffff8118625f>] ? 
chrdev_open+0xaf/0x1a0
Feb 27 11:26:07 wliao-envymint kernel: [    7.426449]  [<ffffffff8118010f>] ? 
__dentry_open+0x21f/0x330
Feb 27 11:26:07 wliao-envymint kernel: [    7.426456]  [<ffffffff811861b0>] ? 
cdev_put+0x30/0x30
Feb 27 11:26:07 wliao-envymint kernel: [    7.426463]  [<ffffffff8118025a>] ? 
vfs_open+0x3a/0x40
Feb 27 11:26:07 wliao-envymint kernel: [    7.426497]  [<ffffffff81181208>] ? 
nameidata_to_filp+0x58/0xb0
Feb 27 11:26:07 wliao-envymint kernel: [    7.426522]  [<ffffffff8118fb3f>] ? 
do_last+0x49f/0xa10
Feb 27 11:26:07 wliao-envymint kernel: [    7.426543]  [<ffffffff812ec60c>] ? 
apparmor_file_alloc_security+0x2c/0x60
Feb 27 11:26:07 wliao-envymint kernel: [    7.426549]  [<ffffffff81191399>] ? 
path_openat+0xd9/0x430
Feb 27 11:26:07 wliao-envymint kernel: [    7.426614]  [<ffffffffa0986696>] ? 
KCL_SPINLOCK_STATIC_Release+0x16/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426693]  [<ffffffffa098cd83>] ? 
drm_free+0xf3/0x180 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426774]  [<ffffffffa099295d>] ? 
firegl_release_helper+0x3dd/0x6c0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.426781]  [<ffffffff81191811>] ? 
do_filp_open+0x41/0xa0
Feb 27 11:26:07 wliao-envymint kernel: [    7.426787]  [<ffffffff8119e906>] ? 
alloc_fd+0xc6/0x110
Feb 27 11:26:07 wliao-envymint kernel: [    7.426793]  [<ffffffff81181355>] ? 
do_sys_open+0xf5/0x230
Feb 27 11:26:07 wliao-envymint kernel: [    7.426798]  [<ffffffff811814b1>] ? 
sys_open+0x21/0x30
Feb 27 11:26:07 wliao-envymint kernel: [    7.426807]  [<ffffffff81689d29>] ? 
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]  [<ffffffff81051c4f>] 
warn_slowpath_common+0x7f/0xc0
Feb 27 11:26:07 wliao-envymint kernel: [    7.427786]  [<ffffffff81051d46>] 
warn_slowpath_fmt+0x46/0x50
Feb 27 11:26:07 wliao-envymint kernel: [    7.427794]  [<ffffffff811f298a>] 
sysfs_add_one+0xca/0x100
Feb 27 11:26:07 wliao-envymint kernel: [    7.427800]  [<ffffffff811f2bb8>] 
create_dir+0x78/0xd0
Feb 27 11:26:07 wliao-envymint kernel: [    7.427809]  [<ffffffff81337a97>] ? 
kvasprintf+0x57/0x90
Feb 27 11:26:07 wliao-envymint kernel: [    7.427816]  [<ffffffff811f2f46>] 
sysfs_create_dir+0x86/0xe0
Feb 27 11:26:07 wliao-envymint kernel: [    7.427824]  [<ffffffff8132aeac>] 
kobject_add_internal+0x9c/0x220
Feb 27 11:26:07 wliao-envymint kernel: [    7.427831]  [<ffffffff8132b3f8>] ? 
kobject_set_name+0x38/0x40
Feb 27 11:26:07 wliao-envymint kernel: [    7.427838]  [<ffffffff8132b076>] 
kset_register+0x46/0x70
Feb 27 11:26:07 wliao-envymint kernel: [    7.427845]  [<ffffffff8132b476>] 
kset_create_and_add+0x76/0xc0
Feb 27 11:26:07 wliao-envymint kernel: [    7.427854]  [<ffffffff8136baee>] 
populate_msi_sysfs+0x2e/0x110
Feb 27 11:26:07 wliao-envymint kernel: [    7.427862]  [<ffffffff8136c053>] 
pci_enable_msi_block+0x1d3/0x2b0
Feb 27 11:26:07 wliao-envymint kernel: [    7.427938]  [<ffffffffa0987b53>] 
KCL_RequestMSI+0x13/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428032]  [<ffffffffa09a758f>] 
IRQMGR_initialize+0x24f/0x380 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428125]  [<ffffffffa09a72e7>] ? 
IRQMGR_alloc_context+0xb7/0x110 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428217]  [<ffffffffa09a652e>] ? 
irqmgr_wrap_initialize+0x1e/0xb0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428308]  [<ffffffffa09a7185>] ? 
firegl_irqmgr_init+0x55/0x100 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428404]  [<ffffffffa09b7f01>] ? 
hal_init_gpu+0x1d1/0x4a0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428486]  [<ffffffffa0994587>] ? 
firegl_open+0x2e7/0x320 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428547]  [<ffffffffa0984b17>] ? 
ip_firegl_open+0x17/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428606]  [<ffffffffa0984145>] ? 
firegl_stub_open+0xa5/0x120 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428614]  [<ffffffff8118625f>] ? 
chrdev_open+0xaf/0x1a0
Feb 27 11:26:07 wliao-envymint kernel: [    7.428623]  [<ffffffff8118010f>] ? 
__dentry_open+0x21f/0x330
Feb 27 11:26:07 wliao-envymint kernel: [    7.428629]  [<ffffffff811861b0>] ? 
cdev_put+0x30/0x30
Feb 27 11:26:07 wliao-envymint kernel: [    7.428637]  [<ffffffff8118025a>] ? 
vfs_open+0x3a/0x40
Feb 27 11:26:07 wliao-envymint kernel: [    7.428642]  [<ffffffff81181208>] ? 
nameidata_to_filp+0x58/0xb0
Feb 27 11:26:07 wliao-envymint kernel: [    7.428648]  [<ffffffff8118fb3f>] ? 
do_last+0x49f/0xa10
Feb 27 11:26:07 wliao-envymint kernel: [    7.428655]  [<ffffffff812ec60c>] ? 
apparmor_file_alloc_security+0x2c/0x60
Feb 27 11:26:07 wliao-envymint kernel: [    7.428661]  [<ffffffff81191399>] ? 
path_openat+0xd9/0x430
Feb 27 11:26:07 wliao-envymint kernel: [    7.428725]  [<ffffffffa0986696>] ? 
KCL_SPINLOCK_STATIC_Release+0x16/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428803]  [<ffffffffa098cd83>] ? 
drm_free+0xf3/0x180 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428884]  [<ffffffffa099295d>] ? 
firegl_release_helper+0x3dd/0x6c0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.428890]  [<ffffffff81191811>] ? 
do_filp_open+0x41/0xa0
Feb 27 11:26:07 wliao-envymint kernel: [    7.428896]  [<ffffffff8119e906>] ? 
alloc_fd+0xc6/0x110
Feb 27 11:26:07 wliao-envymint kernel: [    7.428901]  [<ffffffff81181355>] ? 
do_sys_open+0xf5/0x230
Feb 27 11:26:07 wliao-envymint kernel: [    7.428907]  [<ffffffff811814b1>] ? 
sys_open+0x21/0x30
Feb 27 11:26:07 wliao-envymint kernel: [    7.428915]  [<ffffffff81689d29>] ? 
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]  [<ffffffff81051c4f>] 
warn_slowpath_common+0x7f/0xc0
Feb 27 11:26:07 wliao-envymint kernel: [    7.429034]  [<ffffffff81337a97>] ? 
kvasprintf+0x57/0x90
Feb 27 11:26:07 wliao-envymint kernel: [    7.429041]  [<ffffffff81051d46>] 
warn_slowpath_fmt+0x46/0x50
Feb 27 11:26:07 wliao-envymint kernel: [    7.429049]  [<ffffffff8132b014>] 
kobject_add_internal+0x204/0x220
Feb 27 11:26:07 wliao-envymint kernel: [    7.429055]  [<ffffffff8132b3f8>] ? 
kobject_set_name+0x38/0x40
Feb 27 11:26:07 wliao-envymint kernel: [    7.429062]  [<ffffffff8132b076>] 
kset_register+0x46/0x70
Feb 27 11:26:07 wliao-envymint kernel: [    7.429069]  [<ffffffff8132b476>] 
kset_create_and_add+0x76/0xc0
Feb 27 11:26:07 wliao-envymint kernel: [    7.429077]  [<ffffffff8136baee>] 
populate_msi_sysfs+0x2e/0x110
Feb 27 11:26:07 wliao-envymint kernel: [    7.429084]  [<ffffffff8136c053>] 
pci_enable_msi_block+0x1d3/0x2b0
Feb 27 11:26:07 wliao-envymint kernel: [    7.429153]  [<ffffffffa0987b53>] 
KCL_RequestMSI+0x13/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429243]  [<ffffffffa09a758f>] 
IRQMGR_initialize+0x24f/0x380 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429333]  [<ffffffffa09a72e7>] ? 
IRQMGR_alloc_context+0xb7/0x110 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429422]  [<ffffffffa09a652e>] ? 
irqmgr_wrap_initialize+0x1e/0xb0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429512]  [<ffffffffa09a7185>] ? 
firegl_irqmgr_init+0x55/0x100 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429607]  [<ffffffffa09b7f01>] ? 
hal_init_gpu+0x1d1/0x4a0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429688]  [<ffffffffa0994587>] ? 
firegl_open+0x2e7/0x320 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429749]  [<ffffffffa0984b17>] ? 
ip_firegl_open+0x17/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429808]  [<ffffffffa0984145>] ? 
firegl_stub_open+0xa5/0x120 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.429816]  [<ffffffff8118625f>] ? 
chrdev_open+0xaf/0x1a0
Feb 27 11:26:07 wliao-envymint kernel: [    7.429824]  [<ffffffff8118010f>] ? 
__dentry_open+0x21f/0x330
Feb 27 11:26:07 wliao-envymint kernel: [    7.429830]  [<ffffffff811861b0>] ? 
cdev_put+0x30/0x30
Feb 27 11:26:07 wliao-envymint kernel: [    7.429838]  [<ffffffff8118025a>] ? 
vfs_open+0x3a/0x40
Feb 27 11:26:07 wliao-envymint kernel: [    7.429843]  [<ffffffff81181208>] ? 
nameidata_to_filp+0x58/0xb0
Feb 27 11:26:07 wliao-envymint kernel: [    7.429848]  [<ffffffff8118fb3f>] ? 
do_last+0x49f/0xa10
Feb 27 11:26:07 wliao-envymint kernel: [    7.429854]  [<ffffffff812ec60c>] ? 
apparmor_file_alloc_security+0x2c/0x60
Feb 27 11:26:07 wliao-envymint kernel: [    7.429860]  [<ffffffff81191399>] ? 
path_openat+0xd9/0x430
Feb 27 11:26:07 wliao-envymint kernel: [    7.429924]  [<ffffffffa0986696>] ? 
KCL_SPINLOCK_STATIC_Release+0x16/0x20 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.430002]  [<ffffffffa098cd83>] ? 
drm_free+0xf3/0x180 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.430082]  [<ffffffffa099295d>] ? 
firegl_release_helper+0x3dd/0x6c0 [fglrx]
Feb 27 11:26:07 wliao-envymint kernel: [    7.430088]  [<ffffffff81191811>] ? 
do_filp_open+0x41/0xa0
Feb 27 11:26:07 wliao-envymint kernel: [    7.430094]  [<ffffffff8119e906>] ? 
alloc_fd+0xc6/0x110
Feb 27 11:26:07 wliao-envymint kernel: [    7.430100]  [<ffffffff81181355>] ? 
do_sys_open+0xf5/0x230
Feb 27 11:26:07 wliao-envymint kernel: [    7.430105]  [<ffffffff811814b1>] ? 
sys_open+0x21/0x30
Feb 27 11:26:07 wliao-envymint kernel: [    7.430113]  [<ffffffff81689d29>] ? 
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]

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

Title:
  Low graphics mode in muxless hybrid ATI/Intel GPU systems after fglrx
  upgrade

Status in X.org xf86-video-intel:
  Won't Fix
Status in “fglrx-installer” package in Ubuntu:
  In Progress
Status in “fglrx-installer-updates” package in Ubuntu:
  Triaged
Status in “fglrx-installer” source package in Quantal:
  Confirmed
Status in “fglrx-installer-updates” source package in Quantal:
  Triaged
Status in “xserver-xorg-video-intel” package in openSUSE:
  In Progress

Bug description:
  [Impact]

   * Hybrid systems with ATI/intel GPUs using fglrx get a segmentation
  fault in X when using 12.10. In stock 12.04.1 these systems were
  working fine.

   * This bug represents a severe regression from precise to quantal,
  since is crashing on startup

   * The proposed patch updates the driver to version 13.2beta3 of
  upstream which seems to resolve this issue

  [Test Case]

   * Get an hybrid ATI/intel system.
     Install quantal: The system should boot fine
     Install the proprietary fglrx package and reboot: The X server crashes on 
startup

  [Regression Potential]

   * This solution does not need any change on the intel driver (as a previous 
workaround needed).
   * No regressions have been reported so far using this most recent fglrx 
upstream, by the people affected by this bug

  ======

  After installing the latest fglrx-updates package on Ubuntu 12.10
  (fglrx-updates_9.000-0ubuntu3_amd64) I have the same issue that was
  present before AMD fixed switchable graphics on PowerXpress 4.0 cards
  (such as my HD 6470M coupled with the intel HD Graphics 3000 of my
  intel Core i5-2430M). The X server has a segmentation fault and the
  low graphics mode is activated.

  WORKAROUND: Follow carefully the instructions here:
  https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND

  As per Nick Andrik, this is a version regression of xserver-xorg-
  video-intel from 2.20.2 (working and in below mentioned PPA) and
  2.20.3. The regression commit is
  http://cgit.freedesktop.org/xorg/driver/xf86-video-
  intel/commit/?id=05dcc5f1699ba90fc14c50882e8d4be89bc4a4f9 .

  Upstream fglrx has published a new version (> 13.1 ) of the driver
  which seems to solve this issue. No need to revert the commit in the
  Intel driver any more.

  ATTENTION:
  1. If you choose the integrated GPU (via Catalyst or via amdconfig --px-igpu) 
and your X server crashes on startup, then your are probably affected by this 
bug:
  https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220

  2. If your system includes an old ATI GPU card (Radeon HD 2x00 3x00 4x00) 
which is not supported any more by fglrx drivers, then probably you suffer from 
this bug:
  https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1058040
  Subscribe and comment there please.

  If the X server loads (so you see no low graphics mode window) but you get no 
menu bars, window decorations, etc, then press Ctrl+Shift+T to open a terminal, 
write in there:
  unity --replace &
  and post a comment with the result.

  The logs from the intial bug report follow:

  Here is the Xorg log:
  [    20.924]
  X.Org X Server 1.13.0
  Release Date: 2012-09-05
  [    20.924] X Protocol Version 11, Revision 0
  [    20.924] Build Operating System: Linux 3.2.0-30-generic x86_64 Ubuntu
  [    20.924] Current Operating System: Linux marco-HP-Pavilion-g6-Notebook-PC 
3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64
  [    20.924] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic 
root=UUID=5374f779-2ae8-4842-a390-e21317364c6c ro quiet splash vt.handoff=7
  [    20.924] Build Date: 08 October 2012  03:34:01PM
  [    20.924] xorg-server 2:1.13.0-0ubuntu6 (For technical support please see 
http://www.ubuntu.com/support)
  [    20.924] Current version of pixman: 0.26.0
  [    20.924]  Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
  [    20.924] Markers: (--) probed, (**) from config file, (==) default 
setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  [    20.924] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 19 02:42:21 
2012
  [    20.924] (==) Using config file: "/etc/X11/xorg.conf"
  [    20.924] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  [    20.924] (==) ServerLayout "aticonfig Layout"
  [    20.924] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
  [    20.924] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
  [    20.925] (**) |   |-->Device "aticonfig-Device[0]-0"
  [    20.925] (==) Automatically adding devices
  [    20.925] (==) Automatically enabling devices
  [    20.925] (==) Automatically adding GPU devices
  [    20.925] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not 
exist.
  [    20.925]  Entry deleted from font path.
  [    20.925] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
  [    20.925]  Entry deleted from font path.
  [    20.925] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
  [    20.925]  Entry deleted from font path.
  [    20.925] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
  [    20.925]  Entry deleted from font path.
  [    20.925] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
  [    20.925]  Entry deleted from font path.
  [    20.925] (==) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/Type1,
   /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
   built-ins
  [    20.925] (==) ModulePath set to 
"/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
  [    20.925] (II) The server relies on udev to provide the list of input 
devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
  [    20.925] (II) Loader magic: 0x7fed9d5d2c40
  [    20.925] (II) Module ABI versions:
  [    20.925]  X.Org ANSI C Emulation: 0.4
  [    20.925]  X.Org Video Driver: 13.0
  [    20.925]  X.Org XInput driver : 18.0
  [    20.925]  X.Org Server Extension : 7.0
  [    20.925] (II) config/udev: Adding drm device (/dev/dri/card0)
  [    20.926] (--) PCI:*(0:0:2:0) 8086:0116:103c:1670 rev 9, Mem @ 
0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00005000/64
  [    20.926] (--) PCI: (0:1:0:0) 1002:6760:103c:1670 rev 0, Mem @ 
0xa0000000/268435456, 0xc2600000/131072, I/O @ 0x00004000/256, BIOS @ 
0x????????/131072
  [    20.926] (II) Open ACPI successful (/var/run/acpid.socket)
  [    20.926] Initializing built-in extension Generic Event Extension
  [    20.926] Initializing built-in extension SHAPE
  [    20.926] Initializing built-in extension MIT-SHM
  [    20.926] Initializing built-in extension XInputExtension
  [    20.926] Initializing built-in extension XTEST
  [    20.926] Initializing built-in extension BIG-REQUESTS
  [    20.926] Initializing built-in extension SYNC
  [    20.926] Initializing built-in extension XKEYBOARD
  [    20.926] Initializing built-in extension XC-MISC
  [    20.926] Initializing built-in extension SECURITY
  [    20.926] Initializing built-in extension XINERAMA
  [    20.926] Initializing built-in extension XFIXES
  [    20.926] Initializing built-in extension RENDER
  [    20.926] Initializing built-in extension RANDR
  [    20.926] Initializing built-in extension COMPOSITE
  [    20.926] Initializing built-in extension DAMAGE
  [    20.926] Initializing built-in extension MIT-SCREEN-SAVER
  [    20.926] Initializing built-in extension DOUBLE-BUFFER
  [    20.926] Initializing built-in extension RECORD
  [    20.926] Initializing built-in extension DPMS
  [    20.926] Initializing built-in extension X-Resource
  [    20.926] Initializing built-in extension XVideo
  [    20.926] Initializing built-in extension XVideo-MotionCompensation
  [    20.926] Initializing built-in extension XFree86-VidModeExtension
  [    20.926] Initializing built-in extension XFree86-DGA
  [    20.926] Initializing built-in extension XFree86-DRI
  [    20.926] Initializing built-in extension DRI2
  [    20.926] (II) "glx" will be loaded by default.
  [    20.926] (II) LoadModule: "glx"
  [    21.055] (II) Loading 
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/extensions/libglx.so
  [    21.055] (II) Module glx: vendor="Advanced Micro Devices, Inc."
  [    21.055]  compiled for 6.9.0, module version = 1.0.0
  [    21.056] Loading extension GLX
  [    21.056] (II) LoadModule: "fglrx"
  [    21.057] (II) Loading 
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so
  [    21.562] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
  [    21.562]  compiled for 1.4.99.906, module version = 9.0.2
  [    21.562]  Module class: X.Org Video Driver
  [    21.563] (II) Loading sub module "fglrxdrm"
  [    21.563] (II) LoadModule: "fglrxdrm"
  [    21.563] (II) Loading 
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/linux/libfglrxdrm.so
  [    21.581] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
  [    21.581]  compiled for 1.4.99.906, module version = 9.0.2
  [    21.581] (II) AMD Proprietary Linux Driver Version Identifier:9.00.2
  [    21.581] (II) AMD Proprietary Linux Driver Release Identifier: 9.00.11
  [    21.581] (II) AMD Proprietary Linux Driver Build Date: Sep 20 2012 
11:56:16
  [    21.581] (++) using VT number 7

  [    21.581] (WW) Falling back to old probe method for fglrx
  [    21.624] (II) Loading PCS database from /etc/ati/amdpcsdb 
/etc/ati/amdpcsdb.default
  [    21.639] ukiDynamicMajor: found major device number 251
  [    21.639] ukiDynamicMajor: found major device number 251
  [    21.639] ukiOpenByBusid: Searching for BusID PCI:1:0:0
  [    21.639] ukiOpenDevice: node name is /dev/ati/card0
  [    21.639] ukiOpenDevice: open result is 10, (OK)
  [    22.206] ukiOpenByBusid: ukiOpenMinor returns 10
  [    22.206] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
  [    22.234] (--) Chipset Supported AMD Graphics Processor (0x6760) found
  [    22.246] (II) fglrx: intel VGA device detected, load intel driver.
  [    22.247] (II) LoadModule: "intel"
  [    22.263] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
  [    22.263] (II) Module intel: vendor="X.Org Foundation"
  [    22.263]  compiled for 1.13.0, module version = 2.20.9
  [    22.263]  Module class: X.Org Video Driver
  [    22.263]  ABI class: X.Org Video Driver, version 13.0
  [    22.264] (II) AMD Video driver is running on a device belonging to a 
group targeted for this release
  [    22.276] (II) AMD Video driver is signed
  [    22.276] (II) fglrx(0): pEnt->device->identifier=0x7fed9df19450
  [    22.276] (II) intel(1): pEnt->device->identifier=(nil)
  [    22.276] (EE) Screen 1 deleted because of no matching config section.
  [    22.276] (EE)
  [    22.276] (EE) Backtrace:
  [    22.277] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x7fed9d35dac6]
  [    22.277] (EE) 1: /usr/bin/X (0x7fed9d1b5000+0x1ac8f9) [0x7fed9d3618f9]
  [    22.277] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7fed9c4db000+0xfcb0) [0x7fed9c4eacb0]
  [    22.277] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7fed9903c000+0x15080) [0x7fed99051080]
  [    22.277] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7fed9903c000+0x16365) [0x7fed99052365]
  [    22.277] (EE) 5: /usr/bin/X (xf86DeleteScreen+0x84) [0x7fed9d2538b4]
  [    22.277] (EE) 6: /usr/bin/X (xf86BusConfig+0x216) [0x7fed9d23eb16]
  [    22.277] (EE) 7: /usr/bin/X (InitOutput+0x9ea) [0x7fed9d24c9da]
  [    22.277] (EE) 8: /usr/bin/X (0x7fed9d1b5000+0x44386) [0x7fed9d1f9386]
  [    22.277] (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) 
[0x7fed9b16076d]
  [    22.277] (EE) 10: /usr/bin/X (0x7fed9d1b5000+0x448ad) [0x7fed9d1f98ad]
  [    22.277] (EE)
  [    22.277] (EE) Segmentation fault at address 0x0
  [    22.277]
  Fatal server error:
  [    22.277] Caught signal 11 (Segmentation fault). Server aborting
  [    22.277]
  [    22.277] (EE)
  Please consult the The X.Org Foundation support
    at http://wiki.x.org
   for help.
  [    22.277] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.
  [    22.277] (EE)
  [    22.295] Server terminated with error (1). Closing log file.

  The system is a Hp g6-1279sl notebook with a discrete AMD HD 6470M card and 
an Intel Core i5-2430M CPU with Intel HD graphics 3000. I'm running Ubuntu 
12.10 desktop 64 bit version. The driver (both the 12.9 beta on AMD site and 
the 12-9 beta  driver from the Quantal Quetzal fglrx-installer-updates 
repository) worked correctly on Ubuntu 12.4.1 64-bit.
  Using fglrx (fglrx_9.000-0ubuntu3_amd64.deb) instead of fglrx-updates doesn't 
solve this problem.

  Potential duplicate https://bugs.launchpad.net/ubuntu/+source/fglrx-
  installer-updates/+bug/1069199 .

  ---
  .tmp.unity.support.test.0:

  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  CasperVersion: 1.315
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
  CompositorRunning: compiz
  DistUpgraded: Fresh install
  DistroCodename: precise
  DistroRelease: Ubuntu 12.04
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Device [103c:1670]
   Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M Series] 
[1002:6760] (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Device [103c:1670]
  LiveMediaBuild: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 
(20120823.1)
  MachineType: Hewlett-Packard HP Pavilion g6 Notebook PC
  Package: fglrx-installer (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: bootkbd=it console-setup/layoutcode=it 
console-setup/variantcode=nodeadkeys locale=it_IT noprompt 
cdrom-detect/try-usb=true file=/cdrom/preseed/username.seed boot=casper 
initrd=/casper/initrd.lz splash -- maybe-ubiquity
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
  Tags:  precise running-unity ubuntu referred-by-support compiz-0.9
  Uname: Linux 3.2.0-29-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 03/22/2012
  dmi.bios.vendor: Insyde
  dmi.bios.version: F.63
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 1670
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 09.4B
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnInsyde:bvrF.63:bd03/22/2012:svnHewlett-Packard:pnHPPaviliong6NotebookPC:pvr0691120000204610000620100:rvnHewlett-Packard:rn1670:rvr09.4B:cvnHewlett-Packard:ct10:cvrChassisVersion:
  dmi.product.name: HP Pavilion g6 Notebook PC
  dmi.product.version: 0691120000204610000620100
  dmi.sys.vendor: Hewlett-Packard
  version.compiz: compiz 1:0.9.7.8-0ubuntu1.4
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.32-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.3+8.0.2-0ubuntu3.2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.3+8.0.2-0ubuntu3.2
  version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.7
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:6.14.99~git20111219.aacbd629-0ubuntu2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4.1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:0.0.16+git20111201+b5534a1-1build2

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1068404/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to