You are not logged in.
Pages: 1
Hello, I am not well versed in driver installation but did manage what I want help with in Ubuntu. I have a Fujitsu-Siemens Esprimo V5535 laptop which I am using as my playground for SliTaz. I am unable to modify the resolution to that which I desire as it relies on the presence of the SiS671 driver. I have a precompiled driver (.so) file that I used to use for Ubuntu. Would this be suitable for use with SliTaz? I also have a .la file (I'm not sure what it is used for) that Ubuntu required.
Ordinarily these files go here:
/usr/lib/xorg/modules/drivers
Now I've tried quite a few way to get this working but nothing seems to work. In fact at times the system seems to completly ignore my xorg.conf file settings. Other times the system won't launch into X, probably because of my bad settings.
I was wondering:
[1] Would I need to compile the driver on SliTaz or can I used the precompiled one I already have?
[2] If the answer to [1] is "Yes, I can use the precompiled driver", where do the .so and .la files need to go on SliTaz.
[3] Are there any special settings I need to use in order to get the xorg.conf file contents to be used?
If anyone can shed any light on this I'd be really grateful...better yet if someone has actually got the SiS671 driver working with SliTaz and can guide me through how to do it.
Thank you.
Offline
In case it helps anyone to understand what I have tried already please take a look at the following URL from where I got the precompiled driver from. This worked fine in Ubuntu but doesn't in SliTaz (obviously I adjusted the sudo commands according to the SliTaz way of su and so forth....just in case anyone thinks I tried to run it all verbatim).
http://ajoliveira.com/ajoliveira/uk/software/xorg.php
Offline
[1]No,as you can see there is a different driver download for each release of ubuntu.
Drivers have to be compiled in an environment that match's the system they will be installed on.
[2]Try the sis driver:
Boot to console,logon as root,password root while connected to internet.
#tazx
Choose: sis
After tazx downloads/installs/configures sis
Try to start X with slim login manager:
#slim
[3]If that doesn't work you may be able to configure xorg.conf.d files (slitaz-4)or xorg.conf (slitaz-3.0) to get a screen with the vesa driver.
http://doc.slitaz.org/en:guides:xorg-xvesa
Configuring X
Adding resolutions and modes
[4]Need more help give us output from these commands :
uname -a
lspci -nn
Offline
Thank you for posting back mojo. I wasn't sure how to boot into console so what I did was login as normal and kill the X Server process. I then followed you steps and was able to start X with slim login manager.
Here is the results of what you asked me for:
*** uname -a gives:
Linux V5535 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux
*** lspci -nn gives:
00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 671MX [1039:0671]
00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge) [1039:0003]
00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] [1039:0968] (rev 01)
00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 [IDE] [1039:5513] (rev 01)
00:03.0 USB controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)
00:03.1 USB controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)
00:03.3 USB controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0 Controller [1039:7002]
00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
00:05.0 IDE interface [0101]: Silicon Integrated Systems [SiS] SATA Controller / IDE mode [1039:1183] (rev 03)
00:06.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
00:07.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
00:0f.0 Audio device [0403]: Silicon Integrated Systems [SiS] Azalia Audio Controller [1039:7502]
00:1f.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:0004]
01:00.0 VGA compatible controller [0300]: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter [1039:6351] (rev 10)
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)
What does this tell us?
I will take a look at the link you included.
Also, running xrandr -q shows:
Screen 0: minimum 640 x 480, current 800 x 600, maximum 800 x 600
default connected 800x600+0+0 0mm x 0mm
800x600 61.0*
640x480 60.0
This is what I had before following your steps if that helps at all?
Thank in advance.
Offline
1.) Open a terminal (xterm) program.
2.) Type [c]su[/c] and press the enter/return key. Enter the root password and press the enter/return key. The default root password is the word [c]root[/c]
3.) Type [c]tazhw detect-pci[/c] and press the enter/return key.
3.) Make sure you're online then type [c]tazx[/c] and press the enter/return key.
4.) Select the [c]Install or Configure Xorg[/c] in the box that pops and click OK
5.) Allow it to finish downloading everything and pop up the options. Select [c]sis[/c] and click OK. Close the box after it's done downloading the drivers. Do not close the terminal window. We need it for the next steps.
6.) Back at the terminal type [c]wget http://www.trixarian.net/downloads/lxrandr.tazpkg[/c] and press the enter/return key. Wait until it's done downloading.
7.) Type [c]tazpkg install lxrandr.tazpkg[/c] and press the enter/return key.
8.) Go to Red Spider Menu---> Preferences---> Monitor Settings and select the resolution you want and click OK. You're done.
Yes, this is offensively simple. I made it so because people still get it wrong. If any step doesn't work for you, you didn't follow it to the letter 
Offline
Hello Trixar-za
So I followed the instructions you provided and in the terminal I see:
lxrandr (0.0.1) i installed.
I then went to Preferences > Monitor Settings and the only resolutions are (as before) 800*600 or 640*480 so this has not solved the problem for me unfortunately.
Thank you anyway.
I've attached my xorg.conf file (renamed to xorg.txt) in case anyone can see an error in it. I created the contents after looking at the link that mojo provided.
From the instructions I followed from mojo I managed to get a black screen with a large cross on it. But after restarting I have no other resolutions available apart from 800*600 and 640*480.
Interestingly when I ran tazhw detect-pci it gave the following:
Detected PCI devices Kernel modules
================================================================================
> Module in use: sis_agp
> Module in use: sis190
> Module in use: snd_hda_intel
> Module in use: ath5k
================================================================================
Does this tell us anything helpful?
Thank you in advance.
Offline
Hmm,it won't seem to let me upload my xorg.conf file.
No matter here it is:
*~*~*~*~*~*~*~*~*~
# You can put here your own Xorg configurations. This config file is read
# before all files in /etc/X11/xorg.conf.d and will NOT be erased by any
# updates.
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 28-72
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x768" "1024x768" "800x600"
"640x480"
EndSubSection
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/"
FontPath "/usr/share/fonts/truetype/ttf-dejavu"
EndSection
Offline
Did you ever run [c]tazx[/c] - It's kind of the critical step. I have a SiS630 chipset myself so I know. There is an alternative way to do it too. You have to install the [c]xorg-xf86-video-sis[/c] package using tazpkg ([c]tazpkg get-install xorg-xf86-video-sis[/c]), delete /etc/X11/xorg.conf and restarting the PC. Using [c]tazx[/c] is however better and the recommended way to do it.
Offline
@Trixar_za, yes I did run the tazx part. I even repeated my actions in case I had made a mistake but got the same issue.
I've sort of fixed this now. I re-read mojo's post and in it it is mentioned that SliTaz 4 uses xorg.conf.d and not xorg.conf. This is why my settings seemed to be being ignored. I copied the contents to 50-Monitor.conf within xorg.conf.d and now I have it almost pefect.
Here is my new 50-Monitor.conf file:
-------
# You can put here your own Xorg configurations. This config file is read
# before all files in /etc/X11/xorg.conf.d and will NOT be erased by any
# updates.
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 28-72
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x768" "1024x768" "800x600" "640x480"
EndSubSection
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/"
FontPath "/usr/share/fonts/truetype/ttf-dejavu"
EndSection
-------
The only issue I have now is that the display i slightly 'squashed' on the horizontal axis. I've tried tweaking the file contents but cannot seem to resolve it but it is a great improvement over the low resolution I had previously.
xrandr -q now shows:
Screen 0: minimum 640 x 480, current 1280 x 768, maximum 1280 x 768
default connected 1280x768+0+0 0mm x 0mm
1280x768 0.0*
1024x768 61.0
800x600 61.0
640x480 60.0
If anyone has any idea which part of the file I need to tweak to stop the horizontal axis looking a little squashed then I'd appreciate the help.
Thank you.
Offline
Here is a screenshot showing the horizontal axis being squashed. If it cannot be fixed I can tolerate it.
Offline
Why can I not upload *any* files?
Offline
Ahh the file is too big 
Offline
The info I requested is to identify the version of slitaz kernel and to identify your hardware.
I need to see Xorg.0.log to know which driver is active, resolutions,errors,etc..
#cat /var/log/Xorg.0.log > Xorg.log.txt
See if you can attach to reply.
If not:
leafpad Xorg.log.txt
Copy/paste it to pastebin.com and post the link in your reply.
Offline
Or use http://paste.slitaz.org
Offline
It won't let me paste it in here (too big?). I will try and upload it. If that fails I will try pastebin as you suggest.
Offline
OK - try this:
http://pastebin.com/axdK4uXR
Thanks for the tip: I uploaded a screenshot of the horizontal axis squashing I am seeing and it can be seen here: http://paste.slitaz.org/6v
It doesn't look too bad on the screenshot but to describe it better it is as if the width has been condensed into the physical dimensions of the screen causing the contents to get squashed/bunched up slightly.
Offline
Xorg is using the vesa driver at (--) VESA(0): Virtual size is 1280x768 (pitch 1280)
This explains why images look out of proportion because the aspect ratio is wrong.
You can try using lxrandr to set the resolution to 1024x768 which should correct the aspect ratio.
1280x800 is WXGA which is the next higher resolution.
Try editing your screen section Modes
Change "1280x768" to "1280x800"
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection1280x768
to add to modes
Offline
Thanks for this mojo. I'm confused as to why it is using vesa when I did all the steps posted previously i.e. selecting the sis driver after following Trixar_za's 8 steps in his first post on this topic. The following is a little curious:
---
4.) Select the Install or Configure Xorg in the box that pops and click OK
5.) Allow it to finish downloading everything and pop up the options. Select sis and click OK...
---
In step 5 it did not try and download anything...it just showed me the screen where I could select the driver - in my case the sis driver. It's a bit puzzling.
I really want to use the sis driver so if you can perhaps see where I have gone wrong and correct me I'd be really happy. I will try the change you suggested in the interim and report back later tonight (I'm at work currently and don't have my laptop with me).
Thank you.
Offline
@mojo - it might be a stupid question but how do I boot into the console? The only way I could achieve what you were asking yesterday was to kill X's process when in the console. I don't know how to boot into the console from scratch. I tried yesterday but ended at prompt like this:
grub>
I didn't know what to do at this point.
Offline
Well, in SliTaz 3 tazx was a little download crazy. It first backed up your packages list, then recharged it. I'm not sure if SliTaz 4 RCs does this too. You may have to run [c]tazpkg recharge[/c] before running [c]tazx[/c] - in either cases you need to be online.
Offline
@Gary
how do I boot into the console?
tab the start menu on the livecd/or add to kernel line of bootloader add screen=text
You have to add slim back to /etc/rcS.conf RUN_DAEMONS= after hald to auto start login manager again on a slitaz install.
Either the sis driver is not installed
root@slitaz:/home/tux# tazpkg search sis
If you force a driver that is not correct for the graphics chip Xorg will not start.
Then remove sis to go back to vesa driver.
Search result for: sis
Installed packages
================================================================================
0 installed packages found for : sis
Available packages name-version
================================================================================
mesa-dri-sis-7.10.2
xorg-xf86-video-sis-0.10.3
================================================================================
2 available package(s) found for : sis
[2]Try the sis driver:
Boot to console,logon as root,password root while connected to internet.
#tazx
Choose: sis
After tazx downloads/installs/configures sis
Try to start X with slim login manager:
#slim
or when tazx runs X -configure it doesn't recognize your graphics chipset as being correct for the sis driver.
You will have to replace vesa with sis in /etc/X11/xorg.conf.d/60-Device.conf
Offline
Thanks mojo. As usual I have more questions, I hope you don't mind?
[1] Where do I find the bootloader file so that I can add 'screen=text'?
[2] The first method you suggest for booting into the console: are you saying I need to press [TAB] when the grub menu appears or did I misunderstand?
[3] Do I need to install either mesa-dri-sis-7.10.2 or xorg-xf86-video-sis-0.10.3?
[4] When I tried the #tazx method the other night, selecting sis did nothing and I was connected to the internet.
[5] What *exactly* is the line I should be adding to the 60-Device.conf file do you know?
Thanks you.
Offline
@mojo and @Trixar_za: I've now got this working. I went back to basics and followed the instructions you both provided from scratch - I was clearly not being very attentive last time! I now have perfect aspect ratio at 1024*768. Thank you both so much for helping me to sort this out. I'm now very happy! I love SLiTaz!
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.6 MiB (Peak: 1.77 MiB) ]