Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[SOLVED] Intel integrated graphics poor performance (HD4600)

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
mutiny
n00b
n00b
Posts: 20
Joined: Wed Aug 06, 2014 9:46 am

[SOLVED] Intel integrated graphics poor performance (HD4600)

  • Quote

Post by mutiny » Tue Feb 17, 2015 10:21 am

Edit: I apologize, it seems that the issue was that VGA arbiter was somehow configured in the kernel, and caused a reversion to software rendering according to Xorg logs. Weird that glxinfo would report direct rendering: yes... I'll leave this instead of deleting in case someone has the same mistake =/. I don't believe VGA arbitration is required right, it is safe to disable?

Are there any currently known issues with Intel integrated graphics and linux? I am currently experiencing noticeably bad lag in general use, and am not sure if it is due to an error on my part or some incompatibility or other issue.

I am currently using gentoo-sources 3.19.0 on ~amd64 with an Intel Core-i7 4790K processor, GNOME desktop env, and just switched over from an Nvidia GTX 650 to try to use the integrated graphics instead. I was using nouveau drivers compiled into the kernel as well as VIDEO_CARDS="nouveau". I reconfigured the kernel as specified by http://wiki.gentoo.org/wiki/Intel#Kernel, as well as changed VIDEO_CARDS="intel i965" and did an update with newuse etc. After rebooting the machine, I already noticed a significant slowdown, where I previously did not usually even see any bootup messages at all. With the discrete Nvidia card and nouveau, the computer would basically boot straight into GDM login screen (occasionally I'd catch a glimpse of usual bootup messages, most often not), whereas now it scrolls through the messages relatively slowly and takes some time to get into desktop. Once in desktop, there is some screen tearing and the framerate when moving the mouse or windows is noticeably lower. lspci -k indicates at least the kernel driver is loaded, and glxinfo indicates that direct rendering is enabled. I can't imagine that the actual performance would be this poor, so there must be a problem.

Any help in troubleshooting this is greatly appreciated, thanks!
Top
evetsnameloc
n00b
n00b
Posts: 26
Joined: Sun Dec 14, 2014 7:39 pm
Location: Colorado Springs, CO

  • Quote

Post by evetsnameloc » Tue Feb 17, 2015 5:11 pm

I don't know if VGA arbitration is (was) your problem or not. I am using Intel integrated graphics (Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz, Mesa DRI Intel(R) Ivybridge Desktop). VGA arbitration is enabled in my kernel, and in fact I cannot disable it unless I select "Show all options" in xconfig.

Code: Select all

CONFIG_INTEL_GTT=y
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
In spite of this I have direct rendering enabled according to Xorg.0.log:

Code: Select all

...
[ 51362.866] (II) Loading sub module "dri2"
[ 51362.866] (II) LoadModule: "dri2"
[ 51362.866] (II) Module "dri2" already built-in
[ 51362.866] (==) Depth 24 pixmap format is 32 bpp
[ 51362.867] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[ 51362.867] (==) intel(0): Backing store enabled
[ 51362.867] (==) intel(0): Silken mouse enabled
[ 51362.867] (II) intel(0): HW Cursor enabled
[ 51362.867] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 51362.900] (==) intel(0): DPMS enabled
[ 51362.900] (II) intel(0): [DRI2] Setup complete
[ 51362.900] (II) intel(0): [DRI2]   DRI driver: i965
[ 51362.900] (II) intel(0): direct rendering: DRI2 Enabled
[ 51362.900] (==) intel(0): hotplug detection: "enabled"
[ 51362.900] (--) RandR disabled
[ 51362.925] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 51362.925] (II) AIGLX: enabled GLX_ARB_create_context
[ 51362.925] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 51362.925] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 51362.925] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 51362.925] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 51362.925] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 51362.925] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 51362.925] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 51362.925] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[ 51362.925] (II) AIGLX: Loaded and initialized i965
[ 51362.925] (II) GLX: Initialized DRI2 GL provider for screen 0
...
Top
mutiny
n00b
n00b
Posts: 20
Joined: Wed Aug 06, 2014 9:46 am

  • Quote

Post by mutiny » Tue Feb 17, 2015 6:07 pm

Hmm, what else could be the underlying problem that disabling arbitration causes it to work?
Top
evetsnameloc
n00b
n00b
Posts: 26
Joined: Sun Dec 14, 2014 7:39 pm
Location: Colorado Springs, CO

  • Quote

Post by evetsnameloc » Tue Feb 17, 2015 8:04 pm

I'm no expert here, but two possibilities come to mind:

1) Did you deselect the nouveau driver from the kernel recompile?

2) Do you have the correct <.conf> for intel graphics? I have the file "device_no_vesa.conf" in my /etc/X11 folder, which contains the following:

Code: Select all

Section "Device"
	Identifier "Device0"
	Driver "intel"

EndSection
Also, make sure that there are no files left over in your /etc/X11/xorg.conf.d folder that reference the nouveau driver. The only file that I have in that folder is "10-evdev.conf".
Top
mutiny
n00b
n00b
Posts: 20
Joined: Wed Aug 06, 2014 9:46 am

  • Quote

Post by mutiny » Tue Feb 17, 2015 10:06 pm

Yes nouveau was removed from the kernel at the time it was modified for Intel.

I do not have the "device_no_vesa.conf" file in /etx/X11/, and there is nothing regarding nouveau in /etc/X11/xorg.conf.d/ (just 00-keyboard.conf and 20opengl.conf)
Top
evetsnameloc
n00b
n00b
Posts: 26
Joined: Sun Dec 14, 2014 7:39 pm
Location: Colorado Springs, CO

  • Quote

Post by evetsnameloc » Wed Feb 18, 2015 4:38 pm

Try creating the file "device_no_vesa.conf" with contents that I posted into your /etc/X11 folder.

What are the contents of "20opengl.conf"? I don't have this file. What do you get when you issue the command "eselect opengl list"?
Top
Post Reply

6 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic