Re: How to change resolution of the Monitor

2005-06-27 Thread Karthik Ramamoorthy
Hi Alex,

  xrandr is not working in my Dual Monitor Setup. Can u tell
me how to solve the problem.

its giving error
  Xlib: extension XRANDR missing display :0.0.

Karthik

On 6/25/05, Alexander Nagel [EMAIL PROTECTED] wrote:
 Try the xrandr extension. it works better for me than XF86VidMode.
 Or check out http://www.freedesktop.org/wiki/Software_2fxfullscreen
 if you want to work with XF86VidMode, but i never test it. Perhaps it's
 useful for you.
 greets
 Alex
 
 Karthik Ramamoorthy schrieb:
  Hi,
 
  Can any one tell me using which API i can chage the resolution of 
  Monitor.
 
  I found one ir XF86VidModeSwitchToMode but this API is nnot chainging
  resolution properly.
  My screen is going beyond the Monitor Surface area. I think its not
  altering my virtual resolution.
 
So is there any API to change the Screen Resolution as such or
  any API to change the virtual Resolution.
 
 
  Thanks  Regards
  Karthik
 
 ___
 Devel mailing list
 Devel@XFree86.Org
 http://XFree86.Org/mailman/listinfo/devel


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: How to change resolution of the Monitor

2005-06-27 Thread Alexander Nagel

Karthik Ramamoorthy schrieb:

Hi Alex,

  xrandr is not working in my Dual Monitor Setup. Can u tell
me how to solve the problem.

its giving error
  Xlib: extension XRANDR missing display :0.0.


Karthik



Hi Karthik,
i'm not an expert and you have an nvidia card and i use ati.
And i never worked with dualhead.

There's a fixed bug http://ati.cchtml.com/show_bug.cgi?id=3 for the ati 
driver.

Perhaps this is the reason for your non-working xrandr, too.
Change the line
Option omit xfree-dga
to
#   Option omit xfree-dga

This helped me before this bug was fixed.
Now i have fglrx 8.14.13 which is the latest driver.

My XF86Config-4 is attached.
I hope it helps
Good luck
Alex

# File: XF86Config-4
# File generated by fglrxconfig (C) ATI Technologies, a substitute for 
xf86config.

# Note by ATI: the below copyright notice is there for servicing possibly
# pending third party rights on the file format and the instance of this file.
#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the Software),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file.
# **

# **
# DRI Section
# **
Section dri
# Access to OpenGL ICD is allowed for all users:
Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#Group 100# users
#Mode 0660
EndSection

# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#
Section Module

# This loads the DBE extension module.
Loadextmod
Loaddbe   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  extmod
Option  omit xfree86-dga 
EndSubSection

# This loads the Type1 and FreeType font modules
Loadtype1
Loadfreetype

# This loads the GLX module
Loadglx   # libglx.a
Loaddri   # libdri.a

EndSection

# **
# Files section.  This allows default font and rgb paths to be set
# **

Section Files

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like .txt or .db).  There is normally
# no need to change the default.

RgbPath /usr/X11R6/lib/X11/rgb

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
# 

#FontPath   /usr/X11R6/lib/X11/fonts/local/
FontPath   /usr/X11R6/lib/X11/fonts/misc/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/Type1/
FontPath   /usr/X11R6/lib/X11/fonts/Speedo/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/

# The module search path.  The default path is shown here.

#ModulePath 

Re: How to change resolution of the Monitor

2005-06-25 Thread Alexander Nagel

Try the xrandr extension. it works better for me than XF86VidMode.
Or check out http://www.freedesktop.org/wiki/Software_2fxfullscreen
if you want to work with XF86VidMode, but i never test it. Perhaps it's 
useful for you.

greets
Alex

Karthik Ramamoorthy schrieb:

Hi,

Can any one tell me using which API i can chage the resolution of Monitor.

I found one ir XF86VidModeSwitchToMode but this API is nnot chainging
resolution properly.
My screen is going beyond the Monitor Surface area. I think its not
altering my virtual resolution.

  So is there any API to change the Screen Resolution as such or
any API to change the virtual Resolution.


Thanks  Regards
Karthik


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel