Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: h2sammo on September 29, 2012, 08:15:54 PM
-
i have installed the extension and the corresponding Xorg 7.5 as required. i have also ran the command required in the little memo to run nvidia-xconfig from command prompt. i added the newly created xorg.conf file to /opt/.filetool.lst. however, upon reboot i am still stuck at the Xvesa max resolution (which is lower than my screens - which was purpose of this whole "upgrade").
can someone not as green as I am tell me what i am doing wrong?
also as a side note, once i am in the command prompt, how do I re-enter the X environemnt without restarting? startx command does not seem to work.
thank you
-
Hi h2sammo
Have you checked /var/log/Xorg.0.log for error messages?
Are you sure your card is supported by the drivers in the repository?
-
h2sammo
Rich is smarter than me, he reads my mind as well....giggles but now that you are back at vesa try this as well as Rich's suggestions
1) look into your /etc/X11 for your xorg.conf files
2) I suggest you install mc - a terminal file manager, you can use it, instead of commands to peek into your
tce/mydata.tgz
if there was no backup then do A
if backup was wrong backup do B
A) no backup found in mydata.tgz
use commands or mc to copy /etc/X11/xorg.conf.vesa and rename as /etc/X11/xorg.conf
use root powers to edit /opt/.filetool.lst to add this string....note we drop the first /
etc/X11/xorg.conf
click on control panel....backup and the go button
re-check mydata.tgz now has that file and its contents
---we don't care at this stage its a vesa file.....we care that your backups work ok?
B) wrong backup found.....likely to be vesa
then assuming you have downloaded (and these are added to my onboot.lst)
nvidia-module-3.0.21-tinycore.tcz
nvidia-settings.tcz
---this also means you have nvidia-glx.tcz as a dependency
you can then exit to prompt (console mode)
sudo modprobe nvidia
lsmod | grep nvidia
---> should return nvidia module
sudo nvidia-xconfig
startx
---if x starts then as per info file see if glxgears or glxinfo shows nvidia
now redo backup (which changes the backup of your xorg.conf) and check it
and reboot to test that I have not mislead you
good luck
OOPS I forgot to mention, that Arslan's tczs work for me, but I am on xorg 7.6
EDIT
3) you may like to post your onboot.lst as well plus your video card specs
a nice place to upload your file is (or put your list into a code box so it can scroll)
http://ompldr.org/upload
lspci | grep VGA
3b) if you install inxi you can also do this command inxi -Gx and I post my results for you to see what happens
inxi -Gx (not OP but aus9)
Graphics: Card: nVidia G96 [GeForce 9500 GT] bus-ID: 01:00.0
TinyCore Linux X.org: 1.11.0 driver: nvidia Resolution: 1680x1050@60.0hz
GLX Renderer: GeForce 9500 GT/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 304.51 Direct Rendering: Yes
I have editted this a number of times which proves I don't think ahead?
-
i haven't tested the latest drivers with Xorg-7.6 yet but if you report it is ok we can remove warning about it from nvidia-glx info file
also please read the info carefully and follow the steps to install nvidia drivers on your system
then if you have a problem open a thread in tce bugs with /etc/X11/xorg.conf and /var/log/Xorg.0.log files attached
first make sure Xorg is running ok before installing nvidia drivers
-
i have been trying to login my tinycore pendrive the whole morning without success. i have rewritten the pendrive with unetbootin several times, (tinycore and coreplus) but when it boots from it it goes into command prompt and i cannot startx. i tried "tinycore xsetup" as instructed in the FAQ but that is not a valid command.
i have no idea why it would not go into X on a fresh install, without any saved settings. any help?
-
Hi h2sammo
Either burn Coreplus to a CD and use tc-install to do your installation, or, if you prefer a Windows based installer,
use http://sourceforge.net/projects/core2usb.
-
i got it to work. i had a pendrive made with unetbootin so it did not have write access. i ran "sudo chmod 777 -R /mnt/sda1" on the partition with the tinycore files and now it boots just fine. i made a separate partiton for tce/optional on the same pendrive.
i get the following:
"tc@box:~$ inxi -Gx
Resuming in non X mode: xrandr not found. For package install advice run: inxi --recommends
Graphics: Card: nVidia Device 06c4 bus-ID: 01:00.0
X-Vendor: N/A driver: Resolution: N/A"
now i do not have nvidia installed, just xvesa. i am not sure how to look up if this card is supported. still googling on it.
EDIT: i have the geforce gtx 480 or 460. i dont see them on the supported list. i wonder why not. can i use a more updated nvidia driver than the one available in the repository?
-
the current one 304.51 is the most recent one and it does support gtx 400 series
http://www.nvidia.com/object/linux-display-ia32-304.51-driver.html (http://www.nvidia.com/object/linux-display-ia32-304.51-driver.html)
-
Hi h2sammo
Based on the information you supplied, you have a GTX 465. The nvidia site does not list that card under 304.51.
It lists a couple of cards with similar numbers, so you could give it a shot. Nvidia lists you card here:
http://www.nvidia.com/object/linux-display-ia32-256.53-driver.html
-
i see GTX 465 in the list of 304.51
GeForce 400 series:
GTX 480, GTX 470, GTX 465, GTX 460 v2, GTX 460 SE v2, GTX 460 SE, GTX 460, GTS 450, GT 440, GT 430, GT 420, GT 415, 405
-
this is all i see when i search for nvidia in the repository ap: nvidia-96.43.20-3.0.3-tinycore.tcz
how do i install a recent nvidia driver in tinycore?
and thank you for your help, this is a very active board and tinycore is pretty awesome
-
Hi I mislead you on the inxi command, I meant you can run it to see what happens....When you install nvidia driver
better off to show
lspci | grep VGA
just to be sure please
google gives me NVIDIA GeForce GTX 465 but I know Arslan has already said that, I just want to be sure we have the right card from your end.
2) assuming we have the 465, the keyword to use in the Apps Browser is nvidia and you should see a bigger list and I have already mentioned the 2 tczs you might like to try.
-
tc@box:~$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Device 06c4 (rev a3)
i dont see higher versions for download. and i assumed glx and module would be dependencies of the nvidia-96.43.20-3.0.3-tinycore.tcz extension. am i right?
-
Hi h2sammo
No, Arslan is correct, my fingers slipped and entered 645 instead of 465 when searching that page for
supported cards. You want to install nvidia-glx.tcz.
-
EDIT
if you get a chance later, install pci-utils.tcz, if you don't already have it, it "may" improve from the busybox version of command lspci and provide the gtx string.....allegedly in the lspci output for next time?
I think you may have a more enjoyable experience if you use
nvidia-module-3.0.21-tinycore.tcz
nvidia-settings.tcz
---this also means you have nvidia-glx.tcz as a dependency
For nvidia- settings, Arslan has given you a wbar or desktop entry and this is what you might get
http://imagebin.org/230462 will expire in maybe days
its your choice of course.
good luck
-
ok i got
nvidia-module-3.0.21-tinycore.tcz
nvidia-settings.tcz
and i did nvidia-xconfig as root from command prompt but when i use the settings it tells me i do not use nvidia as my driver. any ideaas?
-
Hi h2sammo
when i use the settings it tells me i do not use nvidia as my driver.
Until you run startx the nvidia driver is probably not loaded.
-
if you did startx and ran nvidia-settings (say from wbar icon) then you forgot to read the info file or my first post.
so to refresh,
exit to prompt
load the downloaded kernel module with command ....sudo modprobe nvidia
------if it fails to load.....try a new command ................tce-load -i nvidia-glx.tcz, then repeat load kernel module command
----extra......check its loaded with command ................lsmod | grep nvidia
Then (we are still at console prompt) run command .....sudo nvidia-xconfig
Then run command.....startx
if x starts....clicking on the wbar icon for nvidia-settings and it should now NOT show an error
and inxi -GX should show nvidia stuff
and command glxgears.....shows show spinning cogs
Now I suggest you redo the back up command and re-check your xorg file contents as per my first post
And
those 2 tczs should be in your onboot list
sorry for waffle.....but basically on reboot, you need tczs to load....and restore a xorg.conf to use the nvidia module
Maybe I should try to create a wiki on this, if my communication skills fail in words....I will try snapshots?
good luck
-
ok from the recent posts, I can see you are too shy to report I am an idiot.....no matter
You have reported on another post that you are not getting more info from the lspci command and its my fault for not checking the database
yours is not listed.....sorry
http://pciids.sourceforge.net/v2.2/pci.ids
2) And you also have attempted to load a module.You don't include the .so at the end please.
b) I am not on TC at the moment, but sometimes you swap the understem "_" and call it a hypen "-"
so try each and run to find out which way to do it
sudo modprobe newport-drv
lsmod | grep newport (if it fails try)
sudo modprobe newport_drv
lsmod | grep newport
then you can try your xorg stuff out if nvidia fails for you
3) if you wish to pursue nvidia.....sometimes it can help others and you, if you wish to tell us what you did and what your saw or not saw etc ok?
good luck
-
You haven't replied so not sure of your time zone...so forgive me for next post
ASSUMPTIONS
nvidia wants to find proper ids from the pci.ids.gz files.....there are 2 on my system and yours is missing your extra "string"
So forgive me for not knowing if you know how to unpack/repack gz files so lets move ahead.
local user=tc
FOR YOU TO TEST
mkdir 1pci
cp /usr/local/share/pci-utils/files/pci.ids.gz ~/1pci
cd 1pci
gunzip pci.ids.gz
leafpad pci.ids (optional if you like leafpad)
I revert to a gui text editor called leafpad...use what ever you like, an easy terminal editor is nano.
Navigate to your new folder/file or use optional command to open new text file.
Now copy and paste this into your search.... 10de
press enter to create a new line.....this is a local work-a-round so does not need to be perfect and easier to find (or not find your new entry on reboot)
add this line so it looks like
10de nVidia Corporation
06e4 GF100 [GeForce GTX 465]
Now I have tried to find the G number as so far no luck. so I am basing it on the gtx 470 which is in the same family as yours showing at
http://www.nvidia.com/object/linux-display-ia32-304.51-driver.html
supported products/ge400 series
ok so save the file
Now repack it
gzip -9 pci.ids
Now we need root powers to edit /opt/onboot.sh
and add these lines pls
/bin/cp -f /home/tc/1pci/pci.ids.gz /usr/local/share/pci-utils/files/
/bin/cp -f /home/tc/1pci/pci.ids.gz /usr/local/share
reboot with backup and test
lspci | grep VGA
if you get a string of GTX etc, your xorg attempts and nvidia attempts may be more successful
if so, you can then report your ids to http://pci-ids.ucw.cz/mods/?action=help?help=mailsubmit if you wish
good luck
if possible give feedback, if you prefer I not to try to help....no worries just say so
-
Hi aus9
yours is not listed.....sorry
It is listed here:
http://www.pcidatabase.com/vendor_details.php?id=606
Also:
lspci -nn | grep VGA
should provide the full vendor:device ID.
-
hi Rich
yes I had seen your reply on the other thread, you may not be aware that OP page one has reported
tc@box:~$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Device 06c4 (rev a3)
so I originally thought it was a busybox pc id issue and requested he install pci-utils, but he still seems to have an issue suggesting his ids are an issue. The TC file that I mention that comes with pci-utils also has no listing for his ids, so thats why I post my last post.
I suspect he is having trouble getting the nvidia script because nvidia-xconfig is expecting some ids
eg in running strings against that executable I can see
strings /pathway2/nvidia-xconfig (snip of results)
Section "Device"
Identifier "%s"
Driver "%s"
VendorName "%s"
BoardName "%s"
ChipSet "%s"
Card "%s"
RamDac "%s"
DacSpeed
VideoRam %d
BiosBase 0x%lx
MemBase 0x%lx
IOBase 0x%lx
ClockChip "%s"
ChipId 0x%x
ChipRev 0x%x
Clocks
now to see if OP is still patient with me?
2) BTW I am happy with G number for pc ids ie GF100 as per
http://en.wikipedia.org/wiki/GeForce_400_Series
-
sorry guys for not replying. i will update on this towards the weekend when i have some time. the nvidia card is on my home computer. i use TC now from work and it works just fine with vesa :).
-
ok i load nvidia 3.0.21 then i drop to prompt and i see this
tc@box:~$ sudo modprobe nvidia
modprobe: can't load module nvidia (kernel.tclocal/drivers/video/nvidia.ko.gz): unknown symbol in module, or unknown paramete
-
Hi h2sammo
Sorry, but I have to ask, are you using the Apps utility to install extensions, or are downloading them yourself
from the repository?
-
i am using the apps utility
-
h2sammo
this modprobe result, is this after trying out my modified pcids thing?
-
i just tried out the mods you suggested. there is an error, i will post in a second. i am now in linux mint 13 and this is the output in a terminal of the lspci command. Pplease note that nvidia-drivers work fine under mint.
bobby@bobby-desktop ~ $ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation Device 06c4 (rev a3)
bobby@bobby-desktop ~ $ inxi -Gx
Graphics: Card: NVIDIA Device 06c4 bus-ID: 01:00.0 X.Org: 1.11.3 driver: nvidia Resolution: 1920x1080@60.0hz
GLX Renderer: GeForce GTX 465/PCIe/SSE2 GLX Version: 4.2.0 NVIDIA 304.51 Direct Rendering: Yes
about the mods. /opt/onboot.sh does not exist. so i added those lines you suggested to /opt/bootlocal.sh and to /mnt/sda1/tce/onboot.lst. this is what i get:
tc@box:~$ sudo inxi -Gx
Resuming in non X mode: xrandr not found. For package install advice run: inxi --recommends
Graphics: Card: Failed to Detect Video Card!
X-Vendor: N/A driver: tty size: 80x24 Advanced Data: N/A for root
tc@box:~$ lspci | grep VGA
lspci: Parse error at /usr/local/share/pci.ids.gz, line 5399
-
ahhh this my fault for getting old. I meant bootlocal.sh which you have twigged.
ok can you copy your mint pci.ids.gz file from mint to TC and see see if that works.
So amend my suggested instructions to remove your home folder amended file and copy mint's there and then
amend bootlocal to swap ids.....I hope you are happy to try it?
b) If you can do me a favour, when you move it unpack it and post that section of the file that mentions your 465 pls?
Maybe I got the syntax wrong which is why you had an error at line 5399?
good luck