{"id":2239,"date":"2008-12-04T17:57:46","date_gmt":"2008-12-04T17:57:46","guid":{"rendered":"http:\/\/t.motd.kr\/articles\/2239\/how-to-work-around-intellij-idea-8-ui-slowdown-issue-with-intel-x11-driver"},"modified":"2022-12-28T01:45:27","modified_gmt":"2022-12-27T16:45:27","slug":"how-to-work-around-intellij-idea-8-ui-slowdown-issue-with-intel-x11-driver","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/2239\/how-to-work-around-intellij-idea-8-ui-slowdown-issue-with-intel-x11-driver\/","title":{"rendered":"How to Work Around IntelliJ IDEA 8 UI Slowdown Issue with Intel X11 Driver"},"content":{"rendered":"\n
I have been trying to switch from Eclipse<\/a> to IntelliJ IDEA<\/span><\/a> recently. However, IDEA<\/span> 8, the latest version, has shown me horribly unresponsive UI. Especially, the slow scroll in the editor window was intolerable; any keystroke that involves scrolling took up 100% CPU<\/span> and only a couple lines were scrolled for a second. I could hardly edit my source code and had to go back to Eclipse.<\/p>\n\n\n\n Today, I\u2019ve finally figured out what exactly was causing the problem \u2013 the intel video driver of X.org X11 server. In Fedora<\/a> 10, the default video acceleration method of the intel video driver is \u2018EXA<\/span>\u2019. According to the man page of the intel video driver (type However, it seems like there\u2019s a known performance issue with EXA<\/span> that slows down most Java Swing applications and some web pages in Firefox. So, I switched back to XAA<\/span>, the old XFree86 based acceleration architecture. Switchback is as simple as modifying the After restarting the X server, I am seeing noticeable improvement in the responsiveness of all GUI<\/span> applications including IDEA<\/span> 8, Firefox, and even some GTK<\/span>+ applications.<\/p>\n\n\n\n However, some users have reported that switching back to XAA<\/span> causes artifacts in rendering and segmentation faults in some applications. Actually, I also experienced some UI glitches in a particular application, but I didn\u2019t care much about it. A couple days ago, I found a way to improve the overall performance of EXA<\/span>. Update your IntelliJ wouldn\u2019t perform as well as it does with XAA<\/span>, but you will find it acceptable.<\/p>\n","protected":false},"excerpt":{"rendered":" I have been trying to switch from Eclipse to IntelliJ IDEA recently. However, IDEA 8, the latest version, has shown me horribly unresponsive UI. Especially, the slow scroll in the editor window was intolerable; any keystroke that involves scrolling took up 100% CPU and only a couple lines were scrolled for a second. I could… Continue reading man intel<\/code> in your terminal), EXA<\/span> is a newer and simpler acceleration architecture designed to better accelerate the X Render extension.<\/p>\n\n\n\n
Device<\/code> section of the
\/etc\/X11\/xorg.conf<\/code> file:<\/p>\n\n\n\n
Section \"Device\"\n Identifier \"Default Video Card\"\n Driver \"intel\"\n ...\n Option \"AccelMethod\" \"XAA\"\n ...\nEndSection<\/code><\/pre>\n\n\n\n
Update (Dec 16, 2008)<\/h2>\n\n\n\n
xorg.conf<\/code> as follows:<\/p>\n\n\n\n
Section \"Device\"\n Identifier \"Default Video Card\"\n Driver \"intel\"\n ...\n Option \"AccelMethod\" \"EXA\"\n Option \"MigrationHeuristic\" \"greedy\"\n Option \"ExaNoComposite\" \"false\"\n Option \"ExaOptimizeMigration\" \"true\"\n ...\nEndSection<\/code><\/pre>\n\n\n\n