Linux general questions and answer

Me2019H

Registered
Messages
101
it works now when i change

geany /mnt/sdb1/grub.cfg

but i didn't find qny browser!!

please send me your changes.dat

this time when i opened file manger i didn't see other partition like sda1 .....

if i want to burn the BusterDog in another FlashDisk with the newest Kernel to work on it in another computer which ISO i burn?
 

cayoenrique

Senior Member
Messages
477
Yess see A browser. Maybee another app you can add to your future build.
In fact I also can recommends firejail wicth is a sand box use for browser. In that way when you broswe the sites that you visit can not look at your real machine.

Now I used palemon but I create a squashfs for it. Why? because the browser keeps changing every 6 month or so. So instead of building a new full OS I only build a new squashfs with the new Browser. I will try to build the latest to show you what I mean. Give me some time I had a bad day my other PC broke its power supply died.
 

cayoenrique

Senior Member
Messages
477
For your Info do not download. Instead follow steps bellow on how to build squasfs
To download latest palemoon you go to:
Code:
]https://www.palemoon.org/download.shtml

Usually I will download the latest build package from Americas. I guess yous may be better from Europe.
So I select Linux 64-bit GTK3 Americas tarball
Code:
https://www.palemoon.org/download.php?mirror=us&bits=64&type=linuxgtk3
]

Now for 1rst time you may want to download a build from contributors as it will contain missing stuff like icons and menu. Then go for 1rst time to:
Code:
https://www.palemoon.org/contributed-builds.shtml
Select Pale Moon GTK3 repositories for Debian and Ubuntu by Steve Pusser.
Code:
https://software.opensuse.org/download.html?project=home%3Astevenpusser%3Apalemoon-GTK3&package=palemoon


Building Squashfs for palemoon

Lets create a working directory to work and extract deb content to it
Code:
mkdir -p /mnt/sda3/remaster/palemoon/tempdir
cd /mnt/sda3/remaster/palemoon
wget --no-check-certificate https://download.opensuse.org/repositories/home:/stevenpusser:/palemoon-GTK3/Debian_10/amd64/palemoon_32.4.0-1.gtk3_amd64.deb
dpkg-deb -x palemoon_32.4.0-1.gtk3_amd64.deb tempdir


Lets create squasfs
Code:
mksquashfs tempdir 71-palemoon_32.4.0-1.gtk3_amd64.squashfs -comp xz

Now you can place a copy of 71-palemoon_32.4.0-1.gtk3_amd64.squashfs in your /mnt/sdb1/DogBuster19/live/base
Next time you but palemon will be one of your apps, just look at /usr/share/applications/Pale Moon

Now in a few month with next update you can edit this squash and just add the /usr/lib/palemoon from the Americas or Europe mirror. The you resquash. I will not explain now not to confuse you. Latter

I forgot after you have tested your new palemoon you can go to /mnt/sda3/remaster/palemoon/tempdir and remove/delete tempdir.
 
Last edited:

cayoenrique

Senior Member
Messages
477
I use the following extensions
NoScript
GetEmAll!
Palefill Web Technologies Polyfill

If you can not find them here is a copy of what is on my folder

extensions.tar.xz (1.79 MB)
Code:
https://workupload.com/file/UKXdp4WHyvt

in palemoon 31 most important is Palefill Web Technologies Polyfill, this is needed for github files. they will not show without it! And I use the downloader a lot.

Apart of that install firejail as it the safeway to browse the net. Only problem is that once in sand box you can only load or save to Download. Well is not a problem, that is what you expect, that the browser can not look into your OS.

Latter I will show you how to use FREE VPN, for web browsing. You can fake you IP from any part of the world. Now the free is good for browsing not for watching movies, as if from private donors.
 

cayoenrique

Senior Member
Messages
477
From my test it seems github mow work ok. So we do not need anymore Palefill Web Technologies Polyfill

So my prefered add on are
blockcont_mdsy.xpi This one almost never used. Only used to block images when server or my internet is to slow
Cookies_Manager+_1.9.1.xpi Almost never used. just in case
getemall_1.2.4.xpi This one I used a lot to speed download
NoScript_5.1.9.xpi Used under normal circumstances
Zap_Anything_1.4.1.xpi Nice to have to block all those floating adds or banners that cover the page forcing you to click on them. Instead I zap them off.
 

cayoenrique

Senior Member
Messages
477
1) 1rst you need to verify you got working your kernel. uname -r should produce "4.19.0-19-amd64" see there is a 19.

When you do
Code:
ls -l /mnt/live/mnt/sdb1/DogBuster19/live/base
You shoould see: "60-linux-headers-4.19.0-19-amd64_4.19.232-1_amd64.squashfs"

Witch means tha if yo do
enrique@live:$ ls -la /lib/modules/4.19.0-19-amd64
total 4416
drwxr-sr-x 6 root fuse 226 Aug 27 02:46 .
drwxr-sr-x 6 root fuse 37 Aug 26 08:04 ..
lrwxrwxrwx 1 root root 37 Sep 20 2019 build -> /usr/src/linux-headers-4.19.0-6-amd64
drwxr-xr-x 22 root root 184 Sep 18 2019 kernel
-rw-r--r-- 1 root root 1137162 May 15 2021 modules.alias
-rw-r--r-- 1 root root 1070177 May 15 2021 modules.alias.bin
-rw-r--r-- 1 root root 4816 Sep 18 2019 modules.builtin
-rw-r--r-- 1 root root 6124 May 15 2021 modules.builtin.bin
-rw-r--r-- 1 root root 433988 May 15 2021 modules.dep
-rw-r--r-- 1 root root 591766 May 15 2021 modules.dep.bin
-rw-r--r-- 1 root root 434 May 15 2021 modules.devname
-rw-r--r-- 1 root root 140042 Sep 18 2019 modules.order
-rw-r--r-- 1 root root 800 May 15 2021 modules.softdep
-rw-r--r-- 1 root root 507503 May 15 2021 modules.symbols
-rw-r--r-- 1 root root 626066 May 15 2021 modules.symbols.bin
lrwxrwxrwx 1 root root 38 Sep 20 2019 source -> /usr/src/linux-headers-4.19.0-6-common
drwxr-xr-x 4 root root 27 Sep 18 2019 updates

enrique@live:$ ls -la /usr/src
total 6
drwxr-xr-x 7 root root 125 Sep 29 2019 .
drwxr-xr-x 63 root root 4096 Sep 9 15:59 ..
drwxr-xr-x 6 root root 159 Sep 29 2019 linux-headers-4.19.0-19-amd64
drwxr-xr-x 6 root root 110 Sep 29 2019 linux-headers-4.19.0-19-common
lrwxrwxrwx 1 root root 24 Sep 20 2019 linux-kbuild-4.19 -> ../lib/linux-kbuild-4.19

All I have show you are the Linux-Header needed if you are building a kernel driver!


2) Next you need to allow Debian OS to load packages NONE-FREE

Code:
cp /etc/apt/sources.list /etc/apt/sources.list.back
geany /etc/apt/sources.list

Notice how we add contrib non-free
#deb https://github.com/doglinux/busterdog/raw/master/amd64/ ./
## package repositories
deb http://ftp.us.debian.org/debian/ buster main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ buster main
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free
#deb http://la.mxrepo.com/antix/buster buster main nonfree
#deb http://mxrepo.com/mx/repo/ buster main non-free

Since we are there lets disable with # google as we do not use chrome
geany /etc/apt/sources.list.d/google-chrome.list

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
#deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

Lets get prerequisites.
Code:
apt update
apt install build-essential dkms nvidia-detect nvidia-xconfig
No thing should load as you have all already installed

3) Now lets see who OS is so that we can see how it changes later
make note or save info some place

Code:
uname -a
lspci -k | grep -i -e"vga" -A3
ls -la /usr/src/linux-headers-$(uname -r)  /lib/modules/$(uname -r)/build
find /lib/modules/4.19.0-19-amd64 | grep -i -e "nvidia\|nouveau"
lsmod | grep -i -e "nvidia\|nouveau"


4) NOW IMPORTANT, reboot to old Linux and make copy of changes.dat. If something gows wrong you can the ercopy your backup and start again.

Code:
cp /mnt/sdb1/DogBuster19/live/changes.dat /mnt/sda3/changes.dat

5) reboot into DogBuster19 and lets make driver
Code:
apt install nvidia-legacy-340xx-driver 
nvidia-xconfig

PLEASE notice if error shows. Also it is A MOST DO nvidia-xconfig
This tell you Xwindows to use new driver. After it you should have a new file in /etc/X11
You can look at it by doing

Code:
cat /etc/X11/xorg.conf

So now we need to reboot for all to take effect.

6) Lets test new driver configuration to compare with old. We should see the new driver at "/lib/modules/4.19.0-19-amd64/updates/dkms/nvidia-legacy-340xx.ko"
Code:
find /lib/modules/4.19.0-19-amd64 | grep -i -e "nvidia\|nouveau"
lspci -k | grep -i -e"vga" -A3
lsmod | grep -i -e "nvidia\|nouveau"

7) Now lets install OpenCL
Code:
sudo apt remove mesa-opencl-icd
sudo apt install opencl-c-headers ocl-icd-opencl-dev ocl-icd-libopencl1 
sudo apt install nvidia-legacy-340xx-opencl-icd firmware-linux clinfo
clinfo
 

Me2019H

Registered
Messages
101
my path is /mnt/sdb1/BusterDog19/live/base not /mnt/live/mnt/sdb1/DogBuster19/live/base

and the headers
root@live:~# uname -r
4.19.0-19-amd64
root@live:~# ls -l /mnt/sdb1/BusterDog19/live/base
total 10148
-rwxrwxrwx 1 root root 10387456 Sep 9 22:48 62-linux-headers-4.19.0-19-amd64_4.19.232-1_amd64.squashfs
-rwxrwxrwx 1 root root 65 Mar 31 2017 Readme
root@live:~# ls -la /lib/modules/4.19.0-19-amd64
total 4436
drwxr-xr-x 3 1002 1004 42 Feb 19 2023 .
drwxr-xr-x 4 1002 1004 38 Mar 7 2022 ..
lrwxrwxrwx 1 1002 1004 38 Mar 7 2022 build -> /usr/src/linux-headers-4.19.0-19-amd64
drwxr-xr-x 12 root root 184 Mar 21 2022 kernel
-rw-r--r-- 1 root root 1137366 Mar 21 2022 modules.alias
-rw-r--r-- 1 root root 1085706 Mar 21 2022 modules.alias.bin
-rw-r--r-- 1 root root 4683 Mar 21 2022 modules.builtin
-rw-r--r-- 1 root root 5999 Mar 21 2022 modules.builtin.bin
-rw-r--r-- 1 root root 436085 Mar 21 2022 modules.dep
-rw-r--r-- 1 root root 594060 Mar 21 2022 modules.dep.bin
-rw-r--r-- 1 root root 456 Mar 21 2022 modules.devname
-rw-r--r-- 1 root root 140056 Mar 21 2022 modules.order
-rw-r--r-- 1 root root 827 Mar 21 2022 modules.softdep
-rw-r--r-- 1 root root 507546 Mar 21 2022 modules.symbols
-rw-r--r-- 1 root root 626574 Mar 21 2022 modules.symbols.bin
lrwxrwxrwx 1 1002 1004 39 Mar 7 2022 source -> /usr/src/linux-headers-4.19.0-19-common
root@live:~#

root@live:~# ls -la /usr/src
total 4
drwxr-xr-x 4 1002 1004 127 Sep 3 01:36 .
drwxr-xr-x 16 1002 1004 4096 Sep 11 23:01 ..
drwxr-xr-x 4 1002 1004 159 Feb 19 2023 linux-headers-4.19.0-19-amd64
drwxr-xr-x 4 1002 1004 110 Mar 7 2022 linux-headers-4.19.0-19-common
lrwxrwxrwx 1 1002 1004 24 Sep 3 01:23 linux-kbuild-4.19 -> ../lib/linux-kbuild-4.19
root@live:~#

root@live:~# apt update
Get:1 http://security.debian.org buster/updates InRelease [34.8 kB]
Get:2 http://ftp.us.debian.org/debian buster InRelease [122 kB]
Get:3 http://security.debian.org buster/updates/non-free Sources [4,048 B]
Get:4 http://security.debian.org buster/updates/main Sources [347 kB]
Get:5 http://ftp.us.debian.org/debian buster-updates InRelease [56.6 kB]
Get:6 http://security.debian.org buster/updates/main i386 Packages [550 kB]
Get:7 http://ftp.us.debian.org/debian buster/main i386 Packages [7,866 kB]
Get:8 http://security.debian.org buster/updates/main amd64 Packages [551 kB]
Get:9 http://security.debian.org buster/updates/main Translation-en [294 kB]
Get:10 http://security.debian.org buster/updates/non-free amd64 Packages [10.8 kB]
Get:11 http://security.debian.org buster/updates/non-free i386 Packages [11.2 kB]
Get:12 http://security.debian.org buster/updates/non-free Translation-en [24.4 kB]
Get:13 http://ftp.us.debian.org/debian buster/main amd64 Packages [7,909 kB]
Get:14 http://ftp.us.debian.org/debian buster/main Translation-en [5,969 kB]
Get:15 http://ftp.us.debian.org/debian buster/contrib amd64 Packages [50.1 kB]
Get:16 http://ftp.us.debian.org/debian buster/contrib i386 Packages [46.0 kB]
Get:17 http://ftp.us.debian.org/debian buster/contrib Translation-en [44.2 kB]
Get:18 http://ftp.us.debian.org/debian buster/non-free amd64 Packages [87.8 kB]
Get:19 http://ftp.us.debian.org/debian buster/non-free i386 Packages [76.3 kB]
Get:20 http://ftp.us.debian.org/debian buster/non-free Translation-en [88.9 kB]
Get:21 http://ftp.us.debian.org/debian buster-updates/main i386 Packages [8,816 B]
Get:22 http://ftp.us.debian.org/debian buster-updates/main amd64 Packages [8,788 B]
Get:23 http://ftp.us.debian.org/debian buster-updates/main Translation-en [6,915 B]
Fetched 24.2 MB in 4min 18s (93.6 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@live:~# apt install build-essential dkms nvidia-detect nvidia-xconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.6).
dkms is already the newest version (2.6.1-4).
nvidia-xconfig is already the newest version (418.56-1).
nvidia-detect is already the newest version (418.226.00-3).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@live:~#

root@live:~# uname -a
Linux live 4.19.0-19-amd64 #1 SMP Debian 4.19.232-1 (2022-03-07) x86_64 GNU/Linux
root@live:~#
root@live:~# lspci -k | grep -i -e"vga" -A3
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Dell Haswell-ULT Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
root@live:~#
root@live:~# ls -la /usr/src/linux-headers-$(uname -r) /lib/modules/$(uname -r)/build
lrwxrwxrwx 1 1002 1004 38 Mar 7 2022 /lib/modules/4.19.0-19-amd64/build -> /usr/src/linux-headers-4.19.0-19-amd64

/usr/src/linux-headers-4.19.0-19-amd64:
total 1529
drwxr-xr-x 4 1002 1004 159 Feb 19 2023 .
drwxr-xr-x 4 1002 1004 127 Sep 3 01:36 ..
drwxr-xr-x 3 1002 1004 26 Mar 7 2022 arch
-rw-r--r-- 1 1002 1004 206331 Mar 7 2022 .config
drwxr-xr-x 4 1002 1004 46 Mar 7 2022 include
-rw-r--r-- 1 1002 1004 244 Mar 7 2022 .kernelvariables
-rw-r--r-- 1 1002 1004 308 Mar 7 2022 Makefile
-rw-r--r-- 1 1002 1004 1357970 Mar 7 2022 Module.symvers
lrwxrwxrwx 1 1002 1004 35 Mar 7 2022 scripts -> ../../lib/linux-kbuild-4.19/scripts
lrwxrwxrwx 1 1002 1004 33 Mar 7 2022 tools -> ../../lib/linux-kbuild-4.19/tools
root@live:~#

root@live:~# find /lib/modules/4.19.0-19-amd64 | grep -i -e "nvidia\|nouveau"
/lib/modules/4.19.0-19-amd64/kernel/drivers/gpu/drm/nouveau
/lib/modules/4.19.0-19-amd64/kernel/drivers/gpu/drm/nouveau/nouveau.ko
/lib/modules/4.19.0-19-amd64/kernel/drivers/net/ethernet/nvidia
/lib/modules/4.19.0-19-amd64/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
root@live:~# lsmod | grep -i -e "nvidia\|nouveau"
nouveau 2179072 1
ttm 126976 1 nouveau
button 20480 1 nouveau
video 49152 4 dell_wmi,dell_laptop,i915,nouveau
mxm_wmi 16384 1 nouveau
wmi 28672 6 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau
i2c_algo_bit 16384 2 i915,nouveau
drm_kms_helper 208896 2 i915,nouveau
drm 495616 8 drm_kms_helper,i915,ttm,nouveau
root@live:~#

I taked i copy of chang.dat using FILE Manager i did not reboot
root@live:~# nvidia-xconfig

WARNING: Unable to locate/open X configuration file.

New X configuration file written to '/etc/X11/xorg.conf'

root@live:~#
 

Me2019H

Registered
Messages
101
i stuck here after reboot

3DHXZ9c

when i write ls it work i see desktop .....
how can i return to the graphical os
or recopy changes.dat
 

cayoenrique

Senior Member
Messages
477
1) I think problem is that you did nvidia-xconfig, but you did not install drivefr 1rst!!! “apt install nvidia-legacy-340xx-driver. See step 5)
I did ask you to create a backup of change.dat because it is hard to recover if you do not have X-Server running. With is the error you see in Image. “X-server terminated with error” This mean you will not have GUI only Terminal.
2) And I have said may times while testing you need to have more than one Linux so that you can boot from the other one to repair damage of one.
3) You are not printing all VGA info. Next time you should use
Code:
find /lib/modules/4.19.0-19-amd64 | grep -i -e "nvidia\|nouveau"
lspci -k | grep -i -e"vga\|nvidia" -A3
lsmod | grep -i -e "nvidia\|nouveau\|i915"

4) Easy way is to boot second Linux. Then remove & replace backup of change.dat. Be careful you do not want to delete the backup copy. Then you reboot and do my POST #67. This time in step 5)&6) lets make sure we build the driver

New STEP 5) & 6) we are changing the order so that we know the driver was build before nvidia-xconfig

so 5&6 are now like this:
1rst we make sure what is the driver we need. So do nvidia-detect
root@live:~# nvidia-detect
Detected NVIDIA GPUs:
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation C77 [GeForce 8200] [10de:084b] (rev a2)

Checking card: NVIDIA Corporation C77 [GeForce 8200] (rev a2)
Your card is only supported up to the 340 legacy drivers series.
It is recommended to install the
nvidia-legacy-340xx-driver
package.
root@live:~#

Now that we know it is in fact nvidia-legacy-340xx-driver
Code:
apt install nvidia-legacy-340xx-driver

Look at the screen carefully make sure there is no error showing. Then lets see if driver was made and available.
Code:
find /lib/modules/4.19.0-19-amd64 | grep -i -e "nvidia\|nouveau"
You should see something like nvidia-legacy or nvidia-legacy-340xx

Note if driver do not install then do not do nvidia-xconfig, because you end up with no X- window GUI.
But If you got the driver, then do now :
Code:
nvidia-xconfig

Hope this work
 

Me2019H

Registered
Messages
101
root@live:~# apt install build-essential dkms nvidia-detect nvidia-xconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.6).
dkms is already the newest version (2.6.1-4).
nvidia-xconfig is already the newest version (418.56-1).
nvidia-detect is already the newest version (418.226.00-3).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
root@live:~# uname -a
Linux live 4.19.0-19-amd64 #1 SMP Debian 4.19.232-1 (2022-03-07) x86_64 GNU/Linux
root@live:~# lspci -k | grep -i -e"vga" -A3
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Dell Haswell-ULT Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
root@live:~# ls -la /usr/src/linux-headers-$(uname -r) /lib/modules/$(uname -r)/build
lrwxrwxrwx 1 1002 1004 38 Mar 7 2022 /lib/modules/4.19.0-19-amd64/build -> /usr/src/linux-headers-4.19.0-19-amd64

/usr/src/linux-headers-4.19.0-19-amd64:
total 1529
drwxr-xr-x 4 1002 1004 159 Feb 19 2023 .
drwxr-xr-x 4 1002 1004 127 Sep 3 01:36 ..
drwxr-xr-x 3 1002 1004 26 Mar 7 2022 arch
-rw-r--r-- 1 1002 1004 206331 Mar 7 2022 .config
drwxr-xr-x 4 1002 1004 46 Mar 7 2022 include
-rw-r--r-- 1 1002 1004 244 Mar 7 2022 .kernelvariables
-rw-r--r-- 1 1002 1004 308 Mar 7 2022 Makefile
-rw-r--r-- 1 1002 1004 1357970 Mar 7 2022 Module.symvers
lrwxrwxrwx 1 1002 1004 35 Mar 7 2022 scripts -> ../../lib/linux-kbuild-4.19/scripts
lrwxrwxrwx 1 1002 1004 33 Mar 7 2022 tools -> ../../lib/linux-kbuild-4.19/tools
root@live:~# find /lib/modules/4.19.0-19-amd64 | grep -i -e "nvidia\|nouveau"
/lib/modules/4.19.0-19-amd64/kernel/drivers/gpu/drm/nouveau
/lib/modules/4.19.0-19-amd64/kernel/drivers/gpu/drm/nouveau/nouveau.ko
/lib/modules/4.19.0-19-amd64/kernel/drivers/net/ethernet/nvidia
/lib/modules/4.19.0-19-amd64/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
root@live:~# lsmod | grep -i -e "nvidia\|nouveau\|i915"
nouveau 2179072 1
ttm 126976 1 nouveau
i915 1736704 4
video 49152 4 dell_wmi,dell_laptop,i915,nouveau
button 20480 1 nouveau
mxm_wmi 16384 1 nouveau
wmi 28672 6 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau
i2c_algo_bit 16384 2 i915,nouveau
drm_kms_helper 208896 2 i915,nouveau
drm 495616 8 drm_kms_helper,i915,ttm,nouveau
root@live:~#

root@live:~# apt install nvidia-legacy-340xx-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
glx-alternative-mesa glx-alternative-nvidia glx-diversions libegl1-nvidia-legacy-340xx
libgl1-nvidia-legacy-340xx-glx libnvidia-legacy-340xx-eglcore
libnvidia-legacy-340xx-glcore libnvidia-legacy-340xx-ml1 nvidia-kernel-common
nvidia-legacy-340xx-alternative nvidia-legacy-340xx-driver-bin
nvidia-legacy-340xx-driver-libs nvidia-legacy-340xx-kernel-dkms
nvidia-legacy-340xx-kernel-support nvidia-legacy-340xx-vdpau-driver nvidia-modprobe
nvidia-support update-glx xserver-xorg-video-nvidia-legacy-340xx
Suggested packages:
nvidia-driver
Recommended packages:
nvidia-settings-legacy-340xx nvidia-persistenced nvidia-legacy-340xx-driver-libs-i386
libgles1-nvidia-legacy-340xx libgles2-nvidia-legacy-340xx libnvidia-legacy-340xx-cfg1
The following NEW packages will be installed:
glx-alternative-mesa glx-alternative-nvidia glx-diversions libegl1-nvidia-legacy-340xx
libgl1-nvidia-legacy-340xx-glx libnvidia-legacy-340xx-eglcore
libnvidia-legacy-340xx-glcore libnvidia-legacy-340xx-ml1 nvidia-kernel-common
nvidia-legacy-340xx-alternative nvidia-legacy-340xx-driver
nvidia-legacy-340xx-driver-bin nvidia-legacy-340xx-driver-libs
nvidia-legacy-340xx-kernel-dkms nvidia-legacy-340xx-kernel-support
nvidia-legacy-340xx-vdpau-driver nvidia-modprobe nvidia-support update-glx
xserver-xorg-video-nvidia-legacy-340xx
0 upgraded, 20 newly installed, 0 to remove and 4 not upgraded.
Need to get 23.6 MB of archives.
After this operation, 137 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.us.debian.org/debian buster/contrib amd64 update-glx amd64 1.0.0 [10.5 kB]
Get:2 http://ftp.us.debian.org/debian buster/contrib amd64 glx-alternative-mesa amd64 1.0.0 [9,592 B]
Get:3 http://ftp.us.debian.org/debian buster/contrib amd64 glx-diversions amd64 1.0.0 [12.0 kB]
Get:4 http://ftp.us.debian.org/debian buster/contrib amd64 glx-alternative-nvidia amd64 1.0.0 [10.8 kB]
Get:5 http://ftp.us.debian.org/debian buster/non-free amd64 nvidia-legacy-340xx-alternative amd64 340.108-3~deb10u1 [81.7 kB]
Get:6 http://ftp.us.debian.org/debian buster/non-free amd64 libnvidia-legacy-340xx-glcore amd64 340.108-3~deb10u1 [7,013 kB]
Get:7 http://ftp.us.debian.org/debian buster/contrib amd64 nvidia-support amd64 20151021+9 [20.0 kB]
Get:8 http://ftp.us.debian.org/debian buster/non-free amd64 libgl1-nvidia-legacy-340xx-glx amd64 340.108-3~deb10u1 [471 kB]
Get:9 http://ftp.us.debian.org/debian buster/non-free amd64 libnvidia-legacy-340xx-eglcore amd64 340.108-3~deb10u1 [6,993 kB]
Get:10 http://ftp.us.debian.org/debian buster/non-free amd64 libegl1-nvidia-legacy-340xx amd64 340.108-3~deb10u1 [232 kB]
Get:11 http://ftp.us.debian.org/debian buster/non-free amd64 nvidia-legacy-340xx-driver-libs amd64 340.108-3~deb10u1 [79.9 kB]
Get:12 http://ftp.us.debian.org/debian buster/non-free amd64 libnvidia-legacy-340xx-ml1 amd64 340.108-3~deb10u1 [360 kB]
Get:13 http://ftp.us.debian.org/debian buster/non-free amd64 nvidia-legacy-340xx-driver-bin amd64 340.108-3~deb10u1 [160 kB]
Get:14 http://ftp.us.debian.org/debian buster/non-free amd64 xserver-xorg-video-nvidia-legacy-340xx amd64 340.108-3~deb10u1 [2,815 kB]
Get:15 http://ftp.us.debian.org/debian buster/non-free amd64 nvidia-legacy-340xx-vdpau-driver amd64 340.108-3~deb10u1 [918 kB]
Get:16 http://ftp.us.debian.org/debian buster/contrib amd64 nvidia-kernel-common amd64 20151021+9 [10.8 kB]
Get:17 http://ftp.us.debian.org/debian buster/contrib amd64 nvidia-modprobe amd64 418.56-1 [19.2 kB]
Get:18 http://ftp.us.debian.org/debian buster/non-free amd64 nvidia-legacy-340xx-kernel-support amd64 340.108-3~deb10u1 [80.8 kB]
Get:19 http://ftp.us.debian.org/debian buster/non-free amd64 nvidia-legacy-340xx-kernel-dkms amd64 340.108-3~deb10u1 [3,984 kB]
Get:20 http://ftp.us.debian.org/debian buster/non-free amd64 nvidia-legacy-340xx-driver amd64 340.108-3~deb10u1 [366 kB]
Fetched 23.6 MB in 9min 31s (41.4 kB/s)
Preconfiguring packages ...
Selecting previously unselected package update-glx.
(Reading database ... 71570 files and directories currently installed.)
Preparing to unpack .../00-update-glx_1.0.0_amd64.deb ...
Unpacking update-glx (1.0.0) ...
Selecting previously unselected package glx-alternative-mesa.
Preparing to unpack .../01-glx-alternative-mesa_1.0.0_amd64.deb ...
Unpacking glx-alternative-mesa (1.0.0) ...
Selecting previously unselected package glx-diversions.
Preparing to unpack .../02-glx-diversions_1.0.0_amd64.deb ...
Unpacking glx-diversions (1.0.0) ...
Selecting previously unselected package glx-alternative-nvidia.
Preparing to unpack .../03-glx-alternative-nvidia_1.0.0_amd64.deb ...
Unpacking glx-alternative-nvidia (1.0.0) ...
Selecting previously unselected package nvidia-legacy-340xx-alternative.
Preparing to unpack .../04-nvidia-legacy-340xx-alternative_340.108-3~deb10u1_amd64.deb ...
Unpacking nvidia-legacy-340xx-alternative (340.108-3~deb10u1) ...
Selecting previously unselected package libnvidia-legacy-340xx-glcore:amd64.
Preparing to unpack .../05-libnvidia-legacy-340xx-glcore_340.108-3~deb10u1_amd64.deb ...
Unpacking libnvidia-legacy-340xx-glcore:amd64 (340.108-3~deb10u1) ...
Selecting previously unselected package nvidia-support.
Preparing to unpack .../06-nvidia-support_20151021+9_amd64.deb ...
Unpacking nvidia-support (20151021+9) ...
Selecting previously unselected package libgl1-nvidia-legacy-340xx-glx:amd64.
Preparing to unpack .../07-libgl1-nvidia-legacy-340xx-glx_340.108-3~deb10u1_amd64.deb ...
Unpacking libgl1-nvidia-legacy-340xx-glx:amd64 (340.108-3~deb10u1) ...
Selecting previously unselected package libnvidia-legacy-340xx-eglcore:amd64.
Preparing to unpack .../08-libnvidia-legacy-340xx-eglcore_340.108-3~deb10u1_amd64.deb ...
Unpacking libnvidia-legacy-340xx-eglcore:amd64 (340.108-3~deb10u1) ...
Selecting previously unselected package libegl1-nvidia-legacy-340xx:amd64.
Preparing to unpack .../09-libegl1-nvidia-legacy-340xx_340.108-3~deb10u1_amd64.deb ...
Unpacking libegl1-nvidia-legacy-340xx:amd64 (340.108-3~deb10u1) ...
Selecting previously unselected package nvidia-legacy-340xx-driver-libs:amd64.
Preparing to unpack .../10-nvidia-legacy-340xx-driver-libs_340.108-3~deb10u1_amd64.deb ...
Unpacking nvidia-legacy-340xx-driver-libs:amd64 (340.108-3~deb10u1) ...
Selecting previously unselected package libnvidia-legacy-340xx-ml1:amd64.
Preparing to unpack .../11-libnvidia-legacy-340xx-ml1_340.108-3~deb10u1_amd64.deb ...
Unpacking libnvidia-legacy-340xx-ml1:amd64 (340.108-3~deb10u1) ...
Selecting previously unselected package nvidia-legacy-340xx-driver-bin.
Preparing to unpack .../12-nvidia-legacy-340xx-driver-bin_340.108-3~deb10u1_amd64.deb ...
Unpacking nvidia-legacy-340xx-driver-bin (340.108-3~deb10u1) ...
Selecting previously unselected package xserver-xorg-video-nvidia-legacy-340xx.
Preparing to unpack .../13-xserver-xorg-video-nvidia-legacy-340xx_340.108-3~deb10u1_amd64.deb ...
Unpacking xserver-xorg-video-nvidia-legacy-340xx (340.108-3~deb10u1) ...
Selecting previously unselected package nvidia-legacy-340xx-vdpau-driver:amd64.
Preparing to unpack .../14-nvidia-legacy-340xx-vdpau-driver_340.108-3~deb10u1_amd64.deb ...
Unpacking nvidia-legacy-340xx-vdpau-driver:amd64 (340.108-3~deb10u1) ...
Selecting previously unselected package nvidia-kernel-common.
Preparing to unpack .../15-nvidia-kernel-common_20151021+9_amd64.deb ...
Unpacking nvidia-kernel-common (20151021+9) ...
Selecting previously unselected package nvidia-modprobe.
Preparing to unpack .../16-nvidia-modprobe_418.56-1_amd64.deb ...
Unpacking nvidia-modprobe (418.56-1) ...
Selecting previously unselected package nvidia-legacy-340xx-kernel-support.
Preparing to unpack .../17-nvidia-legacy-340xx-kernel-support_340.108-3~deb10u1_amd64.deb ...
Unpacking nvidia-legacy-340xx-kernel-support (340.108-3~deb10u1) ...
Selecting previously unselected package nvidia-legacy-340xx-kernel-dkms.
Preparing to unpack .../18-nvidia-legacy-340xx-kernel-dkms_340.108-3~deb10u1_amd64.deb ...
Unpacking nvidia-legacy-340xx-kernel-dkms (340.108-3~deb10u1) ...
Selecting previously unselected package nvidia-legacy-340xx-driver.
Preparing to unpack .../19-nvidia-legacy-340xx-driver_340.108-3~deb10u1_amd64.deb ...
Unpacking nvidia-legacy-340xx-driver (340.108-3~deb10u1) ...
Setting up nvidia-support (20151021+9) ...
Setting up nvidia-kernel-common (20151021+9) ...
Setting up update-glx (1.0.0) ...
Setting up nvidia-modprobe (418.56-1) ...
Setting up libnvidia-legacy-340xx-glcore:amd64 (340.108-3~deb10u1) ...
Setting up libnvidia-legacy-340xx-eglcore:amd64 (340.108-3~deb10u1) ...
Setting up glx-alternative-mesa (1.0.0) ...
Setting up glx-diversions (1.0.0) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for libc-bin (2.28-10+deb10u2) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for glx-alternative-mesa (1.0.0) ...
update-alternatives: using /usr/lib/mesa-diverted to provide /usr/lib/glx (glx) in auto mode
Setting up glx-alternative-nvidia (1.0.0) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for glx-alternative-nvidia (1.0.0) ...
Setting up nvidia-legacy-340xx-alternative (340.108-3~deb10u1) ...
Processing triggers for nvidia-legacy-340xx-alternative (340.108-3~deb10u1) ...
update-alternatives: using /usr/lib/nvidia/legacy-340xx to provide /usr/lib/nvidia/nvidia (nvidia) in auto mode
Setting up libegl1-nvidia-legacy-340xx:amd64 (340.108-3~deb10u1) ...
Setting up libgl1-nvidia-legacy-340xx-glx:amd64 (340.108-3~deb10u1) ...

Progress: [ 76%] [###############################################################################################################....................................]
 

Me2019H

Registered
Messages
101
Configuring libgl1-nvidia-legacy-340xx-glx:amd64────────────────────────────────┐
│ Conflicting nouveau kernel module loaded │
│ │
│ The free nouveau kernel module is currently loaded and conflicts with the non-free nvidia kernel module. │
│ │
│ The easiest way to fix this is to reboot the machine once the installation has finished. │
│ │
│ │
├─────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ < OK >
Setting up xserver-xorg-video-nvidia-legacy-340xx (340.108-3~deb10u1) ...
Setting up nvidia-legacy-340xx-vdpau-driver:amd64 (340.108-3~deb10u1) ...
Setting up nvidia-legacy-340xx-kernel-support (340.108-3~deb10u1) ...
Setting up nvidia-legacy-340xx-driver-libs:amd64 (340.108-3~deb10u1) ...
Setting up libnvidia-legacy-340xx-ml1:amd64 (340.108-3~deb10u1) ...
Setting up nvidia-legacy-340xx-driver-bin (340.108-3~deb10u1) ...
Processing triggers for nvidia-legacy-340xx-alternative (340.108-3~deb10u1) ...
update-alternatives: updating alternative /usr/lib/nvidia/legacy-340xx because link group nvidia has changed slave links
Setting up nvidia-legacy-340xx-kernel-dkms (340.108-3~deb10u1) ...
Loading new nvidia-legacy-340xx-340.108 DKMS files...
Building for 4.19.0-19-amd64
Building initial module for 4.19.0-19-amd64
Done.

nvidia-legacy-340xx.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-19-amd64/updates/dkms/

nvidia-legacy-340xx-uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-19-amd64/updates/dkms/

depmod.....

DKMS: install completed.
Setting up nvidia-legacy-340xx-driver (340.108-3~deb10u1) ...
Processing triggers for libc-bin (2.28-10+deb10u2) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Processing triggers for update-glx (1.0.0) ...
Processing triggers for glx-alternative-nvidia (1.0.0) ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
Processing triggers for libc-bin (2.28-10+deb10u2) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
root@live:~#

root@live:~# find /lib/modules/4.19.0-19-amd64 | grep -i -e "nvidia\|nouveau"
/lib/modules/4.19.0-19-amd64/updates/dkms/nvidia-legacy-340xx.ko
/lib/modules/4.19.0-19-amd64/updates/dkms/nvidia-legacy-340xx-uvm.ko
/lib/modules/4.19.0-19-amd64/kernel/drivers/gpu/drm/nouveau
/lib/modules/4.19.0-19-amd64/kernel/drivers/gpu/drm/nouveau/nouveau.ko
/lib/modules/4.19.0-19-amd64/kernel/drivers/net/ethernet/nvidia
/lib/modules/4.19.0-19-amd64/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
root@live:~#

root@live:~# nvidia-xconfig

WARNING: Unable to locate/open X configuration file.

New X configuration file written to '/etc/X11/xorg.conf'

root@live:~# cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 418.56

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 "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

root@live:~#

After reboot the same problem
 
Last edited:

cayoenrique

Senior Member
Messages
477
I am so upset with myself. I was ask by two friends how to compile using MSVC & NVIdia tools. And since almost no one posted, I decided to give it a try and joing two new friends to the cause.

Boy what a mistake. I just tru to the garbage about 14 hours of FULL work. The only think I gain is that now I can some how compile using cl & nmake!
But I have to do mayor surgery to my program and at the end It compile but when I run it in seconds it closes. What a wait of time.

Now there are bad days. I see you did not got forward. Now Your post show you did all and that NO ERROR was posted. UHMM.
If you have not deleted this change.dat. When you boot and get only to Terminal will be nice to see what is the driver installed . Just to have an Idea.

For Live information , after boot do again
Code:
mkdir /mnt/sda3/test
lspci -k | grep -i -e"vga\|nvidia" -A3  > /mnt/sda3/test/results.txt
lsmod | grep -i -e "nvidia\|nouveau\|i915"  >> /mnt/sda3/test/results.txt
modprobe nvidia  >> /mnt/sda3/test/results.txt

And if you want to learn how to mount the change.dat to look at the files it contains, like looking at the logs in \var\log\*log
or looking into some of the etc folder. The let me know. I know just like how I am felling, so much work for nothing.

I guess you still have Win7 to test.
 

Me2019H

Registered
Messages
101
For Live information , after boot do again

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Dell Haswell-ULT Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
nvidia 10584064 0
drm 495616 4 drm_kms_helper,nvidia,i915
 
Last edited:

cayoenrique

Senior Member
Messages
477
Exaclty what I was asking in the other thread, See that Intel Corporation Haswell-ULT Integrated Graphics Controller id the HD4400 inside the CPU.
 

cayoenrique

Senior Member
Messages
477
I am no expert but your xorg.conf has missing information I can see Nvidia but no Intell !!
Code:
***
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

You never showed result for So I am not totally sure nvidia-legacy-340xx is your driver
Code:
nvidia-detect

And we may need you to do
Code:
xrandr --listproviders

I will assume you output will be similar to mine where modsetings is Provider 0 at the top
enrique@live:$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x6b cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 0 name:TURKS @ pci:0000:01:00.0

Now from past record I got
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Dell Haswell-ULT Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915

08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
Subsystem: Dell GeForce 820M
Kernel driver in use: nouveau
Kernel modules: nouveau

In Good old Buster use geany to create new file called /mnt/sda3/new_xorg.conf and add just this
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
# Inactive "nvidia"
EndSection

Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:8:0:0"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
# Option "AccelMethod" "none"
EndSection

Section "Screen"
Identifier "intel"
Device "intel"
EndSection

Now, reboot to bad Busterdog19 and get up to fail gui.
Code:
xrandr > /mnt/sda3/t3.txt
xrandr --listproviders  >> /mnt/sda3/t3.txt
nvidia-detect  >> /mnt/sda3/t3.txt
cd /etc/X11
mv xorg.conf /mnt/sda3/oldxorg.conf
cp /mnt/sda3/new_xorg.conf xorg.conf

Then reboot. Hopefully this time you will have GUI as we ask to use Intel modeseting driver

let me know how it goes. And post /mnt/sda3/t3.txt here if we need to do follow up.

Best luck.
 

cayoenrique

Senior Member
Messages
477
I am no expert but your xorg.conf has missing information I can see Nvidia but no Intell !!
Code:
***
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
You never showed result for So I am not totaly sure nvidia-legacy-340xx is your driver
Code:
nvidia-detect

And we may need you to do
Code:
xrandr --listproviders

I will asume you output will be similar to mine where modsetings is Provider 0 at the top
enrique@live:$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x6b cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 0 name:TURKS @ pci:0000:01:00.0

Now from past record I got
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Dell Haswell-ULT Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915

08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
Subsystem: Dell GeForce 820M
Kernel driver in use: nouveau
Kernel modules: nouveau

In Good old Buster use geany to create new file called /mnt/sda3/new_xorg.conf and add just this
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
# Inactive "nvidia"
EndSection

Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:8:0:0"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
# Option "AccelMethod" "none"
EndSection

Section "Screen"
Identifier "intel"
Device "intel"
EndSection

Now, reboot to bad Busterdog19 and get up to fail gui.
Code:
xrandr > /mnt/sda3/t3.txt
xrandr --listproviders  >> /mnt/sda3/t3.txt
nvidia-detect  >> /mnt/sda3/t3.txt
cd /etc/X11
mv xorg.conf /mnt/sda3/oldxorg.conf
cp /mnt/sda3/new_xorg.conf xorg.conf

Then reboot. Hopefully this time you will have GUI as we ask to use Intel modeseting driver

let me know how it goes. And post /mnt/sda3/t3.txt here if we need to do follow up.

Best luck. ;)
 

Me2019H

Registered
Messages
101
xrandr > /mnt/sda3/t3.txt
can't Open display
randr --listproviders >> /mnt/sda3/t3.txt
can't Open display

nvidia-detect >> /mnt/sda3/t3.txt

Detected NVIDIA GPUs:
08:00.0 3D controller [0302]: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] [10de:1140] (rev a1)

Checking card: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
Your card is only supported up to the 390 legacy drivers series.
It is recommended to install the
nvidia-legacy-390xx-driver
package.
 

cayoenrique

Senior Member
Messages
477
This is where I say "I told you" I believe in post#70. See it is saying that your best driver is not what we install nvidia-legacy-340xx but it suggest to use a newer nvidia-legacy-390xx.

Now I am preaty sure it is not your problem I bet nvidia-legacy-340xx should work too. From what I seen it is that nvidia-xconfig did not create a xorg.conf for a Hibrid GPU System. It is missing Intels GPU.
Now where is all the info I has ask you?

Any way to check what the module do and if the driver is working
Code:
lsmod | grep -i nvidia > /mnt/sda3/mdp.txt
modprobe -r nvidia >> /mnt/sda3/mdp.txt
modprobe nvidia  >> /mnt/sda3/mdp.txt
dmesg >> /mnt/sda3/mdp.txt

Then look inside /mnt/sda3/mdp.txt to what driver "nvidia" is reporting

So what was the result of the config I prepare for you foe Xwindows /mnt/sda3/new_xorg.conf . Did it resolve the no Gui. It should. Why? becouse it tels xorg to use you Intel GPU witch was working?
You know what, I bet you that if you remove it and reboot it may even work .
Code:
mv xorg.conf /mnt/sda3/oldxorg.conf

next time you should get to your desktop
 

Me2019H

Registered
Messages
101
I recopy my backup and start again (post67 step4)

and then i install nvidia-legacy-390xx-driver

but when use new driver with nvidia-xconfig in X11 it didn't work
this is xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 418.56

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 "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
but when i reboot the same problem
i changed the xorg.conf in X11 with
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
# Inactive "nvidia"
EndSection

Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:8:0:0"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
# Option "AccelMethod" "none"
EndSection

Section "Screen"
Identifier "intel"
Device "intel"
EndSection
it worked
these are my info

root@live:~# lspci -k | grep -i -e"vga\|nvidia" -A3
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Dell Haswell-ULT Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
--
08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
Subsystem: Dell GeForce 820M
Kernel driver in use: nvidia
Kernel modules: nvidia
root@live:~# lsmod | grep -i -e "nvidia\|nouveau\|i915"
nvidia_drm 49152 1
nvidia_modeset 1056768 1 nvidia_drm
nvidia 15839232 4 nvidia_modeset
i915 1736704 3
ipmi_msghandler 65536 2 ipmi_devintf,nvidia
video 49152 3 dell_wmi,dell_laptop,i915
i2c_algo_bit 16384 1 i915
drm_kms_helper 208896 2 nvidia_drm,i915
drm 495616 6 drm_kms_helper,nvidia_drm,i915

root@live:~# xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.00*+ 48.00
1360x768 59.80 59.96
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
HDMI-1 disconnected (normal left inverted right x axis y axis)
root@live:~# xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
root@live:~# nvidia-detect
Detected NVIDIA GPUs:
08:00.0 3D controller [0302]: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] [10de:1140] (rev a1)

Checking card: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
Your card is only supported up to the 390 legacy drivers series.
It is recommended to install the
nvidia-legacy-390xx-driver
package.
root@live:~#
 
Top