Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why doesn't monitor.conf work?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 145

PostPosted: Tue Mar 19, 2013 8:36 pm    Post subject: Why doesn't monitor.conf work? Reply with quote

I'm using lxde and I made the following monitor.conf file but it doesn't work.

Code:
Section "Device"
  Identifier "Radeon 9600"
  Option     "Monitor-VGA-0" "VGA screen"
EndSection

Section "Monitor"
  Identifier "VGA screen"
  Option     "PreferredMode" "1440x900"
EndSection

as /etc/X11/xorg.conf.d/40-monitor.conf

The monitor is a CRT.
Back to top
View user's profile Send private message
lost+found
Guru
Guru


Joined: 15 Nov 2004
Posts: 509
Location: North~Sea~Coa~s~~t~~~

PostPosted: Tue Mar 19, 2013 8:59 pm    Post subject: Reply with quote

It will probably work if you add the driver to the Device section, like:
Driver "..."

You may add Screen and ServerLayout sections in the same file if you need it.
Back to top
View user's profile Send private message
trismo
n00b
n00b


Joined: 26 May 2012
Posts: 49

PostPosted: Tue Mar 19, 2013 9:39 pm    Post subject: Reply with quote

xrandr gui saved settings overwrite it on start-up or

EDID data have problems like this exsample: Xorg0.log
Code:
(II) DRIVER(0): Not using mode "1440x900" (bad mode clock/interlace/doublescan)
(II) DRIVER(0): Modeline "1440x900""x60.0  *  * * * *  * * * * +hsync +vsync (64.0 kHz UP)
(II) DRIVER(0): ...

Then add the Modeline under Monitor section to force it to use
Code:
Option     "PreferredMode" "1440x900"
Modeline "1440x900" *  * * * *  * * * * +hsync +vsync

Device Driver is not required is a general option.
And check VGA-0 is properly
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Tue Mar 19, 2013 11:03 pm    Post subject: Reply with quote

Are you actually sure the monitor supports 1440x900? I seriously doubt there are 16:10 CRTs around.
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 145

PostPosted: Wed Mar 20, 2013 6:49 am    Post subject: Reply with quote

Gusar
I put the 1440x900 as an indicator to see if monitor.conf is in effect or not. I will change it to reasonable value when monitor.conf is taking control.

The solutions mentioned above : I will try and post the results here.

Thanks
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Mar 20, 2013 4:22 pm    Post subject: Reply with quote

It might work better if you use a real modeline:
Code:
# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync


And judging by that xorg log output you also appear to have put the line «Device "Driver"» in the config file, which is complete nonsense.

Fix those two errors then try again.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Mar 20, 2013 4:38 pm    Post subject: Reply with quote

If 1440x900 is not your goal, what exactly is it that you want to do? By default, no config is necessary. If you want to set a resolution lower than the display's max, you don't need a Device section at all, just a Monitor section, with the Identifier being the output name.
Code:
Section "Monitor"
  Identifier "VGA-0"
  Option "PreferredMode" "1024x768"
EndSection


If the resolution doesn't exist yet, use a Modeline, but it needs to have a unique name.
Code:
Section "Monitor"
  Identifier "VGA-0"
  Modeline "1024x768_85.00"  94.39  1024 1088 1200 1376  768 769 772 807  -HSync +Vsync
  Option "PreferredMode" "1024x768_85.00"
EndSection
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 145

PostPosted: Wed Mar 20, 2013 5:07 pm    Post subject: Reply with quote

Gusar I want to control the monitor through monitor.conf but lxde's "preferences" --> "monitor settings" takes the control and my monitor.conf doesn't work.

I'm trying to overcome this.
(Itried the modeline suggestion too but still no good)

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum