Seems like the DAL patches are still only applied on the amd-staging-4.9 repo, any plans for newer kernels ?
Announcement
Collapse
No announcement yet.
amd-staging and newer kernels
Collapse
X
-
Harry Wentland has a version of the 4.11 kernel with dc support here: https://cgit.freedesktop.org/~hwentl...ng-dc-drm-next
- Likes 1
-
Seems like there is an official 4.11 staging now
And it doesn't work properly for me, seems like when Xserver starts everything freezes and this is logged in the system log during boot
Code:2.538533] ------------[ cut here ]------------ [ 2.538594] WARNING: CPU: 0 PID: 100 at drivers/gpu/drm/amd/amdgpu/../display/modules/freesync/freesync.c:425 calc_freesync_range+0x22c/0x260 [amdgpu] [ 2.538594] Modules linked in: amdgpu(+) i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm [ 2.538598] CPU: 0 PID: 100 Comm: modprobe Not tainted 4.11.0-89fdf4fee12d #1 [ 2.538599] Hardware name: System manufacturer System Product Name/P7P55-M, BIOS 1101 09/04/2012 [ 2.538599] Call Trace: [ 2.538604] dump_stack+0x63/0x83 [ 2.538606] __warn+0xcb/0xf0 [ 2.538607] warn_slowpath_null+0x1d/0x20 [ 2.538640] calc_freesync_range+0x22c/0x260 [amdgpu] [ 2.538673] mod_freesync_notify_mode_change+0x197/0x1c0 [amdgpu] [ 2.538709] amdgpu_dm_atomic_commit_tail+0x2f0/0xac0 [amdgpu] [ 2.538744] ? dm_plane_helper_prepare_fb+0x138/0x170 [amdgpu] [ 2.538748] ? drm_atomic_helper_wait_for_dependencies+0x128/0x1a0 [drm_kms_helper] [ 2.538750] commit_tail+0x3f/0x90 [drm_kms_helper] [ 2.538752] drm_atomic_helper_commit+0xa4/0x100 [drm_kms_helper] [ 2.538758] drm_atomic_commit+0x4b/0x50 [drm] [ 2.538760] restore_fbdev_mode+0x14e/0x2a0 [drm_kms_helper] [ 2.538762] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper] [ 2.538764] drm_fb_helper_set_par+0x2d/0x60 [drm_kms_helper] [ 2.538765] fbcon_init+0x579/0x600 [ 2.538767] visual_init+0xd6/0x130 [ 2.538768] do_bind_con_driver+0x1da/0x3c0 [ 2.538769] do_take_over_console+0x115/0x180 [ 2.538770] do_fbcon_takeover+0x5c/0xb0 [ 2.538771] fbcon_event_notify+0x69d/0x7a0 [ 2.538772] notifier_call_chain+0x4a/0x70 [ 2.538773] __blocking_notifier_call_chain+0x47/0x60 [ 2.538774] blocking_notifier_call_chain+0x16/0x20 [ 2.538775] fb_notifier_call_chain+0x1b/0x20 [ 2.538775] register_framebuffer+0x216/0x360 [ 2.538777] drm_fb_helper_initial_config+0x243/0x3e0 [drm_kms_helper] [ 2.538807] amdgpu_fbdev_init+0xc6/0xf0 [amdgpu] [ 2.538834] amdgpu_device_init+0x12be/0x1530 [amdgpu] [ 2.538836] ? kmalloc_order_trace+0x2e/0xf0 [ 2.538864] amdgpu_driver_load_kms+0x5b/0x220 [amdgpu] [ 2.538868] drm_dev_register+0x146/0x1d0 [drm] [ 2.538872] drm_get_pci_dev+0x9a/0x180 [drm] [ 2.538898] amdgpu_pci_probe+0xbc/0xe0 [amdgpu] [ 2.538900] local_pci_probe+0x45/0xa0 [ 2.538901] ? pci_match_device+0xe0/0x110 [ 2.538902] pci_device_probe+0x100/0x150 [ 2.538904] driver_probe_device+0x2bb/0x460 [ 2.538905] __driver_attach+0xdf/0xf0 [ 2.538906] ? driver_probe_device+0x460/0x460 [ 2.538908] bus_for_each_dev+0x6c/0xc0 [ 2.538908] driver_attach+0x1e/0x20 [ 2.538909] bus_add_driver+0x170/0x270 [ 2.538910] driver_register+0x60/0xe0 [ 2.538911] __pci_register_driver+0x4c/0x50 [ 2.538915] drm_pci_init+0xeb/0x100 [drm] [ 2.538940] amdgpu_init+0x95/0xa8 [amdgpu] [ 2.538941] ? 0xffffffffa0343000 [ 2.538943] do_one_initcall+0x52/0x1a0 [ 2.538945] ? __vunmap+0x81/0xd0 [ 2.538946] ? kfree+0x177/0x190 [ 2.538947] ? kfree+0x177/0x190 [ 2.538949] do_init_module+0x5f/0x1fb [ 2.538951] load_module+0x2309/0x2c20 [ 2.538953] ? vfs_read+0x11b/0x130 [ 2.538955] SyS_finit_module+0xe4/0x120 [ 2.538956] ? SyS_finit_module+0xe4/0x120 [ 2.538958] entry_SYSCALL_64_fastpath+0x1a/0xa9 [ 2.538959] RIP: 0033:0x7fd8bf25f889 [ 2.538959] RSP: 002b:00007fffae35e4b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 2.538960] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd8bf25f889 [ 2.538960] RDX: 0000000000000000 RSI: 000000000041aada RDI: 000000000000000b [ 2.538961] RBP: 00007fffae35d370 R08: 0000000000000000 R09: 0000000000000000 [ 2.538961] R10: 000000000000000b R11: 0000000000000246 R12: 0000000000000000 [ 2.538962] R13: 00007fd8bf2dfe3e R14: ffffffffffffff98 R15: 0000000000f885c0 [ 2.538963] ---[ end trace 256e527fd9a79cd6 ]---
Last edited by gbil; 15 May 2017, 07:39 AM.
Comment
-
Originally posted by gbil View PostSeems like there is an official 4.11 staging now
And it doesn't work properly for me, seems like when Xserver starts everything freezes and this is logged in the system log during boot
Code:2.538533] ------------[ cut here ]------------ [ 2.538594] WARNING: CPU: 0 PID: 100 at drivers/gpu/drm/amd/amdgpu/../display/modules/freesync/freesync.c:425 calc_freesync_range+0x22c/0x260 [amdgpu] [ 2.538594] Modules linked in: amdgpu(+) i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm [ 2.538598] CPU: 0 PID: 100 Comm: modprobe Not tainted 4.11.0-89fdf4fee12d #1 [ 2.538599] Hardware name: System manufacturer System Product Name/P7P55-M, BIOS 1101 09/04/2012 [ 2.538599] Call Trace: [ 2.538604] dump_stack+0x63/0x83 [ 2.538606] __warn+0xcb/0xf0 [ 2.538607] warn_slowpath_null+0x1d/0x20 [ 2.538640] calc_freesync_range+0x22c/0x260 [amdgpu] [ 2.538673] mod_freesync_notify_mode_change+0x197/0x1c0 [amdgpu] [ 2.538709] amdgpu_dm_atomic_commit_tail+0x2f0/0xac0 [amdgpu] [ 2.538744] ? dm_plane_helper_prepare_fb+0x138/0x170 [amdgpu] [ 2.538748] ? drm_atomic_helper_wait_for_dependencies+0x128/0x1a0 [drm_kms_helper] [ 2.538750] commit_tail+0x3f/0x90 [drm_kms_helper] [ 2.538752] drm_atomic_helper_commit+0xa4/0x100 [drm_kms_helper] [ 2.538758] drm_atomic_commit+0x4b/0x50 [drm] [ 2.538760] restore_fbdev_mode+0x14e/0x2a0 [drm_kms_helper] [ 2.538762] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper] [ 2.538764] drm_fb_helper_set_par+0x2d/0x60 [drm_kms_helper] [ 2.538765] fbcon_init+0x579/0x600 [ 2.538767] visual_init+0xd6/0x130 [ 2.538768] do_bind_con_driver+0x1da/0x3c0 [ 2.538769] do_take_over_console+0x115/0x180 [ 2.538770] do_fbcon_takeover+0x5c/0xb0 [ 2.538771] fbcon_event_notify+0x69d/0x7a0 [ 2.538772] notifier_call_chain+0x4a/0x70 [ 2.538773] __blocking_notifier_call_chain+0x47/0x60 [ 2.538774] blocking_notifier_call_chain+0x16/0x20 [ 2.538775] fb_notifier_call_chain+0x1b/0x20 [ 2.538775] register_framebuffer+0x216/0x360 [ 2.538777] drm_fb_helper_initial_config+0x243/0x3e0 [drm_kms_helper] [ 2.538807] amdgpu_fbdev_init+0xc6/0xf0 [amdgpu] [ 2.538834] amdgpu_device_init+0x12be/0x1530 [amdgpu] [ 2.538836] ? kmalloc_order_trace+0x2e/0xf0 [ 2.538864] amdgpu_driver_load_kms+0x5b/0x220 [amdgpu] [ 2.538868] drm_dev_register+0x146/0x1d0 [drm] [ 2.538872] drm_get_pci_dev+0x9a/0x180 [drm] [ 2.538898] amdgpu_pci_probe+0xbc/0xe0 [amdgpu] [ 2.538900] local_pci_probe+0x45/0xa0 [ 2.538901] ? pci_match_device+0xe0/0x110 [ 2.538902] pci_device_probe+0x100/0x150 [ 2.538904] driver_probe_device+0x2bb/0x460 [ 2.538905] __driver_attach+0xdf/0xf0 [ 2.538906] ? driver_probe_device+0x460/0x460 [ 2.538908] bus_for_each_dev+0x6c/0xc0 [ 2.538908] driver_attach+0x1e/0x20 [ 2.538909] bus_add_driver+0x170/0x270 [ 2.538910] driver_register+0x60/0xe0 [ 2.538911] __pci_register_driver+0x4c/0x50 [ 2.538915] drm_pci_init+0xeb/0x100 [drm] [ 2.538940] amdgpu_init+0x95/0xa8 [amdgpu] [ 2.538941] ? 0xffffffffa0343000 [ 2.538943] do_one_initcall+0x52/0x1a0 [ 2.538945] ? __vunmap+0x81/0xd0 [ 2.538946] ? kfree+0x177/0x190 [ 2.538947] ? kfree+0x177/0x190 [ 2.538949] do_init_module+0x5f/0x1fb [ 2.538951] load_module+0x2309/0x2c20 [ 2.538953] ? vfs_read+0x11b/0x130 [ 2.538955] SyS_finit_module+0xe4/0x120 [ 2.538956] ? SyS_finit_module+0xe4/0x120 [ 2.538958] entry_SYSCALL_64_fastpath+0x1a/0xa9 [ 2.538959] RIP: 0033:0x7fd8bf25f889 [ 2.538959] RSP: 002b:00007fffae35e4b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 2.538960] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd8bf25f889 [ 2.538960] RDX: 0000000000000000 RSI: 000000000041aada RDI: 000000000000000b [ 2.538961] RBP: 00007fffae35d370 R08: 0000000000000000 R09: 0000000000000000 [ 2.538961] R10: 000000000000000b R11: 0000000000000246 R12: 0000000000000000 [ 2.538962] R13: 00007fd8bf2dfe3e R14: ffffffffffffff98 R15: 0000000000f885c0 [ 2.538963] ---[ end trace 256e527fd9a79cd6 ]---
Option "TearFree" "on"
from the xorg.conf in order to circumvent this error!
Comment
-
Originally posted by debianxfce View Post
You do not need the xorg.conf file at all, there is enough settings in /usr/share/X11/xorg.conf.d/10-amdgpu.conf. I have enabled desktop composting in Xfce Window Manager Tweaks to prevent tearing.
Comment
-
Originally posted by debianxfce View Post
All people, make bug reports to kernel bugzilla or mesa bugzilla. This is discussion forum.
Comment
Comment