WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Nvidia Install  (Read 18315 times)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Nvidia Install
« Reply #30 on: July 19, 2015, 10:38:15 AM »
Probably always better (if X hangs and you can't get out) instead of hard reboot/shutdown:
ALT+SysRq + R,E,I,S,U,B
Download a copy and keep it handy: Core book ;)

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #31 on: July 19, 2015, 10:46:11 AM »
You could try ctrl-alt-F1 and then "sudo killall Xorg.bin"
No process killed. Apparently Xorg is not running. Does it not start automatically?
Code: [Select]
tc@box:~$ cat /mnt/sda1/tce/onboot.lst
nano.tcz
firefox-official.tcz
xfe.tcz
graphics-3.16.6-tinycore.tcz
nvidia-304.125-3.16.6-tinycore.tcz
pci-utils.tcz
Xorg-7.7-3d.tcz

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #32 on: July 19, 2015, 10:48:40 AM »
Probably always better (if X hangs and you can't get out) instead of hard reboot/shutdown:
ALT+SysRq + R,E,I,S,U,B
O.k. Thank you Misalf.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Nvidia Install
« Reply #33 on: July 19, 2015, 10:54:51 AM »
Everything bitweisor posts indicates Xvesa is running, not Xorg.
run 'ls -l /etc/sysconfig/tcedir' and see if you are looking at the wrong tce directory.

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #34 on: July 19, 2015, 10:59:16 AM »
Everything bitweisor posts indicates Xvesa is running, not Xorg.
run 'ls -l /etc/sysconfig/tcedir' and see if you are looking at the wrong tce directory.
Code: [Select]
tc@box:~$ ls -l /etc/sysconfig/tcedir
lrwxrwxrwx    1 root     root            13 Jul 19 12:20 /etc/sysconfig/tcedir -> /mnt/sda1/tce/
I'm pretty sure it's the only one I have.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Nvidia Install
« Reply #35 on: July 19, 2015, 11:02:37 AM »
Are you running tce-load in bootlocal.sh?

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #36 on: July 19, 2015, 11:07:56 AM »
Are you running tce-load in bootlocal.sh?
No. I wasn't aware I needed to add this to bootlocal.sh.
Should I add this now?
« Last Edit: July 19, 2015, 11:10:58 AM by bitweisor »

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Nvidia Install
« Reply #37 on: July 19, 2015, 11:13:24 AM »
No, bootlocal.sh runs as root. tce-load shouldn't/can't.
Download a copy and keep it handy: Core book ;)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11221
Re: Nvidia Install
« Reply #38 on: July 19, 2015, 12:20:57 PM »
Hi bitweisor
Try changing  Xorg-7.7-3d.tcz  to  Xorg-7.7.tcz  in  onboot.lst  then reboot and see if that helps.
« Last Edit: July 19, 2015, 12:24:23 PM by Rich »

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #39 on: July 19, 2015, 01:55:05 PM »
Hi bitweisor
Try changing  Xorg-7.7-3d.tcz  to  Xorg-7.7.tcz  in  onboot.lst  then reboot and see if that helps.
No luck.
Do you think deleting the old packages and reinstalling would help?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Nvidia Install
« Reply #40 on: July 19, 2015, 02:16:21 PM »
I think if Xvesa.tcz wasn't loaded, and Xorg-7.7.tcz was badly downloaded, it should not be able to launch X at all. It would say "Failed in wait for X".

What about these?
Code: [Select]
tce-status -i | grep -i vesa
Code: [Select]
tce-status -i | grep -i xorg
Download a copy and keep it handy: Core book ;)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Nvidia Install
« Reply #41 on: July 19, 2015, 02:35:24 PM »
Indications are you're running Xvesa, otherwise first line of .xsession shoud read similar to: /usr/local/bin/Xorg -nolisten tcp &

Your onboot.lst is missing Xprogs.tcz (essential). Here's the most basic onboot.lst that i believe results in a working Xorg system. Subsitute for your preferred window manager and video driver.
Code: [Select]
xf86-video-intel.tcz
Xorg-7.7.tcz
Xprogs.tcz
fluxbox.tcz
aterm.tcz

Your xorg.conf file is obvioulsy not being utiized as your xorg.conf and xrandr screen resolutions don't match. Try a very basic, simple xorg.conf file. Reboot system and check xorg.conf, xrandr and .xsession for resolution and persistent reboots. If your system isn't running in persistent mode then the changes won't take effect at reboot. Here's a good, basic xorg.conf file, change to your preferred driver, etc.
Code: [Select]
Section "Monitor"
Identifier   "Monitor0"
HorizSync       28.0 - 96.0
  VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
Identifier  "Card0"
Driver      "intel"
BusID       "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth    16
SubSection "Display"
Depth 16
Modes "1152x864"
EndSubSection
EndSection

Have you tried nouveau driver?

Since you have old hardware, may want to try TC 4 which may have more appropriate older kernel, Xorg and video driver.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Nvidia Install
« Reply #42 on: July 19, 2015, 04:22:45 PM »
1. What are you booting from?
2. Show the output of 'showbootcodes'
3. Show the output of 'ls /etc/sysconfig/tcedir'
4. Show the output of 'cat /etc/sysconfig/tcedir/onboot.lst'

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #43 on: July 20, 2015, 07:17:56 AM »
O.k. everybody. I was able to get Xorg to run. I had to remove "Xvesa", then add "Xorg" to the /etc/sysconfig/Xserver file. Finally I added it to .filetool.lst. The nvidia driver is now working.
Thank you so much, to everyone who helped me with this one. I can't thank you enough.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Nvidia Install
« Reply #44 on: July 20, 2015, 08:40:14 AM »
The only reason you would have Xvesa in /etc/sysconfig/Xserver is that you are loading Xvesa.
Instead of trying to fudge the fact with .filetool.lst you need to find where you are loading Xvesa and correct it.