LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-21-2013, 12:12 PM   #1
krax
LQ Newbie
 
Registered: Apr 2011
Posts: 8

Rep: Reputation: 0
Question Making "undetected resolutions" stick ???


After installing Xorg-X11 i found out that my Monitor resolution [1600*900 60] wasn't there. After searching and asking in irc channel i found this way:

Code:
creating with cvt
cvt 1600 900

1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
Code:
making
 xrandr --newmode "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
Code:
Adding

xrandr --addmode VGA1 "1600x900_60.00"
Code:
Changing

 xrandr --output VGA1 --mode "1600x900_60.00"
Note: after restart all of the above procedures will lost.

in the arch linux wiki https://wiki.archlinux.org/index.php...ges_persistent says a way to make it stick and i did it is my /etc/X11/xorg.conf

Code:
Section "Device"
  Identifier  "Intel Xeon"
  Option      "Monitor-VGA1" "VGA screen"
EndSection
Section "Monitor"
  Identifier  "VGA screen"
  Modeline	   "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -Hsync +Vsync
  Option      "PreferredMode" "1600x900"
EndSection
Section "Screen"
    Identifier      "Primary Screen"
    Device          "Intel Xeon"
    DefaultDepth    24
    SubSection "Display"
        Depth           24
        Modes   "1600x900"
    EndSubSection
EndSection
But there is no use after all this work. the restart will undo all the work. even the 1600*900 will disappear from the xrandr command output.
How could i make it Persistent


also here is My xorg log: http://paste.ubuntu.com/5897707/

Last edited by krax; 07-21-2013 at 12:14 PM.
 
Old 07-23-2013, 07:54 PM   #2
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 210

Rep: Reputation: 76
Judging by the link you gave, you might change the PreferredMode option to "1600x900_60.00" and try again.

Otherwise, give an idea of what you're trying, and maybe somebody can help. The procedure for doing this has changed a little bit over the years. Last time I had to do this, I made a Modes section "ModesToUse" with all of the Modelines I wanted to use, then specified in the Monitor section something like UseModes "ModesToUse". Don't try this idea quite yet.

Xorg won't use a mode if it thinks your monitor can't handle it. If you can find the horizontal sync and vertical refresh ranges of your monitor and specify them in the Monitor section, it will increase your chances of being able to use certain modes. Sometimes, that can be found by runing `Xorg -configure`, starting X once, then looking at your Xorg.0.log file. Really, though, if you can find the book or PDF that goes with your monitor, the numbers are most convenient to get from there.
 
Old 07-23-2013, 08:03 PM   #3
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 210

Rep: Reputation: 76
Oh, I forgot a couple of things. First, make sure your Xorg.conf is in the correct place (on Slackware, it's /etc/X11/xorg.conf). Second, to see what resolutions are being recognized, you can fire up xvidtune and click the Next and Prev buttons to iterate through the modes. Sometimes, you have to specify the modes to use in the Display section, and it's best to start with the mode you want to use first, then lower resolutions in descending order.
 
  


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
Socket Programming making use of "select()" and "writefds" johncsl82 Programming 10 11-13-2011 12:27 PM
Multi-head with different resolutions, "fullscreen" uses wrong resolution sleeping Linux - Desktop 3 03-13-2011 10:32 AM
LXer: Installing "Sugar on a stick" (Strawberry Release) On A USB Stick LXer Syndicated Linux News 0 08-04-2009 03:50 PM
LXer: DistroWatch Weekly: Correcting screen resolutions, Hardy Heron, "finstall" LXer Syndicated Linux News 0 09-03-2007 06:00 AM
Making process priority "stick"? Phaethar Linux - Software 1 07-15-2004 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:54 AM.

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