I have a problem , when I give "suspend system" after resuming the system I have a black screen
lenovo y50-70 i5 i use the built-in intel card
please tell me how to fix it?
ps. peppermint deuvan x64 is a great system :)
Did you logout from the desktop clicking the suspend button or close the laptop lid? I'm leaning towards the system has gone into Hibernation. When you installed the OS did you mirror your swap partition to total ram memory 1 to 1 basis.
Are you able to boot into the console or the desktop and supply us the printout from this command: inxi -Fxz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I issue the command "suspend system " with the mouse from the session button , the installation of the system was normal , I formatted the disk with linux lite and installed peppermint deuvan , please here are the readings from the console , I tried with live usb and it works fine suspending the system
What happens when you press Ctrl+Alt+Delete will it reboot to Windows. Because you have an important decision to make about Windows 8.1. It has reached End of Life.
If it does reboot to Windows, great, then copy all your critical data and files from your laptop to an external disk. It is up to you if you want to pay M$ a load of money to delete Windows 8.1 and install Windows 11, then dual boot with PeppermintOS.
Or you could salvage all your files and have leave your hard earnt in your wallet by only installing Peppermint.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I added a 2GB swap partition and still the same problem, windows 8.1 has to stay because I need it sometimes, well if I don't find a solution I will install another Linux
no key combination helps to recover the desktop or terminal , I have to shut down manually from the power button,please see the video https://easyupload.io/sj0got
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yes work swap after reboot ,did not help adding swap , it is the same does not work suspend , black screen after wake up and these commands on the screen :(
I created the swap via gparted
I do not know how it happened and what solved the problem (swap?) I don't know , but I had linux mint and linux lite before and I didn't have swap at all and it worked suspend the system but today I turned on the laptop and already works suspend the system , and I also have a problem with installing drivers for nvidia , peppermint is a nice system but not for my hardware , thank you very much for your help , can you also help me install nvidia drivers ?
then I go to synaptick manager and install driver nvidia , all the time I have error dkms :(
please tell me how to solve this problem my friend ?
Errors occurred during processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to install the package. Attempting to revert to the previous state:
Configuring the nvidia-kernel-dkms (470.161.03-1) package ...
Removing old nvidia-current-470.161.03 DKMS files....
Deleting module version: 470.161.03
completely from the DKMS tree.
Done.
Loading new nvidia-current-470.161.03 DKMS files....
Building for 6.1.12-x64v3-xanmod1
Building initial module for 6.1.12-x64v3-xanmod1
Error! Bad return status for module build on kernel: 6.1.12-x64v3-xanmod1 (x86_64)
Consult /var/lib/dkms/nvidia-current/470.161.03/build/make.log for more information.
dpkg: error processing nvidia-kernel-dkms package (--configure):
subprocess installed nvidia-kernel-dkms package post-installation script returned error code 10
dpkg: dependency issues prevent nvidia-driver package from being configured:
nvidia-driver depends on nvidia-kernel-dkms (= 470.161.03-1) | nvidia-kernel-470.161.03; however:
The nvidia-kernel-dkms package is not yet configured.
The nvidia-kernel-470.161.03 package is not installed.
The nvidia-kernel-dkms package provides nvidia-kernel-470.161.03, but it has not yet been configured.
The major and minor number of the compiler used to
compile the kernel:
gcc-11 (Debian 11.2.0-12) 11.2.0, GNU ld (GNU Binutils for Debian) 2.37
does not match the compiler used here:
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
It is recommended to set the CC environment variable
to the compiler that was used to compile the kernel.
The compiler version check can be disabled by setting
the IGNORE_CC_MISMATCH environment variable to "1".
However, mixing compiler versions between the kernel
and kernel modules can result in subtle bugs that are
difficult to diagnose.
If newer kernel and headers are installed reboot your system, before continuing.
Upon booting back into Devuan partition, run these following commands in a terminal separately. After each command has completed its printout, press the Enter key to have an obvious line break.
sudo xDaily
lspci -nn | egrep -i "3d|display|vga"
sudo apt install nvidia-detect
nvidia-detect
sudo apt install nvidia-driver
If successful reboot system again and Nvidia will auto-magically configure itself.
@ guma77 Please note, if you have another issue, start a NEW topic for this specific issue. I have marked this current FREEZE/SWAP problem RESOLVED as a work around.
Last edit: cavy 2023-02-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
unfortunately again suspend does not work, all the symptoms have returned as described above, I have no idea why today it worked fine and now it does not work again, the situation is not resolved, I give up, I have not found a solution , end.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a problem , when I give "suspend system" after resuming the system I have a black screen
lenovo y50-70 i5 i use the built-in intel card
please tell me how to fix it?
ps. peppermint deuvan x64 is a great system :)
That is a new one!
Did you logout from the desktop clicking the suspend button or close the laptop lid? I'm leaning towards the system has gone into Hibernation. When you installed the OS did you mirror your swap partition to total ram memory 1 to 1 basis.
Are you able to boot into the console or the desktop and supply us the printout from this command:
inxi -Fxz
Hello
I issue the command "suspend system " with the mouse from the session button , the installation of the system was normal , I formatted the disk with linux lite and installed peppermint deuvan , please here are the readings from the console , I tried with live usb and it works fine suspending the system
please here is gpart
This is not a healthy situation.
1. https://support.microsoft.com/en-us/windows/windows-8-1-support-ended-on-january-10-2023-3cfd4cde-f611-496a-8057-923fba401e93
2. No swap data found. <------ The problem.
What happens when you press
Ctrl+Alt+Delete
will it reboot to Windows. Because you have an important decision to make about Windows 8.1. It has reached End of Life.If it does reboot to Windows, great, then copy all your critical data and files from your laptop to an external disk. It is up to you if you want to pay M$ a load of money to delete Windows 8.1 and install Windows 11, then dual boot with PeppermintOS.
Or you could salvage all your files and have leave your hard earnt in your wallet by only installing Peppermint.
I added a 2GB swap partition and still the same problem, windows 8.1 has to stay because I need it sometimes, well if I don't find a solution I will install another Linux
Last edit: guma77 2023-02-21
Can you boot into Windoze and it functions without freezing?
yes , work good
Normal install. What do you mean? The Erase and Install option?
Underneath that option, there is a drop-down menu that offers you three method of swap. No Swap. Swap File or Swap Partition.
How to create a swap file, post install: https://sourceforge.net/p/peppermintos/pepwiki/Swap%20File/
swap work
translator does not work well , sorry I do not know the English language well
I do it like this session button , suspend system
no key combination helps to recover the desktop or terminal , I have to shut down manually from the power button,please see the video
https://easyupload.io/sj0got
How to create a swapfile post install: https://youtu.be/Bf3j0QlrSs8
Review how I set up a
/swapfile
edited the/etc/fstab
to add the swapfile entry, update the grub and reboot the system.Check the screenshot to corroborate the /swap is working upon reboot.
yes work swap after reboot ,did not help adding swap , it is the same does not work suspend , black screen after wake up and these commands on the screen :(
I created the swap via gparted
Last edit: guma77 2023-02-21
swap work after reebot
Last edit: guma77 2023-02-21
I do not know how it happened and what solved the problem (swap?) I don't know , but I had linux mint and linux lite before and I didn't have swap at all and it worked suspend the system but today I turned on the laptop and already works suspend the system , and I also have a problem with installing drivers for nvidia , peppermint is a nice system but not for my hardware , thank you very much for your help , can you also help me install nvidia drivers ?
Last edit: guma77 2023-02-22
Nvidia guide
https://sourceforge.net/p/peppermintos/pepwiki/NVIDIA%20Guide/
I do everything as shown on the page
Last edit: guma77 2023-02-22
then I go to synaptick manager and install driver nvidia , all the time I have error dkms :(
please tell me how to solve this problem my friend ?
then I go to synaptick manager and install driver nvidia , all the time I have error dkms :(
please tell me how to solve this problem my friend ?
Errors occurred during processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to install the package. Attempting to revert to the previous state:
Configuring the nvidia-kernel-dkms (470.161.03-1) package ...
Removing old nvidia-current-470.161.03 DKMS files....
Deleting module version: 470.161.03
completely from the DKMS tree.
Done.
Loading new nvidia-current-470.161.03 DKMS files....
Building for 6.1.12-x64v3-xanmod1
Building initial module for 6.1.12-x64v3-xanmod1
Error! Bad return status for module build on kernel: 6.1.12-x64v3-xanmod1 (x86_64)
Consult /var/lib/dkms/nvidia-current/470.161.03/build/make.log for more information.
dpkg: error processing nvidia-kernel-dkms package (--configure):
subprocess installed nvidia-kernel-dkms package post-installation script returned error code 10
dpkg: dependency issues prevent nvidia-driver package from being configured:
nvidia-driver depends on nvidia-kernel-dkms (= 470.161.03-1) | nvidia-kernel-470.161.03; however:
The nvidia-kernel-dkms package is not yet configured.
The nvidia-kernel-470.161.03 package is not installed.
The nvidia-kernel-dkms package provides nvidia-kernel-470.161.03, but it has not yet been configured.
dpkg: error processing nvidia-driver package (--configure):
dependency issues - leaving unconfigured
Processing errors occurred:
nvidia-kernel-dkms
nvidia-driver
Last edit: guma77 2023-02-22
DKMS make.log for nvidia-current-470.161.03 for kernel 5.15.89-xanmod1 (x86_64)
śro, 22 lut 2023, 14:00:53 CET
make V=1 -C /lib/modules/5.15.89-xanmod1/build M=/var/lib/dkms/nvidia-current/470.161.03/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/5.15.89-xanmod1/build NV_KERNEL_OUTPUT=/lib/modules/5.15.89-xanmod1/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm nvidia-peermem" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1]: Wejście do katalogu '/usr/src/linux-headers-5.15.89-xanmod1'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc-11 (Debian 11.2.0-12) 11.2.0
You are using: gcc (Debian 10.2.1-6) 10.2.1 20210110
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/470.161.03/build \
single-build= \
need-builtin=1 need-modorder=1
NV_CONFTEST_CMD=/bin/sh /var/lib/dkms/nvidia-current/470.161.03/build/conftest.sh "gcc" x86_64 /lib/modules/5.15.89-xanmod1/build /lib/modules/5.15.89-xanmod1/build
NV_CONFTEST_CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest13574" -DKBUILD_MODNAME="#conftest13574" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/lib/modules/5.15.89-xanmod1/build/arch/x86/include/asm/mach-default -I/lib/modules/5.15.89-xanmod1/build/include/asm-x86/mach-default -include /lib/modules/5.15.89-xanmod1/build/include/generated/autoconf.h -I/lib/modules/5.15.89-xanmod1/build/arch/x86/include -I/lib/modules/5.15.89-xanmod1/build/arch/x86/include/uapi -I/lib/modules/5.15.89-xanmod1/build/arch/x86/include/generated -I/lib/modules/5.15.89-xanmod1/build/arch/x86/include/generated/uapi -I/lib/modules/5.15.89-xanmod1/build/include -I/lib/modules/5.15.89-xanmod1/build/include/uapi -I/lib/modules/5.15.89-xanmod1/build/include/xen -I/lib/modules/5.15.89-xanmod1/build/include/generated/uapi -mfentry -DCC_USING_FENTRY -I/var/lib/dkms/nvidia-current/470.161.03/build/common/inc -I/var/lib/dkms/nvidia-current/470.161.03/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"470.161.03\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -fno-pie -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -mno-avx512f -mpopcnt -O3 -fno-tree-vectorize -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Wno-packed-not-aligned
KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -mno-avx512f -mpopcnt -O3 -fno-tree-vectorize -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned
LINUXINCLUDE=-I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h
LDFLAGS=
KBUILD_LDFLAGS=-m elf_x86_64 -z noexecstack
ARCH=x86_64
Compiler version check failed:
The major and minor number of the compiler used to
compile the kernel:
gcc-11 (Debian 11.2.0-12) 11.2.0, GNU ld (GNU Binutils for Debian) 2.37
does not match the compiler used here:
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
It is recommended to set the CC environment variable
to the compiler that was used to compile the kernel.
The compiler version check can be disabled by setting
the IGNORE_CC_MISMATCH environment variable to "1".
However, mixing compiler versions between the kernel
and kernel modules can result in subtle bugs that are
difficult to diagnose.
Failed CC version check. Bailing out!
make[2]: [/var/lib/dkms/nvidia-current/470.161.03/build/Kbuild:302: cc_version_check] Błąd 1
make[2]: Oczekiwanie na niezakończone zadania....
make[1]: [Makefile:1903: /var/lib/dkms/nvidia-current/470.161.03/build] Błąd 2
make[1]: Opuszczenie katalogu '/usr/src/linux-headers-5.15.89-xanmod1'
make: [Makefile:80: modules] Błąd 2
In Devuan open terminal and run this command
sudo xDaily
If newer kernel and headers are installed reboot your system, before continuing.
Upon booting back into Devuan partition, run these following commands in a terminal separately. After each command has completed its printout, press the Enter key to have an obvious line break.
sudo xDaily
lspci -nn | egrep -i "3d|display|vga"
sudo apt install nvidia-detect
nvidia-detect
sudo apt install nvidia-driver
If successful reboot system again and Nvidia will auto-magically configure itself.
@ guma77 Please note, if you have another issue, start a NEW topic for this specific issue. I have marked this current FREEZE/SWAP problem RESOLVED as a work around.
Last edit: cavy 2023-02-22
I did as you wrote, but there is still an error during the installation of the driver, I start a new topic, thank you for your help
unfortunately again suspend does not work, all the symptoms have returned as described above, I have no idea why today it worked fine and now it does not work again, the situation is not resolved, I give up, I have not found a solution , end.