You are not logged in.

#41 2021-03-25 13:11:58

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

unklar wrote:

S11 just did not understand that he should download this package locally.
Apt will then already tell him what is fact.   smile

Actually I did download the file:

/media/10/DEBs/test-sid/dkms_2.8.4-3_all.deb

I did "$ cd /media/10/DEBs/test-sid/"
and I did run it locally, I will quote it this time:

24 Mar 21 @ 13:17:59 /media/10/DEBs/test-sid
   $ sudo apt install dkms_2.8.4-3_all.deb
[sudo] password for sector11:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'dkms' instead of 'dkms_2.8.4-3_all.deb'
The following additional packages will be installed:
  dctrl-tools linux-compiler-gcc-8-x86 linux-headers-4.19.0-14-amd64 linux-headers-4.19.0-14-common linux-headers-amd64 linux-kbuild-4.19
Suggested packages:
  debtags
The following NEW packages will be installed:
  dctrl-tools dkms linux-compiler-gcc-8-x86 linux-headers-4.19.0-14-amd64 linux-headers-4.19.0-14-common linux-headers-amd64
  linux-kbuild-4.19
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Need to get 10.8 MB/10.9 MB of archives.
After this operation, 59.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

24 Mar 21 @ 13:18:56 /media/10/DEBs/test-sid
   $ sudo apt install dkms_2.8.4-3_all.deb --simulate
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'dkms' instead of 'dkms_2.8.4-3_all.deb'
The following additional packages will be installed:
  dctrl-tools linux-compiler-gcc-8-x86 linux-headers-4.19.0-14-amd64 linux-headers-4.19.0-14-common linux-headers-amd64 linux-kbuild-4.19
Suggested packages:
  debtags
The following NEW packages will be installed:
  dctrl-tools dkms linux-compiler-gcc-8-x86 linux-headers-4.19.0-14-amd64 linux-headers-4.19.0-14-common linux-headers-amd64
  linux-kbuild-4.19
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Inst dctrl-tools (2.24-3 Debian:10.8/stable [amd64])
Inst dkms (2.8.4-3 local-deb [all])
Inst linux-compiler-gcc-8-x86 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Inst linux-headers-4.19.0-14-common (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [all])
Inst linux-kbuild-4.19 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Inst linux-headers-4.19.0-14-amd64 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Inst linux-headers-amd64 (4.19+105+deb10u9 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Conf dctrl-tools (2.24-3 Debian:10.8/stable [amd64])
Conf dkms (2.8.4-3 local-deb [all])
Conf linux-compiler-gcc-8-x86 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Conf linux-headers-4.19.0-14-common (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [all])
Conf linux-kbuild-4.19 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Conf linux-headers-4.19.0-14-amd64 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Conf linux-headers-amd64 (4.19+105+deb10u9 Debian:10.8/stable, Debian-Security:10/stable [amd64])

24 Mar 21 @ 13:19:06 /media/10/DEBs/test-sid
   $

The only thing I missed was the ./
And have used "apt" over dpkg for about a year now.  Because of something I read.  Do not recall what exactly, maybe for the same reason siduction mentions.


apt gets the file(s) and hands it over to dpkg for the install process.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#42 2021-03-25 16:27:29

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,702

Re: [SOLVED] nvidia drivers - and more

Sector11 wrote:

The only thing I missed was the ./

^^This is what tells apt to install the locally available package when you are in the directory of the downloaded package.

The way you show it, apt does not take the locally stored package.
smile  But, your Simultation ]:D shows something different(!):

Inst dkms (2.8.4-3 local-deb [all])

Therefore, you should try it, because here you get exactly the package you want and the kernel etc., are also updated.  wink

Offline

#43 2021-03-26 00:35:18

jeffreyC
Member
Registered: 2019-09-07
Posts: 192

Re: [SOLVED] nvidia drivers - and more

If you are using Thunar you can add a custom action to install downloaded deb files, like this one:

Install Deb Files

Install deb packages and dependencies with apt

x-terminal-emulator -e bash -c "sudo apt install %F; echo;read -n 1 -s -r -p 'press any key to close'"

Offline

#44 2021-03-26 14:31:23

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

unklar wrote:
Sector11 wrote:

The only thing I missed was the ./

^^This is what tells apt to install the locally available package when you are in the directory of the downloaded package.

The way you show it, apt does not take the locally stored package.
:)  But, your Simultation ]:D shows something different(!):

Inst dkms (2.8.4-3 local-deb [all])

Therefore, you should try it, because here you get exactly the package you want and the kernel etc., are also updated.  ;)

Hmmm So drop to tty2

sector11 login: sector11
Password:
{blah blah blah}
{blah blah blah}
{blah blah blah}
sector11@sector11:~# sudo su -
[sudo] password for sector11:
root@sector11: cd /media/10/DEBs/test-sid/
root@sector11:/media/10/DEBs/test-sid# sudo apt install ./dkms_2.8.4-3_all.deb --simulate

Simulated here:

 26 Mar 21 @ 11:24:08 ~
   $ sudo su -
[sudo] password for sector11: 
root@sector11:~# cd /media/10/DEBs/test-sid/
root@sector11:/media/10/DEBs/test-sid# sudo apt install ./dkms_2.8.4-3_all.deb --simulate
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'dkms' instead of './dkms_2.8.4-3_all.deb'
The following additional packages will be installed:
  dctrl-tools linux-compiler-gcc-8-x86 linux-headers-4.19.0-14-amd64 linux-headers-4.19.0-14-common linux-headers-amd64 linux-kbuild-4.19
Suggested packages:
  debtags
The following NEW packages will be installed:
  dctrl-tools dkms linux-compiler-gcc-8-x86 linux-headers-4.19.0-14-amd64 linux-headers-4.19.0-14-common linux-headers-amd64
  linux-kbuild-4.19
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Inst dctrl-tools (2.24-3 Debian:10.8/stable [amd64])
Inst dkms (2.8.4-3 local-deb [all])
Inst linux-compiler-gcc-8-x86 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Inst linux-headers-4.19.0-14-common (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [all])
Inst linux-kbuild-4.19 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Inst linux-headers-4.19.0-14-amd64 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Inst linux-headers-amd64 (4.19+105+deb10u9 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Conf dctrl-tools (2.24-3 Debian:10.8/stable [amd64])
Conf dkms (2.8.4-3 local-deb [all])
Conf linux-compiler-gcc-8-x86 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Conf linux-headers-4.19.0-14-common (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [all])
Conf linux-kbuild-4.19 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Conf linux-headers-4.19.0-14-amd64 (4.19.171-2 Debian:10.8/stable, Debian-Security:10/stable [amd64])
Conf linux-headers-amd64 (4.19+105+deb10u9 Debian:10.8/stable, Debian-Security:10/stable [amd64])
root@sector11:/media/10/DEBs/test-sid# 

It looks like it is going to work.  Do I need as backported kernel?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#45 2021-03-26 14:50:37

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

jeffreyC wrote:

If you are using Thunar you can add a custom action to install downloaded deb files, like this one:

Install Deb Files

Install deb packages and dependencies with apt

x-terminal-emulator -e bash -c "sudo apt install %F; echo;read -n 1 -s -r -p 'press any key to close'"

Nice custom action but I prefer manual.

I feel more in (out of) control lol

Please explain: "echo;read -n 1 -s -r -p"

Also no cd to file or "./%F"


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#46 2021-03-26 16:56:02

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,702

Re: [SOLVED] nvidia drivers - and more

Sector11 wrote:

It looks like it is going to work.  Do I need as backported kernel?

No.
And if there is, there's always time later.

Offline

#47 2021-03-26 19:06:40

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

unklar wrote:
Sector11 wrote:

It looks like it is going to work.  Do I need as backported kernel?

No.
And if there is, there's always time later.

Will give it a try my friend.
X your fingers for me.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#48 2021-03-26 19:59:09

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

PK, that worked - thank you all .....

 26 Mar 21 @ 16:56:58 ~
   $ sho dkms
alias = aptitude show filename
Package: dkms                     
Version: 2.8.4-3
State: installed
Automatically installed: no
Multi-Arch: foreign
Priority: optional
Section: kernel
Maintainer: Dynamic Kernel Modules Support Team <dkms@packages.debian.org>
Architecture: all
Uncompressed Size: 302 k
Depends: kmod | kldutils, gcc | c-compiler, dpkg-dev, make | build-essential,
         coreutils (>= 7.4), patch, dctrl-tools
PreDepends: lsb-release
Recommends: fakeroot, sudo, linux-headers-686-pae | linux-headers-amd64 |
            linux-headers-generic | linux-headers
Suggests: menu, e2fsprogs
Provides: dh-sequence-dkms, dkms:i386 (= 2.8.4-3)
Description: Dynamic Kernel Module Support Framework
 DKMS is a framework designed to allow individual kernel modules to be upgraded
 without changing the whole kernel. It is also very easy to rebuild modules as
 you upgrade kernels.
Homepage: https://github.com/dell-oss/dkms
Tags: admin::kernel, devel::buildtools, devel::lang:c, devel::library,
      devel::packaging, implemented-in::c, implemented-in::shell,
      interface::commandline, role::devel-lib, role::program, scope::utility,
      suite::debian, works-with::software:source

 
 26 Mar 21 @ 16:57:01 ~
   $ 

Now for nvidia-driver!!!!

Xing fingers.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#49 2021-03-26 20:13:34

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

I cannot win this battle....

It wants to install a ton of i386 packages   mad  mad  mad

 26 Mar 21 @ 17:10:47 ~
   $ apt install nvidia-driver --simulate
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gcc-8-base:i386 glx-alternative-mesa glx-alternative-nvidia glx-diversions libatomic1:i386 libbsd0:i386 libc6:i386 libdrm-amdgpu1:i386
  libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libegl-mesa0:i386 libegl-nvidia0
  libegl-nvidia0:i386 libegl1:i386 libelf1:i386 libexpat1:i386 libffi6:i386 libgbm1:i386 libgcc1:i386 libgl1:i386 libgl1-mesa-dri:i386
  libgl1-nvidia-glvnd-glx libgl1-nvidia-glvnd-glx:i386 libglapi-mesa:i386 libgles-nvidia1 libgles-nvidia1:i386 libgles-nvidia2
  libgles-nvidia2:i386 libgles1 libgles1:i386 libgles2 libgles2:i386 libglvnd0:i386 libglx-mesa0:i386 libglx-nvidia0 libglx-nvidia0:i386
  libglx0:i386 libidn2-0:i386 libllvm7:i386 libnvidia-cbl libnvidia-cfg1 libnvidia-eglcore libnvidia-eglcore:i386
  libnvidia-fatbinaryloader libnvidia-glcore libnvidia-glcore:i386 libnvidia-glvkspirv libnvidia-glvkspirv:i386 libnvidia-ml1
  libnvidia-ptxjitcompiler1 libnvidia-rtcore libopengl0 libopengl0:i386 libpciaccess0:i386 libsensors5:i386 libstdc++6:i386
  libtinfo6:i386 libunistring2:i386 libvulkan1:i386 libwayland-client0:i386 libwayland-server0:i386 libx11-6:i386 libx11-xcb1:i386
  libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386
  libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxshmfence1:i386 libxxf86vm1:i386 nvidia-alternative
  nvidia-driver-bin nvidia-driver-libs nvidia-driver-libs:i386 nvidia-driver-libs-i386:i386 nvidia-egl-common nvidia-egl-icd
  nvidia-egl-icd:i386 nvidia-installer-cleanup nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-support nvidia-legacy-check
  nvidia-modprobe nvidia-persistenced nvidia-settings nvidia-support nvidia-vdpau-driver nvidia-vulkan-common nvidia-vulkan-icd
  nvidia-vulkan-icd:i386 update-glx xserver-xorg-video-nvidia zlib1g:i386
Suggested packages:
  glibc-doc:i386 locales:i386 lm-sensors:i386 vulkan-utils vulkan-utils:i386

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#50 2021-03-26 20:24:17

jeffreyC
Member
Registered: 2019-09-07
Posts: 192

Re: [SOLVED] nvidia drivers - and more

Sector11 wrote:
jeffreyC wrote:

If you are using Thunar you can add a custom action to install downloaded deb files, like this one

Nice custom action but I prefer manual.

I feel more in (out of) control lol

Please explain: "echo;read -n 1 -s -r -p"

Also no cd to file or "./%F"

When you right click on the file in Thunar to perform a custom action cd is already taken care of.

I did not invent this custom action, it is from MX Linux, but I think those are the command line switches that cause the terminal readout when the TCA installs the package.

Offline

#51 2021-03-26 20:29:40

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

@ jeffreyC

I will save it for another day.  Thank you


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#52 2021-03-26 21:13:30

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,702

Re: [SOLVED] nvidia drivers - and more

What does he say to

apt install nvidia-driver --no-install-recommends

with the 386 packages ?

Offline

#53 2021-03-26 21:16:21

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

I have absolutely NO IDEA what is going on.

1. went to root

sudo su -

2. I removed i386 programs:

apt-get purge ".*:i386"

3. I removed i386 architecture - will reinstall printer drivers later.

dpkg --remove-architecture i386

4. dropped to tty2

sudo su -
apt install nvidia-driver

all looked good, no i386 packages.

Got the notice about conflicting nouveau driver & best way to deal with it was reboot.  GREAT I thought!

Watched the process to the end, no errors.

5. [Ctrl]+[Alt]+[F1]
6. OB menu - shutdown

Switched cable to video card

7. Rebooted
- BIOS Screen
- GRUB screen - Debian
8. tty1 asking for my login name | password
....

9. tty1 asking for my login name | password
....

10. tty1 asking for my login name | password
....
shut down .....
11. put graphics cable back on mobo graphic
- thinking: No nouveau driver - will need to reinstall
- OH JOY!!!!

12. REBOOTED <<<<<<<<
SAY WHAT?  HERE i AM - CONFUSED LIKE THE DEVIL!

 26 Mar 21 @ 18:10:01 ~
   $ s11
System:    Host: sector11 Kernel: 4.19.0-14-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: Openbox 3.6.1 dm: startx 
           Distro: Debian GNU/Linux 10 (buster) 
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 5603 
           date: 10/14/2020 
CPU:       Topology: Quad Core model: AMD Ryzen 3 2200G with Radeon Vega Graphics bits: 64 type: MCP arch: Zen 
           L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 27947 
           Speed: 1827 MHz min/max: 1600/3500 MHz Core speeds (MHz): 1: 1827 2: 1872 3: 3036 4: 1900 
Graphics:  Device-1: NVIDIA GK208 [GeForce GT 710B] vendor: Gigabyte GK208B driver: nvidia v: 418.181.07 bus ID: 01:00.0 
           chip ID: 10de:128b 
           Device-2: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] vendor: ASUSTeK driver: amdgpu v: kernel 
           bus ID: 08:00.0 chip ID: 1002:15dd 
           Display: tty server: X.Org 1.20.4 driver: amdgpu,ati,modesetting,nouveau,nvidia unloaded: fbdev,vesa alternate: nv 
           compositor: compton resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.27.0 4.19.0-14-amd64 LLVM 7.0.1) v: 4.5 Mesa 18.3.6 direct render: Yes 
Audio:     Device-1: NVIDIA GK208 HDMI/DP Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:0e0f 
           Device-2: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus ID: 08:00.1 chip ID: 1002:15de 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 08:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k4.19.0-14-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000 
           bus ID: 06:00.0 chip ID: 10ec:8168 
           IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 40.26 GiB (4.3%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08WN4A0 size: 931.51 GiB speed: 6.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 27.37 GiB used: 5.93 GiB (21.7%) fs: ext4 dev: /dev/sda1 
           ID-2: /boot/efi size: 761.5 MiB used: 5.1 MiB (0.7%) fs: vfat dev: /dev/sda7 
           ID-3: /home size: 27.38 GiB used: 4.31 GiB (15.7%) fs: ext4 dev: /dev/sda2 
           ID-4: /media/10 size: 228.18 GiB used: 2.38 GiB (1.0%) fs: ext4 dev: /dev/sda4 
           ID-5: /media/11 size: 228.18 GiB used: 60.0 MiB (0.0%) fs: ext4 dev: /dev/sda5 
           ID-6: /media/12 size: 172.26 GiB used: 60.0 MiB (0.0%) fs: ext4 dev: /dev/sda6 
           ID-7: /media/5 size: 228.18 GiB used: 27.52 GiB (12.1%) fs: ext4 dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 40.4 C mobo: N/A gpu: amdgpu temp: 40 C 
           Fan Speeds (RPM): cpu: 0 
Weather:   Temperature: 23.3 C (74 F) Conditions: Clear sky Wind: from WNW at 0.5 m/s (2 km/h, 1 mph) Cloud Cover: 1% 
           Humidity: 83% Dew Point: 20.3 C (69 F) Pressure: 1004 mb (33 in) 
           Current Time: Fri 26 Mar 2021 06:10:04 PM -03 (America/Argentina/Buenos_Aires) Source: WeatherBit.io 
Info:      Processes: 183 Uptime: 17m Memory: 13.69 GiB used: 1.10 GiB (8.1%) Init: systemd v: 241 runlevel: 5 Compilers: 
           gcc: 8.3.0 alt: 8 Shell: bash v: 5.0.3 running in: terminator inxi: 3.0.32 
 
 26 Mar 21 @ 18:10:04 ~
   $ 

That's it I'm done with this.

- I put i386 architecture back and add my printer drivers.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#54 2021-03-26 21:40:44

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

unklar wrote:

What does he say to

apt install nvidia-driver --no-install-recommends

with the 386 packages ?

Too late now, nvidia-driver installed but something not right, see my last post.

 26 Mar 21 @ 18:38:43 ~
   $ sho nvidia-driver
alias = aptitude show filename
Package: nvidia-driver            
Version: 418.181.07-1
State: installed

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#55 2021-03-26 23:29:24

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [SOLVED] nvidia drivers - and more

The nvidia driver is loaded:

driver: nvidia

You should disable the builtin graphics if you want to purely use the nvidia card, and plug in the monitor cable to the nvidia card. I have that same AMD chip in my system so I disabled onboard graphics via the BIOS.

Last edited by DeepDayze (2021-03-26 23:30:30)


Real Men Use Linux

Offline

#56 2021-03-27 09:05:28

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,702

Re: [SOLVED] nvidia drivers - and more

^^You're going to destroy your whole system....  big_smile

In my opinion, you always confuse the 386 packages with those that nvidia installs in addition. But the 386-nvidia packages are only meant for people who want to play crappy M$ games via wine for example.
In this sense 386 has nothing in common with 386 on your system here.

Assuming you haven't already undone everything, you're standing here now, and you should after updating Xorg you should reinstall the driver.
Note: Also this tutorial is already 8 years old and I have NO nvidia  wink
Please change above to en

By the way, I need the exact name of your printer, because it can't be that there are only 386 packages for it.  hmm

Offline

#57 2021-03-27 14:22:34

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

DeepDayze wrote:

The nvidia driver is loaded:

driver: nvidia

You should disable the builtin graphics if you want to purely use the nvidia card, and plug in the monitor cable to the nvidia card. I have that same AMD chip in my system so I disabled onboard graphics via the BIOS.

That worked ... but I got three lines of errors at least 2 were BIOS ERRORS

I am on my: GeForce GT 710B card at the moment

How do I read the error logs of tty1 from tty2-7 ?

Because tty1 is my log in point.

Looks like "nouveau" is still there but "unloaded":

Graphics:  Device-1: NVIDIA GK208 [GeForce GT 710B] vendor: Gigabyte GK208B driver: nvidia v: 418.181.07 bus ID: 01:00.0 
           chip ID: 10de:128b 
           Display: tty server: X.Org 1.20.4 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv 
           compositor: compton resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 418.181.07 direct render: Yes 

Then I found this:
EDIT:  Just noticed that the code above from inxi says the "nouveau" driver is unloaded so this does not apply, but will leave it:

You need to unload the nouveau driver before you can load the nvidia driver. However, the nouveau driver is currently in use by the X-server, so it cannot be unloaded yet. You have to stop the X-server first (but don't just re-start it, as then it will use the nouveau driver again).

So in short:

  1. stop X-server: sudo service lightdm stop

  2. unload the nouveau driver: sudo rmmod nouveau

  3. load the nvidia driver: sudo modprobe nvidia

  4. start the X-server: sudo service lightdm start


You might be out-of-luck and the framebuffer for the console is locking the nouveau driver as well. In this case I haven't found a way to unload the driver at all...

Obviously 1 and 4 in my case can be eliminated.
Does everyone in the world use lightdm?

Last edited by Sector11 (2021-03-27 15:19:53)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#58 2021-03-27 15:14:47

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

unklar wrote:

^^You're going to destroy your whole system....  big_smile

My feeling exactly ... I was willing to leave it alone.  But still got replies.

So what I did - AFTER getting the proper dkms installed:

  1. removed all i386 programs (just my printer drivers anyway)

    • sudo apt purge ".*:i386"

  2. got rid of i386 architecture

    • sudo dpkg --remove-architecture i386

  3. dropped to tty2 and installed the nividia-driver

  4. rebooted - have OOPS with card would not work

  5. rebooted - with mobo graphics card

    • sudo dpkg --add-architecture i386

  6. re-installed printer drivers

    • /media/10/Brother_HL1110/hl1110cupswrapper-3.0.1-1a.i386.deb

    • /media/10/Brother_HL1110/hl1110lpr-3.0.1-1a.i386.deb

unklar wrote:

In my opinion, you always confuse the 386 packages with those that nvidia installs in addition. But the 386-nvidia packages are only meant for people who want to play crappy M$ games via wine for example.
In this sense 386 has nothing in common with 386 on your system here.

Exactly why I removed i386 this time before installing nvidia-driver.
See above and the post above this one to DeepDayze

unklar wrote:

Assuming you haven't already undone everything, you're standing here now, and you should after updating Xorg you should reinstall the driver.
Note: Also this tutorial is already 8 years old and I have NO nvidia  wink
Please change above to en

By the way, I need the exact name of your printer, because it can't be that there are only 386 packages for it.  hmm

Printer is Brother: HL1112 (South American designation for HL1110)

The debian package does not support this printer.

   $ sho printer-driver-brlaser
alias = aptitude show filename
Package: printer-driver-brlaser   
Version: 4-1
State: not installed
Priority: optional
Section: text
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Architecture: amd64
Uncompressed Size: 66.6 k
Depends: libc6 (>= 2.14), libcups2 (>= 1.4.0), libcupsimage2 (>= 1.4.0), libgcc1
         (>= 1:3.0), libstdc++6 (>= 5.2)
Conflicts: printer-driver-brlaser:i386
Description: printer driver for (some) Brother laser printers
 CUPS filter driver supporting (some) Brother laser printer. 
 
 This driver is known to support these printers: 
 * Brother DCP-7030 
 * Brother DCP-7065DN 
   
 This package contains the CUPS filter driver for the supported laser printers.
Homepage: https://github.com/pdewacht/brlaser

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#59 2021-03-27 15:42:28

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [SOLVED] nvidia drivers - and more

Box says:
GIGIBYTE NVIDIA
GEFORCE GT710
2GB DDRS

 27 Mar 21 @ 12:24:28 ~
   $ sudo lspci -v -s 01:00.1
[sudo] password for sector11: 
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd GK208 HDMI/DP Audio Controller
	Flags: bus master, fast devsel, latency 0, IRQ 56
	Memory at f6080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

Or maybe I am:  Xorg.0.log
lines 160 to 168:

[    46.367] (II) NVIDIA GLX Module  418.181.07  Sun Dec 27 18:55:20 UTC 2020
[    46.388] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    46.388] (--) NVIDIA(0):     CRT-0 (boot)
[    46.388] (--) NVIDIA(0):     DFP-0
[    46.388] (--) NVIDIA(0):     DFP-1
[    46.392] (II) NVIDIA(0): NVIDIA GPU GeForce GT 710 (GK208) at PCI:1:0:0 (GPU-0)
[    46.392] (--) NVIDIA(0): Memory: 2097152 kBytes
[    46.392] (--) NVIDIA(0): VideoBIOS: 80.28.b8.00.6d
[    46.392] (II) NVIDIA(0): Detected PCI Express Link width: 8X

Last edited by Sector11 (2021-03-27 15:52:15)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#60 2021-03-27 16:18:54

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,702

Re: [SOLVED] nvidia drivers - and more

^^Now it is correct (you must read like this)  big_smile

...
Display: tty server: X.Org 1.20.4 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv 

driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa

the Xorg also says   lol

Offline

Board footer

Powered by FluxBB