You are not logged in.
Pages: 1
Booted latest Slitaz 5.0 from livecd.
This rig has an nvidia card, and tried to install the driver with package xorg-xf86-video-nv.
Installed, restarted X, installed mesa-demos as well to run glxgears, and glxgears failed with the same RGB error as if not finding any drivers.
Tried also with mesa-dri-nouveau, xorg-xf86-video-nouveau... all failed.
Any help?
Offline
Any help?
Offline
Hi, I had a similar problem with the nv driver and the only way I was able to get it going was by downloading the nVidia proprietary driver from nVidia - of course this does not mean issues with nv driver provided cannot be fixed, it is just that I did not have time and knowledge to find a solution.
Here is what I did to get around this issue.
1. use lspci command to find out the exact model of the nVidia card you have.
2. Go to http://www.nvidia.com/Download/index.aspx?lang=en-us and provide the details. Make sure you select the OS. For linux OSs, you would need to select show all operating systems which then will list all linux versions.
3. Download the proprietary driver.
4. Once downloaded reboot the machine into text mode - you should be able to do this by setting grub option of vga=text (from memory)
5. Login as root.
6. Go to the folder where the downloaded binary is and execute it - make sure to change the execution rights for this file
7. Follow the on screen prompts.
8. I recall I had to provide the location of kernel header files - so if you get an error saying that xxxx.h file is not found you would need to work out the exact path where they are located and provide this as an option - Sorry cannot recall exactly what the option is called but run the command with --help option and then it will list all options.
Reboot the machine and hopefully you will get your X working correctly.
Just be mindful that on a few occasions when I did an upgrade involving some graphics libraries, the display got broken but it can be easily fixed by re-installing the driver again and it will pick up the new libraries and recompile and install it. Once this is done it is back to business.
It is not at all difficult as it appears - so give it go.
Good luck.
Offline
Thing is I tried to install it while on livecd, thus I cannot reboot.
It had worked on another pc but with intel graphics, iirc I just installed xorg-xf86-video-intel package and glxgears worked out of the box after this, while on livecd.
Offline
If you do not want to reboot you can try 'startx' command after installing. Just curious, why do you want to install the proprietary driver on a LiveCD session?
Offline
with tazx installed noveau driver> glxgears failed
I tried to follow his @gdesilva method and it did not work. Message >> WARNING: Skipping the runlevel check (the utility [c]runlevel[/c] was not found).
then I followed the instructions of this post:
http://forum.slitaz.org/topic/nvidia-compiling-failed#post-6166
I installed: linux-source, slitaz-toolchain and slitaz-dev-pkgs packages. It still did not work.
then I uninstalled nvidia and installed nvidia-173xx -version 173.14.39_3.2.71 >> FAIL
again with tazx reconfigured xorg nv driver and magically worked glxgears. Happy!! 
Problem to solve >> Audio does not work
[attachment=45532,2594]
Offline
@rerivero, the warning about skipping the runlevel check did not affect compilation of the driver in my case - it will still go ahead and complete the task.
Good to hear that you got it going anyway with the nv driver provided in the repo.
Offline
So on clean LiveCD again, I ran as root tazx, choose first option "Install or reconfigure xorg".
ALL options except only for the very first one (automatic) gave same bad result: "created screen, but does not match with detected devices". Of course glxgears didn't work neither.
The first automatic option did install something without errors, but this something was the nouveau packages. And even after logging out and in again glxgears never worked.
Please don't ask me why I try on LiveCD. Only thing I can say is I'm not allowed to install Slitaz on hard disk here. And I had previously the successful experience of being able to install the xf86 intel video driver on LiveCD session in a PC having intel integrated graphics. I didn't test it intensively, just ran glxgears.
Offline
I have same problem on Intel laptop I have installed compiz and it is working with amazing speed. compiz installs automatically all required packages
[c]tazpkg get-install compiz[/c]
Offline
@guest_account, with regards to installing on LiveCD session, it is an awful lot of work to get a proprietary driver downloaded and installed every time one has to boot LiveCD. However, if that is your choice I would try the following....
You need to get the LiveCD booted in text mode if you want to download and run the appropriate binary from nVidia site. If you are simply running tazx and trying to install nv driver then all you are doing is installing the proprietary driver provided in the repo.
As I said earlier, in my case (my nVidia card is rather ancient) nv driver provided in the repo did not work. So, I went to the nVidia site and specified the model and worked out the most appropriate driver for my card and installed it and then everything was OK. It may well be that given enough time and knowledge, I would have been able to tweak nv driver setting working.
Having said that one LiveCD is booted in text mode (haven't done it myself but I am sure one can do that by providing grub options at boot time), you will need to do wget <link to nVidia driver> to download the driver and compile it.
Now this is an awful lot of work if you are going to do this every time you boot the LiveCD and hence the reason for my question.
Offline
Installing compiz makes the very same nouveau driver to be installed at the very end.
Logging out and in back again literally just broke desktop, just the graphic desktop with wrong resolution and neither mouse nor keyboard responsive.
So yet another TODO for slitaz: make the freaking nvidia repo drivers actually work. Perhaps more for slitaz next since it should (hopefully) replace slitaz 5.0 and make it die once and for all.
Repo driver should precisely avoid all the long awful process and make it simpler. Original long process indeed simply cannot be done on LiveCD.
Offline
Whene you see login screen press F1 repeatedly until you see lxde-session then login with your root account and configure your desktop according your needs
Offline
I feel there is a bit of confusion here....let me explain and if I am wrong can someone else correct me please.
nVidia drivers for Linux (as well as Windows etc) are provided by nVidia and only nVidia has access to the source code of these drivers. nVidia also releases new Linux drivers which sometimes may not work on older graphics cards or on particular models. Hence, if you are going to download the driver from nVidia site you want to make sure the version of the driver is tested OK for the particular card you are using. That is why you have to specify the model of the card before downloading the driver.
nVidia also releases the generic binary drivers to Linux distributions such as Slitaz, Ubuntu, Mint etc. These are the ones that you have access to via the repositories and in the case of Slitaz it is called the nv driver. Those who look after the Linux distributions have no access to the source code of these drivers and hence they cannot fix problems you may encounter with your set up. As such, requesting Slitaz to fix up the problems with nv driver used in a particular system configuration is not going to help.
There is also the nouveau driver an open source driver for these cards (see https://nouveau.freedesktop.org/wiki/) and it is best to raise any bugs issues with the Nouveau Project Team who probably will be in far better position to assist.
As you may be able to see that problems with nVidia cards is a direct result of not making the code open source by nVidia not due to negligence or lack of interest by anyone who is maintaining a particular version of Linux and in this case, Slitaz.
So, essentially, one has three options - use nouveau driver, nv driver or download the appropriate nVidia driver from nVidia directly and hopefully, one of them will do the job.
Hope this clarifies the issue - if I confused you more or provided incorrect information please accept my apologies and hopefully some one else will correct where I am wrong.
Offline
SOLVED!!! Driver Nvidia with rendering OpenGL
Yesterday I broke my system and when reinstalling SliTaz 5 rolling, I didn't know how I had managed to make OpenGL video rendering work. I reinstalled several more times and broke it again every time, installed and uninstalled video drivers without getting it to work .. I don't know how I did it last time, I was literally lost. I went back to this post and decided to try the owner controller.
I followed the instructions of gdsilva - Thank's - and everything worked very well. I describe the process in case someone comes to this thread looking for a solution for their Nvidia card.
1) $ lspci | grep VGA
VGA compatible controller: nVidia Corporation C61 [GeForce 7025 / nForce 630a].
2) Go to http://www.nvidia.com/Download/index.aspx?lang=en-us and look for the exact model and select linux operating system (32 bits).
3) Download the driver (in my case: NVIDIA-Linux-x86-304.137.run).
4) as root: # leafpad /etc/boot/grub/menu.lst and add screen = text before quiet, to restart in text mode.
5) Restart in text mode. User root - and you password.
Go to your file. example: # cd / home / tux / Downloads and run ./NVIDIA-Linux-x86-304.137.run
6) The program will guide you and ask for the missing dependencies, in my case as it was a new installation he asked me: glibc, binutils, gcc, make, linux-source. > You already know for each unit write there: # tazpkg -gi glibc and so with the others that you request.
After installing linux-source I requested the kernel sources, then do this: # get-linux-source and wait for the kernel sources to download. If you are prompted for a PATH, ignore and press Enter until finished.
7) After having the dependencies of point 6 and the kernel sources the program must run without problems and its driver will be installed.
At the end he asked me if I wanted to overwrite the configuration files of /etc/init.d/Xorg (option marked NO) and I did YES .. mmmh it seems that it was an error.
To launch the graphical environment type:
# /etc/init.d/slim start
The graphic environment did not start. Maybe I shouldn't overwrite the Xorg configuration files. Then I did:
# tazx > Reconfigure Xorg > Install nv again
# /etc/init.d/slim start (to launch the X) and the magic was done.
It worked perfect !!!
Finally, do not forget to remove screen = text from your grub, as indicated in step 4.
8) Install mesa-demos and run glxgears
CONCLUSION: The Nvidia driver (owner) works very well, excellent I would say. It runs very smoothly and performs much better and faster than when I had installed (I don't know in what way) the driver of the repo .. I still have the doubt of what would be the correct way to use the drivers of the SliTaz repo.
Offline
Video rendering with Nouveau driver:
Start in text mode: to do this add to menu.lst screen=text and login as root
1. tazpkg remove xorg-xf86-video-nv
2. tazx > Reconfigure Xorg > Auto configuring.
(they installed)
xorg-xf86-video-nouveau
libdrm-nouveau
mesa-dri-nouveau
3. tazpkg -gi mesa-wayland
4. /etc/init.d/slim start
----------------------------------------
COMPARATIVE PERFORMANCE/USE OF RESOURCES:
----------------------------------------
with driver nouveau in the SliTaz repo
tux@slitaz:~$ glxgears
30 frames in 5.1 seconds = 5.918 FPS
31 frames in 5.0 seconds = 6.154 FPS
30 frames in 5.1 seconds = 5.921 FPS
31 frames in 5.2 seconds = 5.991 FPS
30 frames in 5.0 seconds = 5.967 FPS
29 frames in 5.1 seconds = 5.685 FPS
28 frames in 5.1 seconds = 5.518 FPS
29 frames in 5.1 seconds = 5.708 FPS
31 frames in 5.2 seconds = 5.992 FPS
29 frames in 5.0 seconds = 5.784 FPS
Info Htop: CPU-1=100% - CPU-2=+-2%
-------------------------------------
with proprietary driver NVIDIA-Linux-x86-304.137
tux@slitaz:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
428 frames in 5.0 seconds = 85.502 FPS
426 frames in 5.0 seconds = 85.095 FPS
426 frames in 5.0 seconds = 85.095 FPS
426 frames in 5.0 seconds = 85.093 FPS
426 frames in 5.0 seconds = 85.094 FPS
426 frames in 5.0 seconds = 85.093 FPS
426 frames in 5.0 seconds = 85.091 FPS
426 frames in 5.0 seconds = 85.092 FPS
426 frames in 5.0 seconds = 85.090 FPS
426 frames in 5.0 seconds = 85.090 FPS
Info Htop: CPU-1=+-2% - CPU-2=+-1%
--------------------------------------
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]