[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Forcing monitor resolutions



Hello Kai and list, 

I did a version for this,
the rules from 
http://wiki.debian.org/XStrikeForce/HowToRandR12 section III.5
are not very severe, I have discarded all of them,

in my version the file xorg.conf is generated by nvidia-xconfig,
and the xrandr command is run when starting the X server.

Attached are the working files for xorg.conf and 21xvideomode.

That can require some more tests, initially works,

Regards,

Jordi Pujol


El Friday 08 August 2008 10:10:12 Kai Hendry va escriure:
> so for e.g. a xvideomode=800x600
>
> gets translated to: (perhaps we need an extra param for the refresh,
> e.g. 800x600x75)
>
> x61:~% gtf 800 600 75
>
>   # 800x600 @ 75.00 Hz (GTF) hsync: 47.02 kHz; pclk: 48.91 MHz
>   Modeline "800x600_75.00"  48.91  800 840 920 1040  600 601 604 627
> -HSync +Vsync
>
> And then inserted into the /etc/X11/xorg.conf
>
> Section "Monitor"
>     Identifier  "Configured Monitor"
> ##HERE##
> EndSection
>
>
> Bit busy today, though I'll work on a patch if I get time.
>
> ---------- Forwarded message ----------
> From: Brice Goglin <Brice.Goglin at ens-lyon.org>
> Date: Thu, Aug 7, 2008 at 11:35 PM
> Subject: Re: Forcing monitor resolutions
> To: Kai Hendry <hendry at iki.fi>
> Cc: debian-x <debian-x at lists.debian.org>
>
> Kai Hendry wrote:
> > Currently debian live seems to use a 1:7.3+5 deprecated way of setting
> > the resolution:
> > http://git.debian.net/?p=live-initramfs.git;a=blob;f=scripts/live-bottom/
> >21xvidemode;h=a11dc77a47f5d70f610b380a9ad5bcedd1c427db;hb=HEAD#l41
> >
> > Use debconf from which dexconf generated the xorg.conf with the wanted
> > screen resolution.
> >
> >
> >
> > What's the current debian way of forcing a resolution before X starts?
>
> For RandR 1.2 drivers, you want to look at
> http://wiki.debian.org/XStrikeForce/HowToRandR12 section III.5
>
> Brice
>
> _______________________________________________
> debian-live-devel mailing list
> debian-live-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


-------------- next part --------------
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd at ninsei)  Tue Jun 24 18:08:05 UTC 2008

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard" "CoreKeyboard"
    InputDevice    "Configured Mouse" "CorePointer"
EndSection

Section "Module"
    Load           "vnc"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "es"
    Option         "XkbVariant" "cat"
    Option         "XkbOptions" "altwin:super_win"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
    Option         "NoLogo" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "UseEdid" "True"
    Option         "AllowDDCCI" "True"
    Option         "IncludeImplicitMetaModes" "True"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 21xvideomode
Type: application/x-shellscript
Size: 595 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20080809/16689a6c/attachment.bin 


Reply to: