LinuxQuestions.org
Visit Jeremy's Blog.
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 01-02-2007, 01:47 PM   #1
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Rep: Reputation: 15
Resolution issues - Dell D620 Intel 945 chipset


Hello!! First time poster, and somewhat of a new guy at Linux. I just loaded Fedora Core 6 on my D620 Dell Latitude laptop. Everything is great, and I am using it regularly, however, it will not recognize the native resolution of my laptop's LCD (1280x800). It defaults to 1024x768. It is an Intel 945 chipset. The 1024x768 is useable, but since it is a wide screen display, it appears distorted.

My other hardware is working fine. I have updated my BIOS, and verified the BIOS shows the proper default resolution. Also, the laptop is dual booted with windows, and windows sees the proper hardware and resolution.

I read an article where someone obtained the right resolution by starting the Linux installer with an argument containing the resolution. I would like to get this resolved without re-installing Linux, if possible.

Any help on this is greatly appreciated.
 
Old 01-02-2007, 02:54 PM   #2
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
to get native resolution out of the the intel 945 chip you need to install the 915resolution package. have a look at this post:

http://www.linuxquestions.org/questi...d.php?t=504839

Once the package is installed just reboot and it should automatically set your res to 1280x800
 
Old 01-02-2007, 04:51 PM   #3
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Original Poster
Rep: Reputation: 15
Well we are closer, but not there. I updated my yum and installed the 915resolution package. If I go to System -> Administration -> Desktop it shows the proper video card and I can choose from various resolutions (one of which is 1280x800). However, once I choose a new resolution, it tells me my xorg.conf has been edited, and says I must restart X. So I reboot the PC, and it is back to the old resolution.
 
Old 01-02-2007, 09:57 PM   #4
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
try this

as root do
Code:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
then change your Modes settings in the /etc/X11/xorg.conf file so that it only contains "1280x800"

I'm on ubuntu on a macbook with the intel chip. My /etc/X11/xorg.conf looks like this:

Code:
Section "Device"
	Identifier	"Intel Corporation Mobile Integrated Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation Mobile Integrated Graphics Controller"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
	EndSubSection
EndSection
This may not be directly applicable to your setup, but give it a try. If it doesn't work, or your xserver wont start when you reboot just do this in a root terminal:

Code:
mv /etc/X11/xorg.conf.bak /etc/X11/xorg.conf
then reboot and you'll be back where you started
 
Old 01-03-2007, 12:38 PM   #5
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Original Poster
Rep: Reputation: 15
Well, thanks for the input, but I am afraid I did not make any progress. If I set the only resolution mode to 1280x800 the system still loads 1024x768. Here is my current xorg.conf file. I really appreciate all of your help.

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapMove" "110"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "0.75"
Option "SHMConfig" "true"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "LCD Panel 1280x800"
### Comment all HorizSync and VertSync values to use DDC:
### HorizSync 31.5 - 90.0
### VertRefresh 59.9 - 60.1
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubSection
EndSection
 
Old 01-03-2007, 07:21 PM   #6
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
have a look at the xserver log /var/log/Xorg.0.log

there might be some clues as the why you're not getting 1280x800

see if

cat /var/log/Xorg.0.log | grep EE

returns anything

Last edited by Benanzo; 01-04-2007 at 02:19 AM.
 
Old 01-04-2007, 08:14 AM   #7
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for the info. Below is the result of the command.

[root@pc2rw16b1 dking]# cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
 
Old 01-04-2007, 03:09 PM   #8
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
no errors...

You don't seem to be getting any errors when you start up.

as root do:
Code:
915resolution -l
this will give the available modes for your chip.
You can also try editing the /etc/default/915resolution file so that it has XRESO=1280 YRESO=800

I am not sure if this will work. After doing some googling this appears to be an issue with whether the 915resolution package (really it just patches the bios modelines) thinks it is needed for your chip.
 
Old 01-04-2007, 04:05 PM   #9
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Original Poster
Rep: Reputation: 15
This just keeps getting more and more weird. According to package manager, I have 915resolution installed. However, if I run the "915resolution -l" command as root, it says command not found. Also, under /etc/default there is no 915resolution file. Also, if I open file explorer and search the file system for 915 it returns no results. So, I removed it from package manager, and installed it again using "yum install -y 915resolution". Still, there is no 915resolution folders, files, or commands.
 
Old 01-04-2007, 04:13 PM   #10
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
as root do

updatedb

then after it's finished do

locate 915resolution

that should return something
 
Old 01-04-2007, 04:20 PM   #11
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks so much for your help. This is the result of those commands:

[root@pc2rw16b1 sbin]# locate 915resolution
/usr/sbin/915resolution
/usr/share/doc/915resolution-0.5.2
/usr/share/doc/915resolution-0.5.2/LICENSE.txt
/usr/share/doc/915resolution-0.5.2/README.fedora
/usr/share/doc/915resolution-0.5.2/README.txt
/usr/share/doc/915resolution-0.5.2/changes.log
/usr/share/doc/915resolution-0.5.2/chipset_info.txt
/usr/share/doc/915resolution-0.5.2/dump_bios
/var/cache/yum/atrpms/headers/915resolution-0.5.2-5.fc6.at.i386.hdr
[root@pc2rw16b1 sbin]#
 
Old 01-04-2007, 04:34 PM   #12
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Original Poster
Rep: Reputation: 15
OK, I got around that last issue, here is the result of the 915resolution -L command. It is interesting it does not show a 1280 x 800, which is the native resolution of the display (and what Windows runs as).

[root@pc2rw16b1 ~]# 915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.2

Chipset: 945GM
BIOS: TYPE 1
Mode Table Offset: $C0000 + $269
Mode Table Entries: 36

Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1024x768, 8 bits/pixel
Mode 38 : 1280x1024, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1920x1440, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1024x768, 16 bits/pixel
Mode 49 : 1280x1024, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1920x1440, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1024x768, 32 bits/pixel
Mode 58 : 1280x1024, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1920x1440, 32 bits/pixel
 
Old 01-04-2007, 04:45 PM   #13
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Original Poster
Rep: Reputation: 15
OK I think we are close, I modified 915 resolution to display 1280 x 800 using the following command:

915resolution 38 1280 800

This put 1280 x 800 on the list. I then added 1280x800 to the modes under display in my xorg.conf. I understand now I need to put 915 resolution in the startup so it starts before X. How do I do that?
 
Old 01-04-2007, 04:51 PM   #14
dkinfl
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6 on Dell Latitude D620 Laptop
Posts: 22

Original Poster
Rep: Reputation: 15
SO CLOSE!!!! I have the resolution on my screen right now!!! If I run the above command, then log out of X and back in, it puts the resolution at the right place. BUt as soon as I reboot it is back to the wrong resolution. So if I can just get it in my startup I am golden!!
 
Old 01-04-2007, 04:59 PM   #15
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Every time you reboot, you have to run 915resolution before GUI loads. If you have a file named /etc/rc.local, /etc/local.rc, /etc/conf.d/local.start, or other similar files, place /usr/sbin/915resolution and with its option to change the video BIOS. I suggest changing mode 38, 49, 58.

You do not need to reboot Linux for a setting to take effect. You just need to log out and hit CTL+ALT+BKSPC to restart the GUI. It will then use the new settings.

The easiest is to use whereis if you trying to find a command. Updating locate takes a long time.

Information about Intel graphics 915 and up:
In order to use a custom resolution that these chips do not come from the factory (Intel), you will have to use some utility to reprogram the video BIOS in order to get the custom resolution to work. This utility is named 915resolution. The utility needs to be loaded before GUI is loaded or else factory set resolutions will be used. Depending on the distribution, it may have created a service script in /etc/init.d, so you can load it up as a service upon boot up. If it does not, you have to find the file that your distribution use to load during boot up after all scripts are run. Blame Intel for this mess.
 
  


Reply


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
SuSE on Dell D620 laptop cvzyl Suse/Novell 4 04-08-2008 07:53 AM
installing intel 945 chipset on slackware 10.1 ToverLi Slackware - Installation 1 09-22-2006 01:31 AM
Dell D620 dual screen bagpussnz Linux - Laptop and Netbook 1 06-19-2006 02:32 PM
need information about Intel 915GM and intel 945 graphics chipsets mechmg93 Debian 1 04-15-2006 07:53 AM
Intel 845 Chipset setting screen resolution sankarram Linux - Newbie 2 02-18-2005 01:14 PM


All times are GMT -5. The time now is 08:48 PM.

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