From: ruslandh <ruslandh@gmail.com> To: sisyphus@lists.altlinux.org Subject: Re: [sisyphus] nouveau and nvidia Date: Sat, 12 Dec 2015 09:54:50 +0300 Message-ID: <201512120955.06901@ruslandh> (raw) In-Reply-To: <201512120701.25884@ruslandh> [-- Attachment #1: Type: text/plain, Size: 2384 bytes --] Здравствуйте ! В сообщении от 12 декабря 2015 ruslandh написал(a): > Здравствуйте Michael Shigorin > > В сообщении от 11 декабря 2015 Michael Shigorin написал(a): > > Насколько понимаю, для этого достаточно держать разные > > комплекты kernel-modules для разных kernel-image; получится > > ли это на сизифе (есть ли конфликты) -- не смотрел никогда; > > текущий update-kernel будет пытаться сопротивляться и > > ставить всё везде. > > Вот если-бы блеклисты можно-бы было специфицировать для > каждого ядра, тогда-бы проблем не было. Конфликтов нет, можно > и одно и то-же сделать, если-бы каждое ядро в свой блеклист > смотрело. > > Но твой вариант то-же подходит, надо только не пользоваться > ключом -t у update-module и обновлять каждую ветку из своего > ядра. > Надо только все запреты из блеклистов попробовать убрать > касающиеся нвидиа/нуво, а xorg надеюсь, сам разберётся где у > него что. > > ЗЫ А то меня замучило состояние - на un-def хочу нову, на > std-def нвидиа. > > PPS Наверное сейчас и попробую реализовать. Попробовал, докладываю! Убрад все блеклисты и упраминания конкретных драйверов в xorg. На сегодня, если есть есть оба видеодрайвера, и не загружен ядерный модуль nvidia, то xorg грузит nouvo, если загружен ядерный модуль nvidia, то xorg грузит nvidia. написал, особо не задумываясь простенький скриптик: cat /etc/rc.d/rc.local $ cat /etc/rc.d/rc.local >>>> #!/bin/bash if [ -n `uname -r | grep std-def` ];then modprobe nvidia fi >>>> Проблема: make-initrd не понимает, что так может быть: >>>. # make-initrd -k $(uname -r) Config file: /etc/initrd.mk Generating module dependencies on host ... Creating initrd image ... Adding plymouth support ... Adding modules ... add-module: No module "nvidia" found for kernel 4.3.2-un-def-alt1 make: *** [add-modules] Ошибка 1 make: *** [all] Ошибка 1 >>> А у команды # make-initrd 4.1.14-std-def-alt1 /usr/share/make-initrd/make-initrd.mk:21: *** You MUST NOT call private goals directly: 4.1.14-std-def-alt1. Останов. [root@Rostov modules]# make-initrd -k 4.1.14-std-def-alt1 Config file: /etc/initrd.mk Generating module dependencies on host ... ..... Installing image ... Removing work directory ... Image is saved as /boot/initrd-4.1.14-std-def-alt1-debug.img >>> Всё в порядке, хотя там нет модуля нуво (не как не запомню как он правильно пишется латиницей). -- С уважением Хихин Руслан [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2015-12-12 6:54 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-12-11 4:25 Hihin Ruslan 2015-12-11 9:21 ` Sergey 2015-12-11 11:06 ` Шенцев Алексей 2015-12-11 11:49 ` Хихин Руслан 2015-12-11 13:14 ` Michael Shigorin 2015-12-12 4:01 ` ruslandh 2015-12-12 6:54 ` ruslandh [this message] 2015-12-12 7:04 ` ruslandh 2015-12-12 7:10 ` ruslandh 2015-12-12 8:09 ` ruslandh 2015-12-12 12:19 ` Michael Shigorin 2015-12-12 22:14 ` ruslandh 2015-12-14 10:22 ` Хихин Руслан 2015-12-14 12:06 ` Michael Shigorin 2015-12-12 12:16 ` Шенцев Алексей 2015-12-12 12:21 ` Michael Shigorin 2015-12-12 12:37 ` ruslandh 2015-12-12 13:26 ` Шенцев Алексей 2015-12-12 12:25 ` ruslandh 2015-12-12 12:14 ` Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201512120955.06901@ruslandh \ --to=ruslandh@gmail.com \ --cc=ruslandh@narod.ru \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git