Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
11-08-2005, 10:59 AM
#1
Member
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454
Rep:
xorg.conf for Laptop & external display.
My xorg.conf is as follows:
Code:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/local/share/fonts"
EndSection
Section "ServerFlags"
#Option "standby time" "5"
#Option "suspend time" "10"
Option "off time" "2"
EndSection
Section "Module"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "fr"
Option "XkbModel" "dell"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZaxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Device"
Identifier "ATI|Rage Mobility M3 AGP 2x"
Driver "r128"
VideoRam 8192
Option "EnablePageFlip" "true"
Option "AGPFastWrite" "true"
Option "AGPMode" "2"
EndSection
Section "Monitor"
Identifier "Generic LCD Panel 1024x768"
VendorName "DELL"
ModelName "C600 Screen"
HorizSync 31.5-48.5
VertRefresh 40-70
Option "DPMS"
EndSection
Section "Monitor"
Identifier "DELL 1905FP"
VendorName "DELL"
ModelName "1905FP"
HorizSync 31.5-48.5
VertRefresh 40-70
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI|Rage Mobility M3 AGP 2x"
Monitor "Generic LCD Panel 1024x768"
DefaultDepth 16
Subsection "Display"
Depth 32
Modes "1024x768" "1280x1024" "800x600" "640x480"
EndSubSection
Subsection "Display"
Depth 24
Modes "1024x768" "1280x1024" "800x600" "640x480"
EndSubSection
Subsection "Display"
Depth 16
Modes "1024x768" "1280x1024" "800x600" "640x480"
EndSubSection
Subsection "Display"
Depth 8
Modes "1024x768" "1280x1024" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "ATI|Rage Mobility M3 AGP 2x"
Monitor "DELL 1905FP"
DefaultDepth 16
Subsection "Display"
Depth 32
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Screen "Screen1"
Identifier "External"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
Screen "Screen0"
Identifier "Standard"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
I would like to force the screen to be able to display 1280x1024, because I can get the
image to go to the external monitor fine, but I can't bring it up to 1280x1024,
and so it looks very ugly.
I think the problem is that when X starts it scans for and finds the laptop's screen
which is 1024x768. Is there any way to force 1280x1024 as an option so that I can
select it in KRandRTray?
Thanks,
Riddick
11-08-2005, 01:15 PM
#2
Member
Registered: Sep 2005
Posts: 244
Rep:
Check the logfile for errors, it's located in /var/log/xorg.log
11-08-2005, 01:18 PM
#3
Member
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454
Original Poster
Rep:
It's really not:
ed@ed2:~$ cat /var/log/xorg.log
cat: /var/log/xorg.log: No such file or directory
and what errors?
11-08-2005, 02:07 PM
#4
Senior Member
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159
Rep:
Hi Riddick,
The xorg log file is in /etc/X11R6, and I don't know what errors to look for either. From the description nothing is breaking or crashing, it's just not producing the desired result. Correct?
What I did, using Slackware, for multiple displays is make a copy of my xorg.conf for each. One for the laptop and one for the external (tv). When I use the tv, which is very rare, I copy my xorg.conf-tv to xorg.conf before starting x. It's a little extra work but it works.
11-08-2005, 02:11 PM
#5
Member
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454
Original Poster
Rep:
alright - so how would I modify my current xorg.conf to be for 1280*1024?
11-08-2005, 03:04 PM
#6
Senior Member
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159
Rep:
If there's a way to do this with just one file I'd be interested, too.
Using the multiple xorg.conf idea it would be like this. Call the original xorg.conf-laptop and copy it to xorg.conf-dell. Then edit them so the contents of both are the same except
laptop:
blah
blah
Section "Monitor"
Identifier "Generic LCD Panel 1024x768"
VendorName "DELL"
ModelName "C600 Screen"
HorizSync 31.5-48.5
VertRefresh 40-70
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI|Rage Mobility M3 AGP 2x"
Monitor "Generic LCD Panel 1024x768"
DefaultDepth 16
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Dell:
blah
blah
Section "Monitor"
Identifier "Generic LCD Panel 1024x768"
VendorName "DELL"
ModelName "C600 Screen"
HorizSync 31.5-48.5
VertRefresh 40-70
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI|Rage Mobility M3 AGP 2x"
Monitor "DELL 1905FP"
DefaultDepth 16
Subsection "Display"
Depth 32
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
EndSection
And the same "server layout" for both:
Section "ServerLayout"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Now when you want to use the Dell monitor copy xorg.conf-dell to xorg.conf before starting X.
11-09-2005, 02:37 PM
#7
Member
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454
Original Poster
Rep:
ok, my xorg.conf.external, which is symbolically linked to xorg.conf
is the following:
Code:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/local/share/fonts"
EndSection
Section "ServerFlags"
#Option "standby time" "5"
#Option "suspend time" "10"
#Option "off time" "2"
EndSection
Section "Module"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "fr"
Option "XkbModel" "dell"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZaxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Device"
Identifier "ATI|Rage Mobility M3 AGP 2x"
Driver "r128"
VideoRam 8192
Option "EnablePageFlip" "true"
Option "AGPFastWrite" "true"
Option "AGPMode" "2"
EndSection
Section "Monitor"
Identifier "DELL 1905FP"
VendorName "DELL"
ModelName "1905FP"
HorizSync 31.5-48.5
VertRefresh 40-70
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI|Rage Mobility M3 AGP 2x"
Monitor "DELL 1905FP"
DefaultDepth 16
Subsection "Display"
Depth 32
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Screen "Screen0"
Identifier "Standard"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
But still it starts up in 1024*768 mode with no potion to go up to
1280*1024.
I still think this is due to the screen being probed and X finding
the laptop screen, and limiting itself to 1024*768.
Is there any way to FORCE X into 1280*1024 (i.e. submission)?
Thanks,
Riddick
P.S. Hello again Dracolich - and thanks again for the DRI
11-09-2005, 03:29 PM
#8
Senior Member
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159
Rep:
Some Google searching leads me to think you need to adjust the horizontal and vertical rates for the external monitor. Perhaps since you're using the same rates for both you're getting the same results. Also here's a related LQ thread:
http://www.linuxquestions.org/questi...hreadid=368114
11-10-2005, 05:39 AM
#9
Member
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454
Original Poster
Rep:
I've added those, but I think it's still probing the laptop's screen!
Is there anyway of FORCING 1280*1024 as an acceptable mode?
Riddick
11-10-2005, 08:46 AM
#10
Senior Member
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159
Rep:
I understand you want to "force" a certain resolution. And, as far as i know, the only way is to have it as the only option on a "modes" line, but you already have it as that. My research has shown that other people who use resolutions of 1280x1024 or higher have higher HorizSync and VertRefresh rates in their .conf. That was my previous suggestion. Specifically this portion from the link I gave:
Quote:
Check if you have something like this in the Monitor section of your /etc/X11/xorg.conf:
Section "Monitor"
.... (your values)....
HorizSync 30-110
VertRefresh 50-160
EndSection
Those values are for my own 19" CRT monitor. Check your monitor documentation for the correct values.
11-10-2005, 10:00 AM
#11
Member
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454
Original Poster
Rep:
yeah, that's all done.
An alternative to what I want to do would be to get TightVNC displaying
my current screen - do you know if that is possible?
Thanks, Riddick
12-03-2005, 04:24 PM
#12
Member
Registered: Aug 2005
Posts: 80
Rep:
Well after looking at this page
http://support.dell.com/support/edoc...6/EN/about.htm
The proper HorizSync & VertRefresh are:
Code:
HorizSync 30-81
VertRefresh 56-76
Once you correct that and restart your x server it should automagically adjust to the correct resolution.
Xorg only probes for the devices listed in the xorg.conf file. Meaning if the current xorg.conf doesn't contain anything about the laptop screen, Xorg doesn't know that the laptop screen exists at all.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 10:42 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News