Hello again Linux community! <3
I have successfully installed MX Linux Xfce edition on my family's laptop. (this time Debian Stable as Manjaro was not a good option)
Since it's being used in a very conservative fashion, only for e-mail, office, web browsing and occasionally some Youtube, I thought of disabling it's Nvidia GPU for two reasons: mainly to increase its battery life but also to have it stay at a cooler temperature.
I used the MX driver installer and it seems that the choice for this Nvidia 920 MX offered in the repos is the nvidia-driver 460.91.03-1 and this is the one I installed. Everything works okay.
This GPU also has Optimus technology. The MX Driver installer was also supposed to install Bumblebee but, for some reason, it didn't.
On their forums a person said to uninstall everything with: 1. sudo ddm-mx -p nvidia 2. sudo apt-get --auto-remove purge bumblebee* and then reinstall the bumblebee nvidia driver with 3. sudo ddm-mx -i nvidia -f bumblebee
However this did not work as it doesn't recognize -i nvidia command.
If I use their installer and then manually install Bumblebee Nvidia X Server Settings would not open and nvidia-smi would not provide me any information. Same would happen if I do it all from Synaptic.
I also tried to follow this link-tutorial from debian.org they provided me with but it feels incomplete.. and I wasn't able to install this
Indeed, I don't know which one would actually be better for this hardware, Bumblebee or Prime. I understood that with Prime you select integrated or dedicated and then you restart the computer while Bumblebee is a daemon doing the offload in the background mainly prioritizing the integrated GPU.
I also heard about Envycontrol but I also don't know how to install it.
5 months ago I did not know how to install Windows on a computer #lol. Now I know how to install different operating systems with Dual-boot with different filesystems and manual partitioning - this is what Linux made out of me #LOL. But it's still a long process of learning.
In conclusion:
1. What should I install on it? Bumblebee, Prime or Envycontrol
2. What would be some easy and explanatory steps to sucessfully achieve this on my hardware?
Your help will be greatly appreciated!
P.S. I was not able to get an answer for this on MX Forums. (also the internet seems to be a mess regarding this topic)
Code:
System: Kernel: 5.10.0-14-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-14-amd64
root=UUID=<filter> ro quiet pcie_aspm=off pci=nomsi
pci=noaer splash
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.1_x64 Wildflower April 9 2022
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: ASUSTeK product: X541UV v: 1.0 serial: <filter>
Mobo: ASUSTeK model: X541UV v: 1.0 serial: <filter> UEFI: American Megatrends
v: X541UV.309 date: 04/17/2019
Battery: ID-1: BAT0 charge: 23.4 Wh (91.1%) condition: 25.7/34.6 Wh (74.3%) volts: 10.8
min: 10.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Discharging
cycles: 1028
CPU: Info: Dual Core model: Intel Core i5-6198DU bits: 64 type: MT MCP arch: Skylake
family: 6 model-id: 4E (78) stepping: 3 microcode: EC cache: L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19200
Speed: 500 MHz min/max: 400/2800 MHz Core speeds (MHz): 1: 500 2: 500 3: 500 4: 500
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
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: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel HD Graphics 510 vendor: ASUSTeK driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:1906 class-ID: 0300
Device-2: NVIDIA GM108M [GeForce 920MX] vendor: ASUSTeK driver: nvidia v: 460.91.03
bus-ID: 01:00.0 chip-ID: 10de:134f class-ID: 0302
Device-3: Chicony USB2.0 VGA UVC WebCam type: USB driver: uvcvideo bus-ID: 1-6:3
chip-ID: 04f2:b52b class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.16.1 driver:
loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: eDP-1 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6")
diag: 394mm (15.5")
OpenGL: renderer: Mesa Intel HD Graphics 510 (SKL GT1) v: 4.6 Mesa 20.3.5
direct render: Yes
Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
Sound Server-1: ALSA v: k5.10.0-14-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: ASUSTeK driver: r8169
v: kernel port: d000 bus-ID: 02:00.2 chip-ID: 10ec:8136 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lite-On
driver: rtl8723be v: kernel modules: wl port: c000 bus-ID: 03:00.0 chip-ID: 10ec:b723
class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-8:4
chip-ID: 0bda:b721 class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
sub-v: 9f73 hci-v: 4.0 rev: e2f
Info: acl-mtu: 820:8 sco-mtu: 255:16 link-policy: rswitch hold sniff park
link-mode: slave accept service-classes: rendering, capturing, audio
Drives: Local Storage: total: 1.13 TiB used: 23.48 GiB (2.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G size: 223.57 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 0103 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000LM024 HN-M101MBB
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: 0001 scheme: GPT
Partition: ID-1: / raw-size: 48.83 GiB size: 47.76 GiB (97.81%) used: 10.01 GiB (20.9%) fs: ext4
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 288 KiB (0.1%)
fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 97.66 GiB size: 95.56 GiB (97.86%) used: 12.31 GiB (12.9%)
fs: ext4 dev: /dev/sda3 maj-min: 8:3
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 12.19 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda4 maj-min: 8:4
Sensors: System Temperatures: cpu: 43.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2200
Repos: Packages: note: see --pkg apt: 2189 lib: 1090 flatpak: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/megasync.list
1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb https://mirrors.netix.net/mx/MX-Packages/mx/repo/ bullseye main non-free
Active apt repos in: /etc/apt/sources.list.d/onlyoffice.list
1: deb https://download.onlyoffice.com/repo/debian squeeze main
Info: Processes: 211 Uptime: 1h 39m wakeups: 3 Memory: 7.58 GiB used: 2.29 GiB (30.3%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Shell: Bash v: 5.1.4 running-in: quick-system-info-mx
inxi: 3.3.06
Boot Mode: UEFI
Code:
$ inxi -Fza
System: Kernel: 5.10.0-14-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-14-amd64
root=UUID=cbb182bd-2fc8-4549-85fe-6403a84f4b40 ro quiet pcie_aspm=off pci=nomsi
pci=noaer splash
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.1_x64 Wildflower April 9 2022
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: ASUSTeK product: X541UV v: 1.0 serial: <filter>
Mobo: ASUSTeK model: X541UV v: 1.0 serial: <filter> UEFI: American Megatrends
v: X541UV.309 date: 04/17/2019
Battery: ID-1: BAT0 charge: 22.5 Wh (87.5%) condition: 25.7/34.6 Wh (74.3%) volts: 10.8
min: 10.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Discharging
cycles: 1028
CPU: Info: Dual Core model: Intel Core i5-6198DU bits: 64 type: MT MCP arch: Skylake
family: 6 model-id: 4E (78) stepping: 3 microcode: EC cache: L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19200
Speed: 500 MHz min/max: 400/2800 MHz Core speeds (MHz): 1: 500 2: 500 3: 500 4: 500
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
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: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel HD Graphics 510 vendor: ASUSTeK driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:1906 class-ID: 0300
Device-2: NVIDIA GM108M [GeForce 920MX] vendor: ASUSTeK driver: nvidia v: 460.91.03
bus-ID: 01:00.0 chip-ID: 10de:134f class-ID: 0302
Device-3: Chicony USB2.0 VGA UVC WebCam type: USB driver: uvcvideo bus-ID: 1-6:3
chip-ID: 04f2:b52b class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.16.1 driver:
loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: eDP-1 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6")
diag: 394mm (15.5")
OpenGL: renderer: Mesa Intel HD Graphics 510 (SKL GT1) v: 4.6 Mesa 20.3.5
direct render: Yes
Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
Sound Server-1: ALSA v: k5.10.0-14-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: ASUSTeK driver: r8169
v: kernel port: d000 bus-ID: 02:00.2 chip-ID: 10ec:8136 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lite-On
driver: rtl8723be v: kernel modules: wl port: c000 bus-ID: 03:00.0 chip-ID: 10ec:b723
class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-8:4
chip-ID: 0bda:b721 class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
sub-v: 9f73 hci-v: 4.0 rev: e2f
Info: acl-mtu: 820:8 sco-mtu: 255:16 link-policy: rswitch hold sniff park
link-mode: slave accept service-classes: rendering, capturing, audio
Drives: Local Storage: total: 1.13 TiB used: 23.48 GiB (2.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G size: 223.57 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 0103 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000LM024 HN-M101MBB
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: 0001 scheme: GPT
Partition: ID-1: / raw-size: 48.83 GiB size: 47.76 GiB (97.81%) used: 10.01 GiB (20.9%) fs: ext4
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 288 KiB (0.1%)
fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 97.66 GiB size: 95.56 GiB (97.86%) used: 12.31 GiB (12.9%)
fs: ext4 dev: /dev/sda3 maj-min: 8:3
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 12.19 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda4 maj-min: 8:4
Sensors: System Temperatures: cpu: 42.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2300
Info: Processes: 204 Uptime: 1h 45m wakeups: 3 Memory: 7.58 GiB used: 2.38 GiB (31.5%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Packages: note: see --pkg apt: 2189 lib: 1090 flatpak: 0 Shell: Bash v: 5.1.4
running-in: xfce4-terminal inxi: 3.3.06
I have successfully installed MX Linux Xfce edition on my family's laptop. (this time Debian Stable as Manjaro was not a good option)
Since it's being used in a very conservative fashion, only for e-mail, office, web browsing and occasionally some Youtube, I thought of disabling it's Nvidia GPU for two reasons: mainly to increase its battery life but also to have it stay at a cooler temperature.
I used the MX driver installer and it seems that the choice for this Nvidia 920 MX offered in the repos is the nvidia-driver 460.91.03-1 and this is the one I installed. Everything works okay.
This GPU also has Optimus technology. The MX Driver installer was also supposed to install Bumblebee but, for some reason, it didn't.
On their forums a person said to uninstall everything with: 1. sudo ddm-mx -p nvidia 2. sudo apt-get --auto-remove purge bumblebee* and then reinstall the bumblebee nvidia driver with 3. sudo ddm-mx -i nvidia -f bumblebee
However this did not work as it doesn't recognize -i nvidia command.
If I use their installer and then manually install Bumblebee Nvidia X Server Settings would not open and nvidia-smi would not provide me any information. Same would happen if I do it all from Synaptic.
I also tried to follow this link-tutorial from debian.org they provided me with but it feels incomplete.. and I wasn't able to install this
as it told me that nvidia-driver-libs-i386 could not be found in the repo, not sure how this could be possible, I have activated all the repo links except bulleyes test and bulleyes AHS.sudo apt install primus-libs:i386 libprimus-vk1:i386 nvidia-primus-vk-wrapper:i386 nvidia-driver-libs-i386
Indeed, I don't know which one would actually be better for this hardware, Bumblebee or Prime. I understood that with Prime you select integrated or dedicated and then you restart the computer while Bumblebee is a daemon doing the offload in the background mainly prioritizing the integrated GPU.
I also heard about Envycontrol but I also don't know how to install it.
5 months ago I did not know how to install Windows on a computer #lol. Now I know how to install different operating systems with Dual-boot with different filesystems and manual partitioning - this is what Linux made out of me #LOL. But it's still a long process of learning.
In conclusion:
1. What should I install on it? Bumblebee, Prime or Envycontrol
2. What would be some easy and explanatory steps to sucessfully achieve this on my hardware?
Your help will be greatly appreciated!
P.S. I was not able to get an answer for this on MX Forums. (also the internet seems to be a mess regarding this topic)