As configurações do trackpad da GUI para meu Lenovo 16IAX7 executando o Ubuntu 24.04 6.8.0-48-generic não parecem afetar o comportamento de rolagem. (Nem as configurações do mouse). Estou usando o Gnome DE e o Mutter WM. Li o post aqui, mas isso não parece ser totalmente relevante para o meu caso, pois (por exemplo) não vejo uma opção de rolagem natural. Como eu faria a GUI funcionar ou executaria a rolagem natural de alguma outra forma?
jeremy_rutman's questions
Eu tenho uma configuração de três monitores que estava funcionando em 22.04. Um monitor externo funciona a partir de uma saída HDMI e o outro através de uma saída USB-C DP e um conversor USB-HDMI. Depois de mudar para o kernel 24.04 6.9, o USB-C está bom. O monitor HDMI é reconhecido pela GUI de configurações de vídeo e uma área de trabalho aparece lá, mas o mouse não vai para este monitor e, portanto, é inutilizável, independentemente da configuração do monitor. O mesmo mau comportamento no kernel 6.7.3. Algumas informações do sistema abaixo:
$ xrandr|grep connected
eDP-2 connected primary 2560x1600+0+0 (normal left inverted right x axis y axis) 340mm x 210mm
DP-2 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 700mm x 400mm
HDMI-1 connected 2560x1440+5120+0 (normal left inverted right x axis y axis) 700mm x 390mm
OS: Ubuntu 24.04 LTS x86_64
Host: 82TD Legion 7 16IAX7
Kernel: 6.9.0-060900-generic
CPU: 12th Gen Intel i9-12900HX (24) @ 4.900GHz
GPU: Intel Alder Lake-HX GT1 [UHD Graphics 770]
GPU: NVIDIA GeForce RTX 3080 Ti Laptop GPU
e
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: GA103M [GeForce RTX 3080 Ti Laptop GPU]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=2560x1600 visual=truecolor xres=2560 yres=1600
resources: iomemory:600-5ff iomemory:640-63f irq:215 memory:83000000-83ffffff memory:6000000000-63ffffffff memory:6400000000-6401ffffff ioport:4000(size=128) memory:84000000-8407ffff
*-display
description: VGA compatible controller
product: Alder Lake-HX GT1 [UHD Graphics 770]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 0c
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=2560,1600
resources: iomemory:640-63f iomemory:400-3ff irq:234 memory:6402000000-6402ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
$ nvidia-smi
| NVIDIA-SMI 550.78 Driver Version: 550.78
Alguma saída dmesg:
jr@jr-Legion-7-16IAX7:~$ sudo dmesg|grep -E "video|hdmi|DP|nvidia|display"
[ 0.821058] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR DPC]
[ 1.350318] UDP hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.350422] UDP-Lite hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.350493] NET: Registered PF_XDP protocol family
[ 1.371801] ACPI: AC: AC Adapter [ADP0] (on-line)
[ 1.851817] nvidia: loading out-of-tree module taints kernel.
[ 1.851822] nvidia: module license 'NVIDIA' taints kernel.
[ 1.851825] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 1.851825] nvidia: module license taints kernel.
[ 1.931848] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[ 1.932642] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 1.932719] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 1.988237] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 550.78 Sun Apr 14 06:23:31 UTC 2024
[ 1.990274] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 2.903041] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-4
[ 2.912134] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-4
[ 3.050734] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 4.839665] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 4.870767] nvidia-uvm: Loaded the UVM driver, major device number 234.
[ 5.467510] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input17
[ 5.467563] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input18
[ 5.467600] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input19
[ 5.467630] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input20
[ 5.838219] ACPI: video: [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[ 5.838235] ACPI: video: Video Device [PEGP] (multi-head: yes rom: no post: no)
[ 5.839198] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 6.156818] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input25
[ 6.156841] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input26
[ 6.156862] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input27
[ 6.156886] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input28
[75287.597147] workqueue: nv_drm_handle_hotplug_event [nvidia_drm] hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
Estou tentando instalar numpy para python3.10 (não em um venv). Eu instalei o python 3.10 usando
sudo apt install python3.10
pip não parecia estar instalado, então eu fiz
jeremy@jeremy-Blade:/$ python3.10 -m pip install numpy
jeremy@jeremy-Blade:/$ wget https://bootstrap.pypa.io/get-pip.py
jeremy@jeremy-Blade:/$ python3.10 get-pip.py
jeremy@jeremy-Blade:/$ python3.10 -m pip --version
pip 21.3.1 from /home/jeremy/.local/lib/python3.10/site-packages/pip (python 3.10)
e depois tentou
jeremy@jeremy-Blade:/$ python3.10 -m pip install numpy
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (1.17.4)
Mas quando tento importar numpy:
Python 3.10.0 (default, Oct 4 2021, 22:09:55) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 17, in <module>
from . import multiarray
File "/usr/lib/python3/dist-packages/numpy/core/multiarray.py", line 14, in <module>
from . import overrides
File "/usr/lib/python3/dist-packages/numpy/core/overrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 142, in <module>
from . import core
File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 47, in <module>
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
1. Check that you expected to use Python3.10 from "/usr/bin/python3.10",
and that you have no directories in your PATH or PYTHONPATH that can
interfere with the Python and numpy version "1.17.4" you're trying to use.
2. If (1) looks fine, you can open a new issue at
https://github.com/numpy/numpy/issues. Please include details on:
- how you installed Python
- how you installed numpy
- your operating system
- whether or not you have multiple versions of Python installed
- if you built from source, your compiler versions and ideally a build log
...
Original error was: No module named 'numpy.core._multiarray_umath'
meu caminho é
jeremy@jeremy-Blade:/$env|grep PATH
LD_LIBRARY_PATH=/usr/local/cuda-10.2/targets/x86_64-linux/lib/stubs
PATH=/home/jeremy/.local/bin:/usr/local/cuda-10.2/bin:/usr/local/cuda-10.2/targets/x86_64-linux/lib/stubs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
(portanto, PYTHONPATH não está definido - se eu o definir como /usr/bin/python3.10, isso não parece mudar nada), e seguindo as recomendações na mensagem de erro, não vejo nenhum problema aqui. (Eu desinstalei e reinstalei o numpy para python3.10, nenhuma alteração vista no problema) Meu sistema operacional é o Ubuntu 20.04. Desculpe se isso é algo óbvio ou não relacionado ao numpy.
Recentemente minha máquina começou a inicializar usando uma tela de login com um lince com olhos de laser (possivelmente uma pantera.)
e o laser-puma não aceita meu login ( failed to start session
, não uma msg de senha errada). Eu faço crtl-alt-F3, em seguida, faço login a partir do cli e, em seguida, executo, o startx
que me leva a uma área de trabalho kde que é muito boa (o padrão anterior era gnome). Eu gostaria de 1. ser capaz de fazer login desde o início, e 2. ter o kde como desktop padrão (embora eu me importe menos com isso). Eu verifiquei todas as respostas para uma pergunta semelhante (que ocorreu em versões anteriores do ubuntu ), nenhuma das quais parece resolver o problema. Algumas informações do sistema (obtidas em uma janela de terminal após a sequência descrita acima):
jeremy@jeremy-Blade:~$ uname -a
Linux jeremy-Blade 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
jeremy@jeremy-Blade:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
jeremy@jeremy-Blade:~$ echo $XDG_CURRENT_DESKTOP
KDE
jeremy@jeremy-Blade:~$ ls -l .X*
-rw------- 1 jeremy jeremy 163 бер 23 17:37 .Xauthority