LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-27-2008, 06:58 AM   #1
ekamlesh
Member
 
Registered: Jun 2008
Distribution: Debian Wheezy
Posts: 43

Rep: Reputation: 17
resolution problem


Respected Linux experts,
I have installed Debian Etch on my system which has Intel DG31 PR motherboard (G 31/33 chipset). My monitor is Samsung 943NWX, it has 1440x900 @60Hz optimum resolution.Installer selected vesa card and gave a resolution of 1280x1024@75.I tried to reconfigure xorg.conf with dpkg and select i810 but that did not work. Then I made suitable changes in my xorg.conf file which now gives 1024x768@60Hz resolution. I tried to load modules agpgart, i915, intel_agp, drm and then reconfigure xorg.conf to use i810, but that does not work.After loading the modules glxinfo gives the out put direct rendering : No. I then installed Ubuntu 8.04.1 which automatically detected my screen's resolution and it is fine. But Ubuntu's xorg.conf does not give any information. It just says configured monitor, configure screen etc. Here is the relevant portion from Debian's xorg.conf
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "SyncMaster"
VertRefresh 56-60
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Please help. Thanks in advance.
 
Old 09-27-2008, 08:14 AM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by ekamlesh View Post
My monitor is Samsung 943NWX, it has 1440x900 @60Hz optimum resolution.
Backup your "xorg.conf" to something like "xorg.conf-20080927". Add "1440x900_60" to the start of each of your "Modes" lines in xorg.conf. Reboot or restart X using "Ctrl-Alt-Backspace". Tell us if it works.
 
Old 10-02-2008, 06:48 AM   #3
ekamlesh
Member
 
Registered: Jun 2008
Distribution: Debian Wheezy
Posts: 43

Original Poster
Rep: Reputation: 17
Thank you for your response, sorry I am late in replying.But your suggestion failed to give a positive outcome. Xorg.log file says that vesa does not support 1440x900. Thank you again for your answer, if there is any other way out please let me know.
 
Old 10-02-2008, 07:20 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
First thing you need to do is select the right video driver. what is the output of lspci


adding 1440x900_60 to your xorg.conf, won't do anything for you right now, because that is referencing a modeline that isn't in your configuration. You could certainly add a modeline if necessary, but first we need to get you off the generic limited vesa driver and onto the proper video driver.
 
Old 10-02-2008, 10:17 AM   #5
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by ekamlesh View Post
Thank you for your response, sorry I am late in replying.But your suggestion failed to give a positive outcome. Xorg.log file says that vesa does not support 1440x900. Thank you again for your answer, if there is any other way out please let me know.
My bad. I did not notice the
Code:
Driver "vesa"
line.

farslayer is correct, you need the driver for your card. Please post the output of "lspci" and "lspci -n".
 
Old 10-03-2008, 06:43 AM   #6
ekamlesh
Member
 
Registered: Jun 2008
Distribution: Debian Wheezy
Posts: 43

Original Poster
Rep: Reputation: 17
Thank you David1357 and farslayer. Here is what you wanted
lspci gives the following output
00:00.0 Host bridge: Intel Corporation Unknown device 29c0 (rev 10)
00:01.0 PCI bridge: Intel Corporation Unknown device 29c1 (rev 10)
00:02.0 VGA compatible controller: Intel Corporation Unknown device 29c2 (rev 10)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

lspci -n gives the following output

00:00.0 0600: 8086:29c0 (rev 10)
00:01.0 0604: 8086:29c1 (rev 10)
00:02.0 0300: 8086:29c2 (rev 10)
00:1b.0 0403: 8086:27d8 (rev 01)
00:1c.0 0604: 8086:27d0 (rev 01)
00:1c.1 0604: 8086:27d2 (rev 01)
00:1d.0 0c03: 8086:27c8 (rev 01)
00:1d.1 0c03: 8086:27c9 (rev 01)
00:1d.2 0c03: 8086:27ca (rev 01)
00:1d.3 0c03: 8086:27cb (rev 01)
00:1d.7 0c03: 8086:27cc (rev 01)
00:1e.0 0604: 8086:244e (rev e1)
00:1f.0 0601: 8086:27b8 (rev 01)
00:1f.1 0101: 8086:27df (rev 01)
00:1f.2 0101: 8086:27c0 (rev 01)
00:1f.3 0c05: 8086:27da (rev 01)
03:00.0 0200: 10ec:8168 (rev 01)
 
Old 10-03-2008, 08:24 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
00:02.0 VGA compatible controller: Intel Corporation Unknown device 29c2 (rev 10)
That's not very useful.. we need to fix that first. Run the following command.

update-pciids

Then post the output of lspci again please.
 
Old 10-03-2008, 08:37 AM   #8
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by ekamlesh View Post
lspci gives the following output
00:02.0 VGA compatible controller: Intel Corporation Unknown device 29c2 (rev 10)

lspci -n gives the following output
00:02.0 0300: 8086:29c2 (rev 10)
Unfortunately, that device is not supported by the latest stable kernel (2.6.26.5 at the time of this writing). You might want to buy a supported add-on card.

Your other alternative is to search the Intel web site to see if they have released an out-of-kernel driver for the VGA adapter in your chipset (82801G).
 
Old 10-05-2008, 12:27 AM   #9
ekamlesh
Member
 
Registered: Jun 2008
Distribution: Debian Wheezy
Posts: 43

Original Poster
Rep: Reputation: 17
Thank you farslayer and David1357.
update command did not work beacause my Linux machine is not connected to the net. But output did give me a clue. I replaced my pci.ids file manually in /usr/share/misc/. Here is the first three lines of the out put from lspci command. Other lines remained unchanged and hence I am not posting those lines.

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)

Please guide me furthur. Thank you again.
 
Old 10-12-2008, 11:27 PM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
The info I found indicates that Graphics controller should work with kernel 2.6.22 or newer..

Debian Etch is 2.6.18

Debian Lenny would probably work fine with it (2.6.24 on install 2.6.26 after update)
 
Old 10-13-2008, 09:51 AM   #11
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by farslayer View Post
The info I found indicates that Graphics controller should work with kernel 2.6.22 or newer.
Could you provide a reference? I schlepped through the code for 2.6.26.5 and I could not find support for that device.
 
Old 10-13-2008, 10:08 AM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by David1357 View Post
Could you provide a reference? I schlepped through the code for 2.6.26.5 and I could not find support for that device.
http://lkml.org/lkml/2007/6/5/391

http://lwn.net/Articles/238648/

Code:
we now have a brand-spanking-new Linux 2.6.22-rc5 release out there!

Wang Zhenyu (8):
      [AGPGART] intel_agp: cleanup intel private data
      [AGPGART] intel_agp: use table for device probe
      [AGPGART] intel_agp: add support for 965GME/GLE
      [AGPGART] intel_agp: add support for 945GME
      [AGPGART] intel_agp: Add support for G33, Q33 and Q35 chipsets
      i915: add new pciids for 945GME, 965GME/GLE
      drm/i915:  Add support for the G33, Q33, and Q35 chipsets.
      [AGPGART] intel_agp: fix device probe
 
Old 10-13-2008, 12:07 PM   #13
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by farslayer View Post
Code:
we now have a brand-spanking-new Linux 2.6.22-rc5 release out there!
I wish they would keep the device ID definitions in header files. I finally found the definition for ekamlesh's hardware:
Code:
#define PCI_DEVICE_ID_INTEL_G33_IG          0x29C2
in "linux-2.6.26.5/drivers/char/agp/intel-agp.c". So it looks like an upgrade to Debian "Lenny" is a good solution. I would personally compile a custom kernel from the latest source, but I like doing that.
 
Old 10-17-2008, 11:26 PM   #14
ekamlesh
Member
 
Registered: Jun 2008
Distribution: Debian Wheezy
Posts: 43

Original Poster
Rep: Reputation: 17
Thank you farslayer and David1357, I will install Lenny beta 2 today and tell you about the outcome. I was not knowing about Lenny.Thanks again.
 
Old 10-17-2008, 11:51 PM   #15
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
All you really need to do is upgrade etch to lenny..

edit your sources list and change all entries from stable or etch to lenny

BEFORE
Code:
debianetch:~# cat /etc/apt/sources.list

deb http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
deb http://www.debian-multimedia.org etch main
AFTER
Code:
debianetch:~# cat /etc/apt/sources.list

deb http://ftp.uwsg.indiana.edu/linux/debian/ lenny main contrib non-free
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ lenny main contrib non-free
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
then update and do the upgrade..

Quote:
If you are running stable (aka Etch), you could consider upgrading to Lenny and see, if everything works fine. Currently there are no detailed release notes documenting the procedure, so you best way to test upgrades are to:

1. Make backups
2. Change your /etc/apt/sources.list
3. Run aptitude update to get information about new packages
4. Run aptitude install dpkg aptitude apt to install the newest package management
5. Run script aptitude full-upgrade
6. Exit the environment of the script command, by typing exit

If something goes wrong / something unexpected happens, please report it. If you already know a specific package, report a bug against that package. If you don't know, please report a bug describing the problem you experienced to the upgrade-reports package. If your problem is something, which can't be fixed properly, but should be documented (e.g. hardware support regressions, packages no longer available) please report a bug against the release-notes package (Bonus points if you not only report the bug, but also supply a paragraph to be added to the release notes).
The command script will log the entire output of the command in the file typescript. Should something go wrong during the upgrade, please send this file along with your bug report.
http://blog.schmehl.info//2008/10/07#releasing-lenny

Last edited by farslayer; 10-17-2008 at 11:57 PM.
 
  


Reply

Tags
debian, lenny, upgrade



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
Resolution problem in FC 7 vinaysc Fedora 6 03-06-2008 10:51 PM
Resolution Problem megha6788 Linux - Newbie 47 01-18-2008 07:39 AM
Resolution Problem peedsan Fedora 2 04-25-2007 08:38 PM
Yet another Resolution Problem EclipseAgent SUSE / openSUSE 1 06-22-2006 07:57 PM
name resolution problem mdwstmusik Linux - Networking 5 02-27-2003 09:53 PM

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

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