LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   X screen resolution in Debian on a Pentium II (https://www.linuxquestions.org/questions/linux-desktop-74/x-screen-resolution-in-debian-on-a-pentium-ii-706529/)

felixllopart 02-21-2009 07:13 PM

X screen resolution in Debian on a Pentium II
 
Hello,
I have Debian installed in an old Pentium II with KDE 3.5. My screen resolution is 640x480 and I am unable to change it. According to xorg.conf I could change between various screen resolutions, I even erased the 640x480 one, but still xrandr gives me only that option.

With lspci I get this information about my graphics card:
Code:

01:00.0 VGA compatible controller: S3 Inc. Trio 64 3D (rev 01)
xrandr -q gives me this information (where I can see there is only one option for the screen resolution):
Code:

SZ:    Pixels          Physical      Refresh
*0    640 x 480    ( 163mm x 122mm )  *61
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none

And my xorg.conf file is as follows:
Code:

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"    "es"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"      "true"
EndSection

Section "Device"
        Identifier      "Targeta de vídeo genèrica"
        Driver          "vesa"
        BusID          "PCI:1:0:0"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Monitor genèric"
        Option          "DPMS"
        HorizSync      28-51
        VertRefresh    43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Targeta de vídeo genèrica"
        Monitor        "Monitor genèric"
        DefaultDepth    24
        SubSection "Display"
                Depth          1
                Modes          "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth          4
                Modes          "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth          8
                Modes          "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth          15
                Modes          "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth          16
                Modes          "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth          24
                Modes          "1024x768" "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

If someone can help me get a better resolution for the screen I would appreciate it. I can send you more information about the configuration of my computer if it is needed.
Thank you,

Fèlix

paulsm4 02-21-2009 11:40 PM

Hi -

The fact that you're using a Pentium II CPU or KDE desktop is irrelevant.

The key things are:

a) find the appropriate video driver (you have an S3)

b) Configure xorg.conf correctly
(you also need to make sure your monitor supports the higher resolution ... but, frankly, that shouldn't be much of a problem with any monitor made in the last 10++ years)

This link might help:

http://www.probo.com/timr/savage40.html

Find a compatible S3 driver to substitute for "vesa", and you should be golden!

Good luck!

felixllopart 02-22-2009 03:11 AM

Hello,

Thank you, I've changed the driver from "vesa" to "s3virge" and now I can enjoy a 1027x768 screen resolution. It was very useful.
Thanks again,

Fèlix


All times are GMT -5. The time now is 10:41 PM.