-
Постов
32 -
Зарегистрирован
-
Посещение
Посетители профиля
Блок последних пользователей отключён и не показывается другим пользователям.
Достижения CRAFTER - Games
-
Привет! Я на Linux Mint 3 месяца, когда я ставил ее рядом с Windows 11 (c которой и пришел) я в установщике выделял место по обучению в ролике на youtube. Я вот хочу понять как правильно выделяется место для Linux Mint т.е по чего и как правильно это делать. Я хочу это понять что бы потом оставшиеся место, которое у меня для Windows 11 передать для Linux Mint.
-
Привет! При работе в графическом редакторе сильно греется ноутбук, заметил что это начало происходить после обновление драйвера. Модель ноутбука: Acer Aspire 3 A315-58 Результат команды inxi -G Graphics: Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel Device-2: Quanta HD User Facing type: USB driver: uvcvideo Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 24.2~git2405230600.2abdc8~oibaf~j (git-2abdc84 2024-05-23 jammy-oibaf-ppa)
-
@redsn0w Привет! Смотрите почему эта команда xkbcomp /etc/myxkbmap $DISPLAY Если ее ввести в командной строке работает, но при этом там есть конечно предупреждения: Warning: No symbols defined for <AB11> (keycode 97) Warning: No symbols defined for <JPCM> (keycode 103) Warning: No symbols defined for <I120> (keycode 120) Warning: No symbols defined for <AE13> (keycode 132) Warning: No symbols defined for <I149> (keycode 149) Warning: No symbols defined for <I154> (keycode 154) Warning: No symbols defined for <I168> (keycode 168) Warning: No symbols defined for <I178> (keycode 178) Warning: No symbols defined for <I183> (keycode 183) Warning: No symbols defined for <I184> (keycode 184) Warning: No symbols defined for <FK19> (keycode 197) Warning: No symbols defined for <FK24> (keycode 202) Warning: No symbols defined for <I217> (keycode 217) Warning: No symbols defined for <I219> (keycode 219) Warning: No symbols defined for <I222> (keycode 222) Warning: No symbols defined for <I230> (keycode 230) Warning: No symbols defined for <I248> (keycode 248) Но это не важно ведь команда работает, но когда я делаю bash-скрипт: #!bin/bash xkbcomp /etc/myxkbmap $DISPLAY И запускаю его то он не работает.
-
@redsn0w Ну я выполнил сперва: sudo systemctl edit --force --full script.service И там уже есть строка [Unit] Description=My Script Service After=multi-user.target [Service] Type=idle ExecStart=/etc/fix_caps_lock.sh [Install] WantedBy=multi-user.target Далее я ввел: sudo systemctl daemon-reload и sudo systemctl enable mysrcipt Но в последней команде опять: $ sudo systemctl enable mysrcipt Failed to enable unit: Unit file mysrcipt.service does not exist.
-
@redsn0w Я ввел: [Unit] Description=My Script Service After=multi-user.target [Service] Type=idle ExecStart=/etc/fix_caps_lock.sh [Install] WantedBy=multi-user.target fix_caps_lock.sh - исполняемый файл. Далее sudo systemctl daemon-reload Но после перезагрузки системы скрипт не был запущен об этом говорит, ошибка клавиши CapsLock. При этом если я просто опять же в консоль запущу команду xkbcomp /etc/myxkbmap $DISPLAY То ошибка пропадает. Есть другие способы засунуть в автозапуск скрипт ?
-
Привет! У меня есть bash-скрипт fix_caps_lock.sh , которой убирает задержку при выключении клавиши CapsLock: #!bin/sh xkbcomp /etc/myxkbmap $DISPLAY Я данный скрипт я засунул его в /etc/profile.d/, что бы он запускался при запуске системы. После перезагрузки при старте Linux Mint у меня выходит ошибка Are you sure you want to proceed? Я нажимаю на Да и захожу в систему и эта скрипт не запустился т.к проблема с клавишей CapsLock все еще есть, мне приходится вручную в командной строке прописывать команду: xkbcomp /etc/myxkbmap $DISPLAY Что бы исправит проблему. Я даже файлу fix_caps_lock.sh дал права на выполнение через: sudo chmod +x fix_caps_lock.sh Как можно это исправить ? Ошибка при старте системы:
-
@redsn0w Я ввел sudo apt update далее sudo apt full-upgrade теперь ошибки в консоли не возникли. Отвечаю на ваш вопрос Я без флага nomodeset отправил. вот новые результаты команды inxi -G Тут вроде отличие в последнем свойстве, раньше было v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 А сейчас другое, но экран все ровно моргает при старте Linux Mint. Наверное нужно все таки в cfg grub запускать флаг nomodeset по умолчанию.
-
@redsn0w И на счет обновление драйвера. После ввода команды sudo add-apt-repository ppa:oibaf/graphics-drivers У меня появилось это: You are about to add the following PPA: PLEASE READ: don't email me to report bugs, unless you are sure it's a packaging bug. Not only is email not a good tool for tracking bugs, it also excludes anybody else from tracking or working on the issue. Please read the section "Debugging and reporting problems" below. Also, please don't ask me to include non-free drivers, I won't do it. Patches and suggestions are welcomed. ============= All Ubuntu architectures are supported. Supported Ubuntu versions: - 22.04 (jammy) <- supported - 23.10 (mantic) <- supported - 24.04 (noble) <- supported For forum support see: http://goo.gl/qoUpWK === Introduction === This PPA provides updated free graphics drivers (from mesa). Updates packages provide: * all driver packages are automagically built every day, when there are upstream changes * Vulkan 1.3+ and OpenGL 4.6+ : http://mesamatrix.net * gallium-nine support. Read the specific section below * VDPAU and VAAPI Gallium3D accelerated video drivers (see below) * mesa packages built with gcc LTO for smaller binary size (~10-15%) and improved performance As an added bonus I may include some updated open source games (backported from Debian or newer Ubuntu). === Basic usage === See "Adding this PPA to your system" later on, or just do: sudo add-apt-repository ppa:oibaf/graphics-drivers and update your Ubuntu with the package here. === Using gallium-nine === Gallium-nine lets you run DirectX 9 games in a faster way, avoiding the inefficient translation of D3D9 calls to OpenGL. For more info see https://wiki.ixit.cz/d3d9 You need: * enable this PPA (see previous paragraph) * then follow the instructions to install wine from this PPA: https://launchpad.net/~commendsarnex/+archive/ubuntu/winedri3 === Using alternative drivers - Here be dragons === * zink - OpenGL emulated on a Vulkan driver: Set MESA_LOADER_DRIVER_OVERRIDE=zink * zink + lavapipe - OpenGL emulated on a software Vulkan driver: Set VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json MESA_LOADER_DRIVER_OVERRIDE=zink * llvmpipe OpenGL software render: Set MESA_LOADER_DRIVER_OVERRIDE=llvmpipe * Other options here: https://www.mesa3d.org/envvars.html === Using accelerated video === Supported VDPAU drivers: r300, r600, radeonsi, nouveau Supported VAAPI drivers: r600, radeonsi * First you need to install mesa-vdpau-drivers package: sudo apt-get install mesa-vdpau-drivers * Then to test the VDPAU driver with mpv use: $ mpv --hwdec=vdpau yourvideofile === Upgrading to a newer Ubuntu === It is *strongly* suggested to remove all packages from this PPA before updating to a newer Ubuntu release. See the section "Revert to original drivers" later on. Then, after the upgrade, you can add again this PPA. === Debugging and reporting problems === If you have some problem with the drivers try running the application from the command line and see if there are graphics related warnings. Also type dmesg to see if there are other related information here. If you get crashes install the relevant -dbg pacakges (libgl1-mesa-dri-dbg or libgl1-mesa-dri-experimental-dbg for 3D drivers and xserver-xorg-video-intel-dbg , xserver-xorg-video-nouveau-dbg or xserver-xorg-video-radeon-dbg for X drivers) and reproduce the crash with gdb. Example: $ gdb glxgears [...make your application crash and then get a backtrace with:] (gdb) bt If X.org crashes look at /var/log/Xorg.0.log (or /var/log/Xorg.0.log.old when a new X session is started after the crash). With the gathered information try searching at https://bugs.freedesktop.org/query.cgi (also try with google) if someone already reported a similar bug. If not you may want to report a new bug: for 3D drivers bugs: https://www.mesa3d.org/bugs.html for X / 2D driver bugs: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg === Revert to original drivers === To revert to standard Ubuntu drivers type the following in a prompt shell: $ sudo apt-get install ppa-purge $ sudo ppa-purge ppa:oibaf/graphics-drivers === Donations === Some people asked me if I can accept donations to support this work. I don't, but if you have some spare money I would be happy if you could do a donation to a charity of your choice (for the poors, animals, whatever else you may think it might need it). Then feel free to send me a note about it! More info: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers Press Enter to continue or Ctrl+C to cancel Далее я ввел: sudo apt full-upgrade sudo apt full-upgrade И у меня появились ошибки Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libc++1 libc++1-14 libc++abi1-14 libdrm-nouveau2:i386 libsss-nss-idmap0 libunwind-14 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: i965-va-driver intel-media-va-driver va-driver-all The following NEW packages will be installed: i965-va-driver-shaders The following packages will be upgraded: libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-common libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386 libegl-mesa0 libgbm1 libgbm1:i386 libgl1-mesa-dri:i386 libgl1-mesa-dri libglapi-mesa:i386 libglapi-mesa libglx-mesa0 libglx-mesa0:i386 libnghttp2-14 libnghttp2-14:i386 libosmesa6 libosmesa6:i386 libva-drm2 libva-wayland2 libva-x11-2 libva2 libvdpau1 libxatracker2 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers mesa-vulkan-drivers:i386 34 upgraded, 1 newly installed, 3 to remove and 0 not upgraded. Need to get 64,5 MB/66,3 MB of archives. After this operation, 47,3 MB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 libegl-mesa0 amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:2 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main i386 libgbm1 i386 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:3 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 libgbm1 amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:4 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 libosmesa6 amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:5 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main i386 libosmesa6 i386 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:6 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main i386 libgl1-mesa-dri i386 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:7 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 libgl1-mesa-dri amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:8 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 libglx-mesa0 amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:9 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main i386 libglx-mesa0 i386 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:10 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main i386 libglapi-mesa i386 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:11 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 libglapi-mesa amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:12 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 libxatracker2 amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:13 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 mesa-va-drivers amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:14 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 mesa-vdpau-drivers amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:15 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main amd64 mesa-vulkan-drivers amd64 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] Err:16 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy/main i386 mesa-vulkan-drivers i386 24.2~git2404260600.8ebf07~oibaf~j 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libegl-mesa0_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libgbm1_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_i386.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libgbm1_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libosmesa6_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libosmesa6_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_i386.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_i386.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libglx-mesa0_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libglx-mesa0_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_i386.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libglapi-mesa_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_i386.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libglapi-mesa_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/libxatracker2_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/mesa-va-drivers_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/mesa-vdpau-drivers_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/mesa-vulkan-drivers_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_amd64.deb 404 Not Found [IP: 185.125.190.80 443] E: Failed to fetch https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/mesa/mesa-vulkan-drivers_24.2%7egit2404260600.8ebf07%7eoibaf%7ej_i386.deb 404 Not Found [IP: 185.125.190.80 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Результаты команды: inxi -G