LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   [Slackware & KDE]Change resolution (https://www.linuxquestions.org/questions/linux-newbie-8/%5Bslackware-and-kde%5Dchange-resolution-634232/)

xeross 04-09-2008 01:14 PM

[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

Tinkster 04-09-2008 01:27 PM

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

xeross 04-09-2008 01:52 PM

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


Tinkster 04-09-2008 02:28 PM

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

lspci


Cheers,
Tink

xeross 04-09-2008 02:38 PM

I have intel inegrated graphics.

Tinkster 04-09-2008 03:10 PM

Which version ...

xeross 04-09-2008 03:20 PM

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

Tinkster 04-09-2008 03:24 PM

Can you please post the output of lspci ?

xeross 04-09-2008 03:29 PM

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)


Tinkster 04-09-2008 04:03 PM

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

xeross 04-09-2008 04:15 PM

Ok, i used to use startx i just enabled runlevel 4

Tinkster 04-09-2008 04:52 PM

And the resolution?

xeross 04-10-2008 02:46 AM

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

Tinkster 04-10-2008 03:59 AM

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 ...

xeross 04-10-2008 05:06 AM

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 ?


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