LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-07-2010, 03:01 AM   #1
stozi
LQ Newbie
 
Registered: Mar 2010
Distribution: Arch Linux
Posts: 22

Rep: Reputation: 0
Finding driver from Mint to use in Arch


I'm using the vesa video driver on Arch right now which gives me 1028x768 resolution. If I run the Mint LiveCD I get more like 1680x1050. My video chip is VIA VX700. lsmod on the liveCD gives one via-related result that lsmod on Arch doesn't, simply 'via.' since the via xorg driver in synaptic says it's a dummy to get you on the openchrome driver, I installed the same on Arch and did "hwd -xa" which is meant to autoconfig a new xorf.conf file for you. It stuck to vesa.

I previously tried 'xorg -configure' with openchrome, which it chose, but left a blank black screen.

Maybe Mint isn't using the openchrome driver. It doesn't seem to be using an xorg.conf at all and I can't find out how to see unequivocally what video driver it uses. I could well be barking up the totally wrong tree, anyway.

Thanks for any help, other than this one point I'm in OS heaven.

Last edited by stozi; 03-07-2010 at 03:08 AM.
 
Old 03-07-2010, 08:38 AM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
The Arch Wiki is your friend.
http://wiki.archlinux.org/index.php/Via_Unichrome

According to the that xf86-video-via is in the AUR. If the openchrome driver doesn't support your card, try that.
 
Old 03-07-2010, 03:02 PM   #3
stozi
LQ Newbie
 
Registered: Mar 2010
Distribution: Arch Linux
Posts: 22

Original Poster
Rep: Reputation: 0
Makepkg was unable to build xf86-video-via-git package.

Thanks, I hadn't seen that wiki, but I had tried to install xf86-video-via-git with yaourt. At first I got an error necessitating I edit pkgbuild line "options=('nolibtool')" to "options=('!libtool')". Now I get this:
Quote:
==> Install or build missing dependencies for xf86-video-via-git:
==> Building and installing package
mkdir: cannot create directory `/var/abs': Permission denied
==> WARNING: Unable to write in /var/abs/local/yaourtbuild/xf86-video-via-git directory. Using /tmp directory

==> xf86-video-via-git dependencies:
- unichrome-dri (already installed)
- libgl (already installed)
- pkgconfig (already installed)
- xorg-server (already installed)
- xf86driproto (already installed)
==> Making package: xf86-video-via-git 20070131-1 i686 (Sat Mar 6 05:09:35 PST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to git.freedesktop.org GIT server....
/tmp/yaourt-tmp-lee/aur-xf86-video-via-git/xf86-video-via-git/./PKGBUILD: line 27: git: command not found
==> GIT checkout done or server timeout
==> Starting make...
cp: cannot stat `/tmp/yaourt-tmp-lee/aur-xf86-video-via-git/xf86-video-via-git/src/xf86-video-via': No such file or directory
/tmp/yaourt-tmp-lee/aur-xf86-video-via-git/xf86-video-via-git/./PKGBUILD: line 35: cd: /tmp/yaourt-tmp-lee/aur-xf86-video-via-git/xf86-video-via-git/src/xf86-video-via-build: No such file or directory
/tmp/yaourt-tmp-lee/aur-xf86-video-via-git/xf86-video-via-git/./PKGBUILD: line 37: ./autogen.sh: No such file or directory
/tmp/yaourt-tmp-lee/aur-xf86-video-via-git/xf86-video-via-git/./PKGBUILD: line 38: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build xf86-video-via-git package.
I also tried unistalling vesa, installing xf86-video-unichrome and running hwd -xa, but even with vesa unistalled it insists on it. The openchrome site (which seems the only of the 3 drivers offered by Mint) doesn't say it supports my chip, but the unichrome site does.

***Ok, Xorg -configure worked with unichrome, where hwd -xa did not. Wow, 1680x1050, someone pass the tissues.

Last edited by stozi; 03-07-2010 at 03:29 PM. Reason: rather than create new reply
 
Old 03-07-2010, 03:29 PM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
Hmm. I can't find much of help here, beyond lots of people complaining that VIA support sucks.

It looks like xf86-video-via is actually deprecated and according to the openchrome wiki won't build with recent xorg releases.

Given that the unichrome site specifically mentions your card, that would seem to be the way to go. Have you tried running without an xorg.conf file at all? It's frequently not necessary. I would recommend trying that and if it gives you trouble, post the contents of /var/log/Xorg.0.log.
 
Old 03-08-2010, 12:31 AM   #5
stozi
LQ Newbie
 
Registered: Mar 2010
Distribution: Arch Linux
Posts: 22

Original Poster
Rep: Reputation: 0
good idea

I am interested in trying that, but the link from the arch beginners' wiki seems broken/out of date. Now that I have an xorg.conf, must I delete it to run without? Not finding any hints in the Xorg wiki.

When I first started, following the beginners' wiki, it had me using an unsupported resolution, so a third of the desktop was off screen to the bottom right.
 
Old 03-08-2010, 12:33 AM   #6
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,223

Rep: Reputation: 167Reputation: 167
Just use mv /etc/xorg.conf /etc/xorg_.old
Just reverse those to restore it.
 
  


Reply

Tags
driver, via, video


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Video driver Evesham Quest A220 Linux Mint 6 rwstewart Linux - Laptop and Netbook 3 05-03-2009 05:47 PM
Installing Intel X3100 driver in Linux Mint 5 SanDav Linux - Software 1 08-02-2008 03:36 AM
Problem loading graphics driver on Mint 4.0 Pandemic187 Linux - Hardware 2 12-06-2007 10:52 AM
How to install SiS 660 driver? Linux Mint 2.2 lancest Ubuntu 2 03-03-2007 11:23 PM
cant install nvidia driver on arch 0.6 shoddy Arch 7 04-01-2004 07:02 PM


All times are GMT -5. The time now is 06:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration