LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-22-2018, 12:58 AM   #31
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436

I could easily be wrong but I think aragorn2101 is mainly referring to using nVidia's "nvidia-foo.run" installer which does not employ KMS instead of the SlackBuild which does. The disadvantage is when you install a new kernel you must run the nviidia installer each time but the advantages are you have greater choice in which versions you can use, it's all done at runlevel3 which can have numerous advantages, it asks you what features you wish to include such as 32bit compatibility files, makes checks for kernel and gcc version, checks for conflicting GLX libraries and fixes them, and offers to run nvidia-xconfig for you. It's clear and simple and eschews convenience in favor of power.
 
1 members found this post helpful.
Old 06-24-2018, 05:38 AM   #32
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
I'd already tried the nvidia's installer as described in early of this thread. I cannot start x after the installation, means even worse
 
Old 06-24-2018, 06:42 AM   #33
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,302
Blog Entries: 61

Rep: Reputation: Disabled
This might be a really dumb question: have you got your monitor plugged into the gtx 1050. Not the VGA socket?

Last edited by brianL; 06-24-2018 at 06:51 AM.
 
1 members found this post helpful.
Old 06-24-2018, 09:37 AM   #34
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
Quote:
Originally Posted by narke View Post
I'd already tried the nvidia's installer as described in early of this thread. I cannot start x after the installation, means even worse
I know this must be terribly frustrating for you but hang in there as I'm confident we will get it working or know why not. I only spent maybe 3 minutes going through each of your posts, narke, but I didn't see any obvious reference to getting the driver from nvidia's search and installing via it's ./run file. All I saw was SBO packages. It's not that SBO packages are not good. They are fine especially when no difficulties arise. The reason I use and recommended the nvidia-foo.run method is that it is exceptionally rare that one will install successfully that won't work. I've had the nvidia installer tell me essentially "this version won't work on this card. You need "nvidia-foofoo.run" or warn me complete kernel source was not available or two different gcc compilers were used, etc.

There is no need to direct me to the post if I simply missed it. I'd just like to know what Xorg.0.log had to say and possibly "nvidia-installer.log in the same "/var/log" directory. It may be substantially more revealing when "startx" fails altogether than when it simply falls back to the 1915.
 
1 members found this post helpful.
Old 06-25-2018, 11:45 PM   #35
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by brianL View Post
This might be a really dumb question: have you got your monitor plugged into the gtx 1050. Not the VGA socket?
This is a laptop I am using its single display
 
Old 06-26-2018, 02:15 AM   #36
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by enorbet View Post
I know this must be terribly frustrating for you but hang in there as I'm confident we will get it working or know why not. I only spent maybe 3 minutes going through each of your posts, narke, but I didn't see any obvious reference to getting the driver from nvidia's search and installing via it's ./run file. All I saw was SBO packages. It's not that SBO packages are not good. They are fine especially when no difficulties arise. The reason I use and recommended the nvidia-foo.run method is that it is exceptionally rare that one will install successfully that won't work. I've had the nvidia installer tell me essentially "this version won't work on this card. You need "nvidia-foofoo.run" or warn me complete kernel source was not available or two different gcc compilers were used, etc.

There is no need to direct me to the post if I simply missed it. I'd just like to know what Xorg.0.log had to say and possibly "nvidia-installer.log in the same "/var/log" directory. It may be substantially more revealing when "startx" fails altogether than when it simply falls back to the 1915.
I tried again and recorded what happened. I firstly removed my nouveau and i915 driver files physically to ensure there would be only nvidia's driver will be running. I also removed my /etc/X11/xorg.conf.d. After that my system should be fully clean. Then I installed the nvidia driver using the .run script. It got succeeded as normally. After that I run nvidia-xorgsetup, which created a new /etc/X11/xorg.conf for me.

Here is the xorg.conf file:
Quote:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.67 (buildmeister@swio-display-x64-rhel04-18) Fri Jun 1 04:26:22 PDT 2018

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

Section "Files"
FontPath "/usr/lib64/X11/fonts/misc/:unscaled"
FontPath "/usr/lib64/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib64/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib64/X11/fonts/misc/"
FontPath "/usr/lib64/X11/fonts/Type1/"
FontPath "/usr/lib64/X11/fonts/Speedo/"
FontPath "/usr/lib64/X11/fonts/100dpi/"
FontPath "/usr/lib64/X11/fonts/75dpi/"
FontPath "/usr/lib64/X11/fonts/cyrillic/"
FontPath "/usr/lib64/X11/fonts/TTF/"
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 "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
After a reboot, I run startx, it quickly end with error. log as attached file Xorg.0.log-0. It seems my nvida device was not detected. I inserted a "BusID "PCI:1:0:0" into the Device section of the config file to give it a hint. This time, the startx run very long with the screen fulled with black and without a return. The log file attached as Xorg.0.log-1. It looks to me the nvidia device was found but it still cannot get X up.

-woody
Attached Files
File Type: log Xorg.0-0.log (4.4 KB, 9 views)
File Type: log Xorg.0-1.log (24.0 KB, 8 views)
 
Old 06-26-2018, 03:21 AM   #37
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,302
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by narke View Post
This is a laptop I am using its single display
I missed this in your earlier post:
Quote:
Originally Posted by narke View Post
It's an ASUS FX63VD.
 
Old 06-26-2018, 04:10 AM   #38
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
Hello again woody
Considering that Xorg.0-0.log terminates properly in that it stops trying to load and says so, while Xorg.0-1.log does not complete and without a clue, maybe we should view that as a clue itself.

First it is good that the addition of the BusID caused nvidia to be detected but I wonder why that was an issue when the nvidia installer had no problem detecting it and presumably at runlevel 3, before any X libraries are activated. However there are a substantial number of differences in our systems that make it difficult for me to offer anything of solid value. I use Legacy mode BIOS, kernel 4.15.0, and /etc/X11/xorg.conf (not xorg.conf.d) so I have no experience nor clues as to what to expect from EFI, 4.17.1, and xorg.conf.d.

My natural suspicion caused by overly lengthy response to startx but without any noted |W| or |E| failure makes me suspect 4.17.1 or even Xorg's reaction to the kernel. Since Current Slackware is still on 4.14.51 I have to wonder how any customizations in compiling 4.17.1 may be a problem causing the slow load time. I also wonder if left alone if it would ultimately succeed at the very least in generating an error. I can't recall ever in close to 20 years use of Linux and nvidia ever not either succeeding or failing and pretty quickly at that. Maybe see if it will succeed if you just walk away for 15 minutes or so. It also might be worthwhile to try plugging into and activating an external monitor since that is one of the few substitution tests available to laptops.

Also does startx succeed with just the Intel graphics system and driver? If it does is there any data revealed by it's success that might be possible to improve xorg.conf.d in the manner that BusID did?

I suspect from seeing some of your other threads that you chose 4.17.1 for specific hardware support for other components but is it possible to try 4.14.51 from Current? I did a little research on 4.17.1 and there is no mention of problems with nvidia though several with AMD/ATi graphics breakage but it is a variable that possibly falls under "less than certain".

I'm grasping at straws here and I know you are working hard to solve this and how frustrating it must be but I can only hope comments may trigger ideas for you to explore since you are the guy at the keyboard and I'm not.
 
Old 06-26-2018, 05:07 AM   #39
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Hi, what is the output of

Code:
xrandr --listproviders
 
Old 06-26-2018, 11:00 AM   #40
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
[QUOTE=millgates;5872059]Hi, what is the output of

In my working system (with it to write the post) I have to disable/uninstall the nvidia, nouveau and only use the i915 intel driver, so the xrandr output at this state is:

Code:
Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel
 
Old 06-26-2018, 11:12 AM   #41
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by enorbet View Post
Hello again woody
First it is good that the addition of the BusID caused nvidia to be detected but I wonder why that was an issue when the nvidia installer had no problem detecting it and presumably at runlevel 3, before any X libraries are activated. However there are a substantial number of differences in our systems that make it difficult for me to offer anything of solid value. I use Legacy mode BIOS, kernel 4.15.0, and /etc/X11/xorg.conf (not xorg.conf.d) so I have no experience nor clues as to what to expect from EFI, 4.17.1, and xorg.conf.d.
There might be a misunderstanding, when doing the nvida driver test, I was using the /etc/X11/xorg.conf file generated from nvidia-xorgsetup. And, the BusID line also was added to the single file.

Quote:
Also does startx succeed with just the Intel graphics system and driver? If it does is there any data revealed by it's success that might be possible to improve xorg.conf.d in the manner that BusID did?
It works quit well with intel's i915 driver. I actually already did a lot of exploring to the succeeded log file and config files (in this case, that are a lot of files in xorg.conf.d, but I think this is just a different way of organizing files, no different at the end), but I did not find anything that can be used to fix the nvidia driver case.

Quote:
I suspect from seeing some of your other threads that you chose 4.17.1 for specific hardware support for other components but is it possible to try 4.14.51 from Current? I did a little research on 4.17.1 and there is no mention of problems with nvidia though several with AMD/ATi graphics breakage but it is a variable that possibly falls under "less than certain".

I'm grasping at straws here and I know you are working hard to solve this and how frustrating it must be but I can only hope comments may trigger ideas for you to explore since you are the guy at the keyboard and I'm not.
Okay, I will find a time to test with the 4.14.51 and see what it will bring. Thanks you very much for your time and suggestions!
 
Old 06-26-2018, 02:24 PM   #42
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
do you have something like

Code:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
in your .xinitrc?
 
Old 06-26-2018, 05:07 PM   #43
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
I don't know if the source is xrandr or just the bootloader but i did notice the above attached Xorg.0-1.log included ...

Code:
 28.794] Kernel command line: BOOT_IMAGE=dev000:\EFI\SLACKWARE\vmlinuz-generic-4.17.1  root=/dev/sda5 nouveau.modeset=0 ro ro
even though apparently nouveau was at that time removed as well as blacklisted and so it seems to me should have generated an error message.
 
Old 06-26-2018, 08:47 PM   #44
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by millgates View Post
do you have something like

Code:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
in your .xinitrc?
No. Do I need it?
 
Old 06-26-2018, 08:49 PM   #45
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by enorbet View Post
I don't know if the source is xrandr or just the bootloader but i did notice the above attached Xorg.0-1.log included ...

Code:
 28.794] Kernel command line: BOOT_IMAGE=dev000:\EFI\SLACKWARE\vmlinuz-generic-4.17.1  root=/dev/sda5 nouveau.modeset=0 ro ro
even though apparently nouveau was at that time removed as well as blacklisted and so it seems to me should have generated an error message.
You mean the nouveau.modset=0 parameter? It's not relevant because I had removed the nouveau*.ko when doing the test, so I did not need bother to remove the parameter as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Some games work with Nvidia proprietary driver some with nouveau driver. Why? kairen Slackware 14 10-14-2015 03:19 PM
Does the new nVidia driver actually work for anyone? YodaCows Linux - Hardware 2 04-14-2006 05:43 PM
X doesnt work with NVIDIA driver??? justinchristensen Slackware 4 12-18-2005 08:27 PM
NVIDIA driver via Suse?? Does this work?? little_penguin SUSE / openSUSE 9 08-28-2005 08:15 PM
Still not getting nvidia driver to work.. GardarS Linux - Hardware 14 06-27-2005 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration