Login: password:

HP6720s and Xorg's intel driver

2009-10-05, 22:47:39

Recently I have noticed very ugly video glitches in both Ubuntu and Gentoo while switching between tty and X. I've found a solution on Gentoo Wiki page.

If you are using Gentoo, you need to emerge and build linux kernel 2.6.31 (or newer); in case of Ubuntu you need to upgrade your kernel via apt.

The trick is to calculate how much VideoRAM should be passed in xorg.conf file.

 lspci -vv | less

should display an info about installed hardware. Please find a section with the VGA controller, it should look like the similar:

 00:02.00 VGA Compatible Controller: Intel Corporation Mobile GM965/GL965...
     ...
     Region 0: Memory at e4400000 (64-bit, non-prefetchable) [Size=1M]
     Region 2: Memory at d0000000 (64-bit, prefetchable) [Size=256M]

Subtract prefetchable size from non-prefetchable, convert MBs to KBs and put the result as VideoRAM value in the xorg.conf file:

 Section "Device"
     ...
     VideoRAM 261120
     ...
 EndSection

Also, add another option to „Device'' section:

     Option "AccelMethod" "UXA"

Restart X and/or whole system (if you did not boot with new kernel before)

(tags: linux gentoo ubuntu x11 intel hp6720s )

Comments

Simon Gomizelj

2009-11-02, 09:23:44; #875

Consider settings up kernel mode setting. It solves the glitches, considerably speeds up the tty/X switch, and gives you a terminal in you're monitors native resolution.

Publish your comment

Mandatory fields: signature, comment, e-mail address (can be invalid); comments wrote by new, unknown users are moderated and not visible immediately

If you want to publish anything, please consider all previous comments