Author Topic: Screen Resolution [Solved and Updated]  (Read 1642 times)

Offline johnkat9

  • Jr. Member
  • **
  • Posts: 12
    • JaQ Solutions
Screen Resolution [Solved and Updated]
« on: August 08, 2011, 09:14:16 AM »
I would like to use the 1280x800 screen resolution as default. I adjust the resolution to this setting. When I reboot, the resolution changes back to the 1680x1050 auto setting. Is there some way I can set make the 1280x800 screen resolution a permanent setting?
« Last Edit: October 27, 2011, 12:22:35 PM by johnkat9 »

Offline luikki

  • Hero Member
  • *****
  • Posts: 1408
Re: Screen Resolution
« Reply #1 on: August 08, 2011, 10:48:23 AM »
welcome to the forum and to pclinuxos!
it would be nice to know about your hardware and which version of pclinuxos you are using...

you can go to pcc, hardware, configure video card and make the settings there.

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Screen Resolution
« Reply #2 on: August 08, 2011, 02:39:04 PM »
yes, welcome

if you are using kde, it for some reason, likes to be set the resolution first in pcc and then in the kde configure desktop app
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline johnkat9

  • Jr. Member
  • **
  • Posts: 12
    • JaQ Solutions
Re: Screen Resolution
« Reply #3 on: October 21, 2011, 08:10:11 AM »
Here is some hardware info... The monitor is a Dell E228WFP 22 inch with a resolution of 1680x1050. The display adapter is the Intel G33/G31 Express Chipset Family. I used Computer Configuration to set the screen resolution at 1280x800 which is ideal for me. I then used Desktop Configuration to set the screen resolution to 1280x800. I saved the setting as default. When I reboot, the resolution setting changes back to 1680x1050 (auto). If possible, I would like the resolution to be 1280x800 on startup. I would think something could be edited to make this happen. I am using PCLinuxOS KDE 2011.9
« Last Edit: October 21, 2011, 08:13:59 AM by johnkat9 »

Offline jimwilk

  • Hero Member
  • *****
  • Posts: 1117
Re: Screen Resolution
« Reply #4 on: October 21, 2011, 01:00:06 PM »
johncat9,
After making the resolution changes in the PCC Control Center > Hardware > Configure Video, you need to log out rather than reboot. In fact, I have found that this approach with the live CD (before installation) solves the resolution problems.

When the live CD is first opened, my initial move is straight to PCC > Hardware > Configure video. Once the desired settings have been arrived at, I then log out and back in again. (Rebooting, on the other hand, will lose those new settings.) Installation to the hard drive can be carried out with the new resolution settings.  Try this approach, I think that it will solve your problems.

On my laptop, the resolution is 1366 X 768
The relevant lines from PCC for my installation are:

Graphics Card : Intel 810 and later
Monitor : Flat Panel 1366 X 768
Resolution: 1366 X 768 24 bpp

For the resolution line I clicked on Other and scrolled down until I found 1366 X 768 16/9

I sure hope that this helps in your case. Don't forget that these modifications were done with the computer booted into live CD. Then, it is important to log out rather than reboot before continuing on to installation.

Jim
PCLinuxOS 2013.01 KDE (2 desktop computers)
PCLinuxOS  2013.04 KDE on Asus  laptop


Windows free since 2005
Our house has windows: our computers have no Windoze!
Registered Linux User #409991

Offline johnkat9

  • Jr. Member
  • **
  • Posts: 12
    • JaQ Solutions
Re: Screen Resolution
« Reply #5 on: October 24, 2011, 02:12:30 PM »
I just tried this using the live cd. The cd boots with the display native resolution of 1680x1050. I then went to PCC Control Center> Hardware> Configure video card. I set the screen resolution at 1280x800. Now it shows that I should reboot. Instead I logged out and back in. The video card setting is maintained but I still have to configure the display setting at 1280x800. Now I have the screen resolution at my preferred setting of 1280x800. All is well until I log out. When I log back in the setting changes back to 1680x1050. The same as if I had rebooted the installed system. Should I attempt an installation or will I still have the same problem?
I proceeded with the installation using the method you described. The video card setting is maintained in PCC Control Center. However. I still have to use "Configure your Desktop" to set the display resolution to 1280x800 after each reboot or log out. 
« Last Edit: October 24, 2011, 02:34:39 PM by johnkat9 »

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: Screen Resolution
« Reply #6 on: October 24, 2011, 02:16:34 PM »
Show result of command:
Code: [Select]
cat /etc/X11/xorg.conf
« Last Edit: October 24, 2011, 02:50:36 PM by marcin82 »
marcin'82

Offline johnkat9

  • Jr. Member
  • **
  • Posts: 12
    • JaQ Solutions
Re: Screen Resolution
« Reply #7 on: October 24, 2011, 02:54:36 PM »
This is a desktop computer. The monitor is a Dell E228FWP 22 inch. The display adapter is Intel 810 or later. Here is the output from /etc/X11/xorg.conf

[john@localhost ~]$ cat /etc/X11/xorg.conf
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "DELL E228WFP"
    HorizSync 30-83
    VertRefresh 56-75
    Option "PreferredMode" "1280x800"
   
    # Monitor preferred modeline (60.0 Hz vsync, 65.3 kHz hsync, ratio 16/10, 90 dpi)
    ModeLine "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 +hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_120"  181.21  1280 1376 1520 1760  800 801 804 858  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_100"  147.89  1280 1376 1512 1744  800 801 804 848  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_85"  123.38  1280 1368 1504 1728  800 801 804 840  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_75"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_50"  68.56  1280 1336 1472 1664  800 801 804 824  -HSync +Vsync
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
        Depth 8
        Modes "1280x800"
    EndSubsection

    Subsection "Display"
        Depth 15
        Modes "1280x800"
    EndSubsection

    Subsection "Display"
        Depth 16
        Modes "1280x800"
    EndSubsection

    Subsection "Display"
        Depth 24
        Modes "1280x800"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection
[john@localhost ~]$


Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: Screen Resolution
« Reply #8 on: October 24, 2011, 03:03:07 PM »
HorizSync and VertRefresh are properly at your xorg.conf. Link to the documentation:
http://support.dell.com/support/edocs/monitors/E228WFP/Po/index.htm
Show also result of command:
Code: [Select]
xrandr -qThis command shows possible modes for your monitor, e.g.:
Code: [Select]
xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 312mm x 234mm
   1024x768       85.0*+
   1280x1024      60.0  
   800x600        85.1  
   640x480        85.0     75.0     60.0     59.9  
   720x400        70.1  
DVI-0 disconnected (normal left inverted right x axis y axis)


How to set and save settings, user Leiche wrote here:
http://www.pclinuxos.com/forum/index.php/topic,98625.msg835808.html#msg835808 .

PS

When you are writing a posts use tags [ code ] content [ /code ] - it's better to read ;]
« Last Edit: October 24, 2011, 03:10:38 PM by marcin82 »
marcin'82

Offline johnkat9

  • Jr. Member
  • **
  • Posts: 12
    • JaQ Solutions
Re: Screen Resolution
« Reply #9 on: October 24, 2011, 03:44:41 PM »
I am new to this and will try to improve. I solved the problem and I will try to list the steps I used.

Offline johnkat9

  • Jr. Member
  • **
  • Posts: 12
    • JaQ Solutions
Re: Screen Resolution [Solution]
« Reply #10 on: October 25, 2011, 04:05:57 AM »
My goal was for the 22 inch desktop monitor to display a resolution setting of 1280x800 75Hz at system startup. This is what worked for me:

First select Configure Your Computer and use the PCLinuxOs Control Center to configure the video card: PCC> Hardware> Configure Video Card
  • Graphic Card: Intel 810 and later
    Monitor: Dell E228WFP
    Resolution: 1280x800 24bpp
Reboot to save the settings
Open the Konsole Terminal and run the following commands:
Enter this command:
Code: [Select]
$ xrandrThis will display the allowed resolutions including minimum and maximum. It is important to stay within the specified minimum and maximum range. Monitor damage may result if you do not stay within the range. It may be possible to use a resolution not listed here.
Code: [Select]
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 4096 x 4096
VGA1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050      60.0*+   60.0
   1280x1024      75.0     60.0
   1280x800_75    75.0
   1280x800_60    60.0
   1152x864       75.0
   1024x768       75.1     60.0
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
Enter this command:
Code: [Select]
$ cvt 1280 800 75Be sure to enter the 75 to get the proper refresh rate
This gives you the following output:
Code: [Select]
# 1280x800 74.93 Hz (CVT 1.02MA) hsync: 62.79 kHz; pclk: 106.50 MHz
Modeline "1280x800_75.00"  106.50  1280 1360 1488 1696  800 803 809 838 -hsync +vsync
Now you need to create a newmode:
Code: [Select]
$ xrandr --newmode <Modeline>Copy everything following Modeline from the previous output and place it in <Modeline> to form and enter a command:
Code: [Select]
$ xrandr --newmode "1280x800_75.00"  106.50  1280 1360 1488 1696  800 803 809 838 -hsync +vsync
Now enter this command:
Code: [Select]
$ xrandr --addmode VGA1 "1280x800_75.00"And enter this command:
Code: [Select]
$ xrandr --output VGA1 --mode "1280x800_75.00"Running these 3 commands will change the monitor resolution to the desired setting of 1280x800 75Hz
Next you need to place these 3 commands in the Xsetup_0 file to make the desired screen resolution a permanent setting.
Code: [Select]
xrandr --newmode "1280x800_75"  106.50  1280 1360 1488 1696  800 803 809 838 -hsync +vsync
xrandr --addmode VGA1 "1280x800_75"
xrandr --output VGA1 --mode "1280x800_75"
A tip here: Change the 75.00 to 75 on all 3 commands or the final result will be a refresh rate of 74.9. Probably insignificant but I wanted to be exact. This must be done on all 3 commands.
Open Dolphin File Manager
Navigate to Root> etc> X11> xdm> Xsetup_0
Right click on the Xsetup_0 file
Select Root menu> Edit as root
Enter your root password
Now add the 3 commands to the file to make it look like this:
Code: [Select]
#!/bin/sh
# (C) MandrakeSoft
# Chmouel Boudjnah <chmouel@mandrakesoft.com>
#
# $Id: Xsetup_0,v 1.12 2005/06/12 14:35:57 flepied Exp $

if [ -f /etc/profile.d/kde.sh ];then
 . /etc/profile.d/kde3.sh
fi

if [ -x /etc/X11/xinit/fixkeyboard ]; then
    /etc/X11/xinit/fixkeyboard
fi

if [ -x /etc/X11/xinit.d/numlock ]; then
    /etc/X11/xinit.d/numlock &
fi

xrandr --newmode "1280x800_75"  106.50  1280 1360 1488 1696  800 803 809 838 -hsync +vsync
xrandr --addmode VGA1 "1280x800_75"
xrandr --output VGA1 --mode "1280x800_75"

for i in /etc/X11/xsetup.d/*.xsetup ; do
    [ -d $i ] && continue

    if [ -x $i ]; then
if grep -q "# to be sourced" $i; then
   . $i
else
   $i &
fi
    fi
done

# Xsetup_0 ends here
Save the file and close the file
Close Dolphin File Manager
The screen resolution will now stay set to the desired setting on system startup













« Last Edit: October 27, 2011, 12:28:16 PM by johnkat9 »