LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-28-2009, 04:45 PM   #1
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Rep: Reputation: 31
Unhappy Intel GMA4500M 3D acceleration on Gentoo


I have a Thinkpad SL300.1 that originally came with Ubuntu that was able to run UrbanTerror and SecondLife at around 30~50 FPS (so I know the hardware is up to the task), but after various fallings-out with Ubuntu I installed Gentoo.
Now, no matter what I try, I cannot get 3D acceleration to work in anything other than Mesa (which is slow at best, unfortunately).
If I try to use the intel xorg driver, X refuses to start, with the error
Quote:
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) No devices detected
Detailed hardware information for the laptop can be found here: http://www.thinkwiki.org/wiki/SL300_...re_Information

And my xorg.conf (the one that gives me a GUI to be able to work with ) is as follows
Quote:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "freetype"
# Load "xtt"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "thinkpadintl"
Option "XkbLayout" "se"
Option "XkbVariant" "dvorak"
EndSection

Section "Monitor"

### Comment all HorizSync and VertRefresh values to use DDC:
Identifier "Monitor0"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 31.5 - 108.0
VertRefresh 50.0 - 70.0
EndSection

Section "Device"
Identifier "Card0"
#Driver "intel"
Driver "vesa"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1152x864" "1024x768"
EndSubSection
EndSection
Can anyone point out what I've missed, please?
 
Old 03-29-2009, 03:18 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
This should help;
http://forums.gentoo.org/viewtopic-t...ght-4500m.html
 
Old 03-29-2009, 09:42 AM   #3
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thankyou for the quick response. That topic describes exactly what I ended up doing under the guidance of a friend on IRC (Thankyou, Caitria)
I would have replied earlier that I was pointed in the direction of the solution (more "taken by the hand and led" really :P) , but the newer X.org was ignoring my keyboard and mouse settings so I couldn't log in. (It's surprisingly difficult to go back to QWERTY from dvorak...)

For anyone else doing what was done here, the input device settings need to be changed to use evdev instead of the usual "mouse" and "kbd" drivers. Thus, my new input device sections look like:
Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
        Option      "XkbLayout" "se"
        Option      "XkbVariant" "dvorak"
        Option      "Device" "/dev/input/event2"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "evdev"
        Option      "Device" "/dev/input/mice"
EndSection
Also, to get the newer version of the intel drivers (which needs a newer xorg-server, which needs... etc) I had to add:
Code:
=x11-drivers/xf86-video-intel-2.6.3     ~amd64
>=x11-libs/libdrm-2.4.5                 ~amd64
>=x11-proto/dri2proto-1.99.3            ~amd64
>=x11-base/xorg-server-1.5              ~amd64
>=x11-libs/libpciaccess-0.10.3          ~amd64
>=x11-apps/xauth-1.0.3                  ~amd64
>=x11-libs/libXrender-0.9.4             ~amd64
>=x11-proto/xextproto-7.0.3             ~amd64
>=x11-libs/libXau-1.0.4                 ~amd64
>=x11-proto/xproto-7.0.13               ~amd64
>=media-libs/mesa-7.1                   ~amd64
>=x11-libs/libXext-1.0.4                ~amd64
>=x11-proto/inputproto-1.4.4            ~amd64
>=x11-misc/xkeyboard-config-1.4         ~amd64
>=x11-libs/xtrans-1.2.2                 ~amd64
>=x11-apps/rgb-1.0.3                    ~amd64
>=x11-libs/libX11-1.1.5                 ~amd64
>=x11-apps/xauth-1.0.3                  ~amd64
>=x11-apps/xinit-1.0.8-r3               ~amd64
>=x11-proto/xf86driproto-2.0.4          ~amd64
>=x11-libs/libXxf86vm-1.0.2             ~amd64
>=x11-apps/xinit-1.0.8-r3               ~amd64
>=x11-proto/randrproto-1.2.2            ~amd64
>=x11-libs/libXfont-1.3.3               ~amd64
>=x11-proto/renderproto-0.9.3           ~amd64
>=x11-drivers/xf86-input-keyboard-1.3.1 ~amd64
>=x11-drivers/xf86-input-evdev-2.1.0    ~amd64
>=x11-drivers/xf86-input-mouse-1.3.0    ~amd64
to my /etc/portage/package.keywords
 
  


Reply

Tags
intel graphics, thinkpad, xorg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel 945GM and 3d acceleration jonlake Linux - Hardware 3 04-03-2008 06:02 AM
Intel 855 GM, i810, 3D acceleration? Enil8 SUSE / openSUSE 8 11-06-2007 03:32 PM
Intel 915GM express 3d acceleration vharishankar Debian 20 09-20-2006 08:35 AM
3D Acceleration with Intel 82852/855GM tonjo Slackware 6 02-27-2005 12:40 PM
Intel i810 3D acceleration Canadian_2k2 Linux - Hardware 3 02-18-2004 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration