Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: caracalla on June 20, 2018, 12:44:19 AM

Title: NVIDIA driver on TCE Corepure64 9.x
Post by: caracalla on June 20, 2018, 12:44:19 AM
Hi guys,

I need some directions on how to compile proprietary Nvidia driver on Tiny Core Linux 64-bit.

When I execute the installer with ./NVIDIA-Linux-x86_64-390.67.run I get "./nvidia-installer: not found" error. I get the same error even if I first extract the installer package with an -x option and then manually execute ./NVIDIA-Linux-x86_64-390.67/nvidia-installer.

There was a similar issue reported a while ago (http://forum.tinycorelinux.net/index.php?topic=16988.0 (http://forum.tinycorelinux.net/index.php?topic=16988.0)), but back then fellow member coreplayer2 prepared an extension without explaining in detail what he did to successfully compile the driver.

Searching further I also stumbled upon a thread on a different forum (https://www.linuxquestions.org/questions/debian-26/installing-nvidia-driver-i-get-nvidia-installer-can%27t-find-863897/ (https://www.linuxquestions.org/questions/debian-26/installing-nvidia-driver-i-get-nvidia-installer-can%27t-find-863897/)) where they concluded that this is an issue if you are trying to compile Nvidia driver on a system which is not "pure" 64-bit, which means that running kernel is 64-bit while some applications could also be 32-bit.

I am really sceptical about this explanation and I believe that TCE available from the repository is entirely 64-bit.

If you have any ideas what I am missing please let me know.
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: caracalla on June 20, 2018, 01:08:24 AM
Searching further I found two additional sites that are explaining that this issue is related to non "pure" 64-bit system

http://vasnake.blogspot.com/2011/06/blog-post_09.html
https://forums.fedoraforum.org/showthread.php?185954-nVidia-driver-help-needed&p=994686#post994686

Quote
Some distributions have the option of installing a 64-bit kernel for use with all 32-bit userspace programs.
This configuration is not supported by the NVIDIA Linux Graphics Driver.
If you try to install the 64-bit driver package on such a system, you will receive an error like the following:
./nvidia-installer: No such file or directory

nvnews.net/vbulletin/showthread?s=ce7172da527094e880b7e22020852671&t=72490#2

Maybe there is something to it and this is the case with 64-bit Tiny Core Linux?
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Juanito on June 20, 2018, 01:18:51 AM
As the name suggests, CorePure64 is purely 64-bit.

Your "not found" error could be because you are missing the bash, perl or python extensions or because a symlink /lib64 -> /lib is required.
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: caracalla on June 20, 2018, 01:43:54 AM
I can't believe it, all I had to do is to add a symlink /lib64 -> /lib.

Juanito, you rule!   ;D
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on October 21, 2018, 11:52:29 PM
Is there a tcz planned for Nvidia cards? I am glad that basic OpenGL works with Xorg-7.7-3d, but Shader Model 2.0 seems to be too much currently. :)

Hm hardware has developed, why do we still rely on the graphic vendors bullshit for applications, is my i7 processor really not fast enough to emulate a graphic card and basic shader model 2 capability from 2002, how can "GLX is not supported" be justified if all that I want to run is a simple program with some computationally cheap shaders on my i7? And do we really need a graphic card to make Xorg play videos and the window managers and apps GUI responsive on a i7 processor, or are they just bloated and programmed completely inefficient, mostly based on long outdated technology like X11 protocol? Do we need a complicated DX12 graphic driver just to get a projector attached to HDMI up and running, displaying the desktop (it fails in 80% of the cases I tried Linux distributions, only Windows supports general HDMI output it seems, no matter if graphic driver is installed or not)? Or do we really need a DX12-supporting graphics driver just to get a laptop monitor to output the desktop in a resolution that is not distorted?
All that seems to be too much for GNU/Linux@2018, can't we abandon GPU's for most desktop purposes and leave the gamer stuff for Windows users?
If graphic cards have completeley failed the open source community, why do we still suffer from the bad design decisions that developed around them, and no one went for alternatives for applications that do not demand full GPU-power, meaning everything that is not a 3D game?

Best regards,
Alligadi
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on October 22, 2018, 02:46:59 PM
Currently I've not been able to successfully build the latest Nvidia driver for corepure64.  Additionally, older driver versions have to be built on machines with a supported Nvidia Card installed.

So at present I have only prepared the Nvidia v390.77 driver extension for TinyCore-9.0 x86  which works flawlessly with my Nvidia 1060 powered Notebook.  Actually I've been holding off submitting it untill I figured out what's wrong with the Nvidia compiler for v390.77 x86_64 driver, unless someone asks for it

So the important question is: For which Nvidia card are you requiring a driver for?
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on October 24, 2018, 05:15:48 PM
The 5500M GT. the newest driver I found supporting it is 390.87, but I am happy with any driver that supports it and can at least use shader model 2.
Thank you for your help!

Best regards,
Alligadi
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on October 25, 2018, 07:40:31 AM
The 5500M GT. the newest driver I found supporting it is 390.87, but I am happy with any driver that supports it and can at least use shader model 2.

I think you might need to recheck that model number because AFAIK Nvidia have never made a Geforce 5500   ??  If they did it's no longer supported even with their oldest Legacy drivers.. 

https://www.nvidia.com/download/driverResults.aspx/137276/en-us
Long time ago they made a Quadro M5500  which for some bizarre reason is still supported  in the latest drivers, but there are no Geforce cards older than the 200 series supported by the current drivers


Just saying..
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on October 25, 2018, 06:29:12 PM
Oh damn, I meant Gefore GT 555M.
Output from lspci:
01:00.0 VGA compatible controller: NVIDIA Corporation GF106M [GeForce GT 555M] (rev a1)

Sorry for my fish memory.

Best regards,
Alligadi
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on November 04, 2018, 02:21:26 PM
coreplayer2:
What did you do to make the Nvidia driver even compile?
The linux-4.14.3_api_headers.tcz
and
linux-kernel-sources-env.tcz
don't seem to be sufficient to compile 390.87 as the paths and headers seem to be different than what the driver expects,
also symbolic linking didn't fix it for me. If it would compile I could easily prepare a tcz on my own.
I can post a detailed error message in some days in case you are interested.

Best regards,
Alligadi
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Rich on November 04, 2018, 05:11:21 PM
Hi Alligadi
... I can post a detailed error message in some days in case you are interested.
I think that would be preferable to people guessing why it won't compile. :)
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on November 04, 2018, 07:26:10 PM
I suspect you'e used the config files from tinycore instead of corepure64.

However I've succeeded in compiling Nvidia Drivers version 410.73  for x86_64 and will submit asap

Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on November 05, 2018, 05:58:05 AM
I guess this driver won't work for me:
410.73 doesn't list GeForce GT 555M, while 390.87 does.
Can you please share compilation instructions?

Best regards,
Alligadi
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on November 05, 2018, 08:36:48 AM
Ok while I'm on a roll....

Submitted nvidia-390.87-4.14.10-tinycore64.tcz for the corepure64 repo and sent you a link aswell..

I assumed you didn't want the Cuda and document files?

follow the instructions in the info file, good luck

Oh BTW, I also included my build script
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on November 06, 2018, 05:15:22 PM
Thank you for your effort!
I followed the instructions but so far wasn't able to get it working (startx doesn't succeed after sudo nvidia-xconfig).
Will try more in the end of this week and will post more info soon.

Best regards,
Alligadi
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on November 07, 2018, 12:23:36 PM
As far as I can tell, your system is either 

So for the first 2 issues, try this test script I use to load all dependencies, create an "/etc/X11/Xorg.conf" file and then loads Xorg with Nvidia 390.87 driver and finally starts the desktop.

Either use the attached nvidia-load.sh file, or copy the contents of this script shown below into a file which is accessible after reboot and make either script executable
Code: [Select]
#!/bin/sh

########################################################
# prompts to connect if internet not available,        #
# checks if deps installed already,                    #
# if not then check if available locally & install,    #
# else download & install                              #
########################################################


. /etc/init.d/tc-functions
useBusybox

echo -e "\n\nFetching dependencies... "

tceinstalled="/usr/local/tce.installed"
tcepath="/etc/sysconfig/tcedir/optional"
kerbuild=$(uname -r)
address="http://tinycorelinux.net/index.html"
address2="http://forum.tinycorelinux.net/index.php"
message="connection ok"

echo " ${MAGENTA}Verifying connection to server, please wait...${NORMAL}"
wget --spider -q -T 20 $address
case $? in
0)
   echo " ${GREEN}${message}${NORMAL}"
;;
1)
   echo " ${MAGENTA}Using alternative web address...${NORMAL}"
           wget --spider -q -T 20 $address2
   case $? in
     0)
echo " ${GREEN}${message}${NORMAL}"
     ;;
     1)
echo " ${YELLOW}check internet connection, then try again${NORMAL}"
sleep 3
exit
     ;;
   esac
;;
esac

# read -p " Enter to continue"


deps="aterm.tcz \
fltk-1.3.tcz \
freetype.tcz \
imlib2-bin.tcz \
imlib2.tcz \
libfontenc.tcz \
libICE.tcz \
libjpeg-turbo.tcz \
libpng.tcz \
libSM.tcz \
libX11.tcz \
libXau.tcz \
libxcb.tcz \
libXdmcp.tcz \
libXext.tcz \
libXfont.tcz \
libXi.tcz \
libXmu.tcz \
libXpm.tcz \
libXrandr.tcz \
libXrender.tcz \
wbar.tcz \
Xlibs.tcz \
Xprogs.tcz \
flwm_topside.tcz \
gtk3.tcz \
xz.tcz \
util-linux.tcz \
graphics-${kerbuild}.tcz \
nvidia-390.87-${kerbuild}.tcz \
Xorg-7.7-3d-dev.tcz \
pkg-config.tcz \
xorg-server-dev.tcz \
autoconf.tcz \
findutils.tcz \
procps-ng.tcz \
bash.tcz"


set -x

for i in $deps ; do

pkgname=${i%.*}

if [ ! -f ${tceinstalled}/"$pkgname" ]; then
if [ -f ${tcepath}/"$i" ]; then
  while [ ! -f ${tceinstalled}/"$pkgname" ]; do
    tce-load -i "$pkgname"; sleep 0.5
  done
else
    tce-load -wil "$pkgname"
fi
fi
[ -f "${tceinstalled}/$pkgname" ] || echo "${RED}$i failed to load, exiting..${NORMAL}"
[ -f "${tceinstalled}/$pkgname" ] || exit 1
done

[ -d /etc/X11 ] || sudo mkdir -p /etc/X11
set +x
sudo nvidia-xconfig
startx           


reboot and run the script

If the desktop still refuses to load, then look at the logs for clues..
Code: [Select]
/var/log/Xorg.0.log
I have tested this script with both "base" in the command line and a blank onboot.lst.  Both methods booted to desktop successfully.
But if this script doesn't load the desktop I suspect we need to look at a supporting driver version again..
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Misalf on November 07, 2018, 06:14:05 PM
I see you made sure  /etc/X11  exists.
I found that
Code: [Select]
[ -d /etc/X11 ] || mkdir -p /etc/X11is a necessity for getting the  nvidia-xconfig  command to be able to write a file to that directory.
Maybe it makes sense to add a startup script to your nvidia extensions containing "exist otherwise crete dir"?
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on November 07, 2018, 07:31:50 PM
Misalf,  I agree.   nvidia-config doesn't create Xorg.conf if the directory is missing

Not only that, but if some deps are missing very often  nvidia-config  doesn't complete creation of Xorg.conf file without ever giving an indication of failure..

my test script takes care of these issues, might be worth adding to the startup script however  nvidia-config  itself requires many deps not used otherwise

:)
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Misalf on November 08, 2018, 05:41:48 AM
I see.

Then maybe add your script to the extension and leaving a note in the .info file?
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on November 08, 2018, 07:26:16 AM
Hi Misalf,  well maybe a separate extension which loads the required deps and installs the /etc/X11/Xorg.conf file only if the file is not found, eg. when not already applied by backup/restore?
 
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Misalf on November 08, 2018, 09:11:49 AM
Sounds good.
This way the first-time-setup extension can be updated independently if needed.
Maybe even work for all nvidia extensions and be arch agnostic.
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on November 21, 2018, 02:28:53 AM
I came closer to the goal by invoking manual xconfig with a bus ID, but it fails to detect the screen:

Code: [Select]
LVDS-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
[  4332.412] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  4332.412] (==) NVIDIA(0): RGB weight 888
[  4332.412] (==) NVIDIA(0): Default visual is TrueColor
[  4332.412] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  4332.412] (**) NVIDIA(0): Enabling 2D acceleration
[  4332.412] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[  4332.412] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[  4332.412] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[  4332.412] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[  4332.412] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[  4332.543] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[  4332.543] (--) NVIDIA(0):     DFP-0
[  4332.550] (II) NVIDIA(0): NVIDIA GPU GeForce GT 555M (GF106) at PCI:1:0:0 (GPU-0)
[  4332.550] (--) NVIDIA(0): Memory: 3145728 kBytes
[  4332.550] (--) NVIDIA(0): VideoBIOS: 70.06.32.00.02
[  4332.550] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  4332.551] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  4332.551] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  4332.551] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[  4332.551] (--) NVIDIA(GPU-0):
[  4332.551] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[  4332.551] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[  4332.551] (EE) NVIDIA(0):     to start anyway
[  4332.551] (EE) NVIDIA(0): Failing initialization of X screen 0
[  4332.572] (II) UnloadModule: "nvidia"
[  4332.572] (II) UnloadSubModule: "wfb"
[  4332.572] (II) UnloadSubModule: "fb"
[  4332.572] (EE) Screen(s) found, but none have a usable configuration.
[  4332.572] (EE)
Fatal server error:
[  4332.572] (EE) no screens found(EE)

I tried almost everything, also generating a Xorg configuration with Xorg -configure now (which generates a valid Xorg configuration but without nvidia driver),
but when I entered nvidia driver to be used the same situation appeared again..

Best regards,
Alligadi

    [EDIT]: Added code tags.  Rich
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on November 21, 2018, 02:47:34 AM
I fixed the GLX loading issue additionall but the screen issue remains:
(nvidia-xconfig --preserve-busid --enable-all-gpus)

Code: [Select]
[  4794.710] (II) LoadModule: "glx"
[  4794.710] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  4794.714] (II) Module glx: vendor="NVIDIA Corporation"
[  4794.714] compiled for 4.0.2, module version = 1.0.0
[  4794.714] Module class: X.Org Server Extension
[  4794.714] (II) NVIDIA GLX Module  390.87  Tue Aug 21 16:10:56 PDT 2018
[  4794.714] (II) LoadModule: "nvidia"
[  4794.714] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[  4794.714] (II) Module nvidia: vendor="NVIDIA Corporation"
[  4794.714] compiled for 4.0.2, module version = 1.0.0
[  4794.714] Module class: X.Org Video Driver
[  4794.714] (II) NVIDIA dlloader X Driver  390.87  Tue Aug 21 15:44:49 PDT 2018
[  4794.714] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  4794.714] (--) using VT number 2

[  4794.729] (II) Loading sub module "fb"
[  4794.729] (II) LoadModule: "fb"
[  4794.729] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[  4794.729] (II) Module fb: vendor="X.Org Foundation"
[  4794.729] compiled for 1.20.0, module version = 1.0.0
[  4794.729] ABI class: X.Org ANSI C Emulation, version 0.4
[  4794.729] (II) Loading sub module "wfb"
[  4794.729] (II) LoadModule: "wfb"
[  4794.730] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[  4794.730] (II) Module wfb: vendor="X.Org Foundation"
[  4794.730] compiled for 1.20.0, module version = 1.0.0
[  4794.730] ABI class: X.Org ANSI C Emulation, version 0.4
[  4794.730] (II) Loading sub module "ramdac"
[  4794.730] (II) LoadModule: "ramdac"
[  4794.730] (II) Module "ramdac" already built-in
[  4794.730] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  4794.730] (==) NVIDIA(0): RGB weight 888
[  4794.730] (==) NVIDIA(0): Default visual is TrueColor
[  4794.730] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  4794.730] (**) NVIDIA(0): Enabling 2D acceleration
[  4794.850] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[  4794.850] (--) NVIDIA(0):     DFP-0
[  4794.860] (II) NVIDIA(0): NVIDIA GPU GeForce GT 555M (GF106) at PCI:1:0:0 (GPU-0)
[  4794.860] (--) NVIDIA(0): Memory: 3145728 kBytes
[  4794.860] (--) NVIDIA(0): VideoBIOS: 70.06.32.00.02
[  4794.860] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  4794.860] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  4794.860] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  4794.860] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[  4794.860] (--) NVIDIA(GPU-0):
[  4794.860] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[  4794.860] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[  4794.860] (EE) NVIDIA(0):     to start anyway
[  4794.860] (EE) NVIDIA(0): Failing initialization of X screen 0
[  4794.876] (II) UnloadModule: "nvidia"
[  4794.876] (II) UnloadSubModule: "wfb"
[  4794.876] (II) UnloadSubModule: "fb"
[  4794.876] (EE) Screen(s) found, but none have a usable configuration.
[  4794.876] (EE)
Fatal server error:
[  4794.876] (EE) no screens found(EE)
[  4794.876] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[  4794.876] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  4794.876] (EE)
[  4794.947] (EE) Server terminated with error (1). Closing log file.

    [EDIT]: Added code tags.  Rich
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on November 21, 2018, 02:51:07 AM
I fixed the GLX loading issue additionall but the screen issue remains:
(nvidia-xconfig --preserve-busid --enable-all-gpus)

Code: [Select]
[  4794.710] (II) LoadModule: "glx"
[  4794.710] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  4794.714] (II) Module glx: vendor="NVIDIA Corporation"
[  4794.714] compiled for 4.0.2, module version = 1.0.0
[  4794.714] Module class: X.Org Server Extension
[  4794.714] (II) NVIDIA GLX Module  390.87  Tue Aug 21 16:10:56 PDT 2018
[  4794.714] (II) LoadModule: "nvidia"
[  4794.714] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[  4794.714] (II) Module nvidia: vendor="NVIDIA Corporation"
[  4794.714] compiled for 4.0.2, module version = 1.0.0
[  4794.714] Module class: X.Org Video Driver
[  4794.714] (II) NVIDIA dlloader X Driver  390.87  Tue Aug 21 15:44:49 PDT 2018
[  4794.714] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  4794.714] (--) using VT number 2

[  4794.729] (II) Loading sub module "fb"
[  4794.729] (II) LoadModule: "fb"
[  4794.729] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[  4794.729] (II) Module fb: vendor="X.Org Foundation"
[  4794.729] compiled for 1.20.0, module version = 1.0.0
[  4794.729] ABI class: X.Org ANSI C Emulation, version 0.4
[  4794.729] (II) Loading sub module "wfb"
[  4794.729] (II) LoadModule: "wfb"
[  4794.730] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[  4794.730] (II) Module wfb: vendor="X.Org Foundation"
[  4794.730] compiled for 1.20.0, module version = 1.0.0
[  4794.730] ABI class: X.Org ANSI C Emulation, version 0.4
[  4794.730] (II) Loading sub module "ramdac"
[  4794.730] (II) LoadModule: "ramdac"
[  4794.730] (II) Module "ramdac" already built-in
[  4794.730] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  4794.730] (==) NVIDIA(0): RGB weight 888
[  4794.730] (==) NVIDIA(0): Default visual is TrueColor
[  4794.730] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  4794.730] (**) NVIDIA(0): Enabling 2D acceleration
[  4794.850] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[  4794.850] (--) NVIDIA(0):     DFP-0
[  4794.860] (II) NVIDIA(0): NVIDIA GPU GeForce GT 555M (GF106) at PCI:1:0:0 (GPU-0)
[  4794.860] (--) NVIDIA(0): Memory: 3145728 kBytes
[  4794.860] (--) NVIDIA(0): VideoBIOS: 70.06.32.00.02
[  4794.860] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  4794.860] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  4794.860] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  4794.860] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[  4794.860] (--) NVIDIA(GPU-0):
[  4794.860] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[  4794.860] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[  4794.860] (EE) NVIDIA(0):     to start anyway
[  4794.860] (EE) NVIDIA(0): Failing initialization of X screen 0
[  4794.876] (II) UnloadModule: "nvidia"
[  4794.876] (II) UnloadSubModule: "wfb"
[  4794.876] (II) UnloadSubModule: "fb"
[  4794.876] (EE) Screen(s) found, but none have a usable configuration.
[  4794.876] (EE)
Fatal server error:
[  4794.876] (EE) no screens found(EE)
[  4794.876] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[  4794.876] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  4794.876] (EE)
[  4794.947] (EE) Server terminated with error (1). Closing log file.

EDIT:

Also interesting:

Code: [Select]
tc@box:~$ nvidia-xconfig --query-gpu-info
Number of GPUs: 1

GPU #0:
  Name      : GeForce GT 555M
  UUID      : GPU-3e449f97-312e-4a5b-8e94-91547ad28f84
  PCI BusID : PCI:1:0:0

  Number of Display Devices: 0

For some reason it is 0.

May it be an issue that Corepure64 doesn't seem to allow the ACPI demon to start?

    [EDIT]: Added code tags.  Rich
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Rich on November 21, 2018, 06:14:10 AM
Hi Alligadi
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly.
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on November 21, 2018, 09:20:47 AM
Hello Alligadi

First,  I've found that nvidia-config can fail to create a Xorg.conf file correctly because of missing dependencies without giving any indication that it failed.  So I'm wondering if you attempted to create an Xorg.conf file using your current installation, or did you attempt to use my script provided below to install all required components..?

Secondly,  please confirm this notebook has only an Nvidia discreet graphics chip?   I'm thinking that maybe you have a hybrid which includes an i915 chip which may be leading to the confusion?


You could also try creating a basic Xorg.conf using Xorg -configure as root,  then simply change the driver name to "Nvidia"
Code: [Select]
Xorg -configure
mv /root/xorg.conf.new /etc/X11/xorg.conf

then edit this section to add Nvidia
"Identifier "Configured Video Device"
Driver "Nvidia"

Then
Code: [Select]
startx
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on November 21, 2018, 02:19:30 PM
Further...

Assuming you have only an Nvidia display chip, then

take the script attached to a previous post in this thread, comment out these last two lines

Code: [Select]
# sudo nvidia-xconfig
# startx

and save it, make it executable

then
reboot
connect to internet via Ethernet or "sudo wifi.sh"
./nvidia_load.sh                                                    #or whatever location and name you gave the script
cd /
sudo Xorg -configure                                             # this should make a basic config file with fonts and Nvidia driver  but id check that it specifies Nvidia
sudo mkdir -p /etc/X11                                           #make sure the directory exists
sudo cp /root/xorg.conf.new /home/tc/xorg.conf.new   #save a copy somewhere safe
sudo cp /root/xorg.conf.new /etc/X11/xorg.conf


If everything went well
startx                                                                    #should start the desktop

good luck
Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: Alligadi on December 27, 2018, 01:23:10 AM
Hello Alligadi

First,  I've found that nvidia-config can fail to create a Xorg.conf file correctly because of missing dependencies without giving any indication that it failed.  So I'm wondering if you attempted to create an Xorg.conf file using your current installation, or did you attempt to use my script provided below to install all required components..?

Secondly,  please confirm this notebook has only an Nvidia discreet graphics chip?   I'm thinking that maybe you have a hybrid which includes an i915 chip which may be leading to the confusion?


You could also try creating a basic Xorg.conf using Xorg -configure as root,  then simply change the driver name to "Nvidia"
Code: [Select]
Xorg -configure
mv /root/xorg.conf.new /etc/X11/xorg.conf

then edit this section to add Nvidia
"Identifier "Configured Video Device"
Driver "Nvidia"

Then
Code: [Select]
startx

Hi coreplayer2!
Thank you for your effort!
It is a hybrid setup, as there is also a
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
additionally to the
01:00.0 VGA compatible controller: NVIDIA Corporation GF106M [GeForce GT 555M] (rev a1)

Any ideas how I could make it work in this case?

Best regards,
Alligadi

Title: Re: NVIDIA driver on TCE Corepure64 9.x
Post by: coreplayer2 on December 27, 2018, 08:44:13 PM
Sorry, I have no experience with hybrid graphics.  However I understand that some notebooks have a switch either physical or with the BIOS to disable the onchip graphics adaptor.





Sent from my iPhone using Tapatalk