Page 1 of 1
[SOLVED] Help installing Nvidia GeForce GTX 1050 Driver - hP pavilion
Posted: Sat Nov 16, 2019 4:21 pm
by benji
Installed Nvidia driver. After Installation system does not go past a error screen.
I have no idea how to troubleshoot this ...
Now I have reinstalled MX linux again.
Pls Let me know if there is any thing wrong in the procedure.
I am trying to install nvidia driver again.
How should i go about?
While using the Nvidia driver Installer am asked to choose between MX Main repos or MX test repos
which should I choose.?
Is there something am doing wrong or missing out? Pls help me...
here is the system details
Code: Select all
System: Host: mx1 Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/antiX/vmlinuz quiet splasht
Desktop: Xfce 4.14.1 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
Distro: MX-19_x64 patito feo October 21 2019 base: Debian GNU/Linux 10 (buster)
Machine: Type: Laptop System: HP product: HP Pavilion Notebook v: N/A serial: <filter>
Chassis: type: 10 serial: <filter>
Mobo: HP model: 84F8 v: 08.11 serial: <filter> UEFI: AMI v: F.25 date: 05/28/2019
Battery: ID-1: BAT0 charge: 62.6 Wh condition: 62.6/62.6 Wh (100%) volts: 17.4/15.4
model: HP Primary type: Li-ion serial: <filter> status: Full
CPU: Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP arch: Kaby Lake
family: 6 model-id: 9E (158) stepping: A (10) microcode: B4 L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36864
Speed: 900 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900
5: 900 6: 900 7: 900 8: 902
Vulnerabilities: Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Graphics: Device-1: Intel UHD Graphics 630 vendor: Hewlett-Packard driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:3e9b
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard driver: N/A
bus ID: 01:00.0 chip ID: 10de:1c8d
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)
v: 4.5 Mesa 18.3.6 compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus ID: 00:1f.3 chip ID: 8086:a348
Sound Server: ALSA v: k4.19.0-6-amd64
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus ID: 02:00.0
chip ID: 10ec:8168
IF: eth0 state: down mac: <filter>
Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: Hewlett-Packard
driver: r8822be v: kernel port: 3000 bus ID: 03:00.0 chip ID: 10ec:b822
IF: wlan0 state: down mac: <filter>
Drives: Local Storage: total: 939.02 GiB used: 25.6 MiB (0.0%)
ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB block size:
physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter>
rev: RTM2 scheme: GPT
ID-2: /dev/sdb type: USB vendor: Transcend model: JetFlash Transcend 8GB
size: 7.50 GiB block size: physical: 512 B logical: 512 B serial: <filter> rev: 8.07
scheme: MBR
RAID: Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0
port: 6060 bus ID: 00:17.0 chip ID: 8086.282a rev: 10
Partition: ID-1: / raw size: N/A size: 6.02 GiB used: 25.6 MiB (0.4%) fs: overlay
source: ERR-102
ID-2: swap-1 size: 6.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/sda6
Sensors: System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/antix.list
1: deb http://iso.mxrepo.com/antix/buster buster main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mxrepo.com/mx/repo/ buster main non-free
No active apt repos in: /etc/apt/sources.list.d/various.list
Info: Processes: 300 Uptime: 1m Memory: 7.60 GiB used: 652.8 MiB (8.4%) Init: SysVinit
v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: bash v: 5.0.3
running in: quick-system-in inxi: 3.0.36
Video Tweaks:
Detected possible Hybrid Graphics
Re: Help installing Nvidia Driver
Posted: Sat Nov 16, 2019 4:23 pm
by benji
The error screen last time i got while trying to boot
https://postimg.cc/62Jzb74h
Re: Help installing Nvidia Driver
Posted: Sat Nov 16, 2019 4:26 pm
by Huckleberry Finn
benji wrote: Sat Nov 16, 2019 4:21 pmWhile using the Nvidia driver Installer am asked to choose between MX Main repos or MX test repos which should I choose.?
Good question, I was just going to write this: Choose the Stable.. Or say "no" when asked if you want the "latest" (which means testing...)
____________________________________________________________
The error is related to "acpi".. Enter your Bios and have a look at settings about acpi.. on/off , enabled/disabled ...
You can also hit
e on grub screen (to edit temporarily) and add
acpi=force (..with a space, at the end of the line,.. beginning with "linux" ... ) then hit F10 to go on booting.
____________________________________________________________
If you don't have Windows installed, (while you're at it) you can change sata mode to
AHCI (from Raid) in Bios settings (highly recommended). (Though may not be directly related..)
Re: Help installing Nvidia Driver
Posted: Sat Nov 16, 2019 4:50 pm
by antiX-Dave
With the 1050 chip, the driver in the normal repos should work fine. I found with my 1650 that they also worked, but the one from testing worked a little better which may be the same for you. However there are other issues in testing related to primus atm. So using the nvidia driver installer you should choose the default normal repos as huckleberry stated.
If it does not boot to a graphical login you may want to try removing the nomodeset from the grub configuration and move the xorg.conf file. This can be done by:
Login to the console as root (if you do not see a console login press cntl + alt + f1)
type: nano /etc/default/grub
on the "GRUB_CMDLINE_LINUX_DEFAULT" line remove the nomodeset option (good time to add the acpi=force option

)
cntl + x -> y -> enter to save
type: update-grub
type: mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bk
type: reboot
If it still does not work, please post the output of /var/log/ddm.log and /var/log/Xorg.0.log and /var/log/apt/history.log (probably easiest to do this from a liveusb). Then we can go into more detail trying to make something work (like
viewtopic.php?p=540829#p540829), and it will also give information to be able to fix / improve ddm-mx (nvidia driver installer)
Re: Help installing Nvidia Driver
Posted: Sat Nov 16, 2019 5:01 pm
by benji
Installing the driver I had this message
https://postimg.cc/HjCBQPM8
Should be clicking Next?
or is this a indication of any problem(Just putting across all details so that I provide a detailed Info)
The last time I tried I gave Next and after the installation was done, system just froze.
i tried different combination of keyboard shortcuts. Tried the ALT+prntscreen REISUB - no response
Re: Help installing Nvidia Driver
Posted: Sat Nov 16, 2019 5:03 pm
by Huckleberry Finn
It gives information that nouveau will be automatically "blacklisted" to avoid conflict.. And will take effect on next boot..
Re: Help installing Nvidia Driver
Posted: Sat Nov 16, 2019 5:16 pm
by benji
Installation has completed and system froze as before..
Is there any shortcut that can be tried ?
Or should I try to shutdown by pressing the power off button?
Re: Help installing Nvidia Driver
Posted: Sat Nov 16, 2019 6:03 pm
by benji
There was no setting related to acpi in bios.
I had edited the grub acpi=force
System would not boot beyond this
No shortcut works.
the Keyboard is a backlit keyboard. Shortcut to turn on and off the backlight doesn't even work...
Re: Help installing Nvidia Driver
Posted: Sat Nov 16, 2019 6:30 pm
by JayM
Read
https://mxlinux.org/wiki/hardware/nvidi ... -recovery/ for instructions. I'm told that often, all that's required is renaming xorg.conf to make the nvidia driver work, but there's also instructions there for purging the nvidia driver and reinstalling nouveau.
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 2:23 am
by benji
ctrl+alt+F1 doesn't work
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 2:31 am
by JayM
Boot with your live USB. In Thunar file manager open your MX19 root directory on your hard drive, which should be listed in the left-hand Devices pane. Right-click somewhere in the left, main area and select "Open root Thunar". In the root Thunar navigate to /etc/X11 on your hard drive, find xorg.conf, right-click on it, select "Rename", rename it to xorg.conf.bak. Reboot your computer.
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 3:11 am
by benji
JayM wrote: Sun Nov 17, 2019 2:31 am
Boot with your live USB. In Thunar file manager open your MX19 root directory on your hard drive, which should be listed in the left-hand Devices pane. Right-click somewhere in the left, main area and select "Open root Thunar". In the root Thunar navigate to /etc/X11 on your hard drive, find xorg.conf, right-click on it, select "Rename", rename it to xorg.conf.bak. Reboot your computer.
Did the above...Still runs into same screen after booting
Can something else be done...?
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 3:18 am
by JayM
Those ACPI messages on boot are normal and can be ignored.
Follow the instructions in the Wiki page I gave you:
If just removing the /etc/X11/xorg.conf file doesn’t work, you can remove the nvidia drivers and return to using the open source drivers.
On the blinking cursor screen, hit Ctrl-Alt-F1 to get back to a console
Type: sudo ddm-mx -p nvidia
Type: sudo reboot
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 3:34 am
by benji
Ctr+ALT+F1 doesn't take me to console...There is no response to any input after it shows the acpi errors...I shut down by holding the power button down...
I have no access to console except through the live USB...
Can I type the below commands directly in the terminal in Live USB? or should be entered in chroot?
Type: sudo ddm-mx -p nvidia
Type: sudo reboot
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 5:11 am
by JayM
Can you boot with the live USB, access your hard drive's MX root partition in Thunar, open a root Thunar again, copy the contents of /var/log/boot.log, then save it in your home directory as a text file (boot.txt) and attach it to a reply? It looks like you have something messed up with your boot sequence that's not the video driver if you can't even open a console.
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 5:15 am
by benji
Running sudo ddm-mx -p nvidia from Live USB Terminal
Code: Select all
$ sudo ddm-mx -p nvidia
[sudo] password for demo:
creating lock ...
Distribution: MX
===================================
Purge drivers for: nvidia
Start at (m/d/y): 11/17/2019 04:56:26
===================================
Refreshing Sources with apt-get update
Continue?
1) yes (default)
2) no
Press <Enter> for the default entry
Use 'q' to quit
1
Get:1 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://iso.mxrepo.com/antix/buster buster InRelease
Hit:4 http://deb.debian.org/debian-security buster/updates InRelease
Hit:5 http://mxrepo.com/mx/repo buster InRelease
Fetched 49.3 kB in 2s (26.9 kB/s)
Reading package lists... Done
Frontend:
Open command = apt-get install --reinstall -y xserver-xorg-video-nouveau xserver-xorg-video-vesa xserver-xorg-video-intel xserver-xorg-video-fbdev xserver-xorg-video-radeon xserver-xorg-video-ati xserver-xorg-video-nouveau
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 6 reinstalled, 0 to remove and 116 not upgraded.
Need to get 0 B/2,898 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ..(Reading database ... 273227 files and directories currently installed.)
Preparing to unpack .../0-xserver-xorg-video-ati_1%3a19.0.1-1_amd64.deb ...
Unpacking xserver-xorg-video-ati (1:19.0.1-1) over (1:19.0.1-1) ...
Preparing to unpack .../1-xserver-xorg-video-fbdev_1%3a0.5.0-1_amd64.deb ...
Unpacking xserver-xorg-video-fbdev (1:0.5.0-1) over (1:0.5.0-1) ...
Preparing to unpack .../2-xserver-xorg-video-intel_2%3a2.99.917+git20180925-2_amd64.deb ...
Unpacking xserver-xorg-video-intel (2:2.99.917+git20180925-2) over (2:2.99.917+git20180925-2) ...
Preparing to unpack .../3-xserver-xorg-video-nouveau_1%3a1.0.16-1_amd64.deb ...
Unpacking xserver-xorg-video-nouveau (1:1.0.16-1) over (1:1.0.16-1) ...
Preparing to unpack .../4-xserver-xorg-video-radeon_1%3a19.0.1-1_amd64.deb ...
Unpacking xserver-xorg-video-radeon (1:19.0.1-1) over (1:19.0.1-1) ...
Preparing to unpack .../5-xserver-xorg-video-vesa_1%3a2.4.0-1_amd64.deb ...
Unpacking xserver-xorg-video-vesa (1:2.4.0-1) over (1:2.4.0-1) ...
Setting up xserver-xorg-video-nouveau (1:1.0.16-1) ...
Setting up xserver-xorg-video-radeon (1:19.0.1-1) ...
Setting up xserver-xorg-video-fbdev (1:0.5.0-1) ...
Setting up xserver-xorg-video-intel (2:2.99.917+git20180925-2) ...
Setting up xserver-xorg-video-vesa (1:2.4.0-1) ...
Setting up xserver-xorg-video-ati (1:19.0.1-1) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for man-db (2.8.5-2) ...
Open drivers installed
Reading package lists...
Building dependency tree...
Reading state information...
Package 'bumblebee' is not installed, so not removed
Package 'libnvidia-egl-wayland-dev' is not installed, so not removed
Package 'libnvidia-egl-wayland1' is not installed, so not removed
Package 'mate-sensors-applet-nvidia' is not installed, so not removed
Package 'primus' is not installed, so not removed
Package 'primus-libs' is not installed, so not removed
Package 'primus:i386' is not installed, so not removed
Package 'primus-libs:i386' is not installed, so not removed
Package 'primus-libs-ia32:i386' is not installed, so not removed
Package 'boinc-client-nvidia-cuda' is not installed, so not removed
Package 'bumblebee-nvidia' is not installed, so not removed
Package 'glx-alternative-nvidia' is not installed, so not removed
Package 'hashcat-nvidia' is not installed, so not removed
Package 'nvidia-modprobe' is not installed, so not removed
Package 'nvidia-persistenced' is not installed, so not removed
Package 'nvidia-settings' is not installed, so not removed
Package 'nvidia-settings-legacy-340xx' is not installed, so not removed
Package 'nvidia-settings-legacy-390xx' is not installed, so not removed
Package 'nvidia-kernel-common' is not installed, so not removed
Package 'nvidia-support' is not installed, so not removed
Package 'nvidia-xconfig' is not installed, so not removed
Package 'nvidia-cg-dev' is not installed, so not removed
Package 'nvidia-cg-doc' is not installed, so not removed
Package 'nvidia-cg-toolkit' is not installed, so not removed
Package 'nvidia-cuda-dev' is not installed, so not removed
Package 'nvidia-cuda-doc' is not installed, so not removed
Package 'nvidia-cuda-gdb' is not installed, so not removed
Package 'nvidia-cuda-toolkit' is not installed, so not removed
Package 'nvidia-nsight' is not installed, so not removed
Package 'nvidia-opencl-dev' is not installed, so not removed
Package 'nvidia-openjdk-8-jre' is not installed, so not removed
Package 'nvidia-profiler' is not installed, so not removed
Package 'nvidia-visual-profiler' is not installed, so not removed
Package 'libegl-nvidia0' is not installed, so not removed
Package 'libegl1-nvidia' is not installed, so not removed
Package 'libgl1-nvidia-glvnd-glx' is not installed, so not removed
Package 'libgl1-nvidia-glx' is not installed, so not removed
Package 'libgles-nvidia1' is not installed, so not removed
Package 'libgles-nvidia2' is not installed, so not removed
Package 'libglx-nvidia0' is not installed, so not removed
Package 'libnvidia-cbl' is not installed, so not removed
Package 'libnvidia-cfg1' is not installed, so not removed
Package 'libnvidia-compiler' is not installed, so not removed
Package 'libnvidia-eglcore' is not installed, so not removed
Package 'libnvidia-encode1' is not installed, so not removed
Package 'libnvidia-fatbinaryloader' is not installed, so not removed
Package 'libnvidia-fbc1' is not installed, so not removed
Package 'libnvidia-glcore' is not installed, so not removed
Package 'libnvidia-glvkspirv' is not installed, so not removed
Package 'libnvidia-ifr1' is not installed, so not removed
Package 'libnvidia-ml1' is not installed, so not removed
Package 'libnvidia-opticalflow1' is not installed, so not removed
Package 'libnvidia-ptxjitcompiler1' is not installed, so not removed
Package 'libnvidia-rtcore' is not installed, so not removed
Package 'nvidia-alternative' is not installed, so not removed
Package 'nvidia-cuda-mps' is not installed, so not removed
Package 'nvidia-driver' is not installed, so not removed
Package 'nvidia-driver-bin' is not installed, so not removed
Package 'nvidia-driver-libs' is not installed, so not removed
Package 'nvidia-driver-libs-nonglvnd' is not installed, so not removed
Package 'nvidia-egl-common' is not installed, so not removed
Package 'nvidia-egl-icd' is not installed, so not removed
Package 'nvidia-kernel-dkms' is not installed, so not removed
Package 'nvidia-kernel-source' is not installed, so not removed
Package 'nvidia-kernel-support' is not installed, so not removed
Package 'nvidia-legacy-check' is not installed, so not removed
Package 'nvidia-libopencl1' is not installed, so not removed
Package 'nvidia-nonglvnd-vulkan-common' is not installed, so not removed
Package 'nvidia-nonglvnd-vulkan-icd' is not installed, so not removed
Package 'nvidia-opencl-common' is not installed, so not removed
Package 'nvidia-opencl-icd' is not installed, so not removed
Package 'nvidia-smi' is not installed, so not removed
Package 'nvidia-vdpau-driver' is not installed, so not removed
Package 'nvidia-vulkan-common' is not installed, so not removed
Package 'nvidia-vulkan-icd' is not installed, so not removed
Package 'xserver-xorg-video-nvidia' is not installed, so not removed
Package 'libegl1-nvidia-legacy-340xx' is not installed, so not removed
Package 'libgl1-nvidia-legacy-340xx-glx' is not installed, so not removed
Package 'libgles1-nvidia-legacy-340xx' is not installed, so not removed
Package 'libgles2-nvidia-legacy-340xx' is not installed, so not removed
Package 'libnvidia-legacy-340xx-cfg1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-compiler' is not installed, so not removed
Package 'libnvidia-legacy-340xx-cuda1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-eglcore' is not installed, so not removed
Package 'libnvidia-legacy-340xx-encode1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-fbc1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-glcore' is not installed, so not removed
Package 'libnvidia-legacy-340xx-ifr1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-ml1' is not installed, so not removed
Package 'libnvidia-legacy-340xx-nvcuvid1' is not installed, so not removed
Package 'nvidia-legacy-340xx-alternative' is not installed, so not removed
Package 'nvidia-legacy-340xx-driver' is not installed, so not removed
Package 'nvidia-legacy-340xx-driver-bin' is not installed, so not removed
Package 'nvidia-legacy-340xx-driver-libs' is not installed, so not removed
Package 'nvidia-legacy-340xx-kernel-dkms' is not installed, so not removed
Package 'nvidia-legacy-340xx-kernel-source' is not installed, so not removed
Package 'nvidia-legacy-340xx-kernel-support' is not installed, so not removed
Package 'nvidia-legacy-340xx-opencl-icd' is not installed, so not removed
Package 'nvidia-legacy-340xx-smi' is not installed, so not removed
Package 'nvidia-legacy-340xx-vdpau-driver' is not installed, so not removed
Package 'xserver-xorg-video-nvidia-legacy-340xx' is not installed, so not removed
Package 'libegl-nvidia-legacy-390xx0' is not installed, so not removed
Package 'libegl1-nvidia-legacy-390xx' is not installed, so not removed
Package 'libgl1-nvidia-legacy-390xx-glvnd-glx' is not installed, so not removed
Package 'libgl1-nvidia-legacy-390xx-glx' is not installed, so not removed
Package 'libgles-nvidia-legacy-390xx1' is not installed, so not removed
Package 'libgles-nvidia-legacy-390xx2' is not installed, so not removed
Package 'libglx-nvidia-legacy-390xx0' is not installed, so not removed
Package 'libnvidia-legacy-390xx-cfg1' is not installed, so not removed
Package 'libnvidia-legacy-390xx-compiler' is not installed, so not removed
Package 'libnvidia-legacy-390xx-cuda1' is not installed, so not removed
Package 'libnvidia-legacy-390xx-eglcore' is not installed, so not removed
Package 'libnvidia-legacy-390xx-encode1' is not installed, so not removed
Package 'libnvidia-legacy-390xx-fatbinaryloader' is not installed, so not removed
Package 'libnvidia-legacy-390xx-fbc1' is not installed, so not removed
Package 'libnvidia-legacy-390xx-glcore' is not installed, so not removed
Package 'libnvidia-legacy-390xx-ifr1' is not installed, so not removed
Package 'libnvidia-legacy-390xx-ml1' is not installed, so not removed
Package 'libnvidia-legacy-390xx-nvcuvid1' is not installed, so not removed
Package 'libnvidia-legacy-390xx-ptxjitcompiler1' is not installed, so not removed
Package 'nvidia-legacy-390xx-alternative' is not installed, so not removed
Package 'nvidia-legacy-390xx-driver' is not installed, so not removed
Package 'nvidia-legacy-390xx-driver-bin' is not installed, so not removed
Package 'nvidia-legacy-390xx-driver-libs' is not installed, so not removed
Package 'nvidia-legacy-390xx-driver-libs-nonglvnd' is not installed, so not removed
Package 'nvidia-legacy-390xx-egl-icd' is not installed, so not removed
Package 'nvidia-legacy-390xx-kernel-dkms' is not installed, so not removed
Package 'nvidia-legacy-390xx-kernel-source' is not installed, so not removed
Package 'nvidia-legacy-390xx-kernel-support' is not installed, so not removed
Package 'nvidia-legacy-390xx-nonglvnd-vulkan-icd' is not installed, so not removed
Package 'nvidia-legacy-390xx-opencl-icd' is not installed, so not removed
Package 'nvidia-legacy-390xx-smi' is not installed, so not removed
Package 'nvidia-legacy-390xx-vdpau-driver' is not installed, so not removed
Package 'nvidia-legacy-390xx-vulkan-icd' is not installed, so not removed
Package 'xserver-xorg-video-nvidia-legacy-390xx' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 116 not upgraded.
Proprietary drivers removed
Press <Enter> to exit
Running sudo ddm-mx -p nvidia from Chroot
Code: Select all
===============================================================================
Starting chroot-rescue-scan
===============================================================================
Scanning partitions ...
Scanning directories ...
Only one Linux system was found
Please select a Linux system to visit
Distro Dir Device
= MX 19 patito feo rootMX19 sda5
> Rescan all partitions for Linux systems
> Quit
Press <Enter> to select the highlighted entry
Use 'r' to redraw, 'q' to quit
Visiting distro MX_19_patito_feo_
Directory: /mnt/chroot-rescue-scan/rootMX19 Device: sda5
Use the exit command or <ctrl>-d to return to main menu
===============================================================================
(MX_19_patito_feo_) Sun Nov 17 04:59:24 /
chroot> sudo ddm-mx -p nvidia
creating lock ...
/usr/local/lib/cli-shell-utils/cli-shell-utils.bash: line 2235: /run/lock/ddm-mx: No such file or directory
flock: 18: Bad file descriptor
/usr/local/lib/cli-shell-utils/cli-shell-utils.bash: line 2269: /run/lock/ddm-mx: No such file or directory
Warning: Deleting stale lock file /run/lock/ddm-mx
flock: 18: Bad file descriptor
Error: Failed to obtain lock on /run/lock/ddm-mx
rm: cannot remove '/etc/apt/preferences.d/nvidia-ddm-temp*': No such file or directory
Press <Enter> to exit
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 6:44 am
by benji
JayM wrote: Sun Nov 17, 2019 5:11 am
Can you boot with the live USB, access your hard drive's MX root partition in Thunar, open a root Thunar again, copy the contents of /var/log/boot.log, then save it in your home directory as a text file (boot.txt) and attach it to a reply? It looks like you have something messed up with your boot sequence that's not the video driver if you can't even open a console.
Feather pad is not able to open it... Shows the error "Some files could not be opened"
Then I tried opening with Geany.. It was also not opening...
Then tried with lbre office writer
Here is the text i got from Libre office writer...
Code: Select all
rootMX19: clean, 281409/917504 files, 1363589/3670016 blocks
INIT: version 2.93 booting
[#[36minfo#[39;49m] Using makefile-style concurrent boot in runlevel S.
[....] Starting hotplug events dispatcher: systemd-udevd#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0c.
[....] Synthesizing the initial hotplug events (subsystems)...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Synthesizing the initial hotplug events (devices)...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Waiting for /dev to be fully populated...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Setting up keyboard layout...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
rootMX19: clean, 281551/917504 files, 1364647/3670016 blocks
INIT: version 2.93 booting
[#[36minfo#[39;49m] Using makefile-style concurrent boot in runlevel S.
[....] Starting hotplug events dispatcher: systemd-udevd#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0c.
[....] Synthesizing the initial hotplug events (subsystems)...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Synthesizing the initial hotplug events (devices)...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Waiting for /dev to be fully populated...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Setting up keyboard layout...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
rootMX19: clean, 281805/917504 files, 1378766/3670016 blocks
INIT: version 2.93 booting
[#[36minfo#[39;49m] Using makefile-style concurrent boot in runlevel S.
[....] Starting hotplug events dispatcher: systemd-udevd#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0c.
[....] Synthesizing the initial hotplug events (subsystems)...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Synthesizing the initial hotplug events (devices)...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Waiting for /dev to be fully populated...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
[....] Setting up keyboard layout...#[?25l#[?1c#7#[1G[#[32m ok #[39;49m#8#[?25h#[?0cdone.
#####################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 7:14 am
by JayM
You haven't been trying to recover from the nvidia driver issue by trying things in chroot, have you? Because an nvidia driver not working isn't going to cause you not to be able to open a console or view log files as root. You may have hosed your system.
Can you tell us everything you've done and tried?
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 10:25 am
by benji
JayM wrote: Sun Nov 17, 2019 7:14 am
You haven't been trying to recover from the nvidia driver issue by trying things in chroot, have you? Because an nvidia driver not working isn't going to cause you not to be able to open a console or view log files as root. You may have hosed your system.
Can you tell us everything you've done and tried?
Sure…
installed Mx linux.. installed Nvidia drivers through the "Nvidia Driver Installer" (Stable Version).
After I installation was completed the system froze. Then had to shutdown by pressing down the power button.
Now when I boot up things work til the Mx linux loading slider comes to the end. After that it shows the ACPI error screen comes. Beyond which there is no response to any keyboard shortcuts like ctr+Alt+F1. If I have to reboot I have to press the power button to shutdown & restart.
Now the troubleshooting I have done one by one:
1)Added acpi=forceon the grub screen ==> didnt work
2)Tried Renaming the config file in /etc/X11/xorg.conf to xorg.conf.bk by using Thunar root from a Live USB ==> didnt work
3)Ran the commands sudo ddm-mx -p nvidia & sudo reboot
given in
https://mxlinux.org/wiki/hardware/nvidi ... -recovery/ in a live USBs terminal… the output i have put in this thread.
The same commands i ran from the "chroot Rescue Scan" Tool from the Live USB whose output is also in this thread.
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 11:26 am
by antiX-Dave
How long have you waited at the acpi errors before determining that the system is hung? I have seen this initialization period take several minutes to complete (~10). The contrast from the first picture to the second picture of the errors shows a slight amount of progress in the boot. It is from my experience generally resolved by changing kernels if the grub command does not help.
I am not certain what would cause the acpi errors after changing the graphics driver however. Maybe they are just not seen due to the splash screen?
Also you say that the splash screen progress bar does come up and move to the end. Perhaps (if the waiting does not help) there is an issue in the console switching. In which case try adding a "3" to the end of the grub line to avoid trying to load anything related to X.
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 12:18 pm
by benji
Where do I have to add "3"?
end of quiet splash?
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 12:24 pm
by antiX-Dave
benji wrote: Sun Nov 17, 2019 12:18 pm
Where do I have to add "3"?
end of quiet splash?
Yes
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 12:44 pm
by benji
login with 3.jpeg
Is there anything that can be done from this screen?
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 1:40 pm
by antiX-Dave
Yes
You can do pretty much anything. Install another kernel to try and resolve the acpi errors.
Apt-get update && apt-get -f install linux-image linux-headers
You can also verify that the Nvidia drivers installed correctly. (read through /var/log/ddm.log and check for errors).
cat /var/log/ddm.log |less -S
Also verify that the xorg.conf is moved.
mv /etc/X11/xorg.conf /root/xorg.conf.bk
Then you could try unload / make sure the nouveau and nvidia drivers are unloaded
modprobe -r nouveau
modprobe -r nvidia
Then load the Intel / modsetting
modprobe i915
Then try starting the login manager
service lightdm start
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 1:42 pm
by benji
Ran the commands sudo ddm-mx -p nvidia & sudo reboot and booted into desktop...
Is there any particular reason Nvidia driver was not compatabile...
can anything else be tried to install ? Changing kernel?
Thank you all for replying ...
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 1:44 pm
by benji
antiX-Dave wrote: Sun Nov 17, 2019 1:40 pm
Yes
You can do pretty much anything. Install another kernel to try and resolve the acpi errors.
Apt-get update && apt-get -f install linux-image linux-headers
You can also verify that the Nvidia drivers installed correctly. (read through /var/log/ddm.log and check for errors).
cat /var/log/ddm.log |less -S
Also verify that the xorg.conf is moved.
mv /etc/X11/xorg.conf /root/xorg.conf.bk
Then you could try unload / make sure the nouveau and nvidia drivers are unloaded
modprobe -r nouveau
modprobe -r nvidia
Then load the Intel / modsetting
modprobe i915
Then try starting the login manager
service lightdm start
Sure .... I will try and let you know what happens
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 1:45 pm
by benji
antiX-Dave wrote: Sun Nov 17, 2019 1:40 pm
Yes
You can do pretty much anything. Install another kernel to try and resolve the acpi errors.
Apt-get update && apt-get -f install linux-image linux-headers
You can also verify that the Nvidia drivers installed correctly. (read through /var/log/ddm.log and check for errors).
cat /var/log/ddm.log |less -S
Also verify that the xorg.conf is moved.
mv /etc/X11/xorg.conf /root/xorg.conf.bk
Then you could try unload / make sure the nouveau and nvidia drivers are unloaded
modprobe -r nouveau
modprobe -r nvidia
Then load the Intel / modsetting
modprobe i915
Then try starting the login manager
service lightdm start
Can WIFI be connected from this screen to connect to internet?
I dont know much about the commands ....I would like to learn more about them... Is there a resource center where I can get more information on these commands and understand them...
If I wanted to play a 4k video or do some graphic intensive work which would be better done by a graphics card how Is it possible to be done through the Nouveau driver?
How to make a program use Nvidia for graphic rendering using the free driver? (Read in the forum this can be done for Nvidia driver by using the command "optirun vlc myhiresvideo.mp4". Is there any such command for the Nouveau driver?
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 2:48 pm
by Huckleberry Finn
Simplest, Cleanest, Fastest:
Reinstall
__________________________________
Only 15 min. or even less. Most of which is "files are being copied" ...
__________________________________
In case you have lots of customizations and want to keep them:
Either choose to save home folder during installation,
or,
Copy-paste it to somewhere beforehand (on live session) then post-installation (again on live session) copy-paste (overwrite) back.
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 2:56 pm
by benji
@Huckleberry I was able to remove the Nvidia drivers...
want to know if it is possible to use the NVidia card for graphic intensive tasks without taxing the CPU...
Thank you for the replies...
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 2:59 pm
by Huckleberry Finn
Quoted from Fehlix:
in MX19 a new video-card selection menu was introduced by BitJam. This new video-card selection feature was added to better handle situations of hybrid and dual-videocards, were automatic KMS loading e.g. of nouveau driver might block getting to the X (GUI) desktop.
To enable the vcard menu please add this boot code
It should display the found Intel iGPU and NVIDIA dGPU. Please select intel.
(To add the vcard=menu boot code press "e" for Edit and add "vcard=menu" at the end the line starting with linux.)
So I guess if someone wants to use it frequently, it may be added to grub.cfg via etc/default/grub ... (to make it permanent, not to hit e and type each time)
Re: Help installing Nvidia Driver
Posted: Sun Nov 17, 2019 3:39 pm
by Huckleberry Finn
Also, you can try installing the correct version again. According to here 418 and higher is required and 430 is suggested for being last long-lived branch.. In case you succeed installing Nvidia driver (which will enable you do intensive things, 3D drawing etc.) then I guess you can select nvidia from vcard menu and use it.. Without it, you can select Nvidia card again but it will be using nouveau driver -can do the job but may not be perfect -
https://askubuntu.com/questions/1142530 ... -o/1144025
(Of course, the installation links there, are for Ubuntu, and no ppa for MX.. So, use MXPI for those versions)
And to make them work together (Bumblebee):
viewtopic.php?f=107&t=47725&hilit=Nouve ... 10#p477218
Re: Help installing Nvidia Driver
Posted: Mon Nov 18, 2019 1:06 pm
by benji
Huckleberry wrote: Sun Nov 17, 2019 3:39 pm
(Of course, the installation links there, are for Ubuntu, and no ppa for MX.. So, use MXPI for those versions)
How do I use MXPI to install Nvidia driver?
Are there any commands that I should run?
pls help me with the commands/steps to do this install....
Re: Help installing Nvidia Driver
Posted: Mon Nov 18, 2019 2:21 pm
by Huckleberry Finn
benji wrote: Mon Nov 18, 2019 1:06 pm
Huckleberry wrote: Sun Nov 17, 2019 3:39 pm
(Of course, the installation links there, are for Ubuntu, and no ppa for MX.. So, use MXPI for those versions)
How do I use MXPI to install Nvidia driver?
Are there any commands that I should run?
No commands. Just open :
Menu => MX Tools => MX Package Installer
Look at the tabs above.. Both
Stable and
Test repos ... Type nvidia in the search-box.. check which you want.. hit install ..
Re: Help installing Nvidia Driver
Posted: Mon Nov 18, 2019 3:34 pm
by Stevo
That laptop's BIOS says May 2019, so a newer kernel may support it better than the 2018 vintage 4.19 kernel.
What exact model does it say on the outside or on any stickers on the bottom? I'm not getting hits searching for "84F8"...
Re: Help installing Nvidia Driver
Posted: Tue Nov 19, 2019 12:11 pm
by benji
Stevo wrote: Mon Nov 18, 2019 3:34 pm
That laptop's BIOS says May 2019, so a newer kernel may support it better than the 2018 vintage 4.19 kernel.
What exact model does it say on the outside or on any stickers on the bottom? I'm not getting hits searching for "84F8"...
Laptop Model No - HP Pavilion - 15-bc406tx
System board - 84F8 08.11
System BIOS - F.25
Is there any other information that would be helpful pls let me know..
Re: Help installing Nvidia Driver
Posted: Thu Nov 21, 2019 2:46 pm
by benji
I tried installing Nvidia driver in Linux Mint 19.2 version. Was able to install it...
Code: Select all
Graphics: Device-1: Intel vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:3e9b
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard
driver: nvidia v: 435.21 bus ID: 01:00.0 chip ID: 10de:1c8d
Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia
unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 direct render: Yes
Code: Select all
Kernel: 4.15.0-54-generic x86_64 bits
I am trying to install Nvidia driver from MX test repo in a live usb environment..
and try different kernels from the MX package Installer in live USB and post updates...
Re: Help installing Nvidia Driver
Posted: Thu Nov 21, 2019 3:51 pm
by Stevo
The GTX 1050 is supported well by the stock 418.74 driver, but that driver won't build on 5.X kernels or above. For that, you need the test repo driver.
What does inxi or Quick System Info say about the Intel GPU on a MX 19 Live USB?--Oh wait, you already did so--OK, your Coffee Lake system is supported by stock MX 19, so you shouldn't need to chase newer kernels or drivers--we just have to figure out what's going wrong with your install.
Mint appears to be using the Nvidia GPU as the display card full-time, with no power savings from GPU switching, so I would expect the laptop to run hotter and have worse battery life in Mint, since the card is always on.
I wonder if that laptop supports Optimus as all, or if it's a BIOS setting.
Re: Help installing Nvidia Driver
Posted: Thu Nov 21, 2019 4:28 pm
by Stevo
We've still never seen the contents of your /var/log/ddm.log after you tried an install with MX Nvidia Installer--you could have recovered that with the live USB session. MX NI does not create any special xorg.conf files for Bumblebee installations, either.
I thought we had va-api working for Intel cards out of the box with VLC already, so you should be able to watch local 4K video files with the Intel GPU doing all the decoding work,as long as they are a codec supported by your card's hardware, such as h.264 or H.265/HEVC. I can do that with an older i5-6200u, and the CPU stays at the lowest speed and only uses 1-2% more, so I know it's working. You should be able to get that working at least, but please start a separate thread if you need help with that.
No current browser supports va-api for streaming video, if that's what you meant, but I know that you can stream those Youtube videos in VLC, mpv, QMPlay2, and some other players that can use va-api, to work around that. Debian did try to add va-api with the latest version of Chromium in Sid last week, but I heard it didn't go well.
Re: Help installing Nvidia Driver
Posted: Fri Nov 22, 2019 2:08 pm
by benji
I have just installed nvidia driver without bumblebee... haven't restarted yet.. so not sure if the install went well..
Attaching the DDM Log.
ddmlog.txt
Re: Help installing Nvidia Driver
Posted: Fri Nov 22, 2019 2:19 pm
by Stevo
Don't you have any material that came with the laptop as to whether it is an Optimus one or not?
Did Mint install the Nvidia drivers out of the box, or did it ask you anything about installing "restricted" or non-free drivers first?
About playing 4K streaming video in a browser--we'll soon have a Chromium browser in our repos, backported from Sid, which also supports hardware-accelerated video--depending on your hardware's support for va-api and the codecs it supports. So it can support 4K streaming video on Intel GPUs now without stressing the CPU.
Re: Help installing Nvidia Driver
Posted: Fri Nov 22, 2019 2:28 pm
by benji
Stevo wrote: Fri Nov 22, 2019 2:19 pm
Don't you have any material that came with the laptop as to whether it is an Optimus one or not?
Nope... the physical document was just a single paper with basic details...
Can windows help in finding if its a optimus enabled laptop?
i think it should be....because it is was promoted as a gaming laptop
https://www.amazon.in/HP-Pavilion-15-6- ... B07Q5YWCDC
Re: Help installing Nvidia Driver
Posted: Fri Nov 22, 2019 4:05 pm
by Stevo
The ddm-mx build logs show these kind of messages during the build:
Code: Select all
0 upgraded, 1 newly installed, 0 to remove and 196 not upgraded.
I would suggest fully upgrading your system and rebooting before trying a driver install with MX Nvidia Installer.
The MX NI checks to see if it's an Optimus system, and I think it's right in this case. You seem to have an eight-generation system, not the ninth-gen that all those replies on the Amazon page keep saying it is.
Re: Help installing Nvidia Driver
Posted: Fri Nov 22, 2019 11:46 pm
by benji
Stevo wrote: Fri Nov 22, 2019 4:05 pm
The ddm-mx build logs show these kind of messages during the build:
Code: Select all
0 upgraded, 1 newly installed, 0 to remove and 196 not upgraded.
I would suggest fully upgrading your system and rebooting before trying a driver install with MX Nvidia Installer.
I did a full upgrade the first time I did install Nvidia...It won't be in the log because this is a fresh install..
This latest Nvidia install with out bumblebee was done after installing all the available updates..
Stevo wrote: Fri Nov 22, 2019 4:05 pm
You seem to have an eight-generation system, not the ninth-gen that all those replies on the Amazon page keep saying it is.
yes its a eight gen processor...Details from windows below..
Found this link from nvidia...
https://nvidia.custhelp.com/app/answers ... d-graphics
Screenshot from windows as suggested in the Nvidia link
Notification.png
Task Manager.PNG
windows Device manager.PNG
Processor details can be seen in the screenshot..
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 7:29 am
by benji
benji wrote: Fri Nov 22, 2019 2:08 pm
I have just installed nvidia driver without bumblebee... haven't restarted yet.. so not sure if the install went well..
Attaching the DDM Log.ddmlog.txt
I was able to boot into the system
output of inxi -G after installing just the Nvidia driver without Bumblebee
Code: Select all
$ inxi -G
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 418.74
Display: x11 server: X.Org 1.20.4 driver: modesetting,nouveau,nvidia
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)
v: 4.5 Mesa 18.3.6
Code: Select all
glxgears -info
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)
GL_VERSION = 3.0 Mesa 18.3.6
GL_VENDOR = Intel Open Source Technology Center
Code: Select all
$ optirun glxgears
bash: optirun: command not found
Should I try installing bumblebee seperately? or Is there anything I can try next?
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 8:35 am
by Sparky
from your inxi code, it looks like you have the Nvidia driver correctly installed.
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 9:13 am
by benji
Nvidia settings.png
When i click on nvidia X server setting nothing opens...
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 11:05 am
by Sparky
what happens when you run
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 11:07 am
by Sparky
benji wrote: Sat Nov 23, 2019 9:13 am
Nvidia settings.pngWhen i click on nvidia X server setting nothing opens...
Why X server settings? The first option is the correct one.
Have you put the acpi command from my thread in your grub file? If not, do that and restart (for safety) and run sudo grub update before restarting
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 12:31 pm
by benji
When had just installed the nvidia driver seperately i was able to login and when i run optirun glxglears -info i got the below error
Code: Select all
$ optirun glxgears
bash: optirun: command not found
So I now installed bumblebee from the Mx Package Installer... Now the same situation has come...system wont go past the acpi error..
From what i understand there is a problem when bumblebee is installed not with the Nvidia drivers as there was no problem booting into system when i just installed the Nvidia driver alone...
Am able to access the command line by adding 3 to the boot grub menu...
Added the line below to the grub file from the command line ...
Code: Select all
"modprobe.nouveau=0 acpi_osi=! acpi_osi='Windows 2015'"
Still it boots into the acpi error screen..
am not sure what to do now...pls let me know if any logs would help...
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 12:48 pm
by Huckleberry Finn
Can you change it to this exactly (copy-paste):
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=\"!Windows 2015\""
Save, close, and :
Reboot
Acpi errors are sometimes due to kernel. And nouveau must be already blacklisted in /etc/modprobe.d/... (automatically when Nvidia was installed).
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 1:31 pm
by Sparky
Benji are you putting the commands in the GRUB file or as a kernel command?
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 1:48 pm
by Huckleberry Finn
By the way, to make it clear: I mean, right-click "Edit as Root" on /etc/default/grub
You can keep the others like "quiet" or "quiet splasht" etc.. so it could be:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splasht acpi_osi=\"!Windows 2015\""
or
GRUB_CMDLINE_LINUX_DEFAULT="quiet nosplash acpi_osi=\"!Windows 2015\""
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:02 pm
by Sparky
Huckleberry wrote: Sat Nov 23, 2019 12:48 pm
Can you change it to this exactly (copy-paste):
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=\"!Windows 2015\""
There is something wrong with the above command one "\" is outside the "" and the other inside it
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:03 pm
by Sparky
Huckleberry wrote: Sat Nov 23, 2019 1:48 pm
By the way, to make it clear: I mean, right-click "Edit as Root" on /etc/default/grub
You can keep the others like "quiet" or "quiet splasht" etc.. so it could be:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splasht acpi_osi=\"!Windows 2015\""
or
GRUB_CMDLINE_LINUX_DEFAULT="quiet nosplash acpi_osi=\"!Windows 2015\""
WHat about modprobe.blacklist=nouveau or modprobe.nouveau=0, where does this one go?
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:09 pm
by Huckleberry Finn
Yes, same.. they can be there, i.e.
"quiet modprobe.nouveau=0 nosplash acpi_osi=\"!Window.... "
Though it won't make harm, it may not be needed as nouveau is already blacklisted in the file in /etc/modprobe.d/..
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:19 pm
by Sparky
sudo update-grub says its missing modeset???
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:26 pm
by benji
Huckleberry wrote: Sat Nov 23, 2019 1:48 pm
By the way, to make it clear: I mean, right-click "Edit as Root" on /etc/default/grub
You can keep the others like "quiet" or "quiet splasht" etc.. so it could be:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splasht acpi_osi=\"!Windows 2015\""
or
GRUB_CMDLINE_LINUX_DEFAULT="quiet nosplash acpi_osi=\"!Windows 2015\""
have no access to the GUI as system doesn't boot beyond the acpi error..
so i changed the run level to 3 and edited the grub using
Can the /etc/default/grub of Mx linux be accessed/edited from another linux distro?
edit - was able to edit from nano on another distro...But i dont know how to update grub from the 2nd disto....for now i will boot back to run level 3 on MX linux and update grub...
After editing the grub
Code: Select all
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`grep PRETTY_NAME /etc/lsb-release | cut -d= -f2 | cut -d\" -f2 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet modprobe.nouveau=0 nosplash acpi_osi=\"!Windows 2015\""
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1024x768
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_DISABLE_OS_PROBER=false
#export GRUB_MENU_PICTURE="/usr/share/backgrounds/MXLinux/grub/linen-gradientblu-grub.png"
#export GRUB_MENU_PICTURE="/usr/share/backgrounds/MX18ALPHAWALL.png"
GRUB_THEME="/boot/grub/themes/linen/theme.txt"
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:30 pm
by Sparky
Benji, just reinstall it doesnt take that long. I've reinstalled about 30 times on this devil of a machine.
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:31 pm
by Huckleberry Finn
Yes, of course. Whichever you have at the moment. But you'll need to update grub within the system. So if you have an MX iso you can "chroot" and do that , too (as if you booted your system).
By the way, you can also type acpi=off in boot parameters on grub, pressing e
or, again press e and type these without typo if you can, at the end of linux ... ro quiet nosplash acpi_osi=\"!Windows 2015\"
Then hit F10 to go on booting. (That will be temporarily, only for that boot).
First try acpi=off that's simple and may work.
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:51 pm
by Sparky
SOLVED!!! I am now running Bumblbee!!! I will post a step by step, just give me 30 minutes to get my head screwed in back in place. Thank you Benji for all the help, this would have been impossible without you.
Benji, watch for my new thread for a step by step!
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 2:56 pm
by Sparky
I can confirm its running perfectly!
Code: Select all
$ optirun inxi -G
Graphics: Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nvidia v: 418.74
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 2560x1440~60Hz
OpenGL: renderer: GeForce GTX 960M/PCIe/SSE2 v: 4.6.0 NVIDIA 418.74
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:05 pm
by benji
Huckleberry wrote: Sat Nov 23, 2019 2:31 pm
Yes, of course. Whichever you have at the moment. But you'll need to update grub within the system. So if you have an MX iso you can "chroot" and do that , too (as if you booted your system).
By the way, you can also type acpi=off in boot parameters on grub, pressing e
or, again press e and type these without typo if you can, at the end of linux ... ro quiet nosplash acpi_osi=\"!Windows 2015\"
Then hit F10 to go on booting. (That will be temporarily, only for that boot).
First try acpi=off that's simple and may work.
Was able to boot in with acpi=off and the edited grub...I don't know why did it boot ?
is it because of the grub edit or the acpi=off(done on pressing 'e")?
Will try to find out and update...
i noticed after booting the battery notification does not have the indication of percentage or time remaining... is this remotely related to this ?
Missing battery.png
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:09 pm
by benji
Sparky wrote: Sat Nov 23, 2019 2:51 pm
SOLVED!!! I am now running Bumblbee!!! I will post a step by step, just give me 30 minutes to get my head screwed in back in place. Thank you Benji for all the help, this would have been impossible without you.
Benji, watch for my new thread for a step by step!
hurray! hurray!!hurray!!!
Very Happy to hear it Sparky...
Thank you all for taking time out & patiently replying to all the questions...
will update further if my install is working...
update
Code: Select all
$ inxi -G
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 418.74
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)
v: 4.5 Mesa 18.3.6
$ optirun inxi -G
[ 1447.617435] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 1447.617455] [ERROR]Aborting because fallback start is disabled.
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:13 pm
by benji
Sparky wrote: Sat Nov 23, 2019 2:56 pm
I can confirm its running perfectly!
Code: Select all
$ optirun inxi -G
Graphics: Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nvidia v: 418.74
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 2560x1440~60Hz
OpenGL: renderer: GeForce GTX 960M/PCIe/SSE2 v: 4.6.0 NVIDIA 418.74
Awesome!!!
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:32 pm
by Huckleberry Finn
benji wrote: Sat Nov 23, 2019 3:05 pm
Was able to boot in with acpi=off and the edited grub...I don't know why did it boot ?
is it because of the grub edit or the acpi=off(done on pressing 'e")?
Will try to find out and update...
i noticed after booting the battery notification does not have the indication of percentage or time remaining... is this remotely related to this ?
Missing battery.png
Yes. And that's normal for Acpi stands for "Advanced Configuration and Power Interface" :)
acpi=off can also be include there (in grub file) in some cases.
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:34 pm
by Huckleberry Finn
And, congratulations Sparky :)
Don't forget to create a snapshot nowadays :)
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:37 pm
by benji
Huckleberry wrote: Sat Nov 23, 2019 3:32 pm
benji wrote: Sat Nov 23, 2019 3:05 pm
Was able to boot in with acpi=off and the edited grub...I don't know why did it boot ?
is it because of the grub edit or the acpi=off(done on pressing 'e")?
Will try to find out and update...
i noticed after booting the battery notification does not have the indication of percentage or time remaining... is this remotely related to this ?
Missing battery.png
Yes. And that's normal for Acpi stands for "Advanced Configuration and Power Interface" :)
acpi=off can also be include there (in grub file) in some cases.
tried including in the /etc/default/grub -----> didn't boot
Booted Only when it was added by pressing 'e' & editing the boot menu..
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:40 pm
by Sparky
fresh install and it doesn't boot even with nouveau?
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:42 pm
by Huckleberry Finn
But the changes on /etc/default/grub take effect only after sudo update-grub
That refreshes the grub.cfg file in /boot/grub
In emergency cases like you had, one can also directly type in grub.cfg (after taking a copy, backup) in the relevant line ..
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:46 pm
by benji
Sparky wrote: Sat Nov 23, 2019 3:40 pm
fresh install and it doesn't boot even with nouveau?
Fresh Install boots without any issues(I didn't do it now) Even installing just the nvidia driver it was booting without having to modify anything in the grub...
even now if i remove bumblebee it may boot with out adding acpi=off..
Will try removing bumblebee & try booting
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:48 pm
by Huckleberry Finn
Did you do this when Nvidia was still installed?
viewtopic.php?f=104&t=54129&start=40#p542353
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:54 pm
by benji
With acpi=off machine is not shutting down
It's been like this for 5 mins...
IMG-20191124-WA0003.jpg
This is the second time it's happening with acpi=off
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 3:58 pm
by Sparky
benji wrote: Sat Nov 23, 2019 3:54 pm
With acpi=off machine is not shutting down
It's been like this for 5 mins...
IMG-20191124-WA0003.jpg
This is the second time it's happening with acpi=off
Wild theory, but have you tried 2011 for the Windows class? It worked for me before.
BTW, are you starting from a new install??
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 4:01 pm
by benji
Yes nvidia was also installed as well bumblebee which was installed from the MX PI
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 4:02 pm
by Sparky
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 4:15 pm
by benji
Sparky wrote: Sat Nov 23, 2019 3:58 pm
benji wrote: Sat Nov 23, 2019 3:54 pm
With acpi=off machine is not shutting down
It's been like this for 5 mins...
IMG-20191124-WA0003.jpg
This is the second time it's happening with acpi=off
Wild theory, but have you tried 2011 for the Windows class? It worked for me before.
BTW, are you starting from a new install??
Not a new install...
But am thinking of purging nvidia and retry again in the same install...
Should i try installing nvidia driver driver and bumblebee separately or together..?
To summarize
First time i installed i did it together ...didn't boot
The last time I did it i installed nvidia from the nvidia installer by choosing the option No for the qn - is it a optimum laptop... The driver installation was successful and i was able to boot without any editing
Then i installed bumblebee through MX PI , it wouldn't boot....only boots with acpi=off but there the problem is it is not shutting down...
I will try 2011 before I purge...
I saw a video where single quotes was used. I have no idea if it matters but just bringing it to attention...it was for manjaro
https://youtu.be/7KgX-LgDwQw timestamp 10.14
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 4:18 pm
by Sparky
just follow my link after a fresh install. I will work
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 4:23 pm
by benji
Thank you for the efforts
Will try and update...
First i will purge nvidia and try... and update
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 4:34 pm
by Huckleberry Finn
In the meantime, I met this on an Antergos site, as a general info / warning about Bumblebee subject :
Warning
There's nvidia-xconfig utility, installed with Bumblebee among NVIDIA tools. Never run it on Optimus computers. It was designed for and works correctly on single-GPU NVIDIA cards only. It doesn't detect hybrid NVIDIA Optimus cards. It's a perfect Bumblebee killer. If executed, it immediately breaks Bumblebee configuration.
Re: Help installing Nvidia Driver
Posted: Sat Nov 23, 2019 5:31 pm
by Stevo
Modern computers use ACPI for many functions, including getting the battery charge, shutdown, and suspend. You really need to keep it on, if you want a functional machine. It's best to at least get by with the Intel GPU until you get Bumblebee to work, as I did with my present MSI GP63 8RD. I got the same optirun error message that you're getting on MX 18 for months until I got it to work correctly--and installing virtualgl seems to be a critical part of that. MX NI will install that for you. Your machine should be able to play 4K video easily with just the Intel GPU and va-api--what does "vainfo" say in the terminal about what codecs are supported?
By default, Optimus laptops like yours always use the Intel GPU to drive the display, even with Bumblebee using the Nvidia GPU to do the openGL 3D rendering before handing it back to the Intel for the display. You can see the difference in the last line of the "inxi -G" outputs with or without optirun.
Benji, you should reinstall, do a full update, reboot (because there is a kernel update from Debian in those updates), and then try the MX Nvidia Installer to install the regular driver--
not the test repo version. Just installing Bumblebee and Nvidia separately will not install some crucial packages. Copy the ddm.log somewhere safe so it can be looked at later, and reboot.
If the GUI comes back up, check to see optirun works with "inxi -G". If not, run
Code: Select all
sudo dpkg-reconfigure nvidia-kernel-dkms
which will try and rebuild the Nvidia driver so you can better see if anything goes wrong. You might want to change the XFCE terminal's Preferences to show a scroll bar and allow unlimited scrollback first.
If this still doesn't get optirun fixed, you may have one of those troublesome laptops that needs boot tweaks or config file editing for Bumblebee to work. Maybe someone with the same model has found out what they are and posted the fix on the web, if you're lucky.
Also, we can't go by what Mint does--they use Nvidia Prime to make the machine use the Nvidia GPU full time, which is hard on battery life. If you want to do that, the Debian wiki had a guide to setting your machine to do the same on the command line the last time I looked...
Re: Help installing Nvidia Driver
Posted: Sun Nov 24, 2019 9:08 am
by benji
benji wrote: Sat Nov 23, 2019 4:15 pm
Sparky wrote: Sat Nov 23, 2019 3:58 pm
benji wrote: Sat Nov 23, 2019 3:54 pm
With acpi=off machine is not shutting down
It's been like this for 5 mins...
IMG-20191124-WA0003.jpg
This is the second time it's happening with acpi=off
Wild theory, but have you tried 2011 for the Windows class? It worked for me before.
BTW, are you starting from a new install??
Not a new install...
But am thinking of purging nvidia and retry again in the same install...
Should i try installing nvidia driver driver and bumblebee separately or together..?
To summarize
First time i installed i did it together ...didn't boot
The last time I did it i installed nvidia from the nvidia installer by choosing the option No for the qn - is it a optimum laptop... The driver installation was successful and i was able to boot without any editing
Then i installed bumblebee through MX PI , it wouldn't boot....only boots with acpi=off but there the problem is it is not shutting down...
I will try 2011 before I purge...
I saw a video where single quotes was used. I have no idea if it matters but just bringing it to attention...it was for manjaro
https://youtu.be/7KgX-LgDwQw timestamp 10.14
Sparky!!
2011 did the trick!!!!
Did a clean install and did as mentioned in your instructions...2015 in the grub resulted in acpi...
Changed it to 2011 and the system booted in..
Thank you Sparky, Huckleberry,stevo and all others for your help...
Output from inxi
Code: Select all
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 418.74
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)
v: 4.5 Mesa 18.3.6
$ optirun inxi -G
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 418.74
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 418.74
Re: Help installing Nvidia Driver
Posted: Sun Nov 24, 2019 10:32 am
by Sparky
congrats!!!
Re: Help installing Nvidia Driver
Posted: Sun Nov 24, 2019 10:36 am
by benji
Thank You Sparky!!
Re: Help installing Nvidia Driver
Posted: Sun Nov 24, 2019 11:17 am
by Huckleberry Finn
Glad you did it.
This will also be a good info for those who search about these subjects and acpi.. :)
Re: Help installing Nvidia Driver
Posted: Sun Nov 24, 2019 11:31 am
by Huckleberry Finn
Maybe people wonder "What Windows" "What 2011" "What 2015" you talk about :)
Here's the "story" :
Quoted From "linesma" on Manjaro Forum :
The introduction of Optimus laptops have created new challenges for Linux users. One of the biggest issues is having the proprietary graphics card work when the system boots. Many times the advice given is to add an Advanced Configuration and Power Interface (acpi ) kernel parameter to grub. While a specific acpi kernel parameter may be given, it is sometimes not appropriate to the hardware it is being applied to. This can cause system instability and some functions of the laptop to not work properly. Once the user does find a parameter that works, they are told to add it to their grub config file so it will be automatically load at boot. This can cause its own problems. If the user does not use the proper syntax when adding this parameter, it will be ignored and not work. Let’s take a look at how to choose the proper acpi kernel parameter and then how to properly add it to the grub config file.
Before you decide which acpi kernel parameter you need, you have to ask yourself one question.
Do I even need an acpi kernel parameter?
Short of digging through logs and looking for acpi errors, there are several ways to see if an acpi kernel parameter is needed.
- This is probably the easiest way to tell if you need an acpi kernel parameter. This problem can be seen whether you are running Linux from a Live USB or it is installed to a local hard drive. When you shut down your computer and it hangs before shutting down, or it hangs and you have to push the power button to shut it down, you may need an acpi kernel parameter.
- You are using an Optimus laptop and you have installed the nVidia proprietary driver. You boot your laptop and it hangs on the following steps
a. “Started TLP system startup/shutdown”
b. “reached target graphical interface”
c. An error message about configuring “Backlight”
d. Your laptop just boots to a black screen and the fans start to run constantly.
If any of these behaviors are noticed, you may need to add the acpi kernel parameter.
- This requires a little more effort on the user. Press e on the grub screen and remove the “quiet” kernel parameter before you boot your computer. As your computer boots, you will be presented with a list of what is being loaded. Before the kernel starts loading, it does a quick hardware check. If it has a problem with powering up any hardware, it will list an acpi error. If you see an acpi error, you may need an acpi kernel parameter.
Choosing an acpi kernel parameter
The bios or UEFI in use by your laptop looks for certain “identifiers” in how to handle your hardware based on the Operating System (OS) it was designed to operate. It does this through acpi “calls” from the operating system to the bios. When you see problems such as listed above, that means the bios does not understand the calls being sent to it by the OS. The good thing is, since acpi used by both Windows and Linux follow the UEFI specifications1, they both use the same OSI strings to identify what OS is used. Unlike the Windows kernel, the Linux kernel can determine what “power calls” are sent to the bios by the use of these OSI Strings in the acpi kernel parameter. By adding these parameters, you can basically tell Linux to “mimic” the acpi calls sent by another OS.
When you purchased your laptop, it probably came with Windows pre-installed. The version of Windows that was installed is your first clue in figuring out which OSI String your acpi kernel parameter needs. From Windows 2000 to Windows 8.1, you can use the Windows release name to find the OSI String you should use. Windows 10, however, since it uses a “rolling release” model, finding the OSI String you need to use requires a little more work. To find your Windows install’s version number, open a command prompt in Windows and type, winver . This will give your Windows version in the following manner, Windows 10 version 1607 . That is the information you need to determine the OSI String your kernel parameter needs.
Once you have your version of Windows, use the below chart to find how your version of Windows needs to be represented in the kernel parameter.
OSI Arguments for Windows
OSI String ===========>
Target OS
Windows 2000 =======> Windows 2000
Windows 2001 =======> Windows XP
Windows 2001 SP1 ===> Windows XP SP1
Windows 2001.1 =====> Windows Server 2003
Windows 2001 SP2 ===> Windows XP SP2
Windows 2001.1 SP1 => Windows Server 2003 SP1
Windows 2006 =======> Windows Vista
Windows 2006 SP1 ===> Windows Vista SP1
Windows 2006.1 =====> Windows Server 2008
Windows 2009 =======> Windows 7, Win Server 2008 R2
Windows 2012 =======> Windows 8, Win Server 2012
Windows 2013 =======> Windows 8.1
Windows 2015 =======> Windows 10
Windows 2016 =======> Windows 10, version 1607
Windows 2017 =======> Windows 10, version 1703
Windows 2017.2 =====> Windows 10, version 1709
Windows 2018 =======> Windows 10, version 1803
Windows 2018.2 =====> Windows 10, version 1809
Once you have your OSI string, you now have all the information needed for your kernel parameter.
To have Linux mimic your version of Windows, you need to add the following kernel parameter,
acpi_osi='OSI String'
____________________________________________________________________________
Examples
Windows 7 - acpi_osi='Windows 2009'
Windows 10 ver. 1709 – acpi_osi='Windows 2017'
You will notice that Windows 10 version 1709 has an OSI String of Windows 2017.2 and I used Windows 2017 instead. In my testing, I found that Windows 2017.2 was not recognized as a valid argument.
Note on acpi_osi=!
This argument disables all vendor strings that maybe present. It should only be used if one of the above OSI strings does not work on its own. If you use it when it is not needed, you maybe able to boot without any acpi errors, but your touchpad or wifi will not work. It also must be used in combination one of the above OSI strings.
Example
acpi_osi=! acpi_osi='Windows 2012'
This will disable all the vendor strings and then tell the kernel to “mimic” Windows 8 when it talks to the bios.
Note for Dell Laptops
Sometimes the above kernel parameters will not work properly on some Dell laptops. If that is the case, you can try the following: acpi_rev_override=# Replace the “#” with a number between 1 to 5. In order to have this kernel parameter applied properly, cold booting (shutting your system down completely before restarting) your laptop twice may be required.
Adding the acpi kernel to grub
Once you have found the kernel argument that works the best for your hardware, you need to add it to grub in order to have it applied every time you boot your system. This is easier than it sounds. The problem most users have is syntax or how to type it on the appropriate line. They key to having the argument recognized is to only use “single quotes”, or as we call them in the United States, the apostrophe.
To add the argument to grub, open a terminal, and type the following:
Add the kernel argument to the following line: GRUB_CMDLINE_LINUX_DEFAULT .
Example
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi='Windows 2018' rd.udev.log-priority=3 bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash nvme_core.default_ps_max_latency_us=5500"
ctrl+x to exit and “Y” to save.
Now your kernel argument has been added to grub and will be loaded every time you boot your laptop.
This is by no means an exhaustive guide in the use of acpi kernel parameters. That would require a much longer document. Instead it gives some basic instructions that one can follow to get their system up and running. If you are still having acpi issues, and need help solving it, there are a couple of options open to you. First off, search the forum to see if your problem has been solved before. If that does not solve your issue, create a new support thread on the forum discussing your issue.
_________________________________________________________________________________
Sources :
1
https://uefi.org/specifications
2
https://docs.microsoft.com/en-us/window ... inacpi-osi
3
https://www.kernel.org/doc/Documentatio ... meters.txt
Re: Help installing Nvidia Driver
Posted: Sun Nov 24, 2019 5:38 pm
by Stevo
Is "optirun glxspheres64" working now with the Nvidia card?
Re: Help installing Nvidia Driver
Posted: Wed Nov 27, 2019 1:52 pm
by benji
Stevo wrote: Sun Nov 24, 2019 5:38 pm
Is "optirun glxspheres64" working now with the Nvidia card?
Below is the result when in run glxspheres
Code: Select all
$ optirun glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0xad (8/8/8/0)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GTX 1050/PCIe/SSE2
166.999900 frames/sec - 186.371889 Mpixels/sec
161.145805 frames/sec - 179.838718 Mpixels/sec
154.532733 frames/sec - 172.458530 Mpixels/sec
^C[ 1597.452481] [WARN]Received Interrupt signal.
Re: Help installing Nvidia Driver
Posted: Wed Nov 27, 2019 1:58 pm
by benji
Huckleberry wrote: Sun Nov 24, 2019 11:31 am
OSI String ===========>
Target OS
Windows 2000 =======> Windows 2000
Windows 2001 =======> Windows XP
Windows 2001 SP1 ===> Windows XP SP1
Windows 2001.1 =====> Windows Server 2003
Windows 2001 SP2 ===> Windows XP SP2
Windows 2001.1 SP1 => Windows Server 2003 SP1
Windows 2006 =======> Windows Vista
Windows 2006 SP1 ===> Windows Vista SP1
Windows 2006.1 =====> Windows Server 2008
Windows 2009 =======> Windows 7, Win Server 2008 R2
Windows 2012 =======> Windows 8, Win Server 2012
Windows 2013 =======> Windows 8.1
Windows 2015 =======> Windows 10
Windows 2016 =======> Windows 10, version 1607
Windows 2017 =======> Windows 10, version 1703
Windows 2017.2 =====> Windows 10, version 1709
Windows 2018 =======> Windows 10, version 1803
Windows 2018.2 =====> Windows 10, version 1809
Wondering how 2011 makes my laptop boot in..
It's also mentioned to use single quotes where as I have used double quotes..
Re: Help installing Nvidia Driver
Posted: Wed Nov 27, 2019 2:05 pm
by Huckleberry Finn
I wish you didn't do such a big "quotation".
I wondered that, too. It may have been counted as Win7 (till 2012) as in the example of Windows 10, version 1709 you need to write 2017 although it's a bit later ...
The real example is on the link kernel.org
acpi_osi= [HW,ACPI] Modify list of supported OS interface strings
acpi_osi="string1" # add string1
acpi_osi="!string2" # remove string2
acpi_osi=!* # remove all strings
acpi_osi=! # disable all built-in OS vendor
strings
acpi_osi=!! # enable all built-in OS vendor
strings
acpi_osi= # disable all strings
'acpi_osi=!' can be used in combination with single or
multiple 'acpi_osi="string1"' to support specific OS
vendor string(s). Note that such command can only
affect the default state of the OS vendor strings, thus
it cannot affect the default state of the feature group
strings and the current state of the OS vendor strings,
specifying it multiple times through kernel command line
is meaningless. This command is useful when one do not
care about the state of the feature group strings which
should be controlled by the OSPM.
Examples:
1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent
to 'acpi_osi="Windows 2000" acpi_osi=!', they all
can make '_OSI("Windows 2000")' TRUE.
'acpi_osi=' cannot be used in combination with other
'acpi_osi=' command lines, the _OSI method will not
exist in the ACPI namespace. NOTE that such command can
only affect the _OSI support state, thus specifying it
multiple times through kernel command line is also
meaningless.
Examples:
1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)'
FALSE.
'acpi_osi=!*' can be used in combination with single or
multiple 'acpi_osi="string1"' to support specific
string(s). Note that such command can affect the
current state of both the OS vendor strings and the
feature group strings, thus specifying it multiple times
through kernel command line is meaningful. But it may
still not able to affect the final state of a string if
there are quirks related to this string. This command
is useful when one want to control the state of the
feature group strings to debug BIOS issues related to
the OSPM features.
Examples:
1. 'acpi_osi="Module Device" acpi_osi=!*' can make
'_OSI("Module Device")' FALSE.
2. 'acpi_osi=!* acpi_osi="Module Device"' can make
'_OSI("Module Device")' TRUE.
3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is
equivalent to
'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"'
and
'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!',
they all will make '_OSI("Windows 2000")' TRUE.
Re: [SOLVED] Help installing Nvidia GeForce GTX 1050 Driver - hP pavilion
Posted: Wed Nov 27, 2019 2:12 pm
by benji
My apologies..
Re: [SOLVED] Help installing Nvidia GeForce GTX 1050 Driver - hP pavilion
Posted: Wed Nov 27, 2019 4:28 pm
by Stevo
If you compare glxspheres64 with and without the "optirun", you'll get a rough idea of how much faster the Nvidia card renders 3D than the Intel one.
I edited Google Earth Pro's command in the menu so it uses the Nvidia Card, because
A: it's faster
B: it doesn't work with the "intel" driver I use, though it does with the default modesetting driver for the Intel GPU.
Code: Select all
optirun /opt/google/earth/pro/google-earth-pro %f
Re: [SOLVED] Help installing Nvidia GeForce GTX 1050 Driver - hP pavilion
Posted: Sat Dec 07, 2019 2:13 pm
by benji
Code: Select all
full upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libqt4-network (4:4.8.7+dfsg-18)
Use 'apt autoremove' to remove it.
The following packages will be upgraded:
firefox (70.0.1~mozillabinaries-1mx19+1 => 71.0~mozillabinaries-1mx19+1)
libnss3 (2:3.42.1-1+deb10u1 => 2:3.42.1-1+deb10u2)
mx-conky (19.9.01 => 19.12)
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 55.7 MB of archives.
After this operation, 301 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian-security buster/updates/main amd64 libnss3 amd64 2:3.42.1-1+deb10u2 [1,160 kB]
Get:2 http://mxrepo.com/mx/repo buster/main amd64 firefox amd64 71.0~mozillabinaries-1mx19+1 [54.4 MB]
Get:3 http://mxrepo.com/mx/repo buster/main amd64 mx-conky amd64 19.12 [129 kB]
Fetched 55.7 MB in 2min 35s (360 kB/s)
(Reading database ... 277785 files and directories currently installed.)
Preparing to unpack .../firefox_71.0~mozillabinaries-1mx19+1_amd64.deb ...
Unpacking firefox (71.0~mozillabinaries-1mx19+1) over (70.0.1~mozillabinaries-1mx19+1) ...
Preparing to unpack .../libnss3_2%3a3.42.1-1+deb10u2_amd64.deb ...
Unpacking libnss3:amd64 (2:3.42.1-1+deb10u2) over (2:3.42.1-1+deb10u1) ...
Preparing to unpack .../mx-conky_19.12_amd64.deb ...
Unpacking mx-conky (19.12) over (19.9.01) ...
Setting up nvidia-persistenced (418.56-1) ...
Starting NVIDIA Persistence Daemon
nvidia-persistenced failed to initialize. Check syslog for more details.
invoke-rc.d: initscript nvidia-persistenced, action "start" failed.
dpkg: error processing package nvidia-persistenced (--configure):
installed nvidia-persistenced package post-installation script subprocess returned error exit status 1
Setting up firefox (71.0~mozillabinaries-1mx19+1) ...
Setting up libnss3:amd64 (2:3.42.1-1+deb10u2) ...
Setting up mx-conky (19.12) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for bamfdaemon (0.5.4-1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)
full upgrade complete (or was canceled)
this terminal window can now be closed (press any key to close)
When i update or install program I get an error "Errors were encountered while processing:
nvidia-persistenced"
is this a problem becoz of nvidia driver?
Re: [SOLVED] Help installing Nvidia GeForce GTX 1050 Driver - hP pavilion
Posted: Sat Dec 07, 2019 6:56 pm
by Stevo
Try this in the terminal:
Code: Select all
sudo apt remove nvidia-persistenced
That should only be ever installed on systems where the Nvidia card is primary, such as a desktop, since its purpose is to keep the Nvidia card turned on at all times--which is not what you want with Optimus.
I think that's a bug for Optimus in MX NI, and it's pulled in by installing the recommends. We may have to resort to just installing each package individually for Optimus laptops.
Re: [SOLVED] Help installing Nvidia GeForce GTX 1050 Driver - hP pavilion
Posted: Tue Dec 10, 2019 2:22 pm
by benji
When I removed nvidia-persistenced i ran into the same problem of acpi error screen