Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Switches between X and TTY freezes/hangs GUI applications
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
x220tux
n00b
n00b


Joined: 09 Apr 2015
Posts: 19

PostPosted: Sat Sep 24, 2016 7:56 am    Post subject: Switches between X and TTY freezes/hangs GUI applications Reply with quote

Issue:

    1. startx gets into XFCE4 desktop. Everything goes smoothly.
    2. Now switch to virtual terminal (Ctrl + Alt + f1 ~ f6) and do something (i.e. emerge). Then switch back (Alt + f7) to XCFE4.
    3. Repeat the switches for at most 3 times. XFCE4 applications freeze to death, especially for mpv/firefox.
    4. The screenshots are http://imgur.com/a/i3OI7 and http://imgur.com/a/FYyhp
    5. I have to kill the applications. Re-launch applications does not help. They just freezes again even without switch between X and TTY.


Log:

Each time freezes, the relevant system log: /var/log/messages

Except the Tainted log below. mpv playback logs gpu hang. But currently I cannot get the log since it occurs occasionally.
Code:

Sep 24 11:27:16 zhtux kernel: ------------[ cut here ]------------
Sep 24 11:27:16 zhtux kernel: WARNING: CPU: 2 PID: 8351 at drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x13e/0x190()
Sep 24 11:27:16 zhtux kernel: vblank wait timed out on crtc 0
Sep 24 11:27:16 zhtux kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep sdhci_pci sdhci mmc_core videobuf2_core v4l2_common videodev iwldvm snd_hda_core iwlwifi iTCO_wdt thinkpad_acpi snd_pcm pcspkr lpc_ich x86_pkg_temp_thermal mfd_core aes_x86_64 fuse dm_crypt
Sep 24 11:27:16 zhtux kernel: CPU: 2 PID: 8351 Comm: X Not tainted 4.4.6-gentoo #1
Sep 24 11:27:16 zhtux kernel: Hardware name: LENOVO 4290NL7/4290NL7, BIOS 8DET69WW (1.39 ) 07/18/2013
Sep 24 11:27:16 zhtux kernel:  0000000000000000 ffff8800cef978a0 ffffffff81314a38 ffff8800cef978e8
Sep 24 11:27:16 zhtux kernel:  ffffffff81c06fce ffff8800cef978d8 ffffffff81069a11 ffff880037995000
Sep 24 11:27:16 zhtux kernel:  0000000000000000 0000000000049e3a ffff88003789cc08 0000000000000000
Sep 24 11:27:16 zhtux kernel: Call Trace:
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81314a38>] dump_stack+0x4d/0x65
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81069a11>] warn_slowpath_common+0x81/0xc0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81069a97>] warn_slowpath_fmt+0x47/0x50
Sep 24 11:27:16 zhtux kernel:  [<ffffffff8109f830>] ? finish_wait+0x50/0x60
Sep 24 11:27:16 zhtux kernel:  [<ffffffff813f401e>] drm_wait_one_vblank+0x13e/0x190
Sep 24 11:27:16 zhtux kernel:  [<ffffffff8109f9e0>] ? wait_woken+0x80/0x80
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81485bd0>] intel_atomic_commit+0x440/0x13a0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff8140b65f>] ? drm_atomic_check_only+0x13f/0x5d0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff8140b452>] ? drm_atomic_add_affected_connectors+0x22/0xf0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff8140bb22>] drm_atomic_commit+0x32/0x50
Sep 24 11:27:16 zhtux kernel:  [<ffffffff813ea502>] restore_fbdev_mode+0x232/0x260
Sep 24 11:27:16 zhtux kernel:  [<ffffffff813ec68e>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x70
Sep 24 11:27:16 zhtux kernel:  [<ffffffff813ec6f8>] drm_fb_helper_set_par+0x28/0x50
Sep 24 11:27:16 zhtux kernel:  [<ffffffff8149b6a5>] intel_fbdev_set_par+0x15/0x60
Sep 24 11:27:16 zhtux kernel:  [<ffffffff813993af>] fb_set_var+0x19f/0x3e0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff810940f9>] ? check_preempt_wakeup+0x199/0x230
Sep 24 11:27:16 zhtux kernel:  [<ffffffff8108c599>] ? check_preempt_curr+0x79/0x90
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81395baa>] fbcon_blank+0x20a/0x2e0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff813703f5>] do_unblank_screen+0xb5/0x1c0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81366e14>] complete_change_console+0x54/0xd0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81367fb5>] vt_ioctl+0x1125/0x12f0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff813f64e0>] ? drm_setmaster_ioctl+0x110/0x110
Sep 24 11:27:16 zhtux kernel:  [<ffffffff8135b6ec>] tty_ioctl+0x3ac/0xbb0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff812b9697>] ? selinux_file_ioctl+0xf7/0x1c0
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81187d15>] do_vfs_ioctl+0x2b5/0x480
Sep 24 11:27:16 zhtux kernel:  [<ffffffff812b2f3e>] ? security_file_ioctl+0x3e/0x60
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81187f54>] SyS_ioctl+0x74/0x80
Sep 24 11:27:16 zhtux kernel:  [<ffffffff81809b5b>] entry_SYSCALL_64_fastpath+0x16/0x6e
Sep 24 11:27:16 zhtux kernel: ---[ end trace a0d42914d47774ae ]---
Sep 24 11:29:01 zhtux kernel: ------------[ cut here ]------------
Sep 24 11:29:01 zhtux kernel: WARNING: CPU: 2 PID: 8351 at drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x13e/0x190()
Sep 24 11:29:01 zhtux kernel: vblank wait timed out on crtc 0
Sep 24 11:29:01 zhtux kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep sdhci_pci sdhci mmc_core videobuf2_core v4l2_common videodev iwldvm snd_hda_core iwlwifi iTCO_wdt thinkpad_acpi snd_pcm pcspkr lpc_ich x86_pkg_temp_thermal mfd_core aes_x86_64 fuse dm_crypt
Sep 24 11:29:01 zhtux kernel: CPU: 2 PID: 8351 Comm: X Tainted: G        W       4.4.6-gentoo #1
Sep 24 11:29:01 zhtux kernel: Hardware name: LENOVO 4290NL7/4290NL7, BIOS 8DET69WW (1.39 ) 07/18/2013
Sep 24 11:29:01 zhtux kernel:  0000000000000000 ffff8800cef97ab8 ffffffff81314a38 ffff8800cef97b00
Sep 24 11:29:01 zhtux kernel:  ffffffff81c06fce ffff8800cef97af0 ffffffff81069a11 ffff880037995000
Sep 24 11:29:01 zhtux kernel:  0000000000000000 000000000004a1c6 ffff88003789cc08 0000000000000000
Sep 24 11:29:01 zhtux kernel: Call Trace:
Sep 24 11:29:01 zhtux kernel:  [<ffffffff81314a38>] dump_stack+0x4d/0x65
Sep 24 11:29:01 zhtux kernel:  [<ffffffff81069a11>] warn_slowpath_common+0x81/0xc0
Sep 24 11:29:01 zhtux kernel:  [<ffffffff81069a97>] warn_slowpath_fmt+0x47/0x50
Sep 24 11:29:01 zhtux kernel:  [<ffffffff8109f830>] ? finish_wait+0x50/0x60
Sep 24 11:29:01 zhtux kernel:  [<ffffffff813f401e>] drm_wait_one_vblank+0x13e/0x190
Sep 24 11:29:01 zhtux kernel:  [<ffffffff8109f9e0>] ? wait_woken+0x80/0x80
Sep 24 11:29:01 zhtux kernel:  [<ffffffff81485bd0>] intel_atomic_commit+0x440/0x13a0
Sep 24 11:29:01 zhtux kernel:  [<ffffffff8140b65f>] ? drm_atomic_check_only+0x13f/0x5d0
Sep 24 11:29:01 zhtux kernel:  [<ffffffff8140bb22>] drm_atomic_commit+0x32/0x50
Sep 24 11:29:01 zhtux kernel:  [<ffffffff813e99b9>] drm_atomic_helper_disable_plane+0xa9/0xf0
Sep 24 11:29:01 zhtux kernel:  [<ffffffff8140a534>] ? drm_modeset_lock+0x34/0xe0
Sep 24 11:29:01 zhtux kernel:  [<ffffffff813fbfbc>] __setplane_internal+0x16c/0x260
Sep 24 11:29:01 zhtux kernel:  [<ffffffff8140a66b>] ? drm_modeset_lock_all_crtcs+0x8b/0xa0
Sep 24 11:29:01 zhtux kernel:  [<ffffffff813ffb23>] drm_mode_setplane+0x133/0x1b0
Sep 24 11:29:01 zhtux kernel:  [<ffffffff813f21bd>] drm_ioctl+0x13d/0x560
Sep 24 11:29:01 zhtux kernel:  [<ffffffff813ff9f0>] ? drm_plane_check_pixel_format+0x40/0x40
Sep 24 11:29:01 zhtux kernel:  [<ffffffff812b9697>] ? selinux_file_ioctl+0xf7/0x1c0
Sep 24 11:29:01 zhtux kernel:  [<ffffffff81187d15>] do_vfs_ioctl+0x2b5/0x480
Sep 24 11:29:01 zhtux kernel:  [<ffffffff812b2f3e>] ? security_file_ioctl+0x3e/0x60
Sep 24 11:29:01 zhtux kernel:  [<ffffffff81187f54>] SyS_ioctl+0x74/0x80
Sep 24 11:29:01 zhtux kernel:  [<ffffffff81809b5b>] entry_SYSCALL_64_fastpath+0x16/0x6e
Sep 24 11:29:01 zhtux kernel: ---[ end trace a0d42914d47774af ]---
Sep 24 11:29:02 zhtux kernel: ------------[ cut here ]------------
Sep 24 11:29:02 zhtux kernel: WARNING: CPU: 2 PID: 8351 at drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x13e/0x190()
Sep 24 11:29:02 zhtux kernel: vblank wait timed out on crtc 0
Sep 24 11:29:02 zhtux kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep sdhci_pci sdhci mmc_core videobuf2_core v4l2_common videodev iwldvm snd_hda_core iwlwifi iTCO_wdt thinkpad_acpi snd_pcm pcspkr lpc_ich x86_pkg_temp_thermal mfd_core aes_x86_64 fuse dm_crypt
Sep 24 11:29:02 zhtux kernel: CPU: 2 PID: 8351 Comm: X Tainted: G        W       4.4.6-gentoo #1
Sep 24 11:29:02 zhtux kernel: Hardware name: LENOVO 4290NL7/4290NL7, BIOS 8DET69WW (1.39 ) 07/18/2013
Sep 24 11:29:02 zhtux kernel:  0000000000000000 ffff8800cef978a0 ffffffff81314a38 ffff8800cef978e8
Sep 24 11:29:02 zhtux kernel:  ffffffff81c06fce ffff8800cef978d8 ffffffff81069a11 ffff880037995000
Sep 24 11:29:02 zhtux kernel:  0000000000000000 000000000004a1c6 ffff88003789cc08 0000000000000000
Sep 24 11:29:02 zhtux kernel: Call Trace:
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81314a38>] dump_stack+0x4d/0x65
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81069a11>] warn_slowpath_common+0x81/0xc0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81069a97>] warn_slowpath_fmt+0x47/0x50
Sep 24 11:29:02 zhtux kernel:  [<ffffffff8109f830>] ? finish_wait+0x50/0x60
Sep 24 11:29:02 zhtux kernel:  [<ffffffff813f401e>] drm_wait_one_vblank+0x13e/0x190
Sep 24 11:29:02 zhtux kernel:  [<ffffffff8109f9e0>] ? wait_woken+0x80/0x80
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81485bd0>] intel_atomic_commit+0x440/0x13a0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff8140b65f>] ? drm_atomic_check_only+0x13f/0x5d0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff8140b452>] ? drm_atomic_add_affected_connectors+0x22/0xf0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff8140bb22>] drm_atomic_commit+0x32/0x50
Sep 24 11:29:02 zhtux kernel:  [<ffffffff813ea502>] restore_fbdev_mode+0x232/0x260
Sep 24 11:29:02 zhtux kernel:  [<ffffffff813ec68e>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x70
Sep 24 11:29:02 zhtux kernel:  [<ffffffff813ec6f8>] drm_fb_helper_set_par+0x28/0x50
Sep 24 11:29:02 zhtux kernel:  [<ffffffff8149b6a5>] intel_fbdev_set_par+0x15/0x60
Sep 24 11:29:02 zhtux kernel:  [<ffffffff813993af>] fb_set_var+0x19f/0x3e0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff810940f9>] ? check_preempt_wakeup+0x199/0x230
Sep 24 11:29:02 zhtux kernel:  [<ffffffff8108c599>] ? check_preempt_curr+0x79/0x90
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81395baa>] fbcon_blank+0x20a/0x2e0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff813703f5>] do_unblank_screen+0xb5/0x1c0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81366e14>] complete_change_console+0x54/0xd0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81367fb5>] vt_ioctl+0x1125/0x12f0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff813f64e0>] ? drm_setmaster_ioctl+0x110/0x110
Sep 24 11:29:02 zhtux kernel:  [<ffffffff8135b6ec>] tty_ioctl+0x3ac/0xbb0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff812b9697>] ? selinux_file_ioctl+0xf7/0x1c0
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81187d15>] do_vfs_ioctl+0x2b5/0x480
Sep 24 11:29:02 zhtux kernel:  [<ffffffff812b2f3e>] ? security_file_ioctl+0x3e/0x60
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81187f54>] SyS_ioctl+0x74/0x80
Sep 24 11:29:02 zhtux kernel:  [<ffffffff81809b5b>] entry_SYSCALL_64_fastpath+0x16/0x6e
Sep 24 11:29:02 zhtux kernel: ---[ end trace a0d42914d47774b0 ]---
Sep 24 11:29:36 zhtux polkitd[4357]: Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session8 (system bus name :1.31, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Sep 24 11:29:36 zhtux su[8538]: pam_unix(su:session): session closed for user root
Sep 24 11:29:36 zhtux kernel: ------------[ cut here ]------------
Sep 24 11:29:36 zhtux kernel: WARNING: CPU: 3 PID: 8351 at drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x13e/0x190()
Sep 24 11:29:36 zhtux kernel: vblank wait timed out on crtc 0
Sep 24 11:29:36 zhtux kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep sdhci_pci sdhci mmc_core videobuf2_core v4l2_common videodev iwldvm snd_hda_core iwlwifi iTCO_wdt thinkpad_acpi snd_pcm pcspkr lpc_ich x86_pkg_temp_thermal mfd_core aes_x86_64 fuse dm_crypt
Sep 24 11:29:36 zhtux kernel: CPU: 3 PID: 8351 Comm: X Tainted: G        W       4.4.6-gentoo #1
Sep 24 11:29:36 zhtux kernel: Hardware name: LENOVO 4290NL7/4290NL7, BIOS 8DET69WW (1.39 ) 07/18/2013
Sep 24 11:29:36 zhtux kernel:  0000000000000000 ffff8800cef97ab8 ffffffff81314a38 ffff8800cef97b00
Sep 24 11:29:36 zhtux kernel:  ffffffff81c06fce ffff8800cef97af0 ffffffff81069a11 ffff880037995000
Sep 24 11:29:36 zhtux kernel:  0000000000000000 000000000004a1c6 ffff88003789cc08 0000000000000000
Sep 24 11:29:36 zhtux kernel: Call Trace:
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81314a38>] dump_stack+0x4d/0x65
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81069a11>] warn_slowpath_common+0x81/0xc0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81069a97>] warn_slowpath_fmt+0x47/0x50
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8109f830>] ? finish_wait+0x50/0x60
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813f401e>] drm_wait_one_vblank+0x13e/0x190
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8109f9e0>] ? wait_woken+0x80/0x80
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81485bd0>] intel_atomic_commit+0x440/0x13a0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8140b65f>] ? drm_atomic_check_only+0x13f/0x5d0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8140bb22>] drm_atomic_commit+0x32/0x50
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813e99b9>] drm_atomic_helper_disable_plane+0xa9/0xf0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8140a534>] ? drm_modeset_lock+0x34/0xe0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813fbfbc>] __setplane_internal+0x16c/0x260
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8140a66b>] ? drm_modeset_lock_all_crtcs+0x8b/0xa0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813ffb23>] drm_mode_setplane+0x133/0x1b0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813f21bd>] drm_ioctl+0x13d/0x560
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813ff9f0>] ? drm_plane_check_pixel_format+0x40/0x40
Sep 24 11:29:36 zhtux kernel:  [<ffffffff812b9697>] ? selinux_file_ioctl+0xf7/0x1c0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81187d15>] do_vfs_ioctl+0x2b5/0x480
Sep 24 11:29:36 zhtux kernel:  [<ffffffff812b2f3e>] ? security_file_ioctl+0x3e/0x60
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81187f54>] SyS_ioctl+0x74/0x80
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81077432>] ? SyS_rt_sigprocmask+0x62/0xa0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81809b5b>] entry_SYSCALL_64_fastpath+0x16/0x6e
Sep 24 11:29:36 zhtux kernel: ---[ end trace a0d42914d47774b1 ]---
Sep 24 11:29:36 zhtux kernel: ------------[ cut here ]------------
Sep 24 11:29:36 zhtux kernel: WARNING: CPU: 3 PID: 8351 at drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x13e/0x190()
Sep 24 11:29:36 zhtux kernel: vblank wait timed out on crtc 0
Sep 24 11:29:36 zhtux kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep sdhci_pci sdhci mmc_core videobuf2_core v4l2_common videodev iwldvm snd_hda_core iwlwifi iTCO_wdt thinkpad_acpi snd_pcm pcspkr lpc_ich x86_pkg_temp_thermal mfd_core aes_x86_64 fuse dm_crypt
Sep 24 11:29:36 zhtux kernel: CPU: 3 PID: 8351 Comm: X Tainted: G        W       4.4.6-gentoo #1
Sep 24 11:29:36 zhtux kernel: Hardware name: LENOVO 4290NL7/4290NL7, BIOS 8DET69WW (1.39 ) 07/18/2013
Sep 24 11:29:36 zhtux kernel:  0000000000000000 ffff8800cef978c8 ffffffff81314a38 ffff8800cef97910
Sep 24 11:29:36 zhtux kernel:  ffffffff81c06fce ffff8800cef97900 ffffffff81069a11 ffff880037995000
Sep 24 11:29:36 zhtux kernel:  0000000000000000 000000000004a1c6 ffff88003789cc08 0000000000000000
Sep 24 11:29:36 zhtux kernel: Call Trace:
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81314a38>] dump_stack+0x4d/0x65
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81069a11>] warn_slowpath_common+0x81/0xc0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81069a97>] warn_slowpath_fmt+0x47/0x50
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8109f830>] ? finish_wait+0x50/0x60
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813f401e>] drm_wait_one_vblank+0x13e/0x190
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8109f9e0>] ? wait_woken+0x80/0x80
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81485bd0>] intel_atomic_commit+0x440/0x13a0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8140b65f>] ? drm_atomic_check_only+0x13f/0x5d0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8140b452>] ? drm_atomic_add_affected_connectors+0x22/0xf0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8140bb22>] drm_atomic_commit+0x32/0x50
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813ea502>] restore_fbdev_mode+0x232/0x260
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813ec68e>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x70
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813ec6f8>] drm_fb_helper_set_par+0x28/0x50
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8149b6a5>] intel_fbdev_set_par+0x15/0x60
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813993af>] fb_set_var+0x19f/0x3e0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81395baa>] fbcon_blank+0x20a/0x2e0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff813703f5>] do_unblank_screen+0xb5/0x1c0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81368105>] vt_ioctl+0x1275/0x12f0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8135b6ec>] tty_ioctl+0x3ac/0xbb0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff8118b36e>] ? dput+0x9e/0x1f0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff812b9697>] ? selinux_file_ioctl+0xf7/0x1c0
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81187d15>] do_vfs_ioctl+0x2b5/0x480
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81082df6>] ? task_work_run+0x76/0x90
Sep 24 11:29:36 zhtux kernel:  [<ffffffff812b2f3e>] ? security_file_ioctl+0x3e/0x60
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81187f54>] SyS_ioctl+0x74/0x80
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81002ab2>] ? syscall_return_slowpath+0x92/0x110
Sep 24 11:29:36 zhtux kernel:  [<ffffffff81809b5b>] entry_SYSCALL_64_fastpath+0x16/0x6e
Sep 24 11:29:36 zhtux kernel: ---[ end trace a0d42914d47774b2 ]---


Possible related Xorg log: /var/log/Xorg.0.log
Code:

   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5659.738] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  5659.738] (EE) Failed to load module "vesa" (module does not exist, 0)


System

Kernel:
Code:

Linux jgray 4.4.6-gentoo #1 SMP Tue Sep 20 21:55:38 Local time zone must be set--see zic  x86_64 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz GenuineIntel GNU/Linux


Emerge --info:
Code:

$ emerge --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     3922924 total,   2911356 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 21 Sep 2016 14:07:26 +0000
sh bash 4.3_p46-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p46-r1::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo.git
    priority: -1000

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    sync-type: git
    sync-uri: git://github.com/microcai/gentoo-zh.git
    masters: gentoo

tuxlocal
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://mirrors.xmu.edu.cn/gentoo ftp://mirrors.xmu.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="clock power trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Graphics:
Code:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)


OpenGL:
Code:

# eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *


Packages:
Code:

[I] x11-base/xorg-server
     Available versions:  1.12.4-r5(0/1.12.4) 1.12.4-r7(0/1.12.4) 1.15.2-r2(0/1.15.2) 1.15.2-r4(0/1.15.2) 1.16.4(0/1.16.1) 1.16.4-r5(0/1.16.1) 1.17.4(0/1.17.4) ~1.18.0(0/1.18.0) ~1.18.1(0/1.18.1) ~1.18.2(0/1.18.2) ~1.18.3(0/1.18.3) 1.18.4(0/1.18.4) {dmx doc glamor ipv6 kdrive libressl minimal nptl selinux static-libs +suid systemd tslib +udev unwind wayland xephyr xnest xorg xvfb}
     Installed versions:  1.18.4(04:33:20 AM 09/21/2016)(glamor ipv6 suid udev xorg -dmx -doc -kdrive -libressl -minimal -selinux -static-libs -systemd -tslib -unwind -wayland -xephyr -xnest -xvfb)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers

[I] x11-drivers/xf86-video-intel
     Available versions:  ~*2.9.1 2.21.15 2.99.917-r2 2.99.917_p20160621-r1 ~2.99.917_p20160704 ~2.99.917_p20160803 ~2.99.917_p20160812 ~2.99.917_p20160829 {debug dri dri3 glamor +sna +udev uxa xvmc}
     Installed versions:  2.99.917_p20160621-r1(04:34:25 AM 09/21/2016)(dri sna udev -debug -dri3 -uxa -xvmc)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org driver for Intel cards

[I] x11-drivers/xf86-input-evdev
     Available versions:  2.9.1 2.9.2 ~2.10.1 ~2.10.2 2.10.3
     Installed versions:  2.10.3(04:34:37 AM 09/21/2016)
     Homepage:            http://xorg.freedesktop.org/
     Description:         Generic Linux input driver

[I] media-libs/mesa
     Available versions:  [M]7.10.3 10.3.7-r1^d 11.0.6^d ~11.0.9^d ~11.1.4^d 11.2.2^d 12.0.1^d ~12.0.2^d ~12.0.3^d **9999^d {bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles gles1 gles2 hardened (+)llvm motif +nptl opencl openmax openvg osmesa pax_kernel pic selinux +udev vaapi valgrind vdpau wayland xa xvmc ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD linux" VIDEO_CARDS="freedreno i915 i965 ilo intel mach64 mga nouveau r100 r128 r200 r300 r600 radeon radeonsi savage sis tdfx vc4 via vmware"}
     Installed versions:  12.0.1^d(02:05:04 AM 09/21/2016)(classic dri3 egl gallium gbm llvm nptl udev -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic -selinux -vaapi -valgrind -vdpau -wayland -xa -xvmc ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="-FreeBSD" VIDEO_CARDS="i965 intel -freedreno -i915 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vc4 -vmware")
     Homepage:            http://mesa3d.sourceforge.net/
     Description:         OpenGL-like graphic library for Linux


Methods failed


    1. acpi=off kernel parameter. It even failed to shutdown my system.
    2. DRI3 is not enabled on xf86-video-intel.
    3. IOMMU kernel option on or off.


ANY IDEAS ARE WELCOME


Last edited by x220tux on Sat Sep 24, 2016 11:27 am; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sat Sep 24, 2016 9:46 am    Post subject: Reply with quote

My opinion:

Look for a bios update / Install a bios update if available


Use the latest available kernel sources. That should be gentoo-sources 4.7.3 / 4.7.4

Latest mesa and such

try again. If it fails use those intel debug tools with their gpu drivers, they exists and report back with a bug to kernel.org

--

Is it correct that your notebook only has the intel gpu and no discrete gpu from amd / nvidia?

--

Maybe someone is intersted in your kernel.config

I recommend that you do the above steps and if the problem still exists, than post the new kernel config for kernel 4.7.x

Newer kernel fix sometimes issues with hardware
Back to top
View user's profile Send private message
x220tux
n00b
n00b


Joined: 09 Apr 2015
Posts: 19

PostPosted: Sat Sep 24, 2016 11:33 am    Post subject: Reply with quote

Roman_Gruber wrote:
My opinion:

Look for a bios update / Install a bios update if available



Use the latest available kernel sources. That should be gentoo-sources 4.7.3 / 4.7.4

Latest mesa and such

try again. If it fails use those intel debug tools with their gpu drivers, they exists and report back with a bug to kernel.org

--

Is it correct that your notebook only has the intel gpu and no discrete gpu from amd / nvidia?

--

Maybe someone is intersted in your kernel.config

I recommend that you do the above steps and if the problem still exists, than post the new kernel config for kernel 4.7.x

Newer kernel fix sometimes issues with hardware



    1. Already latest BIOS.
    2. Current kernel 4.4.6. I will try latest kernel and report back.
    3. mesa-12.0.1 installed. Latest is 12.0.3. Will bump to see if works.
    4. I am using Thinkpad. So pretty sure no AMD/NVIDIA.
Back to top
View user's profile Send private message
safeness
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2004
Posts: 95
Location: Eastside, WA

PostPosted: Sun Dec 18, 2016 10:09 pm    Post subject: Reply with quote

Hey, I'm having a similar issue on my 2008 macbook. Did you find a solution by any chance?

Thanks!
_________________
"The freedom of opinion and the reasonable maintenance of it is not a crime and ought not to occasion injury." --Thomas Jefferson
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1366
Location: Montréal

PostPosted: Sun Dec 18, 2016 10:56 pm    Post subject: Reply with quote

Do you use Openrc or Systemd? It look to be Openrc. Is there a Consolekit session started with Xfce4?

When I am on Youtube with Seamonkey and I listen to a tube html5 with my Bluetooth headsets (Bluez and Pulseaudio) and I switch to tty1 (Ctrl+Alt+F1), after awhile the sound stop and the video wait I come back to tty7 (X) to continue. I use Systemd. It happen with ArchLinux and Gentoo. Close Firefox and follow the same pattern to create the freeze. See if it's happen when no web browser run.

As you know, the console is manage by the kernel video support and Xorg by it's own module generally using KMS. Switching from X to the console implie switching the video driver on the fly. Which drivers Linux and Xorg use as video drivers?
_________________
Paul
Back to top
View user's profile Send private message
safeness
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2004
Posts: 95
Location: Eastside, WA

PostPosted: Mon Dec 19, 2016 1:31 am    Post subject: Reply with quote

I think I found the culprit with the vblank wait which was my main concern.

In graphics support, there's an option to enable Laptop hybrid graphics that was unchecked. I enabled that and haven't seen the error pop up yet, so I think that was the issue. I'm still on kernel 4.5 but I wanted to try and fix that error before I upgraded.

Hope that helps!

Edit:

Nope, it's something else. It just took a while to show up this time.
_________________
"The freedom of opinion and the reasonable maintenance of it is not a crime and ought not to occasion injury." --Thomas Jefferson
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum