LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-16-2023, 02:29 PM   #781
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512

yvesjv --

I am curious -- do you have more than one GPU on your System ?

I've only got the one NVidia

-- kjh

Code:
# lspci 

00:00.0 Host bridge: Intel Corporation Device 4c43 (rev 01)
00:01.0 PCI bridge: Intel Corporation Device 4c01 (rev 01)
00:06.0 PCI bridge: Intel Corporation Device 4c09 (rev 01)
00:08.0 System peripheral: Intel Corporation Device 4c11 (rev 01)
00:14.0 USB controller: Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Tiger Lake-H Shared SRAM (rev 11)
00:14.3 Network controller: Intel Corporation Tiger Lake PCH CNVi WiFi (rev 11)
00:15.0 Serial bus controller: Intel Corporation Tiger Lake-H Serial IO I2C Controller #0 (rev 11)
00:15.1 Serial bus controller: Intel Corporation Tiger Lake-H Serial IO I2C Controller #1 (rev 11)
00:15.2 Serial bus controller: Intel Corporation Device 43ea (rev 11)
00:16.0 Communication controller: Intel Corporation Tiger Lake-H Management Engine Interface (rev 11)
00:17.0 SATA controller: Intel Corporation Device 43d2 (rev 11)
00:19.0 Serial bus controller: Intel Corporation Device 43ad (rev 11)
00:19.2 Communication controller: Intel Corporation Device 43a7 (rev 11)
00:1b.0 PCI bridge: Intel Corporation Device 43c0 (rev 11)
00:1b.4 PCI bridge: Intel Corporation Device 43c4 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Tiger Lake-H PCI Express Root Port #5 (rev 11)
00:1d.0 PCI bridge: Intel Corporation Tiger Lake-H PCI Express Root Port #9 (rev 11)
00:1d.5 PCI bridge: Intel Corporation Device 43b5 (rev 11)
00:1d.6 PCI bridge: Intel Corporation Device 43b6 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 4385 (rev 11)
00:1f.3 Audio device: Intel Corporation Tiger Lake-H HD Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Tiger Lake-H SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-H SPI Controller (rev 11)
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
05:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
06:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
06:01.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
06:02.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
06:03.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
07:00.0 USB controller: Intel Corporation Thunderbolt 4 NHI [Maple Ridge 4C 2020]
3a:00.0 USB controller: Intel Corporation Thunderbolt 4 USB Controller [Maple Ridge 4C 2020]
3b:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
3c:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
3c:01.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
3c:02.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
3c:03.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
3c:04.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
6e:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
6f:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Killer E3000 2.5GbE Controller (rev 06)
70:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5260 PCI Express Card Reader (rev 01)
or better:

Code:
# lspci |grep -i vga

01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1)
 
Old 04-25-2023, 01:18 PM   #782
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 575

Rep: Reputation: Disabled
Hi,

No, I have two as mine is an optimus
But I pass everything to the Nvidia and do not use the intel at all.
That is thanks to Daedra in his post; https://www.linuxquestions.org/quest...ml#post6216314
 
Old 04-25-2023, 07:15 PM   #783
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,693

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Quote:
Originally Posted by yvesjv View Post
Hi,

No, I have two as mine is an optimus
But I pass everything to the Nvidia and do not use the intel at all.
That is thanks to Daedra in his post; https://www.linuxquestions.org/quest...ml#post6216314
Ironically I recently reformatted my laptop to enable LUKS and forgot how to configure my Laptop for Nvidia only and had to pull out my notes. For anyone who may find it useful here is my steps. I usually do this after installing the nvidia driver.

1) Create a file named /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf with the following contents
Code:
Section "OutputClass"
    Identifier "amd"
    MatchDriver "amdgpu"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib64/xorg/modules"
EndSection
This will have to be tweaked if you have an intel based APU laptop

2) add these modules to your initrd.gz
Code:
nvidia, nvidia_modeset, nvidia_uvm, nvidia_drm
On my laptop I can get away with just adding the nvidia module to my initrd.gz but to play it safe its not a bad idea to add all four.

3) add this option to your boot loader, I use grub so you will have to figure out how to add this elilo/lilo
Code:
nvidia-drm.modeset=1
4) add these lines to your /home/<user>/.xinitrc file
Code:
xrandr --setprovideroutput modesetting NVIDIA=0
xrandr --auto
You should now be ready to reboot. After reboot to confirm that the nvidia is being used run the command
Code:
glxinfo | grep -i nvidia
If you see nvidia then you are good to do. After you launch X you need to run nvidia-settings and under the "X Server Display Configuration" tab you should see "Synchronization: On". This is important because if prime synchronization is not enabled you will get terrible screen tearing.

I think this is everything, if I missed a step I will edit this, but from memory I think this covers it all.
 
6 members found this post helpful.
Old 04-26-2023, 04:45 PM   #784
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
All --

I didn't notice when I ran my 'new kernel installer script' today but it detected and downloaded a new NVidia Production Blob ( NVIDIA-Linux-x86_64-525.116.03.run )

Info is here: Linux X64 (AMD64/EM64T) Display Driver ( Version 525.116.03 )

Released yesterday, 25 Apr 2023

Have fun !

-- kjh
 
3 members found this post helpful.
Old 05-30-2023, 09:16 AM   #785
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,134

Original Poster
Rep: Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300Reputation: 7300
Nvidia's latest Beta driver, version 535.43.02, has been released.
The "release highlights," a list of supported products and a download link can be found at, https://www.nvidia.com/Download/driv.../205039/en-us/

Installation instructions can be found under the heading, "Additional Information" at the above link. Under that same heading you can find detailed installation instructions by clicking on "README."
 
2 members found this post helpful.
Old 05-30-2023, 10:52 AM   #786
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Rep: Reputation: 60
I just tried the new beta, and it does not fix the problem of no terminal screen after I exit a plasma session.
 
1 members found this post helpful.
Old 05-30-2023, 12:02 PM   #787
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
have you tried 530.41.03
It might be a bit more stable. Or you might have hardware problems or software configuration problems. Also are you using grub in an uefi environment ?
I have had problems with lilo which were resolved with grub (virtual terminal switching). Grub loads and runs things in a more up to date manner than lilo
unless lilo has been updated.
 
Old 05-30-2023, 12:07 PM   #788
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Rep: Reputation: 60
My problem is a known issue. The kernel changed a line or two, and ate Nvidia's lunch. I've been runnning kernel-6.0.18 since. The problem is this: I boot into run level 3 and then startx. When I exit plasma, I have no terminal screen, but the keyboard still works. The only way to regain a terminal screen is to reboot. That's a pain.
 
Old 05-30-2023, 12:11 PM   #789
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
hmm have you tried slackware current kernel (6.1.30) it doesn't cr^p out on a terminal when i log out.
 
Old 05-30-2023, 12:15 PM   #790
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 282

Rep: Reputation: 60
Yes. I installed the latest slackware kernel (6.1.30), built the new beta, and ran a plasma session. When I logged out, no terinal window. Reload 6.0.18, rebuild the new beta, and then I can exit plasma and regain a terminal window.
 
Old 05-30-2023, 12:16 PM   #791
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
sounds a bit hinky, i wonder why. Just curious are you using grub by the way?

Last edited by SunnyJim; 05-30-2023 at 12:25 PM. Reason: more questions
 
Old 05-30-2023, 01:16 PM   #792
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,572

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Scroll back...it's a known issue with the 6.1 and nvidia drivers.
 
Old 05-30-2023, 02:10 PM   #793
mickski56
Member
 
Registered: Mar 2018
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
I was experiencing this until I changed boot loader to limine. The screen was a bit messed up until kernel 6.3.4. Now I have virtual consols with ctrl + alt + fn and consol if I telinit 3.
 
Old 05-30-2023, 03:06 PM   #794
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
it's the first i have heard of limine, also it is available for my distro always good to see another alternative (especially if grub is not maintained properly).
@ mickski56 what were you using before limine i wonder?
 
Old 05-31-2023, 04:10 AM   #795
mickski56
Member
 
Registered: Mar 2018
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
I was using elilo and getting initial boot messages but no virtaul consoles and no console on telinit 3. I think it was the same kind of symptoms as many other posters here. Discrete graphics card only.
 
1 members found this post helpful.
  


Reply

Tags
nvidia



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
LXer: NVIDIA Launches a New Stable Driver for Linux Users, Latest Kernels Supported LXer Syndicated Linux News 0 12-11-2014 05:34 PM
[SOLVED] How do I install Nvidia latest driver on Ubuntu 10.10? volt220 Linux - Newbie 3 04-24-2012 11:42 AM
Enable SLI on latest nvidia driver don_wombat_73 Linux - Hardware 2 10-13-2008 04:55 AM
How do I install the latest Nvidia Driver captaincaveman Linux - Software 2 05-03-2004 11:26 PM
How do I remove latest nvidia driver? - Suse 8.2 ford Linux - Hardware 3 01-18-2004 02:37 AM

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

All times are GMT -5. The time now is 01:18 AM.

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