Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-30-2013, 05:13 AM
|
#1
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Rep: 
|
How to force X11 resolution and refresh on Slackware 14.0
How can one force X11 to use a mode specified in xorg.conf but not detected ?
Since the introduction of KMS, things seem more difficult, for the end-user.
Here is what I have tried:
My xorg.conf is created by the xorgsetup program.
My display adapter is Radeon HD6550. System loads radeon framebuffer driver at boot which sets 1024x768@60 for all consoles.
X11 runs at same resolution and display.
EDID (/Xorg.0.log) reports several modes, up to 1024x768@60
The fact is that my system is connected to a 2 port KVM and I know for a fact that the setup works at 1024x768@75 because this is the other system's configuration (when in windows).
First problem: probably due to the KVM, but not sure, the video driver detects very few resolutions. I know the KVM is limiting here.
Second problem: following all known procedures to set up xorg.conf with a forced resolution, including all tips found on the net, so far I have failed.
Adding a new mode via xrandr and switching to it at runtime works.
Forcing the same mode via xorg.conf does not.
Here is what I have tried so far :
Section "Monitor"
<------>Identifier "Monitor0"
<------>VendorName "Monitor Vendor"
<------>ModelName "Monitor Model"
<------>HorizSync<----->31 - 82
<------>VertRefresh<--->56 - 75
<------># 1024x768 @ 75.00 Hz (GTF) hsync: 60.15 kHz; pclk: 81.80 MHz
<------>Modeline "1024x768_75" 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
<------>Modeline "1024x768@75" 78.750 1024 1048 1144 1312 768 769 772 800 +hsync +vsync
<------>Option "PreferredMode" "1024x768@75"
<------>Option "DPMS"
<------>Option "NoUseBIOS"
EndSection
Mode "1024x768_75" is generated by gtf
Mode "1024x768@75" is generated by PowerStrip on the other windows machine
Some web hints were to add
<------>Option "DPMS"
<------>Option "NoUseBIOS"
Some web hints were to add these to the Device section:
<------>Option "IgnoreEDID" "true"
<------>Option "NoDDC" "true"
<------>Option "Monitor-VGA-0" "Monitor0"
Some hints from the RADEON driver were to add these to the Device section:
<------>Option "EXAPixmaps" "off"
<------>Option "AccelDFS" "off"
Some hints were to add these to the Screen section:
<------>Option "UseEDID" "false"
<------>Option "UseEDIDDpi" "false"
And of course, this:
<------>SubSection "Display"
<------><------>Viewport 0 0
<------><------>Depth 24
<------><------>Modes<-><------>"1024x768@75"
<------>EndSubSection
=====================================================================
None of these worked. X11 stubbornly starts only at 1024x768@60.
This is from the log:
[ 8681.234] (==) modeset(0): Default visual is TrueColor
[ 8681.234] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[ 8681.238] (II) modeset(0): Output HDMI-0 using monitor section Monitor0
[ 8681.238] (**) modeset(0): Option "PreferredMode" "1024x768@75"
[ 8681.242] (II) modeset(0): Output DVI-0 has no monitor section
[ 8681.260] (II) modeset(0): Output VGA-0 using monitor section Monitor0
[ 8681.264] (II) modeset(0): EDID for output HDMI-0
[ 8681.268] (II) modeset(0): EDID for output DVI-0
[ 8681.285] (II) modeset(0): EDID for output VGA-0
[ 8681.285] (II) modeset(0): Printing probed modes for output VGA-0
[ 8681.285] (II) modeset(0): Modeline "1024x768@75"x75.0 78.75 1024 1048 1144 1312 768 769 772 800 +hsync +vsync (60.0 k
[ 8681.285] (II) modeset(0): Modeline "1024x768_75"x75.0 81.80 1024 1080 1192 1360 768 769 772 802 -hsync +vsync (60.1 k
[ 8681.285] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz
[ 8681.285] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 8681.285] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 8681.285] (II) modeset(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
[ 8681.285] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 8681.285] (II) modeset(0): Output HDMI-0 disconnected
[ 8681.285] (II) modeset(0): Output DVI-0 disconnected
[ 8681.285] (II) modeset(0): Output VGA-0 connected
[ 8681.285] (II) modeset(0): Using user preference for initial modes
[ 8681.285] (II) modeset(0): Output VGA-0 using initial mode 1024x768@75
[ 8681.285] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 8681.285] (==) modeset(0): DPI set to (96, 96)
=================================================================
However, in fact this still goes to 1024x768@60
and just a bit below:
[ 8681.286] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 8681.286] (==) modeset(0): DPMS enabled
[ 8681.286] (WW) modeset(0): Option "PreferredMode" is not used
==================================================================
I have 3 device sections.
One is with driver radeon
One is with driver modesetting
One is with driver vesa
Only if I add Option "Monitor-VGA-0" "Monitor0" to the card1 device (modesetting), then in the X11 log file I see Output VGA-0 using monitor section Monitor0, otherwise it says it has no monitor section.
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "kmsdev" # <str>
#Option "ShadowFB" # [<bool>]
Identifier "Card1"
Driver "modesetting"
BusID "PCI:1:0:0"
Option "Monitor-VGA-0" "Monitor0"
EndSection
I have tried combinations and combinations, I am probably missing something, but I can't make it start with 1024x768@75, I can only change with xrandr at runtime to that resolution.
Thank you.
|
|
|
10-30-2013, 05:15 AM
|
#2
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
My current xorg.conf
================================================================================
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection
Section "Module"
Load "record"
Load "dbe"
Load "dri"
Load "glx"
Load "dri2"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31 - 82
VertRefresh 56 - 75
# 1024x768 @ 75.00 Hz (GTF) hsync: 60.15 kHz; pclk: 81.80 MHz
Modeline "1024x768_75" 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
Modeline "1024x768@75" 78.750 1024 1048 1144 1312 768 769 772 800 +hsync +vsync
Option "PreferredMode" "1024x768@75"
# Option "DPMS"
# Option "NoUseBIOS"
# Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "vesa"
# Driver "radeon"
# Option "EXAPixmaps" "off"
# Option "AccelDFS" "off"
BusID "PCI:1:0:0"
# Option "IgnoreEDID" "true"
# Option "NoDDC" "true"
Option "Monitor-VGA-0" "Monitor0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "kmsdev" # <str>
#Option "ShadowFB" # [<bool>]
Identifier "Card1"
Driver "modesetting"
BusID "PCI:1:0:0"
Option "Monitor-VGA-0" "Monitor0"
Option "Monitor-DVI-0" "Monitor1"
Option "Monitor-HDMI-0" "Monitor1"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card2"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card1"
Monitor "Monitor0"
DefaultDepth 24
# Option "UseEDID" "false"
# Option "UseEDIDDpi" "false"
# Option "ModeDebug" "true"
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768@75"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768@75"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
|
|
10-30-2013, 05:51 AM
|
#3
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,331
Rep: 
|
What happens if don't use an xorg.conf?
To check, please get rid of it.
For instance. "mv /etc/X11/xorg.conf /etc/X11/xorg.conf.save" then (re)start X and post you full X log (either use pastebin or as an attachment with the .txt extension)
Last edited by Didier Spaier; 10-30-2013 at 06:58 AM.
Reason: tyo corrected
|
|
|
10-30-2013, 06:39 AM
|
#4
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
[ 40.516] (II) RADEON(0): KMS Color Tiling: enabled
[ 40.516] (II) RADEON(0): KMS Pageflipping: enabled
[ 40.516] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[ 40.520] (II) RADEON(0): Output HDMI-0 has no monitor section
[ 40.524] (II) RADEON(0): Output DVI-0 has no monitor section
[ 40.542] (II) RADEON(0): Output VGA-0 has no monitor section
[ 40.546] (II) RADEON(0): EDID for output HDMI-0
[ 40.550] (II) RADEON(0): EDID for output DVI-0
[ 40.568] (II) RADEON(0): EDID for output VGA-0
[ 40.568] (II) RADEON(0): Printing probed modes for output VGA-0
[ 40.568] (II) RADEON(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 40.568] (II) RADEON(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 40.568] (II) RADEON(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 40.568] (II) RADEON(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
[ 40.568] (II) RADEON(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 40.568] (II) RADEON(0): Output HDMI-0 disconnected
[ 40.568] (II) RADEON(0): Output DVI-0 disconnected
[ 40.568] (II) RADEON(0): Output VGA-0 connected
[ 40.568] (II) RADEON(0): Using fuzzy aspect match for initial modes
[ 40.568] (II) RADEON(0): Output VGA-0 using initial mode 1024x768
[ 40.568] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 40.568] (II) RADEON(0): mem size init: gart size :1fdff000 vram size: s:40000000 visible:fcc0000
[ 40.568] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
[ 40.568] (==) RADEON(0): DPI set to (96, 96)
|
|
|
10-30-2013, 08:14 PM
|
#5
|
Senior Member
Registered: May 2006
Posts: 3,091
|
You should not be using the modeset driver, but the radeon driver. Where did you get that xorg.conf from?
|
|
|
10-30-2013, 09:26 PM
|
#6
|
Member
Registered: Sep 2011
Posts: 925
|
Try appending
Code:
video=VGA-1:1024x768M@75
to the kernel command line.
|
|
|
10-31-2013, 08:06 AM
|
#7
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
Quote:
Originally Posted by adamk75
You should not be using the modeset driver, but the radeon driver. Where did you get that xorg.conf from?
|
It was generated by xorgsetup utility.
|
|
|
10-31-2013, 08:09 AM
|
#8
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
Quote:
Originally Posted by jtsn
Try appending
Code:
video=VGA-1:1024x768M@75
to the kernel command line.
|
Is that "VGA-1" ? (I'm only asking because the VGA output is named VGA-0 in the X11 logs).
Second, 1024x768@75 exists (at this time) only in xorg.conf but not in fb.modes.
There is a 1024x768-75 there, but mine was tweaked with timings identical from both systems connected to the KVM.
I will try to add 1024x768@75 with my timings to the kernel command line.
|
|
|
10-31-2013, 08:54 AM
|
#9
|
Senior Member
Registered: May 2006
Posts: 3,091
|
Quote:
Originally Posted by andrixnet
It was generated by xorgsetup utility.
|
You'll want to fix it then so that it uses radeon.
|
|
|
10-31-2013, 09:08 AM
|
#10
|
Member
Registered: Sep 2011
Posts: 925
|
Quote:
Originally Posted by andrixnet
Is that "VGA-1" ?
|
Yes it is.
Quote:
(I'm only asking because the VGA output is named VGA-0 in the X11 logs).
|
KMS video outputs have nothing to do with Xorg video outputs.
Quote:
Second, 1024x768@75 exists (at this time) only in xorg.conf but not in fb.modes.
|
KMS doesn't use /etc/fb.modes and made it obsolete.
Quote:
There is a 1024x768-75 there, but mine was tweaked with timings identical from both systems connected to the KVM.
|
You should use VESA Coordinated Video Timings (CVT) on all systems with video=VGA-1:1024x768M@75 (notice the "M"?)
Quote:
I will try to add 1024x768@75 with my timings to the kernel command line.
|
KMS doesn't support custom modelines.
|
|
|
10-31-2013, 08:09 PM
|
#11
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Video device 0 in xorg.conf should be set to the radeon driver.
Change this line in your xorg.conf to reflect as such:
Code:
Identifier "Card0"
Driver "vesa"
Change to
Code:
Identifier "Card0"
Driver "radeon"
Restart X-Server and all should work well.
If you need a refresh rate tool, download, build, and install " driconf" from SlackBuilds.
|
|
|
11-02-2013, 05:15 AM
|
#12
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
Quote:
Originally Posted by jtsn
Try appending
Code:
video=VGA-1:1024x768M@75
to the kernel command line.
|
It worked, now the console is in 1024x768 75Hz.
Finally, I located this info in /usr/src/linux/Documentantion/fb/modedb.txt
Thank you for the help, I don't think I would've found it by myself.
From what I read there, the timings are either probed, or from a table (which is hardcoded).
When I try to set timings in the console with fbset, I get this:
Code:
~# fbset -pixclock 12698
ioctl FBIOPUT_VSCREENINFO: Invalid argument
(in fact, any video mode in fb.modes can't be set with fbset, with same error).
|
|
|
11-02-2013, 05:19 AM
|
#13
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
Actually, fbset shows nothing for timings :
Code:
:~# fbset
mode "1024x768"
geometry 1024 768 1024 768 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode
Also, fbset -move does not work
|
|
|
11-02-2013, 05:50 AM
|
#14
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
I added the kernel command line as suggested, and my console is now 1024x768 75Hz (although not with the timings I would like). I can't set anything (except virtual resolution) with fbset.
I generated a new xorg.conf file (using xorgsetup) just to make sure I start clean.
I commented out the 2 driver sections about "vesa" and "modesetting" and the corresponding monitor and screen sections.
I customized my monitor0 section to use my modeline.
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
# Screen 1 "Screen1" RightOf "Screen0"
# Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection
Section "Module"
Load "record"
Load "dbe"
Load "dri"
Load "glx"
Load "dri2"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31 - 120
VertRefresh 56 - 75
# 1024x768 @ 75.00 Hz (GTF) hsync: 60.15 kHz; pclk: 81.80 MHz
Modeline "1024x768_75" 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
Modeline "1024x768@75" 78.750 1024 1048 1144 1312 768 769 772 800 +hsync +vsync
Option "PreferredMode" "1024x768@75"
Option "DPMS"
Option "Primary" "true"
EndSection
#Section "Monitor"
# Identifier "Monitor1"
# VendorName "Monitor Vendor"
# ModelName "Monitor Model"
#EndSection
#Section "Monitor"
# Identifier "Monitor2"
# VendorName "Monitor Vendor"
# ModelName "Monitor Model"
#EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "radeon"
BusID "PCI:1:0:0"
Option "Monitor-VGA-0" "Monitor0"
EndSection
#Section "Device"
# ### Available Driver options are:-
# ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
# ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
# ### <percent>: "<f>%"
# ### [arg]: arg optional
# #Option "SWcursor" # [<bool>]
# #Option "kmsdev" # <str>
# #Option "ShadowFB" # [<bool>]
# Identifier "Card1"
# Driver "modesetting"
# BusID "PCI:1:0:0"
#EndSection
#Section "Device"
# ### Available Driver options are:-
# ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
# ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
# ### <percent>: "<f>%"
# ### [arg]: arg optional
# #Option "ShadowFB" # [<bool>]
# #Option "DefaultRefresh" # [<bool>]
# #Option "ModeSetClearScreen" # [<bool>]
# Identifier "Card2"
# Driver "vesa"
# BusID "PCI:1:0:0"
#EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768@75"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768@75"
EndSubSection
EndSection
#Section "Screen"
# Identifier "Screen1"
# Device "Card1"
# Monitor "Monitor1"
# DefaultDepth 24
# SubSection "Display"
# Viewport 0 0
# Depth 1
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 4
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 8
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 15
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 16
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 24
# EndSubSection
#EndSection
#Section "Screen"
# Identifier "Screen2"
# Device "Card2"
# Monitor "Monitor2"
# DefaultDepth 24
# SubSection "Display"
# Viewport 0 0
# Depth 1
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 4
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 8
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 15
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 16
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 24
# EndSubSecti
The problem is the same: monitor starts up in 1024x768 60Hz.
This is what xrandr reports:
Code:
xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 16384 x 16384
VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768@75 75.0 +
1024x768_75 75.0
1024x768 60.0*
800x600 60.3 56.2
848x480 60.0
640x480 59.9
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
but, a later run of xrandr
~$ xrandr --output VGA-0 --mode 1024x768@75
will set the display to the mode I want and the refresh I want.
I still can't figure out what can I do in the config file xorg.conf so that X will start in the proper mode.
|
|
|
11-02-2013, 06:06 AM
|
#15
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,331
Rep: 
|
Remember what jtsn wrote:
Quote:
KMS video outputs have nothing to do with Xorg video outputs.
|
So just append this line
Code:
append = "video=VGA-1:1024x768M@75"
to the proper lilo.conf's stanza and you're all set. You don't need an xorg.conf at all unless maybe for other specific settings.
|
|
|
All times are GMT -5. The time now is 11:26 PM.
|
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
|
|