Page 1 of 1

notebook external display resolution issue

PostPosted: Jun 1st, '12, 23:07
by keturi
I have Mageia 2 on my notebook and on System Setings>Display and Monitor notebook's display (LVDS1) auto resolution (size) is 1400x1050 (proper) and external display (VGA1) max resolution is 1024x768, but it should be 1366x768. What can i do about it? (I'm using KDE and xrandr is instaled)

Re: notebook external display resolution issue

PostPosted: Jun 2nd, '12, 17:11
by doktor5000
Which graphics card and which driver are you using?Please show the output of
Code: Select all
grep -i driver /var/log/Xorg.0.log
and
Code: Select all
grep -A5 -i -e "mode " -e "modes" /var/log/Xorg.0.log
and please post the contents of
Code: Select all
/etc/X11/xorg.conf
and please use code-tags for both, as explained in this video: ftp://ftp.mandrivauser.de/rpm/rpm/extra ... e_tags.ogv

Re: notebook external display resolution issue

PostPosted: Jun 2nd, '12, 20:07
by keturi
Code: Select all
[    31.217]    X.Org Video Driver: 11.0
[    31.217]    X.Org XInput driver : 13.0
[    31.275] (II) Loading /usr/lib/xorg/modules/drivers/v4l_drv.so
[    31.290]    ABI class: X.Org Video Driver, version 11.0
[    31.429] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    31.494]    Module class: X.Org Video Driver
[    31.494]    ABI class: X.Org Video Driver, version 11.0
[    31.494] (II) v4l driver for Video4Linux
[    31.494] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
[    31.499] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    31.652] (II) intel(0): [DRI2]   DRI driver: i915
[    31.684] (II) UXA(0): Driver registered support for the following operations:
[    34.196]    Module class: X.Org XInput Driver
[    34.196]    ABI class: X.Org XInput driver, version 13.0
[    34.196] (II) Using input driver 'evdev' for 'Power Button'
[    34.277] (II) Using input driver 'evdev' for 'Video Bus'
[    34.279] (II) No input driver specified, ignoring this device.
[    34.280] (II) Using input driver 'evdev' for 'Sleep Button'
[    34.281] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    34.300]    Module class: X.Org XInput Driver
[    34.300]    ABI class: X.Org XInput driver, version 13.0
[    34.300] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'




Code: Select all
[    31.559] (II) intel(0): Not using mode "768x576" (vrefresh out of range)
[    31.559] (II) intel(0): Not using mode "768x576" (vrefresh out of range)
[    31.559] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[    31.559] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[    31.559] (II) intel(0): Printing probed modes for output LVDS1
[    31.559] (II) intel(0): Modeline "1400x1050"x61.8  108.00  1400 1448 1560 1640  1050 1051 1054 1065 -hsync -vsync (65.9 kHz)
[    31.559] (II) intel(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz)
[    31.559] (II) intel(0): Modeline "1400x1050"x61.8  108.00  1400 1448 1560 1640  1050 1051 1054 1065 -hsync -vsync (65.9 kHz)
[    31.559] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    31.559] (II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
--
[    31.589] (II) intel(0): Printing probed modes for output VGA1
[    31.589] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    31.589] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    31.589] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    31.589] (II) intel(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz)
[    31.589] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz)
--
[    31.629] (II) intel(0): Using fuzzy aspect match for initial modes
[    31.629] (II) intel(0): Output LVDS1 using initial mode 1024x768
[    31.629] (II) intel(0): Output VGA1 using initial mode 1024x768
[    31.629] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    31.629] (II) intel(0): Kernel page flipping support detected, enabling
[    31.629] (**) intel(0): Display dimensions: (300, 230) mm
[    31.629] (**) intel(0): DPI set to (86, 84)
[    31.629] (II) Loading sub module "fb"



/etc/X11/xorg.conf
bash: /etc/X11/xorg.conf: Permission denied

Re: notebook external display resolution issue

PostPosted: Jun 3rd, '12, 19:25
by doktor5000
keturi wrote:
Code: Select all
[    31.559] (II) intel(0): Printing probed modes for output LVDS1
[    31.559] (II) intel(0): Modeline "1400x1050"x61.8  108.00  1400 1448 1560 1640  1050 1051 1054 1065 -hsync -vsync (65.9 kHz)
[    31.559] (II) intel(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz)
[    31.559] (II) intel(0): Modeline "1400x1050"x61.8  108.00  1400 1448 1560 1640  1050 1051 1054 1065 -hsync -vsync (65.9 kHz)
[    31.559] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    31.559] (II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
--
[    31.589] (II) intel(0): Printing probed modes for output VGA1
[    31.589] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    31.589] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    31.589] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    31.589] (II) intel(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz)
[    31.589] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz)
--
[    31.629] (II) intel(0): Using fuzzy aspect match for initial modes
[    31.629] (II) intel(0): Output LVDS1 using initial mode 1024x768
[    31.629] (II) intel(0): Output VGA1 using initial mode 1024x768


Seems it's using only 1024:786 initially, but you should be able to switch that, and you should be able to select up to 1400x1050 for your internal laptop display.
Just try to run krandrtray and set another resolution, does that work?


keturi wrote: /etc/X11/xorg.conf
bash: /etc/X11/xorg.conf: Permission denied

You weren't meant to try to execute that, but post the contents of that file. Sorry for being unclear about or causing confusion.
Please show the output of
Code: Select all
cat /etc/X11/xorg.conf

Re: notebook external display resolution issue

PostPosted: Jun 4th, '12, 12:24
by keturi
Code: Select all
# 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 ""
    HorizSync 28.8-73
    VertRefresh 40-69
   
    # Monitor preferred modeline (61.8 Hz vsync, 65.9 kHz hsync, ratio 4/3, 116 dpi)
    ModeLine "1400x1050" 108 1400 1448 1560 1640 1050 1051 1054 1065 -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
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"
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection

Re: notebook external display resolution issue

PostPosted: Jun 4th, '12, 12:48
by keturi
With internal display everything is ok, i can not be able to set proper external display resolution, max seting in krandrtray is 1024:786 and it should be 1366x768.

Re: notebook external display resolution issue

PostPosted: Jun 4th, '12, 12:57
by mikala
You can not set a correct resolution because according to xorg you can only get a Modeline "1024x768"x60.0 on your external display (according to your xorg log).
So you'll have to enter a specific modeline for your vga output in the xorg.conf to get the correct resolution.

(& yes i don't know how to wrote this modeline but it should do the trick :p )

Re: notebook external display resolution issue

PostPosted: Jun 6th, '12, 18:28
by keturi
Anyone know how to do that trick? How corerectly change a modeline?

Re: notebook external display resolution issue

PostPosted: Jun 6th, '12, 18:46
by maat
you can use xrandr to define dynamically those parameters

you can use man xrandr (there are examples at the end of the manfile)