LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-27-2010, 01:24 PM   #1
mr.simo
Member
 
Registered: Feb 2010
Posts: 78

Rep: Reputation: 0
REsolution Problem from 1024x768 going on


Hello everybody, I have a little problem on my Slackware 13 x86_64... I can't see the corrects resolutions from 1024x768 to less because I see black edges on both sides.. I changed a little bit the color depth, editing the modes in xorg.conf-vesa but nothing... It doesn't work correctly..

lspci | grep Graphics
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
xorg.conf-vesa
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 - 50.0

#    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 40-90

EndSection


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

# Any number of graphics device sections may be present

Section "Device"
	Identifier  "video"
	Driver      "intel"
	VideoRam    4096
	Option      "60"	# 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  "video"
	Device      "Intel Graphics Controller"
        Driver	    "intel"
	Monitor     "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
   DefaultDepth 16
#   DefaultDepth 24
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

#    Subsection "Display"
#        Depth       8
#        Modes "1024x640" "800x600" "640x480"
#    EndSubsection
     Subsection "Display"
        Depth       16
        Modes "1024x640" "800x600" "640x480"
	ViewPort 0 0
    EndSubsection
#    Subsection "Display"
#        Depth       24
#        Modes "1024x768" "800x600" "640x480"
#    EndSubsection
#    Subsection "Display"
#        Depth       32
#        Modes "1024x768" "800x600" "640x480"
#    EndSubsection

EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
Here I changed from 24 to 16 depth color, added "Driver "intel" " in Screen Section and changed from <Driver "vesa"> to <Driver "intel"> this because the system seem to use Vesa drivers, wich other distros never used this and all worked fine..

And here is my xorg.conf
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/local"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/CID"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
	Load  "dri2"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "dbe"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Unknown Vendor"
	BoardName   "Unknown Board"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
        Depth       16
        ViewPort    0 0
	EndSubSection
	SubSection "Display"
        Depth       24
        ViewPort    0 0
	EndSubSection
EndSection
Really, I don't know how I can fix this problem... Anyone have some suggestion?
Thank you for your helps..
Simon
 
Old 02-27-2010, 02:30 PM   #2
mr.simo
Member
 
Registered: Feb 2010
Posts: 78

Original Poster
Rep: Reputation: 0
I also tried installing 915resolution but
Code:
bash-3.1# 915resolution 38 1024 768 16
bash: /usr/sbin/915resolution: No such file or directory
seems it doesn't work..

Last edited by mr.simo; 02-27-2010 at 02:35 PM.
 
Old 02-27-2010, 02:41 PM   #3
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

seems 915resolution is not installed in the place you are looking for.

Try
Code:
locate 915resolution
.
 
Old 02-27-2010, 02:52 PM   #4
mr.simo
Member
 
Registered: Feb 2010
Posts: 78

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mesiol View Post
Hi,

seems 915resolution is not installed in the place you are looking for.

Try
Code:
locate 915resolution
.
There is some problem, I suppose...
Code:
bash-3.1# tar -zxvf 915resolution-0.5.3.tar.gz
915resolution-0.5.3/
915resolution-0.5.3/Makefile
915resolution-0.5.3/915resolution.c
915resolution-0.5.3/915resolution.o
915resolution-0.5.3/chipset_info.txt
915resolution-0.5.3/dump_bios
915resolution-0.5.3/915resolution
915resolution-0.5.3/LICENSE.txt
915resolution-0.5.3/README.txt
915resolution-0.5.3/changes.log
bash-3.1# ls
915resolution-0.5.3	    linux-2.6.32.tar.bz2  xf86-video-intel-2.9.1.tar.gz
915resolution-0.5.3.tar.gz  slax-6.1.2.iso
bash-3.1# cd 915*
bash-3.1# ls
915resolution	 915resolution.o  Makefile    changes.log	dump_bios
915resolution.c  LICENSE.txt	  README.txt  chipset_info.txt
bash-3.1# make
make: `915resolution' is up to date.
bash-3.1# locate 915resolution
locate: fatal error: Could not find user database '/var/lib/slocate/slocate.db':  No such file or directory
bash-3.1# ls /usr/sbin
915resolution	    ifmpaprev	       papd		  sm-notify
... ... ...
 
Old 02-28-2010, 01:27 AM   #5
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

did you run
Code:
make install
after compiling 915resolution?

You can also run the command from inside your build directory by typing
Code:
./915resolution
.
 
Old 02-28-2010, 02:20 AM   #6
mr.simo
Member
 
Registered: Feb 2010
Posts: 78

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mesiol View Post
Hi,

did you run
Code:
make install
after compiling 915resolution?

You can also run the command from inside your build directory by typing
Code:
./915resolution
.
No, I din't make install, but I tried to execute, but all the outputs I received were: No such file or directory... Bump... I searched a lot of thing, but it seems that this kernel is not the best for my video.. I had the same problems with the default kernel of Ubuntu 9.04, wich is the same: 2.6.29. I also checked for the lasts intel drivers and the site suggest to have at least =< 2.6.32 kernel...
I tried to compile, but not everything worked out.. Seem the last resorse I have is to have a 2.6.27 kernel, wich is the best that always worked well with all my hardware and slack 12.2 came with it default.. So, I installed that and everything works fine... Thank you for your helps..
Best Regards.
 
Old 02-28-2010, 02:46 AM   #7
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

so your resolution issue is fixed?
 
Old 02-28-2010, 02:49 AM   #8
mr.simo
Member
 
Registered: Feb 2010
Posts: 78

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mesiol View Post
Hi,

so your resolution issue is fixed?
Yes, but not with Slack 13... This type of xorg version have a some kind of "poison" for my Video Hardware....
Because for example, with Ubuntu 8.10 & 9.10 the resolution is ok, just like I want.. with 9.04 it doesn't.. As I told, this last & Slack 13, both have the same kernel.

Last edited by mr.simo; 04-01-2010 at 10:33 PM.
 
  


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
Resolution Problem: login screen 1680x1050 gnome 1024x768 on fc6 jungle Linux - Software 7 02-01-2010 02:18 PM
1024x768 resolution isn't available, and should be newbiesforever Linux - General 3 03-07-2009 12:41 AM
Resolution won't go above 1024x768 Raccoon1400 Slackware 6 05-24-2008 09:45 AM
No 1024x768 resolution and root access problem dave`2005 Ubuntu 1 11-15-2007 06:47 AM
resolution 1024x768 hraposo Fedora 2 08-09-2006 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:58 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