LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2009, 10:33 PM   #1
ash_zz_00
Member
 
Registered: Aug 2009
Distribution: Slackware 13.0
Posts: 66

Rep: Reputation: 17
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.
 
Old 09-16-2009, 01:31 AM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by ash_zz_00 View Post
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.
 
Old 09-16-2009, 05:23 PM   #3
ash_zz_00
Member
 
Registered: Aug 2009
Distribution: Slackware 13.0
Posts: 66

Original Poster
Rep: Reputation: 17
It was the driver indeed. I changed the driver to "intel" and it worked like a charm.

Thank you very much!

Regards,

Ash.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
screen resolution, how to get higher, RHE5 me99 Linux - Hardware 8 01-22-2008 05:28 AM
Trying to get higher resolution jonlake Linux - Hardware 4 04-14-2007 01:04 PM
Having trouble getting a higher screen resolution WickedAwsome Linux - Newbie 7 03-14-2007 01:06 AM
Why can't you get a higher screen resolution than 800x600 on SUSE? yekrahs SUSE / openSUSE 11 02-09-2006 04:58 PM
Higher screen resolution in Slackware agaspar Linux - Newbie 15 08-11-2004 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration