Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

22" LCD monitor resolution in linux

Status
Not open for further replies.

asueee0

Advanced Member level 4
Full Member level 1
Joined
Dec 26, 2005
Messages
109
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,299
22 lcd horizontal sync range

i just don't understand why the 22" lcd are all widescreen? it is only good for watching movie in general.

1. but anyway, i got one today, the max (default) resolution is 1680*1050. that is what i use in windows. but in linux (RHEL 3 update 8 ), this resolution is not supported. if i use 1280*1024, there is significant distortion; if i use 1600*1200, which is perfect, but there are letter boxes on both side, it is equivalent to use a 19" widescreen. anyone have any idea to solve this issue? by the way, , i use universal video driver, because that is the only that could support my ATI X 300 video card.
 

aticonfig vertical different resolution

Two method.
1. Go to AMD/ATI web site to download the linux driver. Please read the installation guide carefully,
and you can set the resolution by ATI software.

2.I think you can force the resolution.
Please find the file, xorg.conf or Xfree86.conf in /etc/X11. (I is not familiar with RHEL 3, I use RHEL 4.4) Assuming the file is Xorg.conf,
You can find the Monitor section and modify the
Sync frequency/vertical frequency range according to the specification of the 22' LCD.
Then in the screen section, you can add the 1680*1050 in the mode section.
Restart the computer.

You can try and good luck .
 

    asueee0

    Points: 2
    Helpful Answer Positive Rating
force monitor resolution

by configure the file you mentioned in method 2, i was be able to bring up the "1680*1050" option in the display option, however, it won't work even i select.
I guess that is probably because generic diver. so I down load the ati linux driver for x300 and installed without problem, but i was not be able to boot up with this driver, and at the end, i still have to use generic driver. do you any other idea?
 

how to set lcd monitor linux

could anyone share their experience to use 22" lcd with correct resolution? i installed ati's linux driver, but don't know how to open it's graphical control panel, also don't know how to configure the "aticonfigure".
 

ati linux clone same resolution

I had the same problem with my monitor.

I followed the solution in this article
http://ubuntuforums.org/showthread.php?t=83973

It can be summarized as following:
0. Login as root

1. Bachup the configuration file
Code:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

2. Edit the configuration file using your favorite text editor, for example vi
Code:
vi /etc/X11/xorg.conf

3. Find your monitor section, it has the followin form
Code:
Section "Monitor"
    Identifier    "CM752ET"
    HorizSync     31-101
    VertRefresh    60-160
EndSection

4. Add a custom modeline, use this page to generate the modeline which corresponds to your desired settings.
http://www.bohne-lang.de/spec/linux/modeline/

for your case 1680x1050 (which was my case also) I used refresh rate of 60Hz, the generated modeline is
Code:
Modeline "1680x1050" 149.00  1680 1760 1944 2280  1050 1050 1052 1089

Add this line to the monitor section

5. Now, find the Display section and specify the default color depth and resolution
Code:
Section "Screen"
    Identifier    "Default Screen"
    Device        "NVIDIA Corporation NV34 [GeForce FX 5200]"
    Monitor        "CM752ET"
    DefaultDepth    16
    SubSection "Display":
        Depth        16
        Modes      "1680x1050" .....
    EndSubSection
EndSection

Note that Mode identifier is the same as the Modeline identifier.

6. Save and restart X server

if you have any problems refer to the original article as it contains some details about debugging

Best regards,
Sakr
 

    asueee0

    Points: 2
    Helpful Answer Positive Rating
linux 22 lcd

Because My card is ATI7500 and ATI don't provide the linux driver.
You can search some paper to read how to use aticonfig to set the display mode.

I forget that there is a command to calculate the display frequency band if you input resolution and vertical frequency that you want.

The above paper shows the method I said.
Good luck for you.
 

    asueee0

    Points: 2
    Helpful Answer Positive Rating
aticonfig hsync vrefresh lcd

To Sakr:

Thanks for your information, but it still not working, here is part of the code copied from configuration file, could you take a llook for me?

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1680x1050"
DisplaySize 470 300
HorizSync 31.5 - 90.0
VertRefresh 60.0 - 60.0
ModeLine "1680x1050" 149.0 1680 1760 1944 2280 1050 1050 1052 1089
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1400x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 

linux aticonfig resolution

The VertRfresh is 60.0-60.0 Hz?
Please modify this item according to specification of the 22' LCD.
I find a 22' LCD of ViewSonice, VX2235wm, and the
HorizSync is 30-82 kHz, VertRfresh 50-85 Hz.

Added after 10 minutes:

Also , you can use aticonfig command.
These options are below,
aticonfig --initial --input=/etc/X11/xorg.conf
aticonfig --resolution=0,1152x864,1024x768
aticonfig --hsync=0,30-70
aticonfig --vrefresh=0,50-160

The horizSync and VertRfresh according to your
LCD spec. Your must read the help for aticonfig.
It is convenient.
 

    asueee0

    Points: 2
    Helpful Answer Positive Rating
22 lcd possible resolutions linux

aticonfig --initial --input=/etc/X11/xorg.conf
aticonfig --resolution=0,1152x864,1024x768
aticonfig --hsync=0,30-70
aticonfig --vrefresh=0,50-160

so, should i put the above code in the configuration file, but in which part?
 

linux big lcd screen refresh

why buy an expensive monitor that doesn't work !
 

aticonfig custom modeline

asueee0 said:
aticonfig --initial --input=/etc/X11/xorg.conf
aticonfig --resolution=0,1152x864,1024x768
aticonfig --hsync=0,30-70
aticonfig --vrefresh=0,50-160

so, should i put the above code in the configuration file, but in which part?
No.
If you install ATI driver downloaded from AMD/ATI website, you can execute aticonfig command with option in terminal not add to a config file.
I think you must know the hsync and vrefresh spec of 22' LCD.
Then you can try,
aticonfig --hsync=......
aticonfig --vrefresh=....
aticonfig --resolution=0, 1650x1050....
in the command terminal.

Added after 25 minutes:

If you install ati driver download from AMD/ATI website.
Please run aticonfig in the terminal, then you can see the help content.
You must run this with su or root user.


[root@localhost ~]# aticonfig
Usage: aticonfig [OPTION] ...
Parses an existing X-Server configuration file and modifies it to operate with
ATI products.

The following command-line options can be invoked as parameters:

ATI Initial Configuration:
--initial
Generate a default ATI device section in the configuration file which
is capable of loading the fglrx driver.
--initial=dual-head
Same as '--initial' but generate a basic dual head configuration file.

TV Options:
--tvf, --tv-format-type=STRING
Change the TV signal format. STRING can be one of:
NTSC-M
NTSC-JPN
PAL-B
PAL-D
PAL-G
PAL-H
PAL-I
PAL-K
PAL-K1
PAL-L
PAL-M
PAL-N
PAL-CN
PAL-SCART
--tvs, --tv-standard-type=STRING
Change the TV standard for TV output. STRING can be one of:
VIDEO
SCART
YUV

FireGL Workstation Board Features:
--app, --use-app-profile=STRING
Change the application profile for a FireGL workstation board.
STRING can be one of:
default
maya
softimage-xsi
softimage-3d
houdini4.0
houdini5.0
houdini5.5
--dw, --disable-workstation=STRING
Disable a FireGL workstation board feature. STRING can be one of:
all
timmo
timmo-extreme

FSAA Options:
--fsaa={on|off}
Enable/disable full scene anti-aliasing. Enable this option to enhance
photo-realism in 3D rendering. Disable it to get the most accurate 3D
image.
--fs, --fsaa-samples={off,0,2,4,6}
Set the number of FSAA samples per pixel or 2, 4, 6. off is the same
as setting 0 samples.
--fsg, --fsaa-gamma={on|off}
Enable/disable FSAA gamma.
--fmsp, --fsaa-ms-positions=x0,y0,x1,y1,x2,y2,x3,y3,x4,y4,x5,y5
Change the FSAA Multi-Sample Positions for x0,y0 to x5,y5. You must
specify exactly 12 real number values separated by commas.

Screen-Related Options:
--ovt, --overlay-type=STRING
Change the overlay for the X server. STRING can be one of:
opengl
Xv
disable
--ovon, --overlay-on={0|1}
Choose which head the hardware overlay should be visible on. The
hardware overlay can be used for either OpenGL, video, pseudo-color
or stereo.
--lcd, --lcd-mode=STRING
Change the LCD mode. STRING can be one of:
center
full
--dtop, --desktop-setup=STRING
Change the desktop setup for multiple display adapters.
STRING can be one of:
single 1 screen, second dark
mirror 2 screens - same content, identical
refresh rate/resolution
clone 2 screens - same content, allows for
different refresh rates/resolutions
horizontal 2 screens - one framebuffer,
screen 1 right of screen 0
horizontal,reverse 2 screens - one framebuffer,
screen 1 left of screen 0
vertical 2 screens - one framebuffer,
screen 1 above of screen 0
vertical,reverse 2 screens - one framebuffer,
screen 1 below of screen 0
Note: This option is not valid if '--initial=dual-head' is specified.
--vs, --sync-vsync={on|off}
Enable/disable sync buffer swaps with vsync. Enable this option to
prevent tearing during 3D rendering.
--psc, --pseudo-color={on|off}
Enable/disable pseudo-color visuals. Enable this option to get 16-bit
color support.
--stereo={on|off}
Enable/disable quad-buffer stereo support. Enable this option only for
using applications that support the use of hardware 3D shutter glasses.
--ss, --stereo-sync={on|off}
Enable/disable quad-buffer stereo sync. Enable this option to get 3D
glasses to synchronize with the infrared transmitter.
--resolution=W1xH1,W2xH2,W3xH3,...
Set the modes for the first screen. You may specify several
resolutions separated by commas.
--hsync=LOW-HIGH
Change the horizontal sync range of the first monitor. Make sure you
know the capabilities of your monitor before changing this option.
--vrefresh=LOW-HIGH
Change the vertical refresh range of the first monitor. Make sure you
know the capabilities of your monitor before changing this option.
--resolution2=W1xH1,W2xH2,W3xH3,...
Change the modes for the second screen for dual head. You may specify
several resolutions separated by commas.
Note: The secondary screen must exist.
--hsync2=LOW-HIGH
Change the horizontal sync range of the second display. Make sure you
know the capabilities of your monitor before changing this option.
--vrefresh2=LOW-HIGH
Change the vertical refresh range of the second display. Make sure you
know the capabilities of your monitor before changing this option.
--mode2=W1xH1,W2XH2,W3xH3,...
Change the modes for the second display. You may specify several
resolutions separated by commas. Only valid for clone and big desktop
settings.
--screen-layout={left|right|above|below}
Set the secondary screen position for dual head.
--screen-overlap=NUM
Set the screen overlap region in big desktop mode to be NUM pixels.
--force-monitor=STRING[,STRING...]
Describe all displays that are to be enabled and/or disabled regardless
of physical connection. STRING can be one or more of the following
set, separated by commas:
crt1
crt2
lvds
tv
tmds1
tmds2
tmds2i
nocrt1
nocrt2
nolvds
notv
notmds1
notmds2
notmds2i

POWERplay Options:
--lsp, --list-powerstates
Print information about power states and exit.
--set-powerstate=NUMBER
Set a power state listed by --list-powerstates.

Advanced Options:
--tls={on|off}
Enable/disable fast thread local storage. Disable this option when
virtual machines or WineX fail to work properly.
--sb, --signal-block={on|off}
Enable/disable signal blocking. Disable this option when debugging a
multi-threaded OpenGL application.
--iagp, --internal-agp={on|off}
Enable/disable internal AGP gart. Enable this option to use the ATI
AGP GART module. Disable it to use the module included with the Linux
kernel. Changing this option may help resolve display-related issues.
--agpl, --agp-locked-userpages={on|off}
Enable/disable AGP locked user pages. Disable this option if the system
hangs when running fgl_glxgears.
--gcpu, --generic-cpu={on|off}
Enable/disable generic CPU. Use this option if the CPU is being
reported improperly. For example: If you have an AMD cpu that is
being reported as Intel.

Miscellaneous Options:
-v, --verbose
Show what aticonfig is doing.
-q, --quiet
Disable all information output except for errors.
--effective={now,startup}
Choose when the requested changes should take effect.
now: Immediately. This change will affect the running X
session if applicable. Only 'set-powerstate' and
'overlay-on' are applicable for now.
startup: On future X server startups. This change will modify the
X server configuration file if applicable.
The default is 'now,startup', i.e., do both as applicable.
-i, --input=FILE
Select a FILE to input as the configuration file. Set FILE to '-' to
pipe from standard input. Without this option, aticonfig will search
/etc/X11 for the default configuration file.
-o, --output=FILE
Select a FILE to output the new configuration file to. Set FILE to '-'
to print to standard output. Without this option, aticonfig will
replace the input file with the newly generated file.
-h, --help
Display this help screen.
-f, --force
Only valid with 'initial' option. Force aticonfig to generate default
Monitor, Device, and Screen sections even if the original configuration
file has invalid settings in these sections.

Examples:
1. Setting up fglrx for the first time.
Single head : aticonfig --initial --input=/etc/X11/xorg.conf
Dual head : aticonfig --initial=dual-head --screen-layout=above
This command will generate a dual head configuration
file with the second screen located above the first
screen.
2. Setting up big desktop to horizontal and set overlay on secondary display.
aticonfig --dtop=horizontal --overlay-on=1
3. Setting up modes for primary display.
aticonfig --resolution=1600x1200,1280x1024,1024x768
4. Force primary CRT on and TV-out off.
aticonfig --force-monitor=crt1,notv


I think you can try the below,

[root@localhost ~]# aticonfig --initial --input=/etc/X11/xorg.conf
( I think this will setup the modification which file will be saved in)
aticonfig --hsync=Low-High (Please replace Low-High will value of 22' LCD spec)
aticonfig --vrefresh=Low-High
aticonfig --resolution=1680x1050, 1280x1024, 1024x768 (and so on)

Restart the computer.
If the installation is sucessful, you can run glxinfo in the terminal and the message
appear,

...
direct rendering: Yes
...
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Display adaptor version number
OpenGL version string: OpenGL version numbe
..........

Good luck for you!
 

    asueee0

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top