LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-04-2004, 06:12 PM   #1
kragemp3
LQ Newbie
 
Registered: May 2004
Location: Washington
Posts: 10

Rep: Reputation: 0
Dual head second monitor resolution problem ATI Radeon Mobility 7500 Redhat 9


I am using a ATI radeon Mobility 7500 video card with redhat 9 and after trying for quite a long time I finally got the dual head to work on my video card. However now I have another problem. I cant get the resolution of the second display to be anything other than 640x480. I know that my video card supports higher resolution on the second display because I can go much higher when using windows. Any help would be greatly appreciated. Here is my XF86Config File.

Thanks For the help.

------------------------------------------XF86 Config File -------------------------------------------------------
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
Option "Xinerama" "on"
EndSection

Files section && input devices omitted .....

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Hyundai ImageFlat F790D"
DisplaySize 432 432
HorizSync 30.0 - 96.0
VertRefresh 50.0 - 150.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility 7500
BusID "PCI:01:00:0"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility 7500"
BusID "PCI:01:00:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Last edited by kragemp3; 05-05-2004 at 10:20 AM.
 
Old 06-10-2004, 01:40 PM   #2
mcnuttj
LQ Newbie
 
Registered: Jun 2004
Distribution: RedHat Enterprise
Posts: 5

Rep: Reputation: 1
I have been having the exact same problem, with the exception that I am trying to get the two screens to be clones. The cloning part works, but the CRT is always 640x480.

I was able to get the CRT to use a sane resolution and refresh rate, but only at the expense of the LCD, which isn't practical because it does this even when the laptop (Dell D600) is undocked.

Still searching for an answer to this one...
 
Old 08-09-2004, 12:42 AM   #3
absaxena
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
You can try out these options in the Device section with the values appropriate for your system.

Section "Device"
BoardName "Radeon 7500"
BusID "1:0:0"
Driver "radeon"
Identifier "Device[0]"
Screen 0
Option "Rotate" "off"
# Option "PanelOff" "on"
Option "CloneDisplay" "2"
Option "CloneMode" "1024x768"
Option "CloneHsync" "60-85"
Option "CloneVRefresh" "50-75"
VendorName "ATI"
EndSection

Also, you require only one Monitor section. Information about the Clone monitor is covered in the Device section.

HTH
-a
 
Old 08-09-2004, 08:03 AM   #4
mcnuttj
LQ Newbie
 
Registered: Jun 2004
Distribution: RedHat Enterprise
Posts: 5

Rep: Reputation: 1
Can't do different sync rates

I was eventually able to get the screen cloned as demonstrated in the earlier post (using the Clone* options). However, the two displays must have the same vertical refresh rate. Since the LCD does 60Hz, that's painful on the CRT.

The final solution was to create two XF86Config files: one for docked (CRT) and one for undocked (LCD). They have all of the same settings w.r.t. resolution and color depth, but the CRT uses the external monitor port and a 74Hz refresh rate whereas the undocked config uses the LCD at 60Hz.

There are three files: XF86Config.P780 (docked), XF86Config.LCD (undocked), and XF86Config (NOT a symlink!). At boot time, I do (in Perl):

$returncode = system("/bin/grep 'Vendor=413c' /proc/bus/usb/devices");
$returncode /= 256;
if ( $returncode eq '0' ) {
# This is the "match" case.
print "Docked.\n";
print "Updating config for dock...\n";
system "/bin/cp -f /etc/X11/XF86Config.P780 /etc/X11/XF86Config";
}

if ( $returncode eq '1' ) {
# This is the "no match" case.
print "Not docked.\n";
print "Updating config for no dock...\n";
system "/bin/cp -f /etc/X11/XF86Config.LCD /etc/X11/XF86Config";
}

if ( $returncode eq '2' ) {
# This is the "error" case.
print "Got some error.\n";
print "Updating config for no dock...\n";
system "/bin/cp -f /etc/X11/XF86Config.LCD /etc/X11/XF86Config";
}

The "Vendor=413c" thing is to detect the USB controller that is present in the dock, found in /proc/bus/usb/devices. It's absent when undocked (obviously). By testing the return codes from grep (see method above), I can tell whether I'm docked or not.

And that was the eventual solution for dealing with the dock *AND* getting a decent refresh rate on the CRT. Not perfect, but still within un-hack-ish limits.

--J
 
Old 08-09-2004, 08:28 AM   #5
absaxena
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
I am able to do different refresh rates with the same XF86Config.

There are some caveats though - if I start the X server with the laptop undocked, then upon docking, the monitor runs at 60Hz. However, if I start the X server when docked, I am able to get 75Hz on the monitor. The LCD keeps running at 60Hz I think. The corresponding config file looks like this:

# /.../
# SaX generated XFree86 config file
# Created on: 2004-08-09T10:01:16+0530.
#
# Version: 4.8
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
<snip>
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "RandR" "on"
EndSection

Section "Module"
Load "glx"
Load "dbe"
Load "extmod"
Load "freetype"
Load "v4l"
Load "type1"
Load "speedo"
EndSection

Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
<snip>
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[3]"
Option "Device" "/dev/psaux"
Option "InputFashion" "Mouse"
Option "Name" "PS/2-Mouse;IMPS/2"
Option "Protocol" "imps/2"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
HorizSync 31-60
Identifier "Monitor[0]"
ModelName "1024X768@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 40-60
# UseModes "Modes[0]"
EndSection

#Section "Monitor"
# Option "CalcAlgorithm" "CheckDesktopGeometry"
# HorizSync 80-90
# ModelName "1024X768@75HZ"
# Option "DPMS"
# VendorName "--> VESA"
# VertRefresh 80-90
# UseModes "Modes[1]"
# Identifier "Monitor[1]"
#EndSection


Section "Modes"
Identifier "Modes[0]"
# Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
EndSection

Section "Modes"
Identifier "Modes[1]"
Modeline "1024x768" 67.48 1024 1080 1184 1344 768 769 772 797
Modeline "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
EndSection


Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 32
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

#Section "Screen"
# DefaultDepth 16
# SubSection "Display"
# Depth 16
# Modes "1024x768"
# EndSubSection
# Device "Device[0]"
# Identifier "Screen[1]"
# Monitor "Monitor[1]"
# Identifier "Modes[1]"
#EndSection


Section "Device"
BoardName "Radeon 7500"
BusID "1:0:0"
Driver "radeon"
Identifier "Device[0]"
Screen 0
Option "Rotate" "off"
# Option "PanelOff" "on"
Option "CloneDisplay" "2"
Option "CloneMode" "1024x768"
Option "CloneHsync" "60-85"
Option "CloneVRefresh" "50-75"
VendorName "ATI"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Option "Clone" "on"
Option "Xinerama" "on"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection
 
  


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
Dual head display problem and setting resolution Navyblue Linux - Newbie 4 08-01-2005 10:18 AM
Dual head resolution problems kmccuddy Linux - Newbie 2 03-29-2005 11:08 PM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-04-2004 11:23 PM
Monitor ghosting with Matrox G400 Dual Head Problem kiley_rodgers Linux - Hardware 1 06-07-2004 07:59 PM
Dual head second monitor resolution problem ATI Radeon Mobility 7500 Redhat 9 kragemp3 Linux - Hardware 0 05-06-2004 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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