Автор Тема: p8 SL-fix Vga output Resolution  (Прочитано 41074 раз)

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 258
Re: p8 SL-fix Vga output Resolution
« Ответ #15 : 24.09.2019 15:36:14 »
Hmm, after installing SL8, how do you do a full system upgrade? Or do not you upgrade it?
i update- upgrade system from synaptic why??? 
and from terminal now
sudo apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

 ΥΓ: PS: and something new i install vlc  but ,when playing  vlc any video ,i hear sound but i have no picture, :-( this may be related to our problem , one thing  :rolleyes:
« Последнее редактирование: 24.09.2019 15:53:30 от Δημητριος »

Оффлайн klark973

  • Давно тут
  • **
  • Сообщений: 653
  • Неспящий саппорт
Re: p8 SL-fix Vga output Resolution
« Ответ #16 : 24.09.2019 15:47:11 »
sudo apt-get upgrade
O, no! Valid procedure is:

$ su-
# apt-repo (see output)
# apt-get update
# apt-get install rpm apt (I'm recommends for this time)
# apt-get dist-upgrade
# update-kernel (or update-kernel -t un-def for more fresh version)
# reboot

# This is optional:
$ su-
# apt-get clean
# remove-old-kernels

Never use su without minus ('-') and sudo, never use apt-get upgrade, ALT is not Debian. You need reinstall system again. ((
To moan or to solve -- that is the question!

Оффлайн klark973

  • Давно тут
  • **
  • Сообщений: 653
  • Неспящий саппорт
Re: p8 SL-fix Vga output Resolution
« Ответ #17 : 24.09.2019 15:51:58 »
With sudo and su (without "-") you have restricted user environment, this is not for root user.
To moan or to solve -- that is the question!

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 258
Re: p8 SL-fix Vga output Resolution
« Ответ #18 : 24.09.2019 15:57:03 »


no no no..  the system updated-upgraded from synaptic normal  ,the other i doing after ,i mean now ,but, .....but, as you saw
sudo apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
he didn't have any updates ... so he didn't do anything....
« Последнее редактирование: 24.09.2019 16:00:56 от Δημητριος »

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 258
Re: p8 SL-fix Vga output Resolution
« Ответ #19 : 24.09.2019 16:02:47 »
O, no! Valid procedure is:

Code: [Select]

$ su-
# apt-repo (see output)
# apt-get update
# apt-get install rpm apt (I'm recommends for this time)
# apt-get dist-upgrade
# update-kernel (or update-kernel -t un-def for more fresh version)
# reboot

# This is optional:
$ su-
# apt-get clean
# remove-old-kernels


Never use su without minus ('-') and sudo, never use apt-get upgrade, ALT is not Debian. You need reinstall system again. ((
With sudo and su (without "-") you have restricted user environment, this is not for root user.

I didn't know that !!!
I thought you were root with sudo anyway -as long as I live I learn
« Последнее редактирование: 24.09.2019 16:04:20 от Δημητριος »

Оффлайн klark973

  • Давно тут
  • **
  • Сообщений: 653
  • Неспящий саппорт
Re: p8 SL-fix Vga output Resolution
« Ответ #20 : 24.09.2019 16:45:38 »
/usr/bin/nvidia-install-driver: line 11: x11presetdrv: command not found
/usr/bin/nvidia-install-driver: line 12: ldconfig: command not found
This is very simple to understand:
$ su
# echo "$PATH"
# which ldconfig
# exit
$ su-
# echo "$PATH"
# which ldconfig
After first command you also have damaged file owners in /home/$username/.*, see ls -la ~/
« Последнее редактирование: 24.09.2019 16:48:08 от klark973 »
To moan or to solve -- that is the question!

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 258
Re: p8 SL-fix Vga output Resolution
« Ответ #21 : 25.09.2019 00:07:22 »
sudo apt-get upgrade
O, no! Valid procedure is:

$ su-
# apt-repo (see output)
# apt-get update
# apt-get install rpm apt (I'm recommends for this time)
# apt-get dist-upgrade
# update-kernel (or update-kernel -t un-def for more fresh version)
# reboot

# This is optional:
$ su-
# apt-get clean
# remove-old-kernels

Never use su without minus ('-') and sudo, never use apt-get upgrade, ALT is not Debian. You need reinstall system again. ((


~]#  apt-repo
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64-i586 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic

#  apt-get update
Get:1 http://ftp.altlinux.org p8/branch/x86_64 release [880B]
Get:2 http://ftp.altlinux.org p8/branch/x86_64-i586 release [537B]
Get:3 http://ftp.altlinux.org p8/branch/noarch release [673B]
Fetched 2090B in 0s (3126B/s)
Get:1 http://ftp.altlinux.org p8/branch/x86_64/classic pkglist [20,5MB]
Get:2 http://ftp.altlinux.org p8/branch/x86_64/classic release [135B]         
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic pkglist             
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic release             
Hit http://ftp.altlinux.org p8/branch/noarch/classic pkglist                   
Hit http://ftp.altlinux.org p8/branch/noarch/classic release                   
Fetched 20,5MB in 21s (935kB/s)                                               
Reading Package Lists... Done
Building Dependency Tree... Done

- ~]# apt-get install rpm apt
Reading Package Lists... Done
Building Dependency Tree... Done
rpm is already the newest version.
apt is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

~]#  apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

~]#  update-kernel
Running kernel version: kernel-image-un-def-1:4.9.35-alt0.M80P.1
Checking for available kernel packages...
warning: package kernel-image-un-def-1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 is not installed
Try to install new kernel kernel-image-un-def-1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 and update its modules [y]/n?
yupdate-kernel: kernel-modules-bcmwl is installed, trying to update...
update-kernel: kernel-modules-drm-nouveau is installed, trying to update...
update-kernel: kernel-modules-drm-radeon is installed, trying to update...
update-kernel: kernel-modules-drm is installed, trying to update...
update-kernel: kernel-modules-nvidia is installed, trying to update...
update-kernel: kernel-modules-staging is installed, trying to update...
update-kernel: kernel-modules-v4l is installed, trying to update...
update-kernel: kernel-modules-virtualbox-addition is installed, trying to update...
update-kernel: kernel-modules-virtualbox is installed, trying to update...
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  i586-libnvidia-egl-wayland1.32bit i586-nvidia_glx_304.137.32bit
  i586-nvidia_glx_340.107.32bit i586-nvidia_glx_390.116.32bit
  i586-nvidia_glx_410.104.32bit libnvidia-egl-wayland1 nvidia_glx_304.137
  nvidia_glx_340.107 nvidia_glx_390.116 nvidia_glx_410.104
The following NEW packages will be installed:
  i586-libnvidia-egl-wayland1.32bit i586-nvidia_glx_304.137.32bit
  i586-nvidia_glx_340.107.32bit i586-nvidia_glx_390.116.32bit
  i586-nvidia_glx_410.104.32bit
  kernel-image-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785
  kernel-modules-bcmwl-un-def#6.30.223.248-alt15.k.267081.0.M80P.1:p8+237599.5
  0.1.1@1568637136
  kernel-modules-drm-nouveau-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@15
  8636785
  kernel-modules-drm-radeon-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@156
  636785
  kernel-modules-drm-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785
  kernel-modules-nvidia-un-def#410.104-alt1.267081.0.M80P.1:p8+237599.700.1.1@
  568637373
  kernel-modules-staging-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@156863
  785
  kernel-modules-v4l-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785
  kernel-modules-virtualbox-addition-un-def#5.2.26-alt1.267081.0.M80P.1:p8+237
  99.1400.1.1@1568637930
  kernel-modules-virtualbox-un-def#5.2.26-alt1.267081.0.M80P.1:p8+237599.1500.
  .1@1568638071 libnvidia-egl-wayland1 nvidia_glx_304.137 nvidia_glx_340.107
  nvidia_glx_390.116 nvidia_glx_410.104
0 upgraded, 20 newly installed, 0 removed and 0 not upgraded.
Need to get 230MB of archives.
After unpacking 839MB of additional disk space will be used.
Get:1 http://ftp.altlinux.org p8/branch/x86_64/classic libnvidia-egl-wayland1 410.104-alt195:p8+225046.300.1.1@1552636784 [35,8kB]
Get:2 http://ftp.altlinux.org p8/branch/x86_64-i586/classic i586-libnvidia-egl-wayland1.32bit 390.116-alt194:p8+225046.200.1.1@1552638646 [35,1kB]
Get:3 http://ftp.altlinux.org p8/branch/x86_64/classic nvidia_glx_304.137 304.137-alt143:p8+223338.100.1.1@1551467225 [9577kB]
Get:4 http://ftp.altlinux.org p8/branch/x86_64-i586/classic i586-nvidia_glx_304.137.32bit 304.137-alt143:p8+223338.100.1.1@1551468107 [9792kB]
Get:5 http://ftp.altlinux.org p8/branch/x86_64/classic nvidia_glx_340.107 340.107-alt159:p8+220732.100.1.1@1549374639 [17,5MB]
Get:6 http://ftp.altlinux.org p8/branch/x86_64-i586/classic i586-nvidia_glx_340.107.32bit 340.107-alt159:p8+220732.100.1.1@1549550044 [18,9MB]
Get:7 http://ftp.altlinux.org p8/branch/x86_64/classic nvidia_glx_390.116 390.116-alt194:p8+225046.200.1.1@1552636545 [16,6MB]
Get:8 http://ftp.altlinux.org p8/branch/x86_64-i586/classic i586-nvidia_glx_390.116.32bit 390.116-alt194:p8+225046.200.1.1@1552638651 [18,8MB]
Get:9 http://ftp.altlinux.org p8/branch/x86_64/classic nvidia_glx_410.104 410.104-alt195:p8+225046.300.1.1@1552636784 [19,6MB]
Get:10 http://ftp.altlinux.org p8/branch/x86_64-i586/classic i586-nvidia_glx_410.104.32bit 410.104-alt195:p8+225046.300.1.1@1552638688 [19,0MB]
Get:11 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-image-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 [59,9MB]
Get:12 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-bcmwl-un-def#6.30.223.248-alt15.k.267081.0.M80P.1:p8+237599.500.1.1@1568637136 6.30.223.248-alt15.k.267081.0.M80P.1:p8+237599.500.1.1@1568637136 [1431kB]
Get:13 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-drm-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 [3201kB]
Get:14 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-drm-nouveau-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 [983kB]
Get:15 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-drm-radeon-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 [855kB]
Get:16 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-nvidia-un-def#410.104-alt1.267081.0.M80P.1:p8+237599.700.1.1@1568637373 410.104-alt1.267081.0.M80P.1:p8+237599.700.1.1@1568637373 [24,6MB]
Get:17 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-v4l-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 [5629kB]
Get:18 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-staging-un-def#1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 1:4.19.73-alt0.M80P.1:p8+237599.100.1.1@1568636785 [3102kB]
Get:19 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-virtualbox-addition-un-def#5.2.26-alt1.267081.0.M80P.1:p8+237599.1400.1.1@1568637930 5.2.26-alt1.267081.0.M80P.1:p8+237599.1400.1.1@1568637930 [144kB]
Get:20 http://ftp.altlinux.org p8/branch/x86_64/classic kernel-modules-virtualbox-un-def#5.2.26-alt1.267081.0.M80P.1:p8+237599.1500.1.1@1568638071 5.2.26-alt1.267081.0.M80P.1:p8+237599.1500.1.1@1568638071 [168kB]
Fetched 230MB in 3m7s (1224kB/s)                                               
Committing changes...
Preparing...                 ########################################### [100%]
 1: kernel-image-un-def      ########################################### [  5%]
 2: kernel-modules-drm-un-def########################################### [ 10%]
 3: libnvidia-egl-wayland1   ########################################### [ 15%]
 4: i586-libnvidia-egl-waylan########################################### [ 20%]
 5: nvidia_glx_390.116       ########################################### [ 25%]
 6: nvidia_glx_410.104       ########################################### [ 30%]
 7: nvidia_glx_340.107       ########################################### [ 35%]
 8: nvidia_glx_304.137       ########################################### [ 40%]
 9: kernel-modules-v4l-un-def########################################### [ 45%]
10: kernel-modules-bcmwl-un-d########################################### [ 50%]
11: kernel-modules-drm-nouvea########################################### [ 55%]
12: kernel-modules-drm-radeon########################################### [ 60%]
13: kernel-modules-nvidia-un-########################################### [ 65%]
14: kernel-modules-staging-un########################################### [ 70%]
15: kernel-modules-virtualbox########################################### [ 75%]
16: kernel-modules-virtualbox########################################### [ 80%]
17: i586-nvidia_glx_304.137  ########################################### [ 85%]
18: i586-nvidia_glx_340.107  ########################################### [ 90%]
19: i586-nvidia_glx_390.116  ########################################### [ 95%]
20: i586-nvidia_glx_410.104  ########################################### [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Config file: /etc/initrd.mk
Generating module dependencies on host ...
Creating initrd image ...
Adding plymouth support ...
Adding modules ...
Adding modules (preload) ...
Adding rescue modules ...
Adding module dependencies ...
Generating module dependencies in image ...
Packed modules: ahci ata_generic autofs4 button crc16 crc32c_generic crc32c-intel drm drm_kms_helper ehci-hcd ehci-pci evdev ext4 fb_ddc fscrypto hid hid-generic hwmon i2c-algo-bit i2c-core input-leds intel-agp intel-gtt ipmi_devintf ipmi_msghandler jbd2 libahci libata libcrc32c mbcache mxm-wmi nouveau nvidiafb ohci-hcd ohci-pci pata_acpi scsi_mod sd_mod serio_raw sis-agp ttm usb-common usbcore usbhid usbkbd usbmouse vgastate via-agp video wmi
Packing image to archive ...
Compressing image ...
Installing image ...
Removing work directory ...

Image is saved as /boot/initrd-4.19.73-un-def-alt0.M80P.1.img

Generating grub configuration file ...
Found theme: /boot/grub/themes/slinux/theme.txt
Found background image: grub.jpg
Found linux image: /boot/vmlinuz-un-def
skipping symlink: /boot/vmlinuz-un-def
Found linux image: /boot/vmlinuz
Found initrd image: /boot/initrd.img
Found linux image: /boot/vmlinuz-4.19.73-un-def-alt0.M80P.1
Found initrd image: /boot/initrd-4.19.73-un-def-alt0.M80P.1.img
Found linux image: /boot/vmlinuz-4.9.35-un-def-alt0.M80P.1
Found initrd image: /boot/initrd-4.9.35-un-def-alt0.M80P.1.img
Found Windows 10 (loader) on /dev/sda1
Found memtest image: /boot/memtest-5.01.bin
done
Done.

reboot

apt-get clean 
~]# remove-old-kernels
Running kernel version: kernel-image-un-def-1:4.19.73-alt0.M80P.1
Checking for installed kernel packages...
For removing:
  kernel-image-un-def-4.9.35-alt0.M80P.1

Reading Package Lists... Done
Building Dependency Tree... Done
Version kernel-image-un-def#1:4.9.35-alt0.M80P.1@1499215988#1:4.9.35-alt0.M80P.1@1499215988 for kernel-image-un-def=1:4.9.35-alt0.M80P.1 is already installed
The following packages will be REMOVED:
  kernel-image-un-def#1:4.9.35-alt0.M80P.1@1499215988
  kernel-modules-bcmwl-un-def#6.30.223.248-alt13.264483.0.M80P.1@1499111207
  kernel-modules-drm-nouveau-un-def#1:4.9.35-alt0.M80P.1@1499110812
  kernel-modules-drm-radeon-un-def#1:4.9.35-alt0.M80P.1@1499110812
  kernel-modules-drm-un-def#1:4.9.35-alt0.M80P.1@1499110812
  kernel-modules-nvidia-un-def#375.66-alt1.264483.0.M80P.1@1499111698
  kernel-modules-staging-un-def#1:4.9.35-alt0.M80P.1@1499110812
  kernel-modules-v4l-un-def#1:4.9.35-alt0.M80P.1@1499110812
  kernel-modules-virtualbox-addition-un-def#5.1.18-alt1.264483.0.M80P.1@149911
  962 kernel-modules-virtualbox-un-def#5.1.18-alt1.264483.0.M80P.1@1499112060
0 upgraded, 0 newly installed, 10 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 247MB disk space will be freed.
Do you want to continue? [Y/n] Y
Committing changes...
Preparing...                 ########################################### [100%]
warning: /var/lib/nvidia/4.9.35-un-def-alt0.M80P.1 saved as /var/lib/nvidia/4.9.35-un-def-alt0.M80P.1.rpmsave
Running /usr/lib/rpm/posttrans-filetriggers
Generating grub configuration file ...
Found theme: /boot/grub/themes/slinux/theme.txt
Found background image: grub.jpg
Found linux image: /boot/vmlinuz-un-def
skipping symlink: /boot/vmlinuz-un-def
Found linux image: /boot/vmlinuz
Found initrd image: /boot/initrd.img
Found linux image: /boot/vmlinuz-4.19.73-un-def-alt0.M80P.1
Found initrd image: /boot/initrd-4.19.73-un-def-alt0.M80P.1.img
Found Windows 10 (loader) on /dev/sda1
Found memtest image: /boot/memtest-5.01.bin
done
Done.


~]# nvidia-install-driver
Get:1 http://ftp.altlinux.org p8/branch/x86_64 release [880B]
Get:2 http://ftp.altlinux.org p8/branch/x86_64-i586 release [537B]
Get:3 http://ftp.altlinux.org p8/branch/noarch release [673B]
Fetched 2090B in 0s (5241B/s)
Hit http://ftp.altlinux.org p8/branch/x86_64/classic pkglist
Hit http://ftp.altlinux.org p8/branch/x86_64/classic release
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic pkglist
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic release
Hit http://ftp.altlinux.org p8/branch/noarch/classic pkglist
Hit http://ftp.altlinux.org p8/branch/noarch/classic release
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done

now i make this
Устанавливаем в оба ядра модули nvidia и nouveau.
    Создаём файл /etc/modprobe.d/blacklist-nvidia-x11.conf и записываем туда:

blacklist nvidia
blacklist nouveau

    Удаляем, если есть в файлах конфигурации все упоминания о том, какой драйвер применяется - nvidia или nouveau [1]

    Создаём файл /etc/rc.d/rc.local следующего содержания:

#!/bin/bash


if [ -n `uname -r | grep std-def` ];then
    modprobe nvidia
else

and this
1) You need have installed nvidia_glx_common package.
2) Create file: echo 'blacklist nouveau' > /etc/modprobe.d/nouveau-blacklist.conf
3) Run nvidia-install-driver as root. Then reboot.

and reboot
and we'll see if it works :rolleyes:
« Последнее редактирование: 25.09.2019 00:20:02 от Δημητριος »

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 258
Re: p8 SL-fix Vga output Resolution
« Ответ #22 : 25.09.2019 00:24:21 »
unfortunately nothing  :-( ,what wrong I have done ???

Оффлайн klark973

  • Давно тут
  • **
  • Сообщений: 653
  • Неспящий саппорт
Re: p8 SL-fix Vga output Resolution
« Ответ #23 : 25.09.2019 02:21:29 »
unfortunately nothing  :-( ,what wrong I have done ???
What was not worth doing, here is unnecessary:
now i make this
...
and this
...
Look closely: why put what is already worth it?
kernel-modules-nvidia-un-def#375.66-alt1.264483.0.M80P.1@1499111698I suspect that only this step was enough here:
Create file: echo 'blacklist nouveau' > /etc/modprobe.d/nouveau-blacklist.confDo not reinstall everything again, just show your blacklist and lsmod.
To moan or to solve -- that is the question!

Оффлайн flint1975

  • Давно тут
  • **
  • Сообщений: 1 329
    • Email
Re: p8 SL-fix Vga output Resolution
« Ответ #24 : 25.09.2019 09:26:51 »
In some cases will corrrect do this:

echo 'blacklist nouveau' > /etc/modprobe.d/nouveau-blacklist.conf
echo 'options nouveau modeset=0' > /etc/modprobe.d/nouveau-blacklist.conf

First command is`t needed if you already do this.

Оффлайн klark973

  • Давно тут
  • **
  • Сообщений: 653
  • Неспящий саппорт
Re: p8 SL-fix Vga output Resolution
« Ответ #25 : 25.09.2019 10:56:14 »
First command is`t needed if you already do this.
Therefore, the second command cancels the action of the first. :-) Joke.

No, the parameters are passed to the module only when it loads. But if it is blacklisted, then on the contrary it does not load.
To moan or to solve -- that is the question!

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 258
Re: p8 SL-fix Vga output Resolution
« Ответ #26 : 25.09.2019 14:34:00 »
echo 'blacklist nouveau' > /etc/modprobe.d/nouveau-blacklist.conf
how to do that!  i create medit file with this name nouveau-blacklist.conf and i put in there this code echo 'blacklist nouveau' this is right ???

No, the parameters are passed to the module only when it loads. But if it is blacklisted, then on the contrary it does not load.
i remove this Устанавливаем в оба ядра модули nvidia и nouveau.
    Создаём файл /etc/modprobe.d/blacklist-nvidia-x11.conf и записываем туда:

blacklist nvidia
blacklist nouveau

    Удаляем, если есть в файлах конфигурации все упоминания о том, какой драйвер применяется - nvidia или nouveau [1]

    Создаём файл /etc/rc.d/rc.local следующего содержания:

#!/bin/bash


if [ -n `uname -r | grep std-def` ];then
    modprobe nvidia
else
now what can i do???
« Последнее редактирование: 25.09.2019 14:40:54 от Δημητριος »

Оффлайн klark973

  • Давно тут
  • **
  • Сообщений: 653
  • Неспящий саппорт
Re: p8 SL-fix Vga output Resolution
« Ответ #27 : 25.09.2019 14:57:17 »
echo 'blacklist nouveau' > /etc/modprobe.d/nouveau-blacklist.conf
how to do that!  i create medit file with this name nouveau-blacklist.conf and i put in there this code echo 'blacklist nouveau' this is right ???
No. This is one command, it must executed from root. In result file be created with more short content:
blacklist nouveauSecond command with one ">" replace this content -- it is bad idea. :) You don’t have to do this!

Цитировать
i remove this ...
now what can i do???
Do not reinstall everything again, just show your blacklist and modules list:
$ su-
# lsmod
# cat /etc/modprobe.d/*
To moan or to solve -- that is the question!

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 258
Re: p8 SL-fix Vga output Resolution
« Ответ #28 : 25.09.2019 15:02:52 »
echo 'blacklist nouveau' > /etc/modprobe.d/nouveau-blacklist.conf
how to do that!  i create medit file with this name nouveau-blacklist.conf and i put in there this code echo 'blacklist nouveau' this is right ???
No. This is one command, it must executed from root. In result file be created with more short content:
blacklist nouveauSecond command with one ">" replace this content -- it is bad idea. :) You don’t have to do this!


Цитировать
i remove this ...
now what can i do???
Do not reinstall everything again, just show your blacklist and modules list:
$ su-
# lsmod
# cat /etc/modprobe.d/*

~]# echo 'blacklist nouveau'
blacklist nouveau

~]# lsmod
Module                  Size  Used by
af_packet              53248  2
joydev                 24576  0
msr                    16384  0
arc4                   16384  2
cpufreq_ondemand       16384  1
sr_mod                 28672  0
cdrom                  45056  1 sr_mod
uvcvideo              114688  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_common       49152  2 videobuf2_v4l2,uvcvideo
videodev              208896  3 videobuf2_v4l2,uvcvideo,videobuf2_common
fuse                  118784  5
media                  45056  2 videodev,uvcvideo
ath5k                 172032  0
ath                    40960  1 ath5k
mac80211              839680  1 ath5k
snd_hda_codec_conexant    24576  1
powernow_k8            24576  0
snd_hda_codec_generic    86016  1 snd_hda_codec_conexant
edac_mce_amd           28672  0
psmouse               147456  0
pcspkr                 16384  0
hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
wmi_bmof               16384  0
cfg80211              774144  3 ath,ath5k,mac80211
snd_hda_intel          45056  3
snd_hda_codec         151552  3 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel
r852                   20480  0
sm_common              16384  1 r852
rfkill                 28672  3 hp_wmi,cfg80211
snd_hda_core           90112  4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec
nand                  102400  2 r852,sm_common
sdhci_pci              45056  0
firewire_ohci          45056  0
nand_ecc               16384  1 nand
r592                   24576  0
nand_bch               16384  1 nand
bch                    20480  1 nand_bch
pata_amd               24576  0
firewire_core          81920  1 firewire_ohci
memstick               16384  1 r592
cqhci                  24576  1 sdhci_pci
mtd                    61440  3 nand,sm_common,nand_bch
sdhci                  49152  1 sdhci_pci
crc_itu_t              16384  1 firewire_core
mmc_core              159744  3 sdhci,cqhci,sdhci_pci
snd_hwdep              16384  1 snd_hda_codec
forcedeth              77824  0
snd_pcm               114688  3 snd_hda_intel,snd_hda_codec,snd_hda_core
thermal                20480  0
battery                24576  0
i2c_nforce2            16384  0
ac                     16384  0
vboxnetadp             28672  0
vboxnetflt             32768  0
pci_stub               16384  1
vboxpci                28672  0
vboxdrv               487424  3 vboxpci,vboxnetadp,vboxnetflt
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_seq                73728  2 snd_seq_midi,snd_seq_midi_event
snd_rawmidi            36864  1 snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                    86016  16 snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
soundcore              16384  1 snd
ip_tables              28672  0
x_tables               45056  1 ip_tables
ipv6                  516096  22
crc_ccitt              16384  1 ipv6
ext4                  737280  2
crc32c_generic         16384  2
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
hid_generic            16384  0
usbhid                 53248  0
hid                   135168  2 usbhid,hid_generic
sd_mod                 53248  6
nouveau              2154496  4
hwmon                  20480  1 nouveau
mxm_wmi                16384  1 nouveau
drm_kms_helper        204800  1 nouveau
ttm                   118784  1 nouveau
ahci                   40960  5
ata_generic            16384  0
drm                   491520  7 drm_kms_helper,ttm,nouveau
libahci                40960  1 ahci
pata_acpi              16384  0
libata                278528  5 pata_amd,libahci,ahci,pata_acpi,ata_generic
evdev                  28672  23
input_leds             16384  0
serio_raw              16384  0
i2c_algo_bit           16384  1 nouveau
i2c_core               77824  7 videodev,drm_kms_helper,i2c_algo_bit,i2c_nforce2,psmouse,nouveau,drm
scsi_mod              253952  3 sd_mod,libata,sr_mod
ohci_pci               16384  0
wmi                    28672  4 hp_wmi,wmi_bmof,mxm_wmi,nouveau
ehci_pci               16384  0
ohci_hcd               45056  1 ohci_pci
ehci_hcd               61440  1 ehci_pci
video                  45056  1 nouveau
usbcore               253952  6 ohci_hcd,ehci_pci,usbhid,uvcvideo,ehci_hcd,ohci_pci
button                 16384  1 nouveau
usb_common             16384  1 usbcore
autofs4                40960  2

now??? this command cat /etc/modprobe.d/* how to use???
« Последнее редактирование: 25.09.2019 15:10:57 от Δημητριος »

Оффлайн klark973

  • Давно тут
  • **
  • Сообщений: 653
  • Неспящий саппорт
Re: p8 SL-fix Vga output Resolution
« Ответ #29 : 25.09.2019 16:03:38 »
Very simple:
Цитировать
$ su-
# echo 'blacklist nouveau' > /etc/modprobe.d/nouveau-blacklist.conf
# reboot
Only three comands, nothing more...
To moan or to solve -- that is the question!