Intel HD 4000 driver in Trisquel 6

15 respuestas [Último envío]
Zancudo
Desconectado/a
se unió: 09/19/2012

Hallo,

i have just installed Trisquel 6 (01.Dec.2012) on a machine with the Intel Core i7 3770K CPU which comes with onboard GPU HD 4000. somehow i believe i'd need a more recent driver to support the graphics.

is there any chance to make me add what intel supposes here: http://intellinuxgraphics.org/2012Q4.html ?

it says i'd need kernel 3.6, so i added the repository offered by http://jxself.org/linux-libre/ and installed the latest 3.6 kernel. this seems to work, the new kernel gets loaded.

then they suggest using an ubuntu repository which would provide the new driver(s): https://launchpad.net/~xorg-edgers
would it be safe to add this one? does someone know if it uses only free software?

the other option would be compile the packages myself. here i'm not sure if i should replace, what comes with trisquel, or should i build besides trisquel stuff in the /usr/local space. assume there where two drivers, one by Trisquel and a second in /usr/local build by myself, would the system load the more recent one?

any hint is much appreciated

MagicFab
Desconectado/a
se unió: 12/13/2010

Would you mind also posting the information from this command about
your system's VGA chipset?

lspci | grep -i VGA | awk '{print "sudo lspci -kvnn -s "$1}' | bash

Zancudo
Desconectado/a
se unió: 09/19/2012

00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0162] (rev 09) (prog-if 00 [VGA controller])
Subsystem: ASRock Incorporation Device [1849:0162]
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915

MagicFab
Desconectado/a
se unió: 12/13/2010

On 13-01-07 12:56 PM, name at domain wrote:
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon
> E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0162] (rev
> 09) (prog-if 00 [VGA controller])

So... today I learned that all Intel HD 4000 graphics are not created
equal. Here's mine, which works out of the box (incl/. 3d) in Trisquel 6:
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core
processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA
controller])

I think it would be useful to add to h-node.org your chipset's
information and a note about what needs to be installed once you're done.

I wonder what the difference is between yours and mine.

F.

--
Fabián Rodríguez
http://trisquel.magicfab.ca

Zancudo
Desconectado/a
se unió: 09/19/2012

hmm, they list a couple of device ids at wikipedia 0162, 0166, 016A, 0152, 0156, 015A
https://en.wikipedia.org/wiki/Comparison_of_Intel_graphics_processing_units#Seventh_generation

lembas
Desconectado/a
se unió: 05/13/2010

Sorry for offtopic but...

Did anyone else notice which PCI-ID they gave intel? Funny guys!

Kinda easy to remember once you notice.

andermetalsh
Desconectado/a
se unió: 01/04/2013

I think xorg-edgers is safe if you don't install the linux and the firmware available on the repos.

Just try upgrading X, and stay with Linux-libre.

ahj
ahj

I am a member!

Desconectado/a
se unió: 06/03/2012

>somehow i believe i'd need a more recent driver to support the graphics.

"In testing of Ubuntu 12.04 LTS, its Ivy Bridge support was spot-on, especially for the at-launch coverage. Ubuntu 12.04 LTS provides the Linux 3.2 kernel, xf86-video-intel 2.17.0, and Mesa 8.0. Assuming you are on Mesa 8.0 and a recent Linux kernel, you should be in good shape for Ivy Bridge HD 2500/4000 support."

- http://www.phoronix.com/scan.php?page=article&item=intel_hd4000_ivybridge&num=2

You should be more than okay with Trisquel 6.0

moilami
Desconectado/a
se unió: 09/17/2012

I have Intel 4000 HD graphics too, and I installed a newer libre kernel, and Intel graphics updates from:

https://launchpad.net/~ubuntu-x-swat/+archive/intel-graphics-updates

Standard Toutatis and Debian Wheezy have too old kernel and intel drivers for Ivy Bridge CPU and integrated graphics. They are too unstable for Ivy Bridge. Several times my whole machine hung with those, even though even Trisquel 5.5 and Debian Squeeze booted to graphical desktop.

I don't remember exactly but it was maybe 3.4 series or 3.6 series kernel which begun to have stable Ivy Bridge support. 3.2 is crap for Ivy.

Edit: Forgot to mention (the obvious) that my machine is rock solid now.

ahj
ahj

I am a member!

Desconectado/a
se unió: 06/03/2012

According to - https://wiki.ubuntu.com/Kernel/Release/Rolling - Ubuntu 12.04 (and subsequently Trisquel 6.0) will use newer kernels from the latest non-LTS editions for the LTS point releases. So Ubuntu 12.04.2 will have Linux version 3.5 (and I hope) Mesa 8.0, meaning it should have excellent support/stability for Ivy Bridge

edit: I don't think the updates are mandatory, as they will probably be listed under 'Other Updates' in the update manager.

Zancudo
Desconectado/a
se unió: 09/19/2012

Thanks everyone for the informations.
for now i went for the libre kernel 3.6 and the drivers offered by

https://launchpad.net/~ubuntu-x-swat/+archive/intel-graphics-updates

I will see how that behaves.

what i am wondering though, in the system->details->graphics it says:

Driver: Intel Ivybridge Desktop
Experience: Fallback

couldn't it say something better sounding than fallback?

and in /var/log/Xorg.0.log i find

[ 22.418] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 22.418] (WW) Falling back to old probe method for vesa
[ 22.418] (WW) Falling back to old probe method for fbdev

so am still not sure, if the drivers are correct.

lembas
Desconectado/a
se unió: 05/13/2010

Fallback is the default Gnome 3 mode in Trisquel. Nothing to worry about.

Zancudo
Desconectado/a
se unió: 09/19/2012

oh, well

onpon4
Desconectado/a
se unió: 05/30/2012

If you want GNOME Shell, install gnome-session, then pick "GNOME" for the desktop session when you log in (instead of "GNOME Classic"). I'm using GNOME Shell on Trisquel 5.5 right now. I gather it's a bit more complicated with Trisquel 6, but I haven't read the details: http://trisquel.info/en/forum/gnome-3-trisquel-6

Or, alternatively, you could install unity and choose "Ubuntu" to use Unity. Again, I don't know if there are any issues with that in Trisquel 6.

Zancudo
Desconectado/a
se unió: 09/19/2012

Thank you for that suggestion!

I was curious what GNOME Shell might look like.
Installing on a second machine running Trisquel 5.5 gave me the GNOME desktop after installing gnome-shell and gnome-session.
On the Trisquel 6 machine:

The following packages have unmet dependencies:
gnome-session : Breaks: gnome-shell (>= 3.0) but 3.4.1-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

it appears only one of the two packages can be installed at the same time. and there is no GNOME at the log-in menu selectable or offered (using GDM).

but, well, i figured i'd stay with GNOME Classic anyway, as the short test of GNOME on Trisquel 5.5 didn't feel comfortable to me.

thanks anyway!

Zancudo
Desconectado/a
se unió: 09/19/2012

having said the kernel is running nice, i found something in dmesg:

[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.7.2-gnu (root@pc) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 SMP Sun Jan 13 09:47:07 PST 2013
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.7.2-gnu root=/dev/mapper/vg_trisquel-root ro allow-discards root_trim=yes
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
.
.
.
[ 18.749967] microcode: CPU1 sig=0x306a9, pf=0x2, revision=0x12
[ 18.749971] microcode: Missing Free firmware
[ 18.751581] microcode: CPU2 sig=0x306a9, pf=0x2, revision=0x12
[ 18.751583] microcode: Missing Free firmware
[ 18.752413] microcode: CPU3 sig=0x306a9, pf=0x2, revision=0x12
[ 18.752415] microcode: Missing Free firmware
[ 18.754136] microcode: CPU4 sig=0x306a9, pf=0x2, revision=0x12
[ 18.754139] microcode: Missing Free firmware
[ 18.755370] microcode: CPU5 sig=0x306a9, pf=0x2, revision=0x12
[ 18.755373] microcode: Missing Free firmware
[ 18.756198] microcode: CPU6 sig=0x306a9, pf=0x2, revision=0x12
[ 18.756200] microcode: Missing Free firmware
[ 18.756889] microcode: CPU7 sig=0x306a9, pf=0x2, revision=0x12
[ 18.756892] microcode: Missing Free firmware
[ 18.757565] microcode: Microcode Update Driver: v2.00 <name at domain>, Peter Oruba

the missing-free-firmware part makes me worry. this is on an Intel i7 3770K CPU. shouldn't the micro code be free and available to the kernel?

EDIT: when launching kernel 3.2.0 coming with Trisquel, there are no such messages