LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-02-2009, 08:39 AM   #1
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Rep: Reputation: 30
Adjusting display


In my debian system there is a slight flickering in the monitor

I corrected that issue in windows XP by increasing the frequency to 75
(This type of flickering is ther in 60HZ)

I think without having proper driver for the display card, it can't be done in debian[default vesa driver is installed]

For downloading and installing the correct driver, I have to know the graphic card details. How can I get it in debian?
 
Old 02-02-2009, 09:28 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
as root:
Code:
lspci|grep VGA
If you want info about drivers and modules:
Code:
lspci -k
Send the output for advise about driver to use.
 
Old 02-03-2009, 07:03 AM   #3
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
sun:/home/sunil# lspci|grep VGA
01:00.0 VGA compatible controller: VIA Technologies, Inc. Unknown device 3230 (rev 01)

-k is not a valid swith for lspci command
 
Old 02-03-2009, 07:34 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
01:00.0 VGA compatible controller: VIA Technologies, Inc.Unknown device 3230
su - to root and update your pci.ids file

update-pciids


Try your commands again.. and -k is a valid switch for lspci in Debian.

also
cat /etc/X11/xorg.conf | grep -i driver
 
Old 02-03-2009, 11:39 AM   #5
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
cat /etc/X11/xorg.conf|grep -i driver
Driver "kbd"
Driver "mouse"
Driver "vesa"

-k is still not working
 
Old 02-03-2009, 12:14 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
In /etc/X11/xorg.conf, try replacing
Driver "vesa"
by
Driver "via"
so the via X module be used instead of the generic (vesa) one.

[EDIT]There is also a kernel module for the via graphic card. If 'lsmod|grep via' return nothing, load the module by hand. As root: 'modprobe via'.

Then try to start X.

Last edited by Didier Spaier; 02-03-2009 at 12:23 PM.
 
Old 02-03-2009, 02:24 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
if the via driver isn't installed by default you can install it.. although my system shows this as a driver that is 'A' automatically installed with the system
Code:
user@it-lenny:/usr/src$ aptitude search ~i | grep xserver-xorg-video | grep via
i A xserver-xorg-video-via          - X.Org X server -- VIA display driver
It could also be the openchrome driver, but you haven't showed us the output of lspci after updating your pci.ids file as directed, so we can't tell what video card you have from where we are sitting..
Code:
usr@it-lenny:/~$ aptitude search chrome
p   xserver-xorg-video-openchrome                            - X.Org X server -- VIA display driver
Looks like a good possibility though.. 3230 K8M890CE/K8N890CE [Chrome 9]

Now update that pci.ids file already and verify this..

update-pciids

if it confirms you have the Via Chrome integrated graphics which I believe it will, install the driver

aptitude update
aptitude install xsrver-xorg-video-openchrome


then edit your xorg.conf and change 'vesa' to 'openchrome'
or run
dpkg-reconfigure xserver-xorg

and set the driver using the reconfigurtation wizard (I find editing the file directly to be easier and faster)

Last edited by farslayer; 02-03-2009 at 02:33 PM.
 
Old 02-04-2009, 09:00 AM   #8
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
sun:/home/sunil# lspci|grep -i vga
01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M890CE/K8N890CE [Chrome 9] (rev 01)

lsmod |grep don't return nothing
 
Old 02-04-2009, 09:49 AM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
confirmed, try the openchrome driver for your video.
 
Old 02-05-2009, 09:19 AM   #10
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
but how?

sun:/home/sunil# apt-get install xserver-xorg-video-openchrome
Reading package lists... Done
Building dependency tree... Done
xserver-xorg-video-openchrome is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
xserver-xorg-video-openchrome: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch7 is to be installed
Depends: libdrm2 (>= 2.3.1) but 2.0.2-0.1 is to be installed
Depends: xserver-xorg-core (>= 2:1.4) but 2:1.1.1-21 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
 
Old 02-05-2009, 09:48 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
In /etc/X11/xorg.conf, try replacing
Driver "vesa"
by
Driver "via"
so the via X module be used instead of the generic (vesa) one.

[EDIT]There is also a kernel module for the via graphic card. If 'lsmod|grep via' return nothing, load the module by hand. As root: 'modprobe via'.

Then try to start X.
Did you try this ?
 
Old 02-05-2009, 10:01 AM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
could you post the output of
cat /etc/apt/sources.list

Not sure why you are receiving those dependency errors, but I'm going to guess the CDROM you used for install is not commented out in your sources list.

Quote:
The following packages have unmet dependencies:
xserver-xorg-video-openchrome: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch7 is to be installed
Depends: libdrm2 (>= 2.3.1) but 2.0.2-0.1 is to be installed
Depends: xserver-xorg-core (>= 2:1.4) but 2:1.1.1-21 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
It says it needs packages from Debian (testing) to meet the dependencies, but it's trying to install packages from Debian (Stable)

TESTING
xserver-xorg-core (2:1.4.2-10)
libc6 (2.7-18)
libdrm2 (2.3.1-2)

STABLE
xserver-xorg-core (2:1.1.1-21etch5)
libc6 (2.3.6.ds1-13etch8)
libdrm2 (2.0.2-0.1)

You need to fix your sources list, then apt-get update && apt-get upgrade to resolve those issues before moving forward.


Notice how the CDROM (that is labeled Etch) is Commented out in my list ?

it-lenny:~# cat /etc/apt/sources.list
Code:
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta i386 NETINST Binary-1 20070329-08:46]/ etch contrib main

deb http://ftp.uwsg.indiana.edu/linux/debian/  lenny main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://www.debian-multimedia.org lenny main

Last edited by farslayer; 02-05-2009 at 10:04 AM.
 
Old 02-05-2009, 10:46 AM   #13
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
Contents of /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 CD Binary-1 20070819-11:52]/ etch contrib main

#deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 CD Binary-1 20070819-11:52]/ etch contrib main

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib
#deb http://security.debian.org/ etch/updates main contrib
deb http://ftp.us.debian.org/debian etch main contrib
deb http://ftp.jp.debian.org/debian etch main contrib
 
Old 02-05-2009, 11:05 AM   #14
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Didier Spaier View Post
Did you try this ?
Yes - The xserver failed
then I replace via with vesa
 
Old 02-05-2009, 02:16 PM   #15
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
OK that makes no sense.. if that is your sources list why is the openchrome driver asking for Lenny dependencies ? ? ?

Could you post the output of

apt-cache policy xserver-xorg-video-openchrome

Lets see where this driver came from
 
  


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
6.10. Re-adjusting the Toolchain brayden516 Linux From Scratch 2 05-03-2008 11:06 PM
6.12. Re-adjusting the Toolchain jobesd Linux From Scratch 2 01-16-2005 01:50 PM
adjusting screen display in solaris 9 gnubee Solaris / OpenSolaris 0 09-06-2004 07:15 PM
adjusting time under RH trutnev Red Hat 1 03-28-2004 01:56 PM
Adjusting Display Paul Lumagbas Linux - Newbie 2 07-28-2002 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:28 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