Tutorial: Getting the intel driver to work in gentoo.
Ok this is not a question but more or less a small tutorial to help those who have had just as much trouble or more in getting the intel driver + DRI working.
I first set: Code:
VIDEO_CARDS="intel" Then I added "dri" to the USE variable in my "/etc/make.conf". I then proceeded to edit my "/etc/X11/xorg.conf" and changed the line Driver = "vesa" to Driver = "intel". Then add the lines: Code:
Section "dri" I then proceeded to make the following changes to my kernel: Code:
Code:
make && make modules_install Code:
cp arch/i386/boot/bzImage /boot/kernel-genkernel-x86-2.6.36-gentoo-r5 Make sure you have the line "vga=###" removed from the kernel bootloader line in grub. This is because of a conflict between the framebuffer and the intel modsetting. This is vital otherwise you will end up with a headless computer. Quite literally. Now reboot. This isn't enough to make it work though. Drop down to a standard TTY and kill X (if its running). Then issue the command: Code:
emerge -v libdrm Code:
emerge -v mesa Code:
emerge -v xorg-drivers Code:
emerge -v xorg-x11 Code:
emerge -auvND world Code:
emerge -v xf86-video-intel If you are lucky like I was, then the X server will use the intel driver + DRI. To check to see if "direct rendering" is working: Code:
glxinfo | grep rendering Note you will need "mesa-progs" to use glxinfo. Hope I helped those who were as lost as me. |
Hello,
Thanks for sharing that. I'm sure it will come in handy. Off the Zero Reply List. Kind regards, Eric |
Moved: This thread is more suitable in <Linux - General> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 03:47 PM. |