WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Nvidia Install  (Read 20400 times)

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #15 on: July 19, 2015, 09:59:39 AM »
The screen resolution in xorg.conf is set for 800x600 but my actual resolution right now is 1024x768.
Code: [Select]
tc@box:~$ xrandr
 SZ:    Pixels          Physical       Refresh
 0    320 x 200    ( 347mm x 260mm )   0   
 1    640 x 480    ( 347mm x 260mm )   0   
 2    800 x 600    ( 347mm x 260mm )   0   
*3   1024 x 768    ( 347mm x 260mm )  *0   
 4   1280 x 1024   ( 347mm x 260mm )   0   
 5    320 x 400    ( 347mm x 260mm )   0   
 6    320 x 240    ( 347mm x 260mm )   0   
 7    640 x 400    ( 347mm x 260mm )   0   
 8   2048 x 1536   ( 347mm x 260mm )   0   
Here is my current xorg.conf:
Code: [Select]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.125  (buildmeister@swio-display-x86-rhel47-08)  Mon Dec  1 21:14:12 PST 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Module"
    Load    "glx"
EndSection

Section "DRI"
   Mode 0666
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Virtual     800 600
        Depth       24
        Modes      "800x600"
    EndSubSection
EndSection

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: Nvidia Install
« Reply #16 on: July 19, 2015, 10:47:40 AM »
Hi bitweisor
Quote
I ran the nvidia-xconfig and updated my xorg.conf:
If I remember correctly, that creates the new xorg.conf file in your home directory. Did you remember to copy it to your
/etc/X11/  directory? You  also need to add a line that says:
Code: [Select]
etc/X11to your  /opt/.filetool.lst file  so it gets backed up.
Quote
I did a search for Xorg.log, log and Xorg and can't find the log files.
Try:
Code: [Select]
/var/log/Xorg.0.log

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #17 on: July 19, 2015, 11:54:24 AM »
If I remember correctly, that creates the new xorg.conf file in your home directory. Did you remember to copy it to your /etc/X11/  directory?

Hi Rich,
When I run nvidia-xconfig it creates the file in my X11 directory, so all I had to do was include /etc/X11 in my /opt/filetool.lst.
Here it is:
Code: [Select]
opt
home
etc/X11/

No Xorg.0.log:
Code: [Select]
tc@box:/var/log$ ls -a
./         ../        autologin  wtmp

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Nvidia Install
« Reply #18 on: July 19, 2015, 11:58:24 AM »
What gives
Code: [Select]
cat /etc/sysconfig/Xserver
and
Code: [Select]
cat ~/.xsession
?
Download a copy and keep it handy: Core book ;)

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #19 on: July 19, 2015, 12:12:46 PM »
What gives
Code: [Select]
cat /etc/sysconfig/Xserver
and
Code: [Select]
cat ~/.xsession
?
Hi Misalf,
I guess this explains it, but what to do?
Code: [Select]
tc@box:~$ cat /etc/sysconfig/Xserver
Xvesa

tc@box:~$ cat ~/.xsession
Xvesa -br -screen 1024x768x32 -shadow -2button -mouse /dev/input/mice,5 -nolisten tcp -I >/dev/null 2>&1 &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x $HOME/.setbackground ] && $HOME/.setbackground
[ -x $HOME/.mouse_config ] && $HOME/.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d "$HOME/.X.d" ] && find "$HOME/.X.d" -type f -print | while read F; do . "$F"; done

tc@box:~$ tce-status -i|grep nvidia
nvidia-304.125-3.16.6-tinycore

Code: [Select]
tc@box:~$ lspci -v
00:09.0 VGA compatible controller: NVIDIA Corporation NV44A [GeForce 6200] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: eVga.com. Corp. Device b399
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
        Memory at cf000000 (32-bit, non-prefetchable) [size=16M]
        Memory at b0000000 (32-bit, prefetchable) [size=256M]
        Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
        Expansion ROM at cdfe0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Nvidia Install
« Reply #20 on: July 19, 2015, 12:27:26 PM »
Remove Xvesa from onboot.lst and replace it with Xorg-7.7.tcz.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: Nvidia Install
« Reply #21 on: July 19, 2015, 12:38:11 PM »
I guess this explains it, but what to do?

When you load Xvesa, Xfbdev or Xorg-7.7, the extension start-up script copies the text "Xvesa", "Xfbdev" or "Xorg" to /etc/sysconfig/Xserver. If you loaded Xorg-7.7 and then Xvesa and you would like to use Xorg, then you need to edit /etc/sysconfig/Xserver to read "Xorg" and then "startx"

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #22 on: July 19, 2015, 12:39:01 PM »
Remove Xvesa from onboot.lst and replace it with Xorg-7.7.tcz.
Hi gerald_clark,
Xvesa wasn't in my onboot.lst. Here it is:
Code: [Select]
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 Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: Nvidia Install
« Reply #23 on: July 19, 2015, 12:43:07 PM »
Something to do with X?

Do you have the nvidia file /usr/local/lib/X11/modules/extensions/libglx.so.304.51 (or similar) loaded?

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #24 on: July 19, 2015, 12:54:50 PM »
Quote
Do you have the nvidia file /usr/local/lib/X11/modules/extensions/libglx.so.304.51 (or similar) loaded?
I have /usr/local/lib/xorg/modules/extensions/libglx.so.304.125. Shouldn't X load this when it parses xorg.conf load "glx"?
Code: [Select]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.125  (buildmeister@swio-display-x86-rhel47-08)  Mon Dec  1 21:14:12 PST 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Module"
    Load    "glx"
EndSection

Section "DRI"
   Mode 0666
EndSection
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Virtual     800 600
        Depth       24
        Modes      "800x600"
    EndSubSection
EndSection

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: Nvidia Install
« Reply #25 on: July 19, 2015, 01:05:30 PM »
I have /usr/local/lib/xorg/modules/extensions/libglx.so.304.125. Shouldn't X load this when it parses xorg.conf load "glx"?

If the nvidia xorg.conf is correct, the nvidia kernel module is loaded and the nvidia version of various libX* are all present, then yes.

Does /var/log/Xorg.0.log show any relevant errors?

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #26 on: July 19, 2015, 01:13:39 PM »
Does /var/log/Xorg.0.log show any relevant errors?
No Xorg log.
Code: [Select]
tc@box:/var/log$ ls -a
./         ../        autologin  wtmp


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: Nvidia Install
« Reply #27 on: July 19, 2015, 01:17:26 PM »
If you issued the command "startx" or "Xorg -nolisten tcp", even if things fail immediately there is usually at least a couple of lines in Xorg.0.log.

What do you get when you try  "Xorg -nolisten tcp"?

Offline bitweisor

  • Newbie
  • *
  • Posts: 23
Re: Nvidia Install
« Reply #28 on: July 19, 2015, 01:23:15 PM »
What do you get when you try  "Xorg -nolisten tcp"?
The screen went blank. Didn't know how to recover, so rebooted.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: Nvidia Install
« Reply #29 on: July 19, 2015, 01:33:39 PM »
You could try ctrl-alt-F1 and then "sudo killall Xorg.bin"