You are not logged in.

#1 2011-05-30 16:43:01

onie
Member
Registered: 2011-05-27
Posts: 20

How to install video driver

Hi,

I was following the instructions given in
https://wiki.archlinux.org/index.php/Beginners'_Guide#Graphical_User_Interface

How would I install the video driver? What would the command be?
My output for lspci

ta00:00.0 Host bridge: Intel Corporation 82G35 Express DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)
00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02)
03:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
04:05.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 70)

Thanks,
Onie

Offline

#2 2011-05-30 16:46:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: How to install video driver

Post your /var/log/pacman.log and re-read the wiki


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2011-05-30 16:56:38

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to install video driver

The section of the Beginners' Guide that you linked above has everything you need. Did you actually try the pacman commands given there?

Offline

#4 2011-05-31 06:17:04

onie
Member
Registered: 2011-05-27
Posts: 20

Re: How to install video driver

yes. you mean this command

$ pacman -Ss xf86-video-vesa

Offline

#5 2011-05-31 06:29:42

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to install video driver

No I don't - I mean a similar command that will install the intel driver.

You did notice Intel in your lspci right?

Offline

#6 2011-05-31 06:39:37

onie
Member
Registered: 2011-05-27
Posts: 20

Re: How to install video driver

Oh ok

# pacman -S xf86-video-intel

is the one, i think.

Offline

#7 2011-05-31 06:44:02

onie
Member
Registered: 2011-05-27
Posts: 20

Re: How to install video driver

also it's frustrating to log back into windows everytime to post and read from internet and then reboot to linux to try it out.
I tried using lynx but was not able to log in into this form.
Any other ideas?

Offline

#8 2011-05-31 07:37:03

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: How to install video driver

If you are finding the xorg configuration section of the wiki a little troublesome, the easiest way to ensure you have all you need installed is:

pacman -S xorg

Yes, this will pull in the entire xorg group, so this along with udev should autodetect your video needs.

Once you are more comfortable and confident in what is actually required for your setup, you can remove the un-needed packages in the xorg group.

This should, at least, get you to a working graphical environment.

Cheers.

Offline

#9 2011-05-31 07:42:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install video driver

Padfoot wrote:

If you are finding the xorg configuration section of the wiki a little troublesome, the easiest way to ensure you have all you need installed is:

pacman -S xorg

Oh please don't do it. Intel has just one driver - it doesn't get any easier that this.

Offline

#10 2011-06-01 04:10:28

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: How to install video driver

@karol

I certainly understand where you are coming from karol, the Arch philosophy is kiss. What I am trying to achieve with my previous post is to get a new Arch user up and running as quickly as possible.

I remember when I first started trying Linux. I too encountered a lot of config issues, and these were from distros that were 'install and boot into a pretty GUI, no config required', yet the answers to my issues were 'install package-x' where I catually needed to install x,y,z and a,b,c.

Now imagine a less experienced user coming to Arch for the first time, who may not have had as much experience handling config files and what is required to be installed to get something working. I would guess if they had the initia;l install experience I had, they would give up and either try another distro, or heaven forbid, return to proprietory systems. I know I did for a year or 2 before the lure of Linux drew me back in.

Now to the issue at hand, yes you are correct, there is only 1 intel driver, which certainly answers the OP's question, but remember, we are dealing with xorg here. It can be a rather tricky beast. How do we even know if the OP has got everything required for a successful X session? I see on the beginners wiki, the following is required, and this is before you even look at the video driver:

# pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils

Install mesa for 3D support:
# pacman -S mesa

The 3D utilities glxgears and glxinfo are included in the mesa-demos package, install if needed:
# pacman -S mesa-demos

So what I am doing here is trying to make it as easy as possible to get the OP to a working set up, and once in a more familiar environment (ie GUI rather than console), they can spend the time to learn what is actually required and then remove the un-needed packages.

I would rather this and retain a new Arch user (let's face it, Arch is the best!), than lose them to the 'competition' so to speak.

Your input is truly appreciated, I just think we sometimes forget to look at the bigger picture.

Cheers.......[END RANT smile]

Offline

#11 2011-06-01 05:58:10

onie
Member
Registered: 2011-05-27
Posts: 20

Re: How to install video driver

I tired

# pacman -S xf86-video-intel

3 packages were targeted. But one of them (xf86-vidoe-intel-2.15.0-1) didn't download. It said file was not found. I tried changing the sources in /etc/pacman.d/mirrorlist but of no use.

Offline

#12 2011-06-01 06:11:38

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to install video driver

Use -Syu, not -S .

Offline

#13 2011-06-01 08:24:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install video driver

onie wrote:

I tired

# pacman -S xf86-video-intel

3 packages were targeted. But one of them (xf86-vidoe-intel-2.15.0-1) didn't download. It said file was not found. I tried changing the sources in /etc/pacman.d/mirrorlist but of no use.

You need to update the db (as tomk said), xf86-video-intel is 2.15.0-2 version already.

Last edited by karol (2011-06-01 08:24:18)

Offline

#14 2011-06-02 10:07:28

onie
Member
Registered: 2011-05-27
Posts: 20

Re: How to install video driver

Hooray!!! it worked.
Thank you all.

My next plan is to get a custom DE to up and running. Only uncertainty is about the compatibility.
As I would be installing a Window manager of my choice (Blackbox) and then the individual pieces separately.

Offline

#15 2011-06-02 14:14:05

onie
Member
Registered: 2011-05-27
Posts: 20

Re: How to install video driver

I have been getting this error whenever I type

$xterm
$xterm Xt error: Can't open display:
xterm: Display is not set

X Window system opens fine when I give startx. The same should happen for xterm also, right?

Offline

#16 2011-06-02 14:15:07

onie
Member
Registered: 2011-05-27
Posts: 20

Re: How to install video driver

Is it always advised to download and install packages using -Syu option?

Offline

#17 2011-06-02 14:26:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install video driver

onie wrote:

I have been getting this error whenever I type

$xterm
$xterm Xt error: Can't open display:
xterm: Display is not set

X Window system opens fine when I give startx. The same should happen for xterm also, right?

First you start it with startx, then you run xterm.

You can run 'pacman -Syu' and late 'pacman -S foo bar baz' or all in one go: 'pacman -Syu foo bar baz'.

Please don't bump the thread needlessly.

Last edited by karol (2011-06-02 14:27:49)

Offline

#18 2011-06-10 11:21:25

onie
Member
Registered: 2011-05-27
Posts: 20

Re: How to install video driver

Blackbox successfully installed and running. :-)
I missed on editing/creating ~/.xinitrc file with

exec blackbox

I was helplessly trying to run "blackbox" from xterm console.

Last edited by onie (2011-06-10 11:22:42)

Offline

Board footer

Powered by FluxBB