Problema spegnimento

Forum italiano degli utenti MX
Message
Author
maary79
Posts: 30
Joined: Tue Nov 20, 2018 6:49 am

Problema spegnimento

#1 Post by maary79 »

Salve, ho appena installato MX, è veramente, veloce e completa. Ma, ho un problema. Quando spengo il pc, questo fa un rumore, come se io premessi manualmente il tasto power, mentre dovrebbe spegnersi senza fare nessun rumore.
Già uso Mint, da anni, senza avere questo problema.
L'unica differenza è che Mint usa Nvidia Prime, mentre MX usa Bumblebee.
Non so se possa c'entrare, ma potrebbe aver iniziato a fare quel rumore (per spegnersi) dopo l'installazione del driver proprietario Nvidia (tramite tool integrato).

Questo è inxi:

Code: Select all

System:    Host: mx Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-17.1_x64 Horizon March 14  2018 
Machine:   Type: Laptop System: ASUSTeK product: S551LB v: 1.0 serial: <root required> 
           Mobo: ASUSTeK model: S551LB v: 1.0 serial: <root required> UEFI: American Megatrends 
           v: S551LB.212 date: 04/25/2014 
Battery:   ID-1: BAT0 charge: 30.0 Wh condition: 37.8/50.2 Wh (75%) 
CPU:       Topology: Dual Core model: Intel Core i7-4500U bits: 64 type: MT MCP 
           L2 cache: 4096 KiB 
           Speed: 1899 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 1488 2: 1313 3: 1207 
           4: 1234 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel 
           Device-2: NVIDIA GK208M [GeForce GT 740M] driver: N/A 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 3.3 Mesa 13.0.6 
Audio:     Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel 
           Device-2: Intel 8 Series HD Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: eth0 state: down mac: 40:16:7e:46:ae:a5 
           Device-2: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k 
           IF: wlan0 state: up mac: 54:27:1e:24:57:03 
Drives:    Local Storage: total: 931.51 GiB used: 5.62 GiB (0.6%) 
           ID-1: /dev/sda vendor: Seagate model: ST1000LM024 HN-M101MBB size: 931.51 GiB 
Partition: ID-1: / size: 23.07 GiB used: 5.59 GiB (24.2%) fs: ext4 dev: /dev/sda7 
Sensors:   System Temperatures: cpu: 45.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 196 Uptime: 44m Memory: 7.25 GiB used: 1.34 GiB (18.4%) Shell: bash 
           inxi: 3.0.25 
MX_Linux@mx:~



grelos
Posts: 69
Joined: Wed Mar 28, 2018 3:12 pm

Re: Problema spegnimento

#2 Post by grelos »

A parte il rumore ti funziona tutto?
MX-19 on Lenovo 520-15IKB

maary79
Posts: 30
Joined: Tue Nov 20, 2018 6:49 am

Re: Problema spegnimento

#3 Post by maary79 »

Si funziona tutto normalmente, il ruomore è brutto...e dal live non lo faceva, per cui presumo che il problema sia il driver Nvidia, come lo rimuovo?

Ecco cosa mi ha installato di Nvidia:

Code: Select all

About to execute /usr/local/bin/ddm-mx -i nvidia.
This command needs root privileges to be executed.
Using su...
Enter root password at prompt.
Password: 
creazione lock ...
===================================
Installa drivers per: nvidia
Avvia il (m/g/anno): 11/20/2018 15:45:59
===================================
Aggiorna le fonti dei repository con apt-get update

Continuare?
  1) sì (default)
  2) no
Premi <Invio> per il predefinito la voce
Usa 'q' su esci

Trovato:1 http://ftp.it.debian.org/debian stretch-updates InRelease
Ign:2 http://ftp.it.debian.org/debian stretch InRelease
Scaricamento di:3 http://security.debian.org stretch/updates InRelease [94,3 kB]
Trovato:4 http://ftp.it.debian.org/debian stretch Release
Trovato:5 http://it.mxrepo.com/antix/stretch stretch InRelease
Trovato:6 http://it.mxrepo.com/mx/repo stretch InRelease
Recuperati 94,3 kB in 0s (141 kB/s)
Lettura elenco dei pacchetti...

rilevata nvidia-optimus

Candidato è: 3.2.1-14
Installato é: 3.2.1-14

Vuoi controllare i debian-backports per una versione successiva?

Si o No?

1: Sì
2: No

Enter Number of selection
1
Ok...
Abilitazione del repo backports
Esecuzione di apt-get update in corso...
Trovato:1 http://ftp.it.debian.org/debian stretch-updates InRelease
Trovato:2 http://security.debian.org stretch/updates InRelease
Trovato:3 http://it.mxrepo.com/antix/stretch stretch InRelease
Trovato:4 http://it.mxrepo.com/mx/repo stretch InRelease
Ign:5 http://ftp.it.debian.org/debian stretch InRelease
Trovato:6 http://ftp.it.debian.org/debian stretch Release
Scaricamento di:7 http://ftp.debian.org/debian stretch-backports InRelease [91,8 kB]
Scaricamento di:9 http://ftp.debian.org/debian stretch-backports/main amd64 Packages [515 kB]
Scaricamento di:10 http://ftp.debian.org/debian stretch-backports/main i386 Packages [509 kB]
Scaricamento di:11 http://ftp.debian.org/debian stretch-backports/main Translation-en [392 kB]
Scaricamento di:12 http://ftp.debian.org/debian stretch-backports/contrib amd64 Packages [7.624 B]
Scaricamento di:13 http://ftp.debian.org/debian stretch-backports/contrib i386 Packages [7.256 B]
Scaricamento di:14 http://ftp.debian.org/debian stretch-backports/contrib Translation-en [6.233 B]
Scaricamento di:15 http://ftp.debian.org/debian stretch-backports/non-free i386 Packages [19,4 kB]
Scaricamento di:16 http://ftp.debian.org/debian stretch-backports/non-free amd64 Packages [29,1 kB]
Scaricamento di:17 http://ftp.debian.org/debian stretch-backports/non-free Translation-en [33,8 kB]
Recuperati 1.610 kB in 1s (1.209 kB/s)
Lettura elenco dei pacchetti...

Si installa l'ultimo pacchetto nvidia-detect

Lettura elenco dei pacchetti...
Generazione albero delle dipendenze...
Lettura informazioni sullo stato...
nvidia-detect is already the newest version (390.87-2~bpo9+1).
0 aggiornati, 0 installati, 0 da rimuovere e 214 non aggiornati.

Candidato è: 3.2.1-14
Il candidato di debian backports è:   3.2.1-14
Installato é: 3.2.1-14

il driver nvidia è già installato

Reinstallare o uscire?

1: Reinstallare
2: uscire

Inserisci il numero di selezione

User avatar
penguin
Posts: 260
Joined: Wed Jan 04, 2017 3:15 pm

Re: Problema spegnimento

#4 Post by penguin »

Rumovi NVidia e prova. Io avevo un Lenovo W510 con una carta grafica Nvidia. No ho visto nessun diferenca tra Nvidia installato o Nvidia non instalato. Cosi ho deciso ti rimuovere.Nell mio HP 8470p io non ho installato Nvidia drivers. Io uso ARCh Linux,MX Linux and Sparky Linux in maniera semplice, con i drivers di sceda madre(Intel). Prova di rimuovere il Nvidia.Usa con i driver di Intel.

grelos
Posts: 69
Joined: Wed Mar 28, 2018 3:12 pm

Re: Problema spegnimento

#5 Post by grelos »

Segui questa guida:

viewtopic.php?p=366667#p366667
MX-19 on Lenovo 520-15IKB

maary79
Posts: 30
Joined: Tue Nov 20, 2018 6:49 am

Re: Problema spegnimento

#6 Post by maary79 »

Allora, ho rimosso da Synaptic glx-diversions e tutte le dipendenze che si porta dietro.
Do il secondo comando:

Code: Select all

MX_Linux@mx:~
$ su
Password: 
root@mx:/home/MX_Linux# sgfxi -N
/usr/local/bin/sgfxi: l'opzione richiede un argomento -- N
Sorry, one of your arguments is not a supported option.
Please check the following options and try again.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
While you can run this script in X, we recommend you run it in terminal.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Script Requirements: Debian/Ubuntu/Arch/Fedora based systems.
Xorg version required: 7.1/1.1 or greater - Your X version: 1.19.2
Linux Kernel required: 2.6.18 or greater - Your kernel: 4.15.0-1-amd64
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
'default(s):' - The driver installed automatically by sgfxi unless it is not supported by
your card. Some older cards will force an override of this basic default. Script will
print out what driver it will install when you start it up, with option to exit.

'supported-drivers:' choices require -o <see -o for correct syntax> to install>.
Fglrx:  default: 15.12.1
Other supported-drivers: 15.12.1 15.11.1 15.9.1 15.12.1 15.11.1 15.9.1 15.7.1 15.6.1 14.12.1 14.9.1 14.5.2 13.12.1 
13.12 13.9 13-4 13.1 12.10 12-7 12-6 12-4 12-3 12-2 12-1 11-12 11-11 11-10 11-9 11-8 
11-7 11-6 11-5 11-4 11-3 11-2 11-1 
Nvidia: defaults (current + legacy - 3 2 1): 381.22 340.102 304.135 173.14.39 96.43.23 71.86.15
Other supported-drivers: 381.22 378.13 375.66 375.39 370.28 367.57 364.19 
361.42 358.16 355.11 352.63 346.87 343.36 340.102 340.101 340.98 337.25 
334.21 331.89 325.15 319.72 313.30 310.44 304.135 304.134 304.132 295.71 290.10 285.05.09 280.13 275.43 270.41.19 260.19.44 256.53 195.36.31 190.53 185.18.36 180.60 177.82 173.14.37 169.12 100.14.19 96.43.20 71.86.14 
The following beta drivers are available:
nvidia: 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Script Options:
-A Run the install non-interactively. Will not restart x at end. Expert users only! Requires testing.
-b Enable tripleBuffer (nvidia only). triplebuffer can reduce 3d performance on cards
   with low graphics memory (64 mB or less). Default is disabled/off.
-B Use latest Beta Driver for your card type. Autodetects card type/beta driver (nVidia/AMD cards only).
   If no beta driver is available, the current stable driver for your card type is used.
   (Also checks for live latest beta information, and replaces script defaults with newer if present)
-c Force use of Xorg composite mode. Beryl/Compiz requires this for 3d. Old nvidia/ATI/Intel 
   cards not supported. Composite is default ON for newer nVidia/ATI cards (-c not required).
-C Skip Xorg configuration. Only use this if your Xorg is already working with your driver.
   Main use is if you have dual card output and don't want xorg.conf changed.
-d Installs distro packaged nVidia/fglrx drivers. ATI/nVidia cards only (formerly -s).
-D Build Distro (Debian/Ubuntu only) packages for fglrx with FGLRX binary run package,
   then install them (formerly -F). Not recommended. Because of constant package
   builder failures, the direct install method is now default.
-f Force option. Forces (re)install of your driver, bypasses default module check/build/rebuild (nVidia only).
   Note; -f cannot be used with -k because they contradict each other!
-h View this help menu.
-j Alternate text/output script colors. Requires this syntax: -j 0 (sets to monochrome )
   -j 1 (default); -j 2 (pale); -j 3 (earthy); -j 4 (dark - for light console background)
-k Build kernel module either for current kernel or another kernel (with -K <kernel version)
   Can be run in X (if not in X and installing to current kernel). Simply builds the kernel
   module for that kernel, and does not remove any other modules or drivers, or update /etc/X11/xorg.conf.
   Requires previous install with sgfxi of the same driver to work. This feature only
   supports nVidia drivers.  sgfxi defaults to building modules for kernels automatically.
   The -f option overrides this default behavior and forces a full reinstall of the driver.
   Hint: sgfxi -! 40 will install modules to all your non-running kernels automatically!
-K Installs nVidia/fglrx driver for another kernel. Syntax: sgfxi -K 2.6.25-2
   sgfxi will double check that the kernel exists (Debian/Ubuntu only). 
-L List current live driver or status data then exit. Requires extra argument: d to show current drivers;
   n to show current nvidia support status; f to show current fglrx support status;
   v to show current latest local + remote sgfxi svn/server version information.
-m Overrides default (-d) dkms driver method, uses sgfxi's old method, kernel-source + m-a build
   of module. Use only if you want to avoid dkms (fglrx/nvidia only). Triggers -d as well.
-n Automatically installs correct native xorg nvidia, intel, or ati/amd driver for your system.
   Cleans up old binary driver stuff, updates xorg.conf with new driver information,
   and cleans nvidia and fgrlx stuff out of xorg.conf. For radeon/noveau, also preps.
-N Force install of specific xorg driver. Syntax: sgfxi -N <driver> Ex: sgfxi -N radeon
   Supported Xorg drivers:  apm ark ati chips cirrus fbdev geode glide glint i128 i740 intel
   imstt mach64 mga modesetting neomagic nsc openchrome nouveau r128 radeon rendition s3 s3virge
   savage siliconmotion sisimedia sisusb sis tdfx tga trident tseng vesa vga via voodoo vmware v4l
   Also configures xorg.conf as required. Full radeon xorg 3d configuration automatically.
-o Override default: install a specific driver, this is an absolute override - syntax:
   -o 177.68 (for nVidia) or: -o 8-6 (for fglrx)
-q Turns off composite mode. Default is ON for newer nVidia/ATI cards.
-Q Skip start X Question, automatically start X post driver install.
-r Remove mode lines from xorg.conf
-R Skips self updating feature. No restart.
-U Forces sgfxi to update itself, must be root, but can be in x. Exits after.
-v Prints sgfxi current version information. Exits after.
-W Skip all wget downloads. Expert Use Only! Only use this to (re)install a driver that has already 
   been downloaded using sgfxi previously. Because using this option can have unknown or unintended
   consequences, only use it if you are following instructions to do so. sgfxi always saves its 
   driver downloads by default in all cases, so using -W will not change that behavior , but it may stop
   other key downloads, like patches. The standard use for this is to download the driver file in X,
   then exit, and install it out of X
-x Reverts to default libXvMC.so.1 for system instead of nVidia package (nVidia only)
-X Use to skip auto X start/stop. Do not use this unless you have a good reason to not 
   want X start/stop tests to run. Gives start X option on completion if not in X. Expert use only.
-Y Clean script download and backup files. Shows a list of cleanup actions to carry out, including script uninstaller.
   Can be run in X, as root.
-z Backup and recreate xorg.conf using the command: X -configure (requires X/Xorg command)
   Only use if you know what you are doing! This creates a simple, basic xorg.conf file.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Advanced Options :: Only for Specialized Cases
-! 32 Remove/Purge all drivers; remove all grub modeline blacklists; restore system to default
      without redoing xorg.conf; moves xorg.conf to backup. Only use this on new Xorgs that do not
      require xorg.conf file to operate. Using this command restores system to default.
-! 33 Skip Grub file tests. Important: Only use with nVidia/ATI if radeon/nouveau have been blacklisted.
-! 40 Create modules for all your kernels (nVidia only). Will loop through and test
      each if can be made, then create the modules, excluding your running kernel.
      You must have already installed an nVidia driver with sgfxi to use -! 40
      Note: if your installed driver is NOT the default sgfxi offers, you have to
      use either the -o <driver number> OR the -B option (if you are using current beta driver)
      as well as the -! 40 option. EG: to install beta to all kernels: sgfxi -B -! 40
      -! 40 must be the LAST option in your list of options or errors will occur!
--debugger Create debugger data file in /root/sgfxi-data - the file is a gz file that holds
           whatever might be helpful to debugging sgfxi issues, like xorg.conf, lspci, inxi
           output if present, etc. Upload file to: ftp.techpatterns.com/incoming OR use a service
           like dropbox.com then give me the url to the uploaded file. If sgfxi has an internet
           connection and python > 2.5, will also automatically upload the data to server for you.

root@mx:/home/MX_Linux# 
Provo a cambiare il comando:

Code: Select all

MX_Linux@mx:~
$ su
Password: 
root@mx:/home/MX_Linux# sgfxi -N nouveau
ERROR: (250) You must be out of X/Desktop (like KDE, Gnome, Flux, LXDE etc) to run this feature.
Exiting script now.
root@mx:/home/MX_Linux# 
Date per scontato che un utente sappia cosa sono i run level 3...e mi sta venendo l'orticaria a capire di cosa si tratta cercando su Google, o fate una guida come si deve, a prova di utente inesperto, o si si fa prima veramente a reinstallare...per una cavolata così. *

Comunque procedo, apro Thunar come root, ma non trovo il file 20-nvidia.d dentro il percorso, /etc/X11/xorg.conf.d/ ci sono 2 file 10-edev.conf e synaptics.conf.

*Posso provare a spegnere il server X da tty con i comandi trovati in rete...gdm stop, ma di più non so...al massimo reinstallo.

maary79
Posts: 30
Joined: Tue Nov 20, 2018 6:49 am

Re: Problema spegnimento

#7 Post by maary79 »

Da tty qualcosa ha fatto ma poi non sono più riuscita a tornare all'intefaccia grafica con alt-ctrl-f7, ho riavviato ma non c'è più l'interfaccia grafica. Per cui dovrò reinstallare.
Vi ho fatto anche delle foto, del teminale.

https://postimg.cc/8fkjrwHW
qui ho premuto 1
https://postimg.cc/fk34MYZg
Qui non avevo scelta, o la Intel o la Nvidia, ho scelto la Intel, non potevo inventarmi altro.
https://postimg.cc/JGmQpWTc
Qui altro non potevo fare che premere invio.
https://postimg.cc/QKj0KLwb
E qui, dopo che ha fatto varie installazioni e configurazioni, quando è stato ora di premere start desktop, lo schermo era nero con il trattino bianco. Ho riavviato, ma il risultato è lo stesso.

grelos
Posts: 69
Joined: Wed Mar 28, 2018 3:12 pm

Re: Problema spegnimento

#8 Post by grelos »

Di solito lo schermo nero con trattino bianco lo risolvi con premendo "e" al grub e poi mettendo "nomodeset" al posto di "quiet splash". Però in questo modo il sistema non carica tutti i driver grafici e di solito poi la risoluzione fa schifo, i font anche, ecc.
Non sono abbastanza pratico per aiutarti nei dettagli, io di solito quando mi incasino così come hai fatto tu piallo tutto e reinstallo (anche perchè ho configurato il sistema in modo tale che da zero in 30min sono alla configurazione finale).
MX-19 on Lenovo 520-15IKB

maary79
Posts: 30
Joined: Tue Nov 20, 2018 6:49 am

Re: Problema spegnimento

#9 Post by maary79 »

Si, esatto, ho già reinstallato.. purtroppo quel rumore mentre si spegne lo fa anche con il driver open..non c'entra nulla il driver Nvidia..
C'è qualche test che potrei fare?

grelos
Posts: 69
Joined: Wed Mar 28, 2018 3:12 pm

Re: Problema spegnimento

#10 Post by grelos »

Non saprei. A questo punto fregatene e se ti serve Nvidia, reinstalla i driver.
MX-19 on Lenovo 520-15IKB

Post Reply

Return to “Forum Italiano”