This is the old SliTaz forum - Please use the main forum.slitaz.org

Xvesa higher resolutions? Screen resolution problem
  • HazemHazem April 2010
    Hi

    I recently got an ASUS Laptop with an ATI Mobility Radeon HD 5470 1GB graphics card.

    I searched a lot for a fully functional linux distro that boots in less than 25 seconds. I tested many distros on Virtual Box, including Slitaz. After installing it inside Virtual Box, it could boot from GRUB to Desktop in 11 seconds only, which is awesome!

    Anyway, I downloaded the latest Slitaz 3 iso image and burned it on a CD. Then, I booted from the CD but it did not work [fatal error because it could not detect any screen]. It seemed that the problem was caused by Xorg, so I downloaded the Xvesa flavor, and it worked.

    However, when I got the choice to choose a resolution, the maximum resolution I could get was 1024x768. My laptop has a wide 14" screen, and on this resolution, everything looks wider than it should, and text is not very clear.

    I tried booting with this option:
    slitaz screen=auto

    but it did not work, so I tried:
    slitaz screen = 1360x768x24
    this did not work too.

    I tried using the Hardware detection tool in Slitaz, and it downloaded many files, including ATI Catalyst control center. But it said it could not detect any supported adapter :(

    I would like to be able to get 1360x768 resolution on my laptop on Xvesa, or get my laptop to be able to work with Xorg.

    Thanks,
  • mojomojo April 2010
    The only XVESA resolution greater than 1024x768 is 1280x1024
    My 21" LCD which is 1440x900 is too small to display 1280x1024 so I don't think a 14" laptop will.
    Your only hope is xorg with an ATI driver for a resolution greater than 1024x768
    The current non open source driver does not support the ATI Mobility Radeon HD 5470 ie. no supported adapter error.

    Discussed here : http://swiss.ubuntuforums.org/showthread.php?t=1430357

    Try slitaz-3.0(xorg) with xorg-xf86-video-ati-6.6.2.tazpkg

    Put xorg-xf86-video-ati-6.6.2.tazpkg on a USB stick, install from the console as root. Edit /etc/X11/xorg.conf and replace Driver "vesa" with "ati". Restart the Xserver with command slim. Hopefully the driver will provide enough auto detection to start Xserver without further tweaking.

    Good luck
  • HazemHazem April 2010
    Hi

    you said:
    "
    Try slitaz-3.0(xorg) with xorg-xf86-video-ati-6.6.2.tazpkg

    Put xorg-xf86-video-ati-6.6.2.tazpkg on a USB stick, install from the console as root. Edit /etc/X11/xorg.conf and replace Driver "vesa" with "ati". Restart the Xserver with command slim. Hopefully the driver will provide enough auto detection to start Xserver without further tweaking.
    "
    Thanks for posting this solution, but the problem is that I'm a Linux newbie. I don't know how to do the following:
    - "install from the console as root" : what command do I need to use in order to do this?
    - Edit /etc/X11/xorg.conf and replace Driver "vesa" with "ati" : How do I do this?
    - Restart the Xserver with command slim. : How do I do this one too ? :D

    I'm sorry about this, but I'm still very new to Linux, especially Slitaz.

    Thanks again,
  • seawolfseawolf April 2010
    This can all be found in the documentation, the handbook and other forum posts.
    Google: slitaz packages -- it's the first hit.
    Google: editing text files in linux command line -- i'd bet it's on the first page.

    Terminal:
    tazpkg get xorg-xf86-video-ati
    Copy to usb stick.
    Alternatively, go find it on the mirror.

    Terminal:
    su (password: root)
    tazpkg install xorg-xf86-video-ati-6.6.2.tazpkg
    nano /etc/X11/xorg.conf

    Find the line that reads
    Driver "vesa"
    and replace it with
    Driver "ati"

    Either logout, or restart. The graphics server starts each time the login screen is shown.
  • HazemHazem April 2010
    Thank you for helping.

    I asked about the specific commands because I thought some of them are Slitaz-specific, I'm gonna try them as soon as possible.

    Thanks again :)
  • HazemHazem April 2010
    Hi

    I did the following:
    - Got the latest version of the package you told me about
    - installed it and made sure it was installed
    - edited Xorg.conf and changed 'vesa' to 'ati'
    - started Slim, and my screen could not be detected
    - startx, same problem

    I managed to get the xorg.conf file:
    ================================================
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection

    Section "Files"
    ModulePath "/usr/lib/X11/modules"
    FontPath "/usr/share/fonts/X11/misc/"
    FontPath "/usr/share/fonts/X11/TTF/"
    FontPath "/usr/share/fonts/X11/OTF"
    FontPath "/usr/share/fonts/X11/Type1/"
    FontPath "/usr/share/fonts/X11/100dpi/"
    FontPath "/usr/share/fonts/X11/75dpi/"
    EndSection

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

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbLayout" "uk"
    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: : integer, : float, : "True"/"False",
    ### : "String", : " Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "ShadowFB" # []
    #Option "DefaultRefresh" # []
    #Option "ModeSetClearScreen" # []
    Identifier "Card0"
    Driver "ati"
    VendorName "Unknown Vendor"
    BoardName "Unknown Board"
    BusID "PCI:1:0: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"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    =============================================
    Although it did not work, I learned many things in the process [ I learned how to use 'cp' command :D ]
    Anyway, is there another way to solve this issue?
    Thanks

  • jozeejozee April 2010
    This mailing list thread may help: http://listengine.tuxfamily.org/lists.tuxfamily.org/slitaz/2010/03/msg00008.html
    Add the mode you want in modes sub-section
  • HazemHazem April 2010
    Hi

    thanks for the link

    Is there a possibility for future support for my VGA? I read that it is still new, that's why there are currently no available drivers for linux. If there is a possibility that it will be released some time soon, I think I can wait for it.

    Thanks

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social