انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

نویسنده موضوع: خاموش شدن لپتاپ در حالت sleep  (دفعات بازدید: 1632 بار)

0 کاربر و 2 مهمان درحال مشاهده موضوع.

آفلاین Dragon-

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 5124
  • جنسیت : پسر
پاسخ : خاموش شدن لپتاپ در حالت sleep
« پاسخ #15 : 11 تیر 1401، 06:43 ب‌ظ »
درایور‌های انحصاری انویدیا در حال استفاده هستند. باید ببینید کدوم بسته مربوط به درایور‌های انویدیا نصبه و اون رو پاک کرد.
خروجی این دستورات رو قرار بدید
ubuntu-drivers list
apt list --installed nvidia*
میدونید که زکات علم نشر آن است

آفلاین s_m_mousavi

  • Jr. Member
  • *
  • ارسال: 48
  • جنسیت : پسر
پاسخ : خاموش شدن لپتاپ در حالت sleep
« پاسخ #16 : 16 تیر 1401، 02:16 ب‌ظ »
درایو رو با این دستور حذف کردم
mousavi@mousavi-linux:~$ sudo apt-get --purge remove nvidia-driver-515
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0
  gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386
  libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67
  libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11 libllvm12
  libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386
  libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515 libnvidia-decode-515
  libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515
  libnvidia-encode-515:i386 libnvidia-extra-515 libnvidia-fbc1-515
  libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1
  libodbc1:i386 libodbccr2 libodbccr2:i386 libopengl0:i386 libopenjp2-7:i386
  liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386
  libperl5.34:i386 libpoppler-glib8:i386 libpoppler111 libpoppler111:i386
  libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6
  libvpx6:i386 libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192
  libxmlb1 libxnvctrl0 ltrace nvidia-compute-utils-515
  nvidia-kernel-source-515 nvidia-prime nvidia-settings nvidia-utils-515
  pkg-config python3-simplejson python3.9 python3.9-minimal
  screen-resolution-extra xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nvidia-driver-515*
0 upgraded, 0 newly installed, 1 to remove and 20 not upgraded.
After this operation, 1,649 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 212732 files and directories currently installed.)
Removing nvidia-driver-515 (515.48.07-0ubuntu0.22.04.2) ...

بعد تلاش به نصب درایو آزاد کردم ولی باز هم نتیجه ای نداشت

mousavi@mousavi-linux:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0 ==
modalias : pci:v000010DEd00001341sv00001025sd00000867bc03sc02i00
vendor   : NVIDIA Corporation
model    : GM108M [GeForce 840M]
manual_install: True
driver   : nvidia-driver-515-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-515 - distro non-free recommended
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-510 - distro non-free
driver   : nvidia-driver-510-server - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

mousavi@mousavi-linux:~$ sudo apt install xserver-xorg-video-nouveau
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xserver-xorg-video-nouveau is already the newest version (1:1.0.17-2build1).
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0
  gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386
  libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67
  libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11 libllvm12
  libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386
  libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515 libnvidia-decode-515
  libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515
  libnvidia-encode-515:i386 libnvidia-extra-515 libnvidia-fbc1-515
  libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1
  libodbc1:i386 libodbccr2 libodbccr2:i386 libopengl0:i386 libopenjp2-7:i386
  liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386
  libperl5.34:i386 libpoppler-glib8:i386 libpoppler111 libpoppler111:i386
  libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6
  libvpx6:i386 libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192
  libxmlb1 libxnvctrl0 ltrace nvidia-compute-utils-515
  nvidia-kernel-source-515 nvidia-prime nvidia-settings nvidia-utils-515
  pkg-config python3-simplejson python3.9 python3.9-minimal
  screen-resolution-extra xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.

از طریق additional drvers هم نمیتونستم هیچ گزینه این رو انتخاب کنم
لپتاپ رو خاموش روشن کردم ولی فرقی نکرد

با استفاده از کد زیر لیست برنامه ها رو آوردم (البته باید کد های بهتری هم باشه چون من برای این که به حرف n برسم چند دقیقه ای اینتر رو نگه داشته بودم!)
dpkg --list
در مورد nvidia این موارد رو پیدا کردم
ii  nvidia-compute-utils-515                   515.48.07-0ubuntu0.22.04.2              amd64        NVIDIA compute utilities
ii  nvidia-kernel-common-515                   515.48.07-0ubuntu0.22.04.2              amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-515                   515.48.07-0ubuntu0.22.04.2              amd64        NVIDIA kernel source package
ii  nvidia-prime                               0.8.17.1                                all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                            510.47.03-0ubuntu1                      amd64        Tool for configuring the NVIDIA graphics >
ii  nvidia-utils-515                           515.48.07-0ubuntu0.22.04.2              amd64        NVIDIA driver support binaries

منم دل رو زدم به دریا و تک تک رو پاک کردم
mousavi@mousavi-linux:~$ sudo apt-get --purge remove nvidia-compute-utils-515
[sudo] password for mousavi:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0 gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386 libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67 libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11
  libllvm12 libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386 libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515
  libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
  libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1 libodbc1:i386 libodbccr2 libodbccr2:i386
  libopengl0:i386 libopenjp2-7:i386 liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386 libperl5.34:i386
  libpoppler-glib8:i386 libpoppler111 libpoppler111:i386 libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6 libvpx6:i386
  libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192 libxmlb1 libxnvctrl0 ltrace nvidia-kernel-source-515 nvidia-prime
  nvidia-settings nvidia-utils-515 pkg-config python3-simplejson python3.9 python3.9-minimal screen-resolution-extra
  xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nvidia-compute-utils-515*
0 upgraded, 0 newly installed, 1 to remove and 56 not upgraded.
After this operation, 327 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 212661 files and directories currently installed.)
Removing nvidia-compute-utils-515 (515.48.07-0ubuntu0.22.04.2) ...
Processing triggers for man-db (2.10.2-1) ...
(Reading database ... 212650 files and directories currently installed.)
Purging configuration files for nvidia-compute-utils-515 (515.48.07-0ubuntu0.22.04.2) ...
mousavi@mousavi-linux:~$ sudo apt-get --purge remove nvidia-kernel-common-515
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0 gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386 libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67 libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11
  libllvm12 libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386 libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515
  libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
  libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1 libodbc1:i386 libodbccr2 libodbccr2:i386
  libopengl0:i386 libopenjp2-7:i386 liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386 libperl5.34:i386
  libpoppler-glib8:i386 libpoppler111 libpoppler111:i386 libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6 libvpx6:i386
  libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192 libxmlb1 libxnvctrl0 ltrace nvidia-kernel-source-515 nvidia-prime
  nvidia-settings nvidia-utils-515 pkg-config python3-simplejson python3.9 python3.9-minimal screen-resolution-extra
  xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  linux-modules-nvidia-515-5.15.0-40-generic* linux-modules-nvidia-515-generic-hwe-22.04* nvidia-kernel-common-515*
0 upgraded, 0 newly installed, 3 to remove and 56 not upgraded.
After this operation, 42.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 212650 files and directories currently installed.)
Removing linux-modules-nvidia-515-generic-hwe-22.04 (5.15.0-40.43+1) ...
Removing linux-modules-nvidia-515-5.15.0-40-generic (5.15.0-40.43+1) ...
linux-image-nvidia-5.15.0-40-generic: removing .ko files
Removing nvidia-kernel-common-515 (515.48.07-0ubuntu0.22.04.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-40-generic
(Reading database ... 212628 files and directories currently installed.)
Purging configuration files for nvidia-kernel-common-515 (515.48.07-0ubuntu0.22.04.2) ...
update-initramfs: deferring update (trigger activated)
Purging configuration files for linux-modules-nvidia-515-5.15.0-40-generic (5.15.0-40.43+1) ...
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-40-generic
mousavi@mousavi-linux:~$ sudo apt-get --purge remove nvidia-kernel-source-515 -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0 gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386 libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67 libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11
  libllvm12 libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386 libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515
  libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
  libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1 libodbc1:i386 libodbccr2 libodbccr2:i386
  libopengl0:i386 libopenjp2-7:i386 liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386 libperl5.34:i386
  libpoppler-glib8:i386 libpoppler111 libpoppler111:i386 libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6 libvpx6:i386
  libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192 libxmlb1 libxnvctrl0 ltrace nvidia-prime nvidia-settings nvidia-utils-515
  pkg-config python3-simplejson python3.9 python3.9-minimal screen-resolution-extra xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nvidia-kernel-source-515*
0 upgraded, 0 newly installed, 1 to remove and 56 not upgraded.
After this operation, 55.2 MB disk space will be freed.
(Reading database ... 212627 files and directories currently installed.)
Removing nvidia-kernel-source-515 (515.48.07-0ubuntu0.22.04.2) ...
mousavi@mousavi-linux:~$ sudo apt-get --purge remove nvidia-utils-515 -y ; sudo apt-get --purge remove nvidia-settings -y ; sudo apt-get --purge remove nvidia-prime -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0 gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386 libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67 libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11
  libllvm12 libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386 libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515
  libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
  libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1 libodbc1:i386 libodbccr2 libodbccr2:i386
  libopengl0:i386 libopenjp2-7:i386 liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386 libperl5.34:i386
  libpoppler-glib8:i386 libpoppler111 libpoppler111:i386 libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6 libvpx6:i386
  libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192 libxmlb1 libxnvctrl0 ltrace nvidia-prime nvidia-settings pkg-config
  python3-simplejson python3.9 python3.9-minimal screen-resolution-extra xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nvidia-utils-515*
0 upgraded, 0 newly installed, 1 to remove and 56 not upgraded.
After this operation, 1,048 kB disk space will be freed.
(Reading database ... 212228 files and directories currently installed.)
Removing nvidia-utils-515 (515.48.07-0ubuntu0.22.04.2) ...
Processing triggers for man-db (2.10.2-1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0 gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386 libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67 libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11
  libllvm12 libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386 libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515
  libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
  libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1 libodbc1:i386 libodbccr2 libodbccr2:i386
  libopengl0:i386 libopenjp2-7:i386 liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386 libperl5.34:i386
  libpoppler-glib8:i386 libpoppler111 libpoppler111:i386 libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6 libvpx6:i386
  libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192 libxmlb1 libxnvctrl0 ltrace nvidia-prime pkg-config python3-simplejson
  python3.9 python3.9-minimal screen-resolution-extra xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nvidia-settings*
0 upgraded, 0 newly installed, 1 to remove and 56 not upgraded.
After this operation, 3,084 kB disk space will be freed.
(Reading database ... 212217 files and directories currently installed.)
Removing nvidia-settings (510.47.03-0ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
(Reading database ... 212208 files and directories currently installed.)
Purging configuration files for nvidia-settings (510.47.03-0ubuntu1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0 gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386 libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67 libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11
  libllvm12 libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386 libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515
  libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
  libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1 libodbc1:i386 libodbccr2 libodbccr2:i386
  libopengl0:i386 libopenjp2-7:i386 liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386 libperl5.34:i386
  libpoppler-glib8:i386 libpoppler111 libpoppler111:i386 libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6 libvpx6:i386
  libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192 libxmlb1 libxnvctrl0 ltrace pkg-config python3-simplejson python3.9
  python3.9-minimal screen-resolution-extra xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nvidia-prime*
0 upgraded, 0 newly installed, 1 to remove and 56 not upgraded.
After this operation, 54.3 kB disk space will be freed.
(Reading database ... 212207 files and directories currently installed.)
Removing nvidia-prime (0.8.17.1) ...
(Reading database ... 212193 files and directories currently installed.)
Purging configuration files for nvidia-prime (0.8.17.1) ...

بعد باز هم برای نصب تلاش کردم ولی
mousavi@mousavi-linux:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0 ==
modalias : pci:v000010DEd00001341sv00001025sd00000867bc03sc02i00
vendor   : NVIDIA Corporation
model    : GM108M [GeForce 840M]
driver   : nvidia-driver-515-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-515 - distro non-free recommended
driver   : nvidia-driver-510 - distro non-free
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-510-server - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

mousavi@mousavi-linux:~$ sudo apt install xserver-xorg-video-nouveau
[sudo] password for mousavi:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xserver-xorg-video-nouveau is already the newest version (1:1.0.17-2build1).
The following packages were automatically installed and are no longer required:
  app-install-data-partner gcc-11-base:i386 gir1.2-gnomebluetooth-1.0 gnome-screenshot libaom0 libcamel-1.2-62 libcbor0.6 libcmis-0.5-5v5
  libcodec2-0.9 libcurl3-gnutls:i386 libdav1d4 libdrm-intel1:i386 libextutils-pkgconfig-perl libfftw3-double3 libfuse2 libfwupdplugin1
  libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386 libgupnp-1.2-0 libicu67 libicu67:i386 libidn11 libieee1284-3:i386 libigdgmm11
  libllvm12 libllvm12:i386 libmozjs-78-0 libneon27-gnutls libnspr4:i386 libnss3:i386 libntfs-3g883 libnvidia-cfg1-515 libnvidia-common-515
  libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
  libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 libodbc1 libodbc1:i386 libodbccr2 libodbccr2:i386
  libopengl0:i386 libopenjp2-7:i386 liborcus-0.16-0 liborcus-parser-0.16-0 libpci3:i386 libpciaccess0:i386 libperl5.34:i386
  libpoppler-glib8:i386 libpoppler111 libpoppler111:i386 libpoppler118:i386 libsane1:i386 libsnmp40:i386 libssl1.1:i386 libvpx6 libvpx6:i386
  libwebp6 libwebp6:i386 libwmf0.2-7 libwrap0:i386 libx265-192 libxmlb1 libxnvctrl0 ltrace pkg-config python3-simplejson python3.9
  python3.9-minimal screen-resolution-extra xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 56 not upgraded.

یک دور لپتاپ رو ری استارت کردم
الآن رنگ ها درست شده نرم افزار obs studio هم کار می کنه (قبلا کار نمی کرد)
دستور lspci -k این رو نشون میده
mousavi@mousavi-linux:~$ lspci -k
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
Subsystem: Acer Incorporated [ALI] Haswell-ULT DRAM Controller
Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Acer Incorporated [ALI] Haswell-ULT Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
Subsystem: Acer Incorporated [ALI] Haswell-ULT HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
Subsystem: Acer Incorporated [ALI] 8 Series USB xHCI HC
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
Subsystem: Acer Incorporated [ALI] 8 Series HECI
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
Subsystem: Acer Incorporated [ALI] 8 Series HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
Subsystem: Acer Incorporated [ALI] 8 Series USB EHCI
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
Subsystem: Acer Incorporated [ALI] 8 Series LPC Controller
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
Subsystem: Acer Incorporated [ALI] 8 Series SATA Controller 1 [AHCI mode]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
Subsystem: Acer Incorporated [ALI] 8 Series SMBus Controller
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
Subsystem: Acer Incorporated [ALI] RTL8411B PCI Express Card Reader
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
01:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Kernel driver in use: r8169
Kernel modules: r8169
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
Subsystem: Foxconn International, Inc. QCA9565 / AR9565 Wireless Network Adapter
Kernel driver in use: ath9k
Kernel modules: ath9k
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
Subsystem: Acer Incorporated [ALI] GM108M [GeForce 840M]
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
آیا تونستم به درایو آزاد برگردم؟

آفلاین s_m_mousavi

  • Jr. Member
  • *
  • ارسال: 48
  • جنسیت : پسر
پاسخ : خاموش شدن لپتاپ در حالت sleep
« پاسخ #17 : 16 تیر 1401، 02:22 ب‌ظ »
درایور‌های انحصاری انویدیا در حال استفاده هستند. باید ببینید کدوم بسته مربوط به درایور‌های انویدیا نصبه و اون رو پاک کرد.
خروجی این دستورات رو قرار بدید
ubuntu-drivers list
apt list --installed nvidia*
پیام شما رو ندیده بودم
الآن این رو نشون میده
mousavi@mousavi-linux:~$ ubuntu-drivers list
nvidia-driver-515, (kernel modules provided by linux-modules-nvidia-515-generic-hwe-22.04)
nvidia-driver-470-server, (kernel modules provided by linux-modules-nvidia-470-server-generic-hwe-22.04)
nvidia-driver-470, (kernel modules provided by linux-modules-nvidia-470-generic-hwe-22.04)
nvidia-driver-510, (kernel modules provided by linux-modules-nvidia-510-generic-hwe-22.04)
nvidia-driver-390, (kernel modules provided by linux-modules-nvidia-390-generic-hwe-22.04)
nvidia-driver-510-server, (kernel modules provided by linux-modules-nvidia-510-server-generic-hwe-22.04)
nvidia-driver-418-server, (kernel modules provided by linux-modules-nvidia-418-server-generic-hwe-22.04)
nvidia-driver-515-server, (kernel modules provided by linux-modules-nvidia-515-server-generic-hwe-22.04)
nvidia-driver-450-server, (kernel modules provided by linux-modules-nvidia-450-server-generic-hwe-22.04)
mousavi@mousavi-linux:~$ apt list --installed nvidia*
Listing... Done

و البته همچنان هم مشکل اصلی (خاموش شدن لپتاپ در حالت خواب)پا بر جاست :'(
« آخرین ویرایش: 16 تیر 1401، 02:33 ب‌ظ توسط s_m_mousavi »

آفلاین Dragon-

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 5124
  • جنسیت : پسر
پاسخ : خاموش شدن لپتاپ در حالت sleep
« پاسخ #18 : 19 تیر 1401، 04:08 ب‌ظ »
مثل اینکه برگشتید روی درایور‌های آزاد.
یه سری بسته هم هستند که دیگه به اونها نیازس ندارید. با قابلیت autoremove مربوط به APT، اونها رو پاک کنید.
sudo apt autoremove

در مورد مشکل sleep نمی‌دونم باید چیکار کنید. شاید به خاطر acpi لپ‌تاپ باشه. مطمئن نیستم.
میدونید که زکات علم نشر آن است