Re: X woes - can't set the correct resolution no matter what...

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

 



On 7/24/07, Valent Turkovic <valent.turkovic@xxxxxxxxx> wrote:
> On 7/23/07, Phil Meyer <pmeyer@xxxxxxxxxxxxxxxx> wrote:
> > Valent Turkovic wrote:
> > > On 7/12/07, Phil Meyer <pmeyer@xxxxxxxxxxxxxxxx> wrote:
> > >
> > >> Valent Turkovic wrote:
> > >>
> > >>> Hi.
> > >>>
> > >>> I have Fedora Core 6 and by default it choose i810 driver for X for my
> > >>> Intel 915 chip.
> > >>> With i810 driver I had no problem using only my laptop screen - but when
> > >>> I connected external 19" screen all hell broke loose :) to be a bit
> > >>> poetic. or more to the point:
> > >>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238747
> > >>>
> > >>> In my comment #8 you can see that I changed to intel driver, but even
> > >>> that still doesn't work like I expect.
> > >>>
> > >>> I need my external monitor running at it's full resolution of
> > >>> 1280x1024 and desktop also at that resolution. I got desktop running
> > >>> with 1280x1024 but only on a 1024x768 screen resolution
> > >>>
> > >> It is probably not the driver, but your external monitor that has a problem.
> > >>
> > >> One of the things that most of the current video drivers do is ask the
> > >> monitor for its EDID.  In this data, the monitor reports its max
> > >> Horizontal avd Vertical scan rates.  Look in /var/log/Xorg.0.log for
> > >> EDID.  Here is an example:
> > >>
> > >> (II) VESA(0): Year: 2006  Week: 0
> > >> (II) VESA(0): EDID Version: 1.3
> > >> (II) VESA(0): Digital Display Input
> > >> (II) VESA(0): Max H-Image Size [cm]: horiz.: 37  vert.: 23
> > >> (II) VESA(0): Gamma: 2.20
> > >> (II) VESA(0): No DPMS capabilities specified; RGB/Color Display
> > >> (II) VESA(0): First detailed timing is preferred mode
> > >> (II) VESA(0): redX: 0.614 redY: 0.353   greenX: 0.321 greenY: 0.561
> > >> (II) VESA(0): blueX: 0.152 blueY: 0.124   whiteX: 0.313 whiteY: 0.329
> > >> (II) VESA(0): Manufacturer's mask: 0
> > >> (II) VESA(0): Supported additional Video Mode:
> > >> (II) VESA(0): clock: 162.0 MHz   Image Size:  367 x 230 mm
> > >> (II) VESA(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end
> > >> 2160 h_border: 0
> > >> (II) VESA(0): v_active: 1200  v_sync: 1201  v_sync_end 1204 v_blanking:
> > >> 1250 v_border: 0
> > >>
> > >> If you scroll down through the log, you can see where all possible
> > >> resolutions are gone through and it may even tell you why it decided on
> > >> 1024x768.
> > >>
> > >> There are monitors that give bad data in the EDID (DDC).  For instance,
> > >> the old version of the DELL 24" display was .1 (yes point 1) off, and
> > >> therefore by default no driver would go above 1600x1200.  With that
> > >> monitor it was necessary to tell the video driver to ignore the EDID
> > >> data and simply do what was asked. :)
> > >>
> > >> Here is how that is done:
> > >>
> > >> Add values to the Monitor section that are at least capable of the
> > >> resolution you need.
> > >>
> > >> Section "Monitor"
> > >> ...
> > >>         HorizSync    31.5 - 90.0
> > >>         VertRefresh  60.0 - 60.0
> > >> ...
> > >>
> > >> Now, in the screen section, tell it to ignore that part of the the EDID.
> > >>
> > >> Section "Screen"
> > >> ...
> > >>         Option      "ModeValidation" "NoMaxPClkCheck"
> > >> ...
> > >>
> > >> Hope this may help ya.
> > >>
> > >> Good luck!
> > >>
> > >
> > > Thank you very much! I will try this out as soon as I get to work on monday.
> > > Few days ago I tried something else; I switched from i810 to intel
> > > driver in Xorg.conf and now when I boot up my laptop I get 1024x768 on
> > > both my 15" laptop screen and external 19" Samsung LCD.
> > >
> > > How can I setup so that I have my laptop running at 1024x768 and my
> > > Samsung running at 1280x1024 resolution?
> > >
> > > I would like to make external screen my default desktop when both of
> > > them are attached but when I boot with only laptop screen then I would
> > > (obviously) like that my laptop screen doesn't freak out and that it
> > > know that it is now the main screen.
> > >
> > > It this possible?
> > >
> > >
> >
> > Most laptops have a CRT/LCD tag on a function key.
> >
> > For example, on mine it is on F8.
> >
> > I can connect an external monitor before turning on the laptop.
> >
> > As soon as the Grub menu shows, press FN and F8 together.  This switches
> > the video to the external monitor.  I simply close the lid on the laptop
> > and ignore it for that that session, because I also have it connected to
> > an external USB keyboard and mouse.
> >
> > When X Windows starts, it sees the external monitor only, and will try
> > to adjust to the max resolution supported by the video card and
> > monitor.  You shouldn't have to do anything.
> >
> > After X Windows is running, the FN combination keys are grabbed by X and
> > are not defined the same, so you have to do the 'switch' before X starts.
> >
> >
> > Good Luck!
> >
>
> Hi I still ZERO success even with your great tips.
>
> I have IBM Thinkpad R52 and with external monitor connected on boot I
> have grub only on external LCD. But during the boot internal LCD on
> laptop also goes on and when I'm presented GDM to login to my Fedora
> Core 6 I have picture on both monitors.
>
> I tied your tips and pressing FN-F7 twice so that I get grub only on
> laptop and then again only on external LCD and then closing the lid (I
> have wireless USB keyboard)... but that still didn't work!
>
> I have this xorg.conf file:
>
> # cat /etc/X11/xorg.conf
>         # Xorg configuration created by system-config-display
>
> Section "ServerLayout"
>         Identifier     "single head configuration"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Keyboard0" "CoreKeyboard"
>         InputDevice    "Synaptics" "CorePointer"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
>         Option      "XkbModel" "pc105"
>         Option      "XkbLayout" "hr"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Synaptics"
>         Driver      "synaptics"
>         Option      "Device" "/dev/input/mice"
>         Option      "Protocol" "auto-dev"
>         Option      "Emulate3Buttons" "yes"
> EndSection
>
> Section "Monitor"
>
>  ### Comment all HorizSync and VertSync values to use DDC:
>         Identifier   "Monitor0"
>         ModelName    "LCD Panel 1280x1024"
>  ### Comment all HorizSync and VertSync values to use DDC:
>         HorizSync    30.0 - 81.0
>         VertRefresh  56.0 - 75.0
>         Option      "dpms"
> EndSection
>
> Section "Device"
>         Identifier  "Videocard0"
>         Driver      "intel"
> EndSection
>
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Videocard0"
>         Monitor    "Monitor0"
>         DefaultDepth     24
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     24
>                 Modes    "1024x768" "800x600" "640x480"
> #               Modes    "1280x800" "1152x864" "1152x768" "1024x768" "800x600"
>         Option      "ModeValidation" "NoMaxPClkCheck"
>         EndSubSection
>
>
>
> and If I enable "1280x800" mode I get desktop of 1280x800 but I get
> resolution of 1024x768 and I can pan around the bigger desktop...
> really not what I had in mind :)
>
> Do you please have any others ideas?
>
> Thank you again.
>


Success! I couldn't have done it without your help Phil.

I just needed to turn on my brain :)

Samsung 940N doesn't support "1280x800" mode but "1280x1024" - I have
"1280x800" on my home laptop and that made me type it... I didn't turn
on my brain :)

I also found a bug in "intel" driver - on every X restart it
initializes both displaye - internal one and external one. I switched
back to "i810" driver which only leaves turner one the one I choose
with pressing FN-F8.

Thank you once more...

-- 
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241
Skype: valent.turkovic

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux