LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-05-2012, 04:47 PM   #1
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208
Blog Entries: 1

Rep: Reputation: Disabled
Install video drivers for Acer Aspire 5750G


The notebook has 2 graphic cards: Intel HD Graphics 3000 And NVidia GT 540M. Uses NVidia optimus technology for switching. For now I just want to install drivers for Intel card and 3D support.

I have Slackware 13.1

I compiled and installed the last kernel:

# uname -r
3.5.0-rc1-smp+

Xserver works, but there is no Open GL support. And I tried to install the drivers for my Intel video card. Downloaded 2 git repositories:

git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel

git://anongit.freedesktop.org/git/mesa/mesa

But none of them compiles. Intel writes:

Requested 'libdrm_intel >= 2.4.29' but version of libdrm is 2.4.23

Mesa writes:

Requested 'glproto >= 1.4.14' but version of GLProto is 1.4.12

Seems, that I must install some other stuff before. But what?
 
Old 06-05-2012, 05:09 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
The X components should fit together. Don't expect today's git versions to coexist nicely with other parts dating back april 2010 (this is just an example for libdrm).

xf86-video-intel is included in Slackware-13.1, as well as mesa.

If your Intel card is not well supported by Slackware-13.1's versions, my advise would be to upgrade to Slackware 13.37 or even to Slackware-current (whose X stack has been recently upgraded) instead of upgrading a few X components.

Other than that, AFAIK just try to compile new components as they are requested in compiling other ones... Done that to upgrade Nouveau, ended up with a working system.

Last edited by Didier Spaier; 06-06-2012 at 04:53 AM. Reason: typo
 
Old 06-06-2012, 07:17 PM   #3
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
After reading of /var/log/Xorg.0.log I found this:

Code:
[   171.799] (II) LoadModule: "glx"
[   171.799] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   172.609] (II) Module glx: vendor="NVIDIA Corporation"

[   172.656] (II) LoadModule: "intel"
[   172.678] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   172.707] (II) Module intel: vendor="X.Org Foundation"
[   172.707]    compiled for 1.9.5, module version = 2.15.0
And then this:

Code:
[   172.913] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
So, it found both video cards, but for can not activate GLX extension for NVidia: driver not found. How can I enable it for Intel?
 
Old 06-17-2012, 05:18 AM   #4
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
In this thread:

http://www.linuxquestions.org/questi...driver-938020/

I found, that the guy solved the problem by upgrading Mesa, libdrm.

Can anybody explain me, how to do it?

I tried:
Code:
slackpkg upgrade mesa
But it didn't find any packages.
 
Old 06-17-2012, 07:28 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
The guy in the linked thread upgraded packages Mesa and libdrm to the newer versions available in the /testing directory of Slackware 13.37.

But in Slackware 13.1 only one version of these packages was shipped , so "slackpkg upgrade" didn't find newer packages to install.

Furthermore the command "slackpkg upgrade" won't consider newer packages in /testing, unless you change directories' order in the PRIORITY array variable of /etc/slackpkg/slackpkg.conf, see "man slackpkg".

And of course packages intended for Slackware 13.37 are not usable on Slackware 13.1.

So I still suggest that you first upgrade to Slackware 13.37, then possibly upgrade libdrm and Mesa to the versions available in /testing.

Before upgrading to Slackware 13.37 read carefully the files UPGRADE.TXT and CHANGES_AND_HINTS.TXT in the root directory. Alternatively you could do a fresh install of Slackware 13.37 and move there you data and settings.

When you will be running Slackware 13.37, to upgrade libdrm and Mesa do this as root:
Code:
upgradepkg /path/to/slackware-13.37/testing/packages/libdrm-2.4.25-i486-1.txt
upgradepkg /path/to/slackware-13.37/testing/packages/mesa-7.10.2-i486-1.txz
Alternatively you could choose to stay on Slackware 13.1 and make yourself newer packages for libdrm and Mesa. To do that I would use the Slackbuilds and source packages available in Slackware-13.37/testing/source, then if all goes well replace the old packages by the new ones with the "upgradepkg" command. I can't guarantee this will work though, as I have no more Slackware 13.1 at hand.

Last edited by Didier Spaier; 06-17-2012 at 09:28 AM. Reason: Added how to ugrade to Slackware 13.37 and the packages
 
1 members found this post helpful.
Old 06-18-2012, 09:03 PM   #6
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Merci, monsieur.

This is how I made it work.

1. Disabled NVidia graphics card in BIOS. Seems, that I need to install bumblebee to handle my dual graphic cards configuration. For now Intel is enough.

2. Uninstalled NVidia driver.

3. Downloaded and installed Mesa and libdrm from http://pkgs.org/.
 
Old 06-20-2012, 05:35 AM   #7
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Another thing here: after I disabled NVidia card, startx didn't run under common user. Only under root.

I fixed that by creating a file /etc/X11/xorg.conf.d/disable-composite.conf

Code:
Section "Extensions"
Option "Composite" "Disable"
EndSection
What can be the cause of this behaviour?
 
Old 06-20-2012, 05:56 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Look at /var/log/Xorg.0.log would help to know why.

If you want to investigate, rename provisionally /etc/X11/xorg.conf.d/disable-composite.conf so it doesn't end in .conf, type "startx" as a common user then type as root:
Code:
grep EE /var/log/Xorg.0.log
Or append Xorg.0.log to your next post.
 
Old 06-20-2012, 09:00 AM   #9
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
grep EE /var/log/Xorg.0.log

gives:
Quote:
[ 16891.781] (EE) Failed to load module "fbdev" (module does not exist, 0)
Nothing criminal, fbdev is disabled in Slackware:

Here is Xorg.0.log. I removed good messages at the top to concentrate only on errors:
Code:
[ 17167.867] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 17170.125] 
Backtrace:
[ 17170.126] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e72fb]
[ 17170.126] 1: /usr/bin/X (0x8048000+0x5dbf5) [0x80a5bf5]
[ 17170.126] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xffffe40c]
[ 17170.126] 3: /usr/lib/xorg/modules/libfb.so (fbBlt+0xbe) [0xb70c392e]
[ 17170.126] 4: /usr/lib/xorg/modules/libfb.so (fbBltStip+0x73) [0xb70c46d3]
[ 17170.126] 5: /usr/lib/xorg/modules/libfb.so (fbGetImage+0x199) [0xb70c9a39]
[ 17170.126] 6: /usr/lib/xorg/modules/libshadow.so (0xb70d4000+0xf7c) [0xb70d4f7c]
[ 17170.126] 7: /usr/bin/X (0x8048000+0x15f0af) [0x81a70af]
[ 17170.126] 8: /usr/lib/xorg/modules/extensions/libglx.so (0xb72ce000+0x37d6b) [0xb7305d6b]
[ 17170.126] 9: /usr/lib/xorg/modules/dri/swrast_dri.so (0xaea09000+0x104e8) [0xaea194e8]
[ 17170.126] 10: /usr/lib/xorg/modules/dri/swrast_dri.so (0xaea09000+0x10527) [0xaea19527]
[ 17170.126] 11: /usr/lib/xorg/modules/extensions/libglx.so (0xb72ce000+0x37ccd) [0xb7305ccd]
[ 17170.126] 12: /usr/lib/xorg/modules/extensions/libglx.so (0xb72ce000+0x34422) [0xb7302422]
[ 17170.126] 13: /usr/lib/xorg/modules/extensions/libglx.so (0xb72ce000+0x3529a) [0xb730329a]
[ 17170.126] 14: /usr/lib/xorg/modules/extensions/libglx.so (0xb72ce000+0x3728f) [0xb730528f]
[ 17170.126] 15: /usr/bin/X (0x8048000+0x27e87) [0x806fe87]
[ 17170.126] 16: /usr/bin/X (0x8048000+0x1aec5) [0x8062ec5]
[ 17170.126] 17: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb737fdb6]
[ 17170.126] 18: /usr/bin/X (0x8048000+0x1aaa1) [0x8062aa1]
[ 17170.126] Segmentation fault at address (nil)
[ 17170.126] 
Fatal server error:
[ 17170.126] Caught signal 11 (Segmentation fault). Server aborting
Seems, that libglx.so is causing trouble. Maybe, it's because I updated Mesa and didn't update X server?
 
Old 06-20-2012, 01:31 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Quote:
Originally Posted by usr345 View Post
Seems, that libglx.so is causing trouble. Maybe, it's because I updated Mesa and didn't update X server?
Maybe: whilst libfb.so, libshadow.so and libglx.so are provided by the xorg-server package, swrast_dri.so is provided by the mesa package
 
  


Reply



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
[SOLVED] [HELP] Unable to install network card device drivers for Acer Aspire 5830TG in RHEL 6 harshadgotad Linux - Hardware 1 05-25-2012 08:10 AM
No way to install Linux on Acer Aspire 5750G helenhews Linux - Newbie 2 03-09-2012 09:33 AM
[SOLVED] Can't configure wireless card Atheros on Acer Aspire 5750G usr345 Linux - Networking 8 01-07-2012 07:40 PM
Acer Aspire 5750g not seeing wireless network card or wired adapter tjfv Linux - Newbie 5 10-31-2011 02:06 PM
[SOLVED] Ubuntu 10.04 LTS in laptop Acer Aspire 5750G does not see wired internet igor1102828 Linux - Newbie 4 10-07-2011 08:45 AM

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

All times are GMT -5. The time now is 10:42 AM.

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