Xorg fails when Windows 10 is rebooted into Ubuntu Linux 16.04.3, Vega 64 LC.

I use a dual-boot machine with Windows 10 (up-to-date updated) with driver Crimson 17.8.2, and Ubuntu Linux 16.04.3 (up-to-date updated) with driver amdgpu-pro-17.30-465504.tar.xz. My hardware is:

 

  • Corsair 850W RMX 80 PLUS Gold Power Supply
  • Corsair H100i V2 Hydro CPU Cooler
  • ASUS ROG Maximus IX Hero motherboard
  • Intel i7-7700K@5GHz
  • Sapphire Vega 64 LC
  • 16GB G.SKILL Trident Z DDR4 PC4-32000 4000MHz
  • Samsung SSD 850 Pro 1TB (Ubuntu Linux 16.04.3)
  • Samsung SSD 830 Pro 256MB (Windows 10)
  • BenQ XL2730Z FreeSync 1440p display.

 

When I reboot from Windows into Linux, Xorg fails to start, with the following errors.

 

kernel:

 

Sep 04 22:22:53 supernova kernel: WARNING: CPU: 0 PID: 197 at /var/lib/dkms/amdgpu-pro/17.30-465504/build/amd/amdgpu/../display/modules/freesync/freesync.c:425 calc_freesync_range+0x230/0x260 [amdgpu]

Sep 04 22:22:53 supernova kernel: Modules linked in: amdkfd(OE) amd_iommu_v2 amdgpu(OE+) amdttm(OE) mxm_wmi amdkcl(OE) i2c_algo_bit e1000e drm_kms_helper ptp syscopyarea nvme sysfillrect pps_core sysimgblt nvme_core fb_sys_fops ahci drm libahci wmi i2c_hid video hid fjes

Sep 04 22:22:53 supernova kernel: CPU: 0 PID: 197 Comm: systemd-udevd Tainted: G           OE   4.10.0-33-generic #37~16.04.1-Ubuntu

Sep 04 22:22:53 supernova kernel: Hardware name: System manufacturer System Product Name/MAXIMUS IX HERO, BIOS 1009 07/23/2017

Sep 04 22:22:53 supernova kernel: Call Trace:

Sep 04 22:22:53 supernova kernel:  dump_stack+0x63/0x90

Sep 04 22:22:53 supernova kernel:  __warn+0xcb/0xf0

Sep 04 22:22:53 supernova kernel:  warn_slowpath_null+0x1d/0x20

Sep 04 22:22:53 supernova kernel:  calc_freesync_range+0x230/0x260 [amdgpu]

Sep 04 22:22:53 supernova kernel:  mod_freesync_notify_mode_change+0x197/0x1c0 [amdgpu]

Sep 04 22:22:53 supernova kernel:  amdgpu_dm_atomic_commit_tail+0x2f6/0xa20 [amdgpu]

Sep 04 22:22:53 supernova kernel:  ? amdgpu_bo_pin_restricted+0x92/0x330 [amdgpu]

Sep 04 22:22:53 supernova kernel:  ? dm_plane_helper_prepare_fb+0xf5/0x170 [amdgpu]

Sep 04 22:22:53 supernova kernel:  commit_tail+0x3f/0x70 [drm_kms_helper]

Sep 04 22:22:53 supernova kernel:  drm_atomic_helper_commit+0xaa/0x110 [drm_kms_helper]

Sep 04 22:22:53 supernova kernel:  drm_atomic_commit+0x4b/0x50 [drm]

Sep 04 22:22:53 supernova kernel:  restore_fbdev_mode+0x14c/0x270 [drm_kms_helper]

Sep 04 22:22:53 supernova kernel:  drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper]

Sep 04 22:22:53 supernova kernel:  drm_fb_helper_set_par+0x2d/0x60 [drm_kms_helper]

Sep 04 22:22:53 supernova kernel:  fbcon_init+0x576/0x5f0

Sep 04 22:22:53 supernova kernel:  visual_init+0xd6/0x130

Sep 04 22:22:53 supernova kernel:  do_bind_con_driver+0x1c1/0x3a0

Sep 04 22:22:53 supernova kernel:  do_take_over_console+0x116/0x180

Sep 04 22:22:53 supernova kernel:  do_fbcon_takeover+0x57/0xb0

Sep 04 22:22:53 supernova kernel:  fbcon_event_notify+0x658/0x750

Sep 04 22:22:53 supernova kernel:  notifier_call_chain+0x4a/0x70

Sep 04 22:22:53 supernova kernel:  __blocking_notifier_call_chain+0x47/0x60

Sep 04 22:22:53 supernova kernel:  blocking_notifier_call_chain+0x16/0x20

Sep 04 22:22:53 supernova kernel:  fb_notifier_call_chain+0x1b/0x20

Sep 04 22:22:53 supernova kernel:  register_framebuffer+0x213/0x370

Sep 04 22:22:53 supernova kernel:  drm_fb_helper_initial_config+0x23f/0x3d0 [drm_kms_helper]

Sep 04 22:22:53 supernova kernel:  amdgpu_fbdev_init+0xce/0x100 [amdgpu]

Sep 04 22:22:53 supernova kernel:  amdgpu_device_init+0x1047/0x11f0 [amdgpu]

Sep 04 22:22:53 supernova kernel:  ? kmalloc_order+0x18/0x40

Sep 04 22:22:53 supernova kernel:  ? kmalloc_order_trace+0x24/0xa0

Sep 04 22:22:53 supernova kernel:  amdgpu_driver_load_kms+0x5d/0x230 [amdgpu]

Sep 04 22:22:53 supernova kernel:  drm_dev_register+0x132/0x170 [drm]

Sep 04 22:22:53 supernova kernel:  drm_get_pci_dev+0x97/0x1d0 [drm]

Sep 04 22:22:53 supernova kernel:  amdgpu_pci_probe+0xbe/0xf0 [amdgpu]

Sep 04 22:22:53 supernova kernel:  local_pci_probe+0x45/0xa0

Sep 04 22:22:53 supernova kernel:  pci_device_probe+0xfd/0x140

Sep 04 22:22:53 supernova kernel:  driver_probe_device+0x2bf/0x460

Sep 04 22:22:53 supernova kernel:  __driver_attach+0xdf/0xf0

Sep 04 22:22:53 supernova kernel:  ? driver_probe_device+0x460/0x460

Sep 04 22:22:53 supernova kernel:  bus_for_each_dev+0x6c/0xc0

Sep 04 22:22:53 supernova kernel:  driver_attach+0x1e/0x20

Sep 04 22:22:53 supernova kernel:  bus_add_driver+0x1fd/0x270

Sep 04 22:22:53 supernova kernel:  ? 0xffffffffc0594000

Sep 04 22:22:53 supernova kernel:  driver_register+0x60/0xe0

Sep 04 22:22:53 supernova kernel:  ? 0xffffffffc0594000

Sep 04 22:22:53 supernova kernel:  __pci_register_driver+0x4c/0x50

Sep 04 22:22:53 supernova kernel:  drm_pci_init+0xeb/0x100 [drm]

Sep 04 22:22:53 supernova kernel:  ? 0xffffffffc0594000

Sep 04 22:22:53 supernova kernel:  amdgpu_init+0x93/0xa4 [amdgpu]

Sep 04 22:22:53 supernova kernel:  do_one_initcall+0x53/0x1c0

Sep 04 22:22:53 supernova kernel:  ? __vunmap+0x81/0xd0

Sep 04 22:22:53 supernova kernel:  ? kmem_cache_alloc_trace+0x152/0x1c0

Sep 04 22:22:53 supernova kernel:  ? vfree+0x2e/0x70

Sep 04 22:22:53 supernova kernel:  do_init_module+0x5f/0x1ff

Sep 04 22:22:53 supernova kernel:  load_module+0x1825/0x1bf0

Sep 04 22:22:53 supernova kernel:  ? __symbol_put+0x60/0x60

Sep 04 22:22:53 supernova kernel:  ? ima_post_read_file+0x7d/0xa0

Sep 04 22:22:53 supernova kernel:  ? security_kernel_post_read_file+0x6b/0x80

Sep 04 22:22:53 supernova kernel:  SYSC_finit_module+0xdf/0x110

Sep 04 22:22:53 supernova kernel:  SyS_finit_module+0xe/0x10

Sep 04 22:22:53 supernova kernel:  entry_SYSCALL_64_fastpath+0x1e/0xad

Sep 04 22:22:53 supernova kernel: RIP: 0033:0x7fa767269499

Sep 04 22:22:53 supernova kernel: RSP: 002b:00007ffe87476ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139

Sep 04 22:22:53 supernova kernel: RAX: ffffffffffffffda RBX: 00007fa7683dd0b5 RCX: 00007fa767269499

Sep 04 22:22:53 supernova kernel: RDX: 0000000000000000 RSI: 00007fa76775fe23 RDI: 0000000000000014

Sep 04 22:22:53 supernova kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000

Sep 04 22:22:53 supernova kernel: R10: 0000000000000014 R11: 0000000000000246 R12: 000055b46c2e0648

Sep 04 22:22:53 supernova kernel: R13: 00007ffe87476b98 R14: 000055b46c2e05e0 R15: 000055b46c2e85e0

Sep 04 22:22:53 supernova kernel: ---[ end trace e068db6d5ca39001 ]---

 

Xorg:

 

(II) xfree86: Adding drm device (/dev/dri/card0)

(EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

(--) PCI:*(0:3:0:0) 1002:687f:1002:6b76 rev 192, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xdfa00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072

 

When I login as root and do init 3; sleep 5; init 5 it starts Xorg successfully.