cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

yurtesen
Miniboss

AMDGPU-PRO 17.10 - Ubuntu 16.04 w/HWE - OpenGL Problem/Bug

I recently tested 17.10 version of amdgpu-pro driver. To be honest amdgpu-pro driver is unusable for many people. I had EGL problems even though this was not listed in Known Issues section of the release notes. Wasted my time... it is very annoying. I hope somebody can forward this thread to a person who can fix these issues. I found people complaining at Reddit about these, it is not good for AMD's image even....

Anyway, first thing I realized was that OpenGL does not work at all, in xorg log I see:

[   416.343] (II) AIGLX: Screen 0 is not DRI2 capable

[   416.343] (EE) AIGLX: reverting to software rendering

[   416.362] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: is64bitelf)

[   416.362] (EE) GLX: could not load software renderer

[   416.362] (II) GLX: no usable GL providers found for screen 0

Apparently I am not the only person because I saw this on reddit also https://www.reddit.com/r/linuxhardware/comments/5xgio2/steam_doesnt_work_with_amdgpupro_driver/

I tried installing the driver with `--px` option and it doesnt help. Also I never installed Intel drivers on this machine (some internet threads seem to suggest this is due to multi-gpu setups on laptops)

The other problem is that CRT/VGA output does not work anymore. (this is a minor problem but still a regression).

16.60 Driver:

# dmesg |grep amdgpu

[    1.792756] [drm] amdgpu kernel modesetting enabled.

[    1.798156] fb: switching to amdgpudrmfb from VESA VGA

[    1.798946] amdgpu 0000:00:01.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)

[    1.798948] amdgpu 0000:00:01.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF

[    1.799026] [drm] amdgpu: 1024M of VRAM memory ready

[    1.799027] [drm] amdgpu: 1024M of GTT memory ready.

[    1.899427] amdgpu 0000:00:01.0: amdgpu: using MSI.

[    1.899450] [drm] amdgpu: irq initialized.

[    1.899455] [drm] amdgpu: dpm initialized

[    1.899821] amdgpu 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000040000010, cpu addr 0xffff94f1657e8010

[    1.899851] amdgpu 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000040000020, cpu addr 0xffff94f1657e8020

[    1.899876] amdgpu 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000040000030, cpu addr 0xffff94f1657e8030

[    1.899901] amdgpu 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000040000040, cpu addr 0xffff94f1657e8040

[    1.899925] amdgpu 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000040000050, cpu addr 0xffff94f1657e8050

[    1.899949] amdgpu 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000040000060, cpu addr 0xffff94f1657e8060

[    1.899974] amdgpu 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000040000070, cpu addr 0xffff94f1657e8070

[    1.899999] amdgpu 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000040000080, cpu addr 0xffff94f1657e8080

[    1.900023] amdgpu 0000:00:01.0: fence driver on ring 8 use gpu addr 0x0000000040000090, cpu addr 0xffff94f1657e8090

[    1.900094] amdgpu 0000:00:01.0: fence driver on ring 9 use gpu addr 0x00000000400000a0, cpu addr 0xffff94f1657e80a0

[    1.900123] amdgpu 0000:00:01.0: fence driver on ring 10 use gpu addr 0x00000000400000b0, cpu addr 0xffff94f1657e80b0

[    1.900563] amdgpu 0000:00:01.0: fence driver on ring 11 use gpu addr 0x000000000028cd30, cpu addr 0xffffbfab81e38d30

[    1.900669] amdgpu 0000:00:01.0: fence driver on ring 12 use gpu addr 0x00000000400000d0, cpu addr 0xffff94f1657e80d0

[    1.900694] amdgpu 0000:00:01.0: fence driver on ring 13 use gpu addr 0x00000000400000e0, cpu addr 0xffff94f1657e80e0

[    2.440528] fbcon: amdgpudrmfb (fb0) is primary device

[    2.440617] amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device

[    2.470575] [drm] Initialized amdgpu 3.9.0 20150101 for 0000:00:01.0 on minor 0

17.10 Driver

# dmesg |grep amdgpu

[    1.804519] [drm] amdgpu kernel modesetting enabled.

[    1.809766] fb: switching to amdgpudrmfb from VESA VGA

[    1.827622] amdgpu 0000:00:01.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)

[    1.827624] amdgpu 0000:00:01.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF

[    1.827718] [drm] amdgpu: 1024M of VRAM memory ready

[    1.827719] [drm] amdgpu: 1024M of GTT memory ready.

[    1.928136] amdgpu 0000:00:01.0: amdgpu: using MSI.

[    1.928159] [drm] amdgpu: irq initialized.

[    1.928165] [drm] amdgpu: dpm initialized

[    1.928585] amdgpu 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000040000010, cpu addr 0xffff9677e518d010

[    1.928619] amdgpu 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000040000020, cpu addr 0xffff9677e518d020

[    1.928649] amdgpu 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000040000030, cpu addr 0xffff9677e518d030

[    1.928684] amdgpu 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000040000040, cpu addr 0xffff9677e518d040

[    1.928721] amdgpu 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000040000050, cpu addr 0xffff9677e518d050

[    1.928751] amdgpu 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000040000060, cpu addr 0xffff9677e518d060

[    1.928779] amdgpu 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000040000070, cpu addr 0xffff9677e518d070

[    1.928808] amdgpu 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000040000080, cpu addr 0xffff9677e518d080

[    1.928836] amdgpu 0000:00:01.0: fence driver on ring 8 use gpu addr 0x0000000040000090, cpu addr 0xffff9677e518d090

[    1.928947] amdgpu 0000:00:01.0: fence driver on ring 9 use gpu addr 0x00000000400000a0, cpu addr 0xffff9677e518d0a0

[    1.928976] amdgpu 0000:00:01.0: fence driver on ring 10 use gpu addr 0x00000000400000b0, cpu addr 0xffff9677e518d0b0

[    1.929412] amdgpu 0000:00:01.0: fence driver on ring 11 use gpu addr 0x000000000028cd30, cpu addr 0xffffa59641e38d30

[    1.929517] amdgpu 0000:00:01.0: fence driver on ring 12 use gpu addr 0x00000000400000d0, cpu addr 0xffff9677e518d0d0

[    1.929543] amdgpu 0000:00:01.0: fence driver on ring 13 use gpu addr 0x00000000400000e0, cpu addr 0xffff9677e518d0e0

[    2.205573] [drm:uvd_v4_2_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 11 test failed (0xCAFEDEAD)

[    2.205616] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <uvd_v4_2> failed -22

[    2.205620] amdgpu 0000:00:01.0: amdgpu_init failed

[    2.265987] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 4

[    2.266033] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266075] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 5

[    2.266120] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266164] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 4

[    2.266208] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266251] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 5

[    2.266295] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266340] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 4

[    2.266384] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266426] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 5

[    2.266470] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266515] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 4

[    2.266559] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266601] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 5

[    2.266645] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266690] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 4

[    2.266734] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266777] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 5

[    2.266821] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266865] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 4

[    2.266909] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.266952] [drm:dce_v8_0_set_pageflip_interrupt_state [amdgpu]] *ERROR* invalid pageflip crtc 5

[    2.266996] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22)

[    2.267538] [drm] amdgpu: ttm finalized

[    2.267542] amdgpu 0000:00:01.0: Fatal error during GPU init

[    2.267544] [drm] amdgpu: finishing device.

[    2.267588] WARNING: CPU: 0 PID: 167 at /var/lib/dkms/amdgpu-pro/17.10-401251/build/amd/amdgpu/amdgpu_i2c.c:223 amdgpu_i2c_destroy+0x40/0x50 [amdgpu]

[    2.267589] Modules linked in: usbhid(+) hid amdkfd amd_iommu_v2 amdgpu(OE+) amdttm(OE) amdkcl(OE) i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt psmouse fb_sys_fops alx mdio drm ahci libahci fjes video

[    2.267660]  [<ffffffffc04140e0>] amdgpu_i2c_destroy+0x40/0x50 [amdgpu]

[    2.267700]  [<ffffffffc0414147>] amdgpu_i2c_fini+0x27/0x40 [amdgpu]

[    2.267737]  [<ffffffffc03fee27>] amdgpu_device_fini+0x197/0x1d0 [amdgpu]

[    2.267774]  [<ffffffffc0401244>] amdgpu_driver_unload_kms+0x44/0x80 [amdgpu]

[    2.267812]  [<ffffffffc040134b>] amdgpu_driver_load_kms+0xcb/0x200 [amdgpu]

[    2.267884]  [<ffffffffc03fb4ae>] amdgpu_pci_probe+0xbe/0xf0 [amdgpu]

[    2.267949]  [<ffffffffc060908a>] amdgpu_init+0x8a/0x9b [amdgpu]

[    2.268578] amdgpu: probe of 0000:00:01.0 failed with error -22

0 Likes
2 Replies
dwitczak
Staff
Staff

Re: AMDGPU-PRO 17.10 - Ubuntu 16.04 w/HWE - OpenGL Problem/Bug

The configuration reported on the thread you provided a link for mentions of Radeon R7 M445. AMDGPU Pro driver does not provide support for this ASIC. You can find the list @ http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx

0 Likes
yurtesen
Miniboss

Re: AMDGPU-PRO 17.10 - Ubuntu 16.04 w/HWE - OpenGL Problem/Bug

dwitczak​ Lets forget the fact that AMD driver does not support "any" APU products or mobile GPUs anymore. I would understand if there would not be support for older products, but today, top of the line APUs are not supported even.

But this specific problem is independent of the GPU model. Driver DOES NOT say that the GPU model is not supported. Because of the library problem, the driver would not have worked with any GPU. Anyway, thanks for the response in either case...

0 Likes