LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-09-2008, 01:14 PM   #1
xeross
Member
 
Registered: Apr 2008
Posts: 48

Rep: Reputation: 15
[Slackware & KDE]Change resolution


How do i change the resolution of kde in slackware, i already removed all resolutions except the correct one from xorg.conf but it still stays in 1024X768 while i want in 1280X1024
 
Old 04-09-2008, 01:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi,

welcome to LQ!

What driver is xorg choosing? Have a look at /var/log/Xorg.0.log
(and maybe the output of xdpyinfo).


Cheers,
Tink
 
Old 04-09-2008, 01:52 PM   #3
xeross
Member
 
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
Ok, here is the xorg.0.log file cus i dont know where to look for : http://www.mediafire.com/?z20a0lqiym8
And for the output of xdpyinfo u have to wait till i boot into slackware

Edit :
Here is the output of xdpyinfo
Code:
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    10300000
X.Org version: 1.3.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x1a00005, revert to PointerRoot
number of extensions:    29
    BIG-REQUESTS
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    GLX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RANDR
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XAccessControlExtension
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-Misc
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  print screen:    no
  dimensions:    1024x768 pixels (321x241 millimeters)
  resolution:    81x81 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x3e
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    1024x768
  current input event mask:    0xfa4031
    KeyPressMask             EnterWindowMask          LeaveWindowMask
    KeymapStateMask          StructureNotifyMask      SubstructureNotifyMask
    SubstructureRedirectMask FocusChangeMask          PropertyChangeMask
    ColormapChangeMask
  number of visuals:    4
  default visual id:  0x22
  visual:
    visual id:    0x22
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x23
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
root@Silvermoon:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
and the display part of xorg.conf

Code:
# **********************************************************************
# 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      "VESA Framebuffer"
    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       24
        Modes "1280X1024"
    EndSubsection

EndSection

Last edited by xeross; 04-09-2008 at 02:25 PM.
 
Old 04-09-2008, 02:28 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I think the VESA driver may actually not support the resolution
you chose. What graphics card have you got?

lspci


Cheers,
Tink
 
Old 04-09-2008, 02:38 PM   #5
xeross
Member
 
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
I have intel inegrated graphics.
 
Old 04-09-2008, 03:10 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Which version ...
 
Old 04-09-2008, 03:20 PM   #7
xeross
Member
 
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
Lemme see...
i think Intel Graphics Media Accelerator 900

http://h20000.www2.hp.com/bizsupport...tem=ir-51766-1
is the link to the windows driver
 
Old 04-09-2008, 03:24 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Can you please post the output of lspci ?
 
Old 04-09-2008, 03:29 PM   #9
xeross
Member
 
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
Code:
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
40:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
 
Old 04-09-2008, 04:03 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
OK, thanks ...

Now, how do you fire up X? Manually, via startx, or using runlevel 4?

Either way, I'd suggest the following steps:

Drop out of X
make a backup-copy of your xorg.conf (cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old)
run (as root): X -configure
still as root: X -config /root/xorg.conf.new
If that works with the desired resolution, copy it across to /etc/X11 ...



Cheers,
Tink
 
Old 04-09-2008, 04:15 PM   #11
xeross
Member
 
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
Ok, i used to use startx i just enabled runlevel 4
 
Old 04-09-2008, 04:52 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
And the resolution?
 
Old 04-10-2008, 02:46 AM   #13
xeross
Member
 
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
Ok, i tried the Xorg -configure, Xorg -config thing but when i do the Xorg -config thing it just launches kde with a black screen with a black cross in the center
 
Old 04-10-2008, 03:59 AM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That's the default X ... not KDE. You should still be able to see in
the log whether it picked a) the right driver in the end and b) [more
importantly!] whether it upped the resolution ...
 
Old 04-10-2008, 05:06 AM   #15
xeross
Member
 
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
It picked the vesa driver again and it showed 1024X768 @ 75HZ as highest video mode, ill go google for the correct drivers

Edit : It seems i have Intel® 915GV Express and i have found drivers for that, im now going to install em.

Edit 2 : I've installed them now what ?, i guess making a new config for Xorg again.

Edit 3 : Ok deleted the old config made new one edited for 1280X1024, it stays at vesa and 1024X768, so the log sais

Edit 4 : Ok, i compiled new drivers and used the old xorg.conf, changed driver from vesa to intel, i got it up to 1152X864 now but i want 1280X1024, so how can i achieve that now ?

Last edited by xeross; 04-10-2008 at 07:01 AM.
 
  


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
Can't Change Resolution (Kubuntu/KDE) RAdams Linux - Distributions 9 02-13-2018 07:47 AM
How can I change the screen resolution for KDE? ozymandias Linux - Newbie 13 11-11-2005 07:15 AM
Can't change screen resolution on Slackware 9.1... luptinpitman Slackware 5 05-01-2004 04:27 PM
resolution change in KDE SUSE 8 jfranks214 Linux - General 1 03-23-2004 10:03 PM
Mandrake 9.0 using KDE - How to Change Resolution catz423 Linux - General 1 11-02-2002 04:21 PM

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

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