LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot get higher screen resolution (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-get-higher-screen-resolution-755517/)

ash_zz_00 09-15-2009 10:33 PM

Cannot get higher screen resolution
 
Hi,
Running Slackware 12.2, KDE on HP dv6t notebook.

The highest resolution I get is 1024x768 though it supports 1366x768. When I startx the following is in my Xorg.0.log.

Code:


(II) VESA(0): Supported additional Video Mode:
(II) VESA(0): clock: 72.3 MHz  Image Size:  353 x 198 mm
(II) VESA(0): h_active: 1366  h_sync: 1414  h_sync_end 1446 h_blank_end 1526 h_border: 0
(II) VESA(0): v_active: 768  v_sync: 770  v_sync_end 775 v_blanking: 790 v_border: 0
(II) VESA(0):  SAMSUNG
(II) VESA(0):  160AT02-H02
(II) VESA(0): EDID (in hex):
(II) VESA(0):        00ffffffffffff004ca34c3500000000
(II) VESA(0):        00120103802314780a87f594574f8c27
(II) VESA(0):        27505400000001010101010101010101
(II) VESA(0):        010101010101411c56a0500016303020
(II) VESA(0):        250061c6100000190000000f00000000
(II) VESA(0):        00000000001eb4027400000000fe0053
(II) VESA(0):        414d53554e470a2020202020000000fe
(II) VESA(0):        00313630415430322d4830320a2000ab
(II) VESA(0): EDID vendor "SEC", prod id 13644
(II) VESA(0): Printing DDC gathered Modelines:
(II) VESA(0): Modeline "1366x768"x0.0  72.33  1366 1414 1446 1526  768 770 775 790 -hsync -vsync (47.4 kHz)

So I added the following ModeLine into my xorg.conf.
Code:

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync  31.5 - 64.3

#    HorizSync        30-64        # multisync
#    HorizSync        31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync        15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-100

    ModeLine "1366x768"  72.33  1366 1414 1446 1526  768 770 775 790
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier        "Standard VGA"
    VendorName        "Unknown"
    BoardName        "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset        "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver    "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam        256

#    Clocks        25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "* Generic VESA compatible"
    Driver      "vesa"
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "* Generic VESA compatible"
    Monitor    "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth      8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes      "1366x768" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

However, startx fails to load the "1366x768" mode. The log shows the following.

Code:

(II) VESA(0): Total Memory: 1023 64KB banks (65472kB)
(II) VESA(0): My Monitor: Using hsync range of 31.50-64.30 kHz
(II) VESA(0): My Monitor: Using vrefresh range of 50.00-100.00 Hz
(II) VESA(0): Not using mode "1366x768" (no mode of this name)
(--) VESA(0): Virtual size is 1024x768 (pitch 1024)
(**) VESA(0): *Built-in mode "1024x768"
(**) VESA(0): *Built-in mode "800x600"
(**) VESA(0): *Built-in mode "640x480"

Another thread suggested not to add the ModeLine at all. This didn't work too. I got the same error "no mode of this name"

Any suggestions?
Also, I'm using a generic "vesa" driver, could that be a problem?

Thanks in advance,

Ash.

lutusp 09-16-2009 01:31 AM

Quote:

Originally Posted by ash_zz_00 (Post 3684467)
Hi,
Running Slackware 12.2, KDE on HP dv6t notebook.

The highest resolution I get is 1024x768 though it supports 1366x768. When I startx the following is in my Xorg.0.log.

[code]
(II) VESA(0): Supported additional Video Mode:

[ snip ]

Also, I'm using a generic "vesa" driver, could that be a problem?

Thanks in advance,

Ash.

Yes, the fact that you are using the VESA driver is most likely the problem. The VESA driver can only manage a small number of generic modes, not the full set of which your adaptor of capable. Acquire and install a driver suitable to your video adaptor.

ash_zz_00 09-16-2009 05:23 PM

It was the driver indeed. I changed the driver to "intel" and it worked like a charm.

Thank you very much!

Regards,

Ash.


All times are GMT -5. The time now is 07:46 PM.