LINUX.ORG.RU

Сообщения xaTa

 

Не работают правила udev

Форум — General

Привет ЛОР. Перенес недавно рабочие правила с Arch на VoidLinux. На втором отказываются работать.

Допустим имея в /etc/udev/rules.d/60-battery.rules:

SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_NAME}=="BAT0", ENV{POWER_SUPPLY_TYPE}=="Battery", ENV{POWER_SUPPLY_STATUS}=="Not charging" RUN+="/usr/local/bin/powerrules"

Скрипт powerrules не запускается. В логах ничего нет, хотя указал режим отладки. Куда копать-смотреть?

 ,

xaTa
()

Не могу стартануть nvidia-xrun в отдельном tty

Форум — Desktop

Добрый день ЛОР. Сабж.

Делал по арчвики. В первом tty у меня hyprland без xwayland, во втором пытаюсь стартовать nvidia-xrun. BUS ID по моему указыны правильно.

Лог xorg:

[  2020.296] 
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[  2020.298] Current Operating System: Linux laptop 6.6.56-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 10 Oct 2024 12:04:53 +0000 x86_64
[  2020.298] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=3302a76f-553c-4f06-b6d2-82c24115e279 rw rootflags=subvol=@ intel_idle.max_cstate=1 intel_pstate=disable vt.global_cursor_default=0 quiet loglevel=2 splash
[  2020.300]  
[  2020.301] Current version of pixman: 0.43.4
[  2020.302] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2020.302] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2020.306] (==) Log file: "/home/imax/.local/share/xorg/Xorg.0.log", Time: Thu Oct 17 11:26:00 2024
[  2020.306] (++) Using config file: "/etc/X11/nvidia-xorg.conf"
[  2020.307] (++) Using config directory: "/etc/X11/nvidia-xorg.conf.d"
[  2020.307] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2020.307] (==) ServerLayout "layout"
[  2020.307] (**) |-->Screen "nvidia" (1)
[  2020.307] (**) |   |-->Monitor "<default monitor>"
[  2020.308] (**) |   |-->Device "nvidia"
[  2020.308] (==) No monitor specified for screen "nvidia".
	Using a default monitor configuration.
[  2020.308] (**) |-->Inactive Device "intel"
[  2020.308] (**) Allowing byte-swapped clients
[  2020.308] (==) Automatically adding devices
[  2020.308] (==) Automatically enabling devices
[  2020.308] (==) Automatically adding GPU devices
[  2020.308] (==) Automatically binding GPU devices
[  2020.308] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2020.308] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[  2020.308] 	Entry deleted from font path.
[  2020.308] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[  2020.308] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[  2020.308] 	Entry deleted from font path.
[  2020.308] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[  2020.308] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  2020.308] 	Entry deleted from font path.
[  2020.308] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  2020.308] 	Entry deleted from font path.
[  2020.308] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  2020.308] 	Entry deleted from font path.
[  2020.308] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  2020.308] 	Entry deleted from font path.
[  2020.308] (==) FontPath set to:
	
[  2020.308] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[  2020.308] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2020.308] (II) Module ABI versions:
[  2020.308] 	X.Org ANSI C Emulation: 0.4
[  2020.308] 	X.Org Video Driver: 25.2
[  2020.308] 	X.Org XInput driver : 24.4
[  2020.308] 	X.Org Server Extension : 10.0
[  2020.308] (++) using VT number 2

[  2020.308] (--) controlling tty is VT number 2, auto-enabling KeepTty
[  2020.309] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[  2020.311] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2020.311] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[  2020.311] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[  2020.312] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2020.312] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[  2020.312] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
[  2020.314] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[  2020.315] (--) PCI:*(0@0:2:0) 8086:0166:17aa:21f4 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[  2020.315] (--) PCI: (1@0:0:0) 10de:0def:17aa:21f4 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[  2020.315] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2020.315] (II) LoadModule: "glx"
[  2020.315] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[  2020.319] (II) Module glx: vendor="NVIDIA Corporation"
[  2020.319] 	compiled for 4.0.2, module version = 1.0.0
[  2020.319] 	Module class: X.Org Server Extension
[  2020.319] (II) NVIDIA GLX Module  390.157  Wed Oct 12 09:19:15 UTC 2022
[  2020.319] (II) LoadModule: "nvidia"
[  2020.319] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  2020.319] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2020.319] 	compiled for 4.0.2, module version = 1.0.0
[  2020.319] 	Module class: X.Org Video Driver
[  2020.319] (II) LoadModule: "modesetting"
[  2020.319] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  2020.344] (II) Module modesetting: vendor="X.Org Foundation"
[  2020.344] 	compiled for 1.21.1.13, module version = 1.21.1
[  2020.344] 	Module class: X.Org Video Driver
[  2020.344] 	ABI class: X.Org Video Driver, version 25.2
[  2020.344] (II) NVIDIA dlloader X Driver  390.157  Wed Oct 12 09:21:41 UTC 2022
[  2020.344] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2020.344] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  2020.344] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[  2020.344] (II) systemd-logind: releasing fd for 226:0
[  2020.357] (II) Loading sub module "fb"
[  2020.357] (II) LoadModule: "fb"
[  2020.357] (II) Module "fb" already built-in
[  2020.357] (II) Loading sub module "wfb"
[  2020.357] (II) LoadModule: "wfb"
[  2020.358] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  2020.358] (II) Module wfb: vendor="X.Org Foundation"
[  2020.358] 	compiled for 1.21.1.13, module version = 1.0.0
[  2020.358] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2020.358] (II) Loading sub module "ramdac"
[  2020.358] (II) LoadModule: "ramdac"
[  2020.358] (II) Module "ramdac" already built-in
[  2020.358] (WW) Falling back to old probe method for modesetting
[  2020.371] (II) modeset(G0): using drv /dev/dri/card1
[  2020.371] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2020.371] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"nvidia" for depth/fbbpp 24/32
[  2020.371] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  2020.371] (==) NVIDIA(0): RGB weight 888
[  2020.371] (==) NVIDIA(0): Default visual is TrueColor
[  2020.371] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  2020.371] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[  2020.371] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[  2020.371] (**) NVIDIA(0): Enabling 2D acceleration
[  2020.372] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[  2020.372] (--) NVIDIA(0):     CRT-0
[  2020.372] (--) NVIDIA(0):     DFP-0
[  2020.372] (--) NVIDIA(0):     DFP-1
[  2020.372] (--) NVIDIA(0):     DFP-2
[  2020.372] (--) NVIDIA(0):     DFP-3
[  2020.372] (--) NVIDIA(0):     DFP-4
[  2020.372] (--) NVIDIA(0):     DFP-5
[  2020.372] (--) NVIDIA(0):     DFP-6
[  2020.374] (II) NVIDIA(0): NVIDIA GPU NVS 5400M (GF108) at PCI:1:0:0 (GPU-0)
[  2020.374] (--) NVIDIA(0): Memory: 1048576 kBytes
[  2020.374] (--) NVIDIA(0): VideoBIOS: 70.08.b7.05.01
[  2020.374] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  2020.375] (--) NVIDIA(GPU-0): CRT-0: disconnected
[  2020.375] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[  2020.375] (--) NVIDIA(GPU-0): 
[  2020.377] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  2020.377] (--) NVIDIA(GPU-0): DFP-0: Internal LVDS
[  2020.377] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[  2020.377] (--) NVIDIA(GPU-0): 
[  2020.377] (--) NVIDIA(GPU-0): DFP-1: disconnected
[  2020.377] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[  2020.377] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[  2020.377] (--) NVIDIA(GPU-0): 
[  2020.377] (--) NVIDIA(GPU-0): DFP-2: disconnected
[  2020.377] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[  2020.377] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[  2020.377] (--) NVIDIA(GPU-0): 
[  2020.377] (--) NVIDIA(GPU-0): DFP-3: disconnected
[  2020.377] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[  2020.377] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[  2020.377] (--) NVIDIA(GPU-0): 
[  2020.377] (--) NVIDIA(GPU-0): DFP-4: disconnected
[  2020.377] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[  2020.377] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[  2020.377] (--) NVIDIA(GPU-0): 
[  2020.378] (--) NVIDIA(GPU-0): DFP-5: disconnected
[  2020.378] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[  2020.378] (--) NVIDIA(GPU-0): DFP-5: 480.0 MHz maximum pixel clock
[  2020.378] (--) NVIDIA(GPU-0): 
[  2020.378] (--) NVIDIA(GPU-0): DFP-6: disconnected
[  2020.378] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[  2020.378] (--) NVIDIA(GPU-0): DFP-6: 480.0 MHz maximum pixel clock
[  2020.378] (--) NVIDIA(GPU-0): 
[  2020.378] (==) NVIDIA(0): 
[  2020.378] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[  2020.378] (==) NVIDIA(0):     will be used as the requested mode.
[  2020.378] (==) NVIDIA(0): 
[  2020.378] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[  2020.378] (--) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled
[  2020.378] (II) NVIDIA(0): Validated MetaModes:
[  2020.378] (II) NVIDIA(0):     "NULL"
[  2020.378] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[  2020.378] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[  2020.378] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[  2020.378] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[  2020.378] (**) modeset(G0): Option "AccelMethod" "none"
[  2020.378] (==) modeset(G0): RGB weight 888
[  2020.378] (==) modeset(G0): Default visual is TrueColor
[  2020.378] (**) modeset(G0): glamor disabled
[  2020.378] (II) modeset(G0): ShadowFB: preferred YES, enabled YES
[  2020.378] (II) modeset(G0): Double-buffered shadow updates: off
[  2020.378] (II) modeset(G0): Output LVDS-1-1 has no monitor section
[  2020.379] (II) modeset(G0): Output VGA-1-1 has no monitor section
[  2020.380] (II) modeset(G0): EDID for output LVDS-1-1
[  2020.380] (II) modeset(G0): Manufacturer: CMN  Model: 1471  Serial#: 0
[  2020.380] (II) modeset(G0): Year: 2011  Week: 35
[  2020.380] (II) modeset(G0): EDID Version: 1.3
[  2020.380] (II) modeset(G0): Digital Display Input
[  2020.380] (II) modeset(G0): Max Image Size [cm]: horiz.: 31  vert.: 17
[  2020.380] (II) modeset(G0): Gamma: 2.20
[  2020.380] (II) modeset(G0): No DPMS capabilities specified
[  2020.380] (II) modeset(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[  2020.380] (II) modeset(G0): First detailed timing is preferred mode
[  2020.380] (II) modeset(G0): redX: 0.608 redY: 0.349   greenX: 0.340 greenY: 0.556
[  2020.380] (II) modeset(G0): blueX: 0.169 blueY: 0.137   whiteX: 0.313 whiteY: 0.329
[  2020.380] (II) modeset(G0): Manufacturer's mask: 0
[  2020.380] (II) modeset(G0): Supported detailed timing:
[  2020.380] (II) modeset(G0): clock: 69.3 MHz   Image Size:  309 x 174 mm
[  2020.380] (II) modeset(G0): h_active: 1366  h_sync: 1414  h_sync_end 1446 h_blank_end 1466 h_border: 0
[  2020.380] (II) modeset(G0): v_active: 768  v_sync: 769  v_sync_end 773 v_blanking: 788 v_border: 0
[  2020.380] (II) modeset(G0):  N140BGE-L32
[  2020.380] (II) modeset(G0):  CMN
[  2020.380] (II) modeset(G0):  N140BGE-L32
[  2020.380] (II) modeset(G0): EDID (in hex):
[  2020.380] (II) modeset(G0): 	00ffffffffffff000dae711400000000
[  2020.380] (II) modeset(G0): 	23150103801f11780ad1459b59578e2b
[  2020.380] (II) modeset(G0): 	23505400000001010101010101010101
[  2020.380] (II) modeset(G0): 	010101010101121b5664500014303020
[  2020.380] (II) modeset(G0): 	140035ae10000018000000fe004e3134
[  2020.380] (II) modeset(G0): 	304247452d4c33320a20000000fe0043
[  2020.380] (II) modeset(G0): 	4d4e0a202020202020202020000000fe
[  2020.380] (II) modeset(G0): 	004e3134304247452d4c33320a200009
[  2020.380] (II) modeset(G0): Printing probed modes for output LVDS-1-1
[  2020.380] (II) modeset(G0): Modeline "1366x768"x60.0   69.30  1366 1414 1446 1466  768 769 773 788 -hsync -vsync (47.3 kHz eP)
[  2020.380] (II) modeset(G0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  2020.380] (II) modeset(G0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[  2020.380] (II) modeset(G0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[  2020.380] (II) modeset(G0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[  2020.380] (II) modeset(G0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[  2020.380] (II) modeset(G0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[  2020.380] (II) modeset(G0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[  2020.380] (II) modeset(G0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[  2020.380] (II) modeset(G0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[  2020.380] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[  2020.380] (II) modeset(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  2020.380] (II) modeset(G0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[  2020.380] (II) modeset(G0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[  2020.380] (II) modeset(G0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[  2020.380] (II) modeset(G0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[  2020.380] (II) modeset(G0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[  2020.380] (II) modeset(G0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[  2020.380] (II) modeset(G0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[  2020.380] (II) modeset(G0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[  2020.380] (II) modeset(G0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[  2020.380] (II) modeset(G0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[  2020.380] (II) modeset(G0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[  2020.380] (II) modeset(G0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[  2020.380] (II) modeset(G0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[  2020.380] (II) modeset(G0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[  2020.380] (II) modeset(G0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[  2020.380] (II) modeset(G0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[  2020.380] (II) modeset(G0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[  2020.380] (II) modeset(G0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[  2020.380] (II) modeset(G0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[  2020.380] (II) modeset(G0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[  2020.382] (II) modeset(G0): EDID for output VGA-1-1
[  2020.382] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[  2020.382] (==) modeset(G0): DPI set to (96, 96)
[  2020.382] (II) Loading sub module "fb"
[  2020.382] (II) LoadModule: "fb"
[  2020.382] (II) Module "fb" already built-in
[  2020.382] (II) Loading sub module "shadow"
[  2020.382] (II) LoadModule: "shadow"
[  2020.382] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  2020.382] (II) Module shadow: vendor="X.Org Foundation"
[  2020.382] 	compiled for 1.21.1.13, module version = 1.1.0
[  2020.382] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2020.382] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[  2020.382] (II) NVIDIA:     access.
[  2020.385] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[  2020.385] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[  2020.385] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[  2020.385] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[  2020.385] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[  2020.385] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[  2020.385] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[  2020.385] (II) NVIDIA(0):     Config Options in the README.
[  2020.405] (II) NVIDIA(0): Setting mode "NULL"
[  2020.410] (==) NVIDIA(0): Disabling shared memory pixmaps
[  2020.410] (==) NVIDIA(0): Backing store enabled
[  2020.410] (==) NVIDIA(0): Silken mouse enabled
[  2020.410] (==) NVIDIA(0): DPMS enabled
[  2020.410] (II) Loading sub module "dri2"
[  2020.410] (II) LoadModule: "dri2"
[  2020.410] (II) Module "dri2" already built-in
[  2020.410] (II) NVIDIA(0): [DRI2] Setup complete
[  2020.410] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  2020.410] (==) modeset(G0): Backing store enabled
[  2020.410] (==) modeset(G0): Silken mouse enabled
[  2020.435] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[  2020.435] (==) modeset(G0): DPMS enabled
[  2020.435] (EE) 
[  2020.435] (EE) Backtrace:
[  2020.435] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  2020.435] (EE) 0: /usr/lib/Xorg (?+0x0) [0x617b13dcdced]
[  2020.436] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  2020.436] (EE) 1: /usr/lib/libc.so.6 (?+0x0) [0x73b65331e1d0]
[  2020.436] (EE) 2: /usr/lib/Xorg (InitOutput+0x5b1) [0x617b13df1b11]
[  2020.436] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  2020.436] (EE) 3: /usr/lib/Xorg (?+0x0) [0x617b13cb9f93]
[  2020.436] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  2020.436] (EE) 4: /usr/lib/libc.so.6 (?+0x0) [0x73b653306e08]
[  2020.437] (EE) 5: /usr/lib/libc.so.6 (__libc_start_main+0x8c) [0x73b653306ecc]
[  2020.437] (EE) 6: /usr/lib/Xorg (_start+0x25) [0x617b13cbb5c5]
[  2020.437] (EE) 
[  2020.437] (EE) Segmentation fault at address 0x10
[  2020.437] (EE) 
Fatal server error:
[  2020.437] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  2020.437] (EE) 
[  2020.437] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2020.437] (EE) Please also check the log file at "/home/imax/.local/share/xorg/Xorg.0.log" for additional information.
[  2020.437] (EE) 
[  2020.470] (EE) Server terminated with error (1). Closing log file.

Конфиг nvidia:

Section "Files"
  ModulePath "/usr/lib/nvidia"
  ModulePath "/usr/lib32/nvidia"
  ModulePath "/usr/lib32/nvidia/xorg/modules"
  ModulePath "/usr/lib32/xorg/modules"
  ModulePath "/usr/lib64/nvidia/xorg/modules"
  ModulePath "/usr/lib64/nvidia/xorg"
  ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
  Identifier "layout"
  Screen 1 "nvidia"
  Inactive "intel"
EndSection

Section "Device"
  Identifier "nvidia"
  Driver "nvidia"
  BusID "PCI:01:00:0"
EndSection

Section "Screen"
  Identifier "nvidia"
  Device "nvidia"
#  Option "AllowEmptyInitialConfiguration" "Yes"
#  Option "UseDisplayDevice" "none"
EndSection

Section "Device"
  Identifier "intel"
  Driver "modesetting"
  Option "AccelMethod" "none"
EndSection

Section "Screen"
  Identifier "intel"  
  Device "intel"
EndSection

Почему xorg сегфолтится?

 , nvidia-xrun,

xaTa
()

Подмена html тегов markdown на свои в django

Форум — Web-development

Добрый день ЛОР. Ткните кто нибудь носом где реализовывается подмена html кода? Допустим имея стандартную разметку markdown:

<ul>
    <li></li>
    <li></li>
</ul>

подменять ее на свою типа:

<ul class='my_ul_class'>
    <li class='my_li_class'><i class='my_i_class'></i></li>
    <li class='my_li_class'><i class='my_i_class'></i></li>
</ul>

 , ,

xaTa
()

Задача на python

Форум — Development

Доброй ночи ЛОР. Прошу помощи реализовать одну задачу:

Есть число, пускай будет 4. Нужно из числа 4 сделать 4 любых символа. Что бы 4 = 1234.

Как len(), только в обратном порядке.

Перемещено leave из talks

 

xaTa
()

Шифрование всего диска archlinux. Не могу привязать ключ.

Форум — Desktop

Добрый день ЛОР.

Сабж. При загрузке просит пароль (так и должно быть), далее в процессе загрузки initramfs не может найти ключ, и просит еще раз ввести пароль от контейнера.

В mkinitcpio.conf в разделе FILES указан путь до ключа.

 , ,

xaTa
()

Проблема с bumblebee

Форум — Desktop

Доброго веремени суток ЛОР. Проблема следующая : При запуске optirun или primusrun приложения отрисовываются через встроеную карту intel а не nvidia.

optirun -vv glxinfo | grep OpenGL
[20113.033823] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[20113.034173] [INFO]Configured driver: nvidia
[20113.055278] [DEBUG]optirun version 3.2.1-2021-01-12-Format:%h$ starting...
[20113.055318] [DEBUG]Active configuration:
[20113.055333] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[20113.055342] [DEBUG] X display: :8
[20113.055353] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/extensions/nvidia:/usr/lib64:/usr/lib
[20113.055366] [DEBUG] Socket path: /var/run/bumblebee.socket
[20113.055376] [DEBUG] Accel/display bridge: primus
[20113.055386] [DEBUG] VGL Compression: jpeg
[20113.055396] [DEBUG] VGLrun extra options: 
[20113.055409] [DEBUG] Primus LD Path: /usr/lib64/primus:/usr/lib/primus:/usr/lib64:/usr/lib
[20114.381122] [INFO]Response: Yes. X is active.

[20114.381148] [INFO]Running application using primus.
[20114.381460] [DEBUG]Process glxinfo started, PID 8251.
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 24.0.7
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.2 (Compatibility Profile) Mesa 24.0.7
OpenGL shading language version string: 4.20
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 24.0.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
[20114.493554] [DEBUG]SIGCHILD received, but wait failed with No child processes
[20114.493582] [DEBUG]Socket closed.
[20114.493618] [DEBUG]Killing all remaining processes.

Перемещено hobbit из general

 , ,

xaTa
()

kbdd для hyprland

Форум — Desktop

Привет ЛОР. Сабж. Перебрался bspwm на hyprland, теперь голову ломаю как раскладку привязать к окну.

 ,

xaTa
()

Пробросить физический usb порт в гостевую ОС virtualbox

Форум — General

Добрый день ЛОР. Сабж. Возможно ли вообще такое? Мне гостевая система нужна для прошивки окирпиченого девайса. Проброс устройств не предлагать.

 , ,

xaTa
()

Как изменить цвет фона tty?

Форум — Desktop

Добрый день лор. Сабж.

 ,

xaTa
()

Проблемы с разрешением plymouth

Форум — Desktop

Привет лор! Сабж. Готовил все по стандарту, но разрешение сплеша при загрузке слишком низкое. Ниже конфиги. Заранее благодарен.

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet rd.luks.name=da754ec6-92c5-4b59-a930-4e477bf599e7=cryptlvm root=/dev/vg0/root splash udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
 
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
#GRUB_DISABLE_OS_PROBER=false
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=()

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=()

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No RAID, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect modconf block filesystems fsck)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)
#
##   This setup assembles a mdadm array with an encrypted root file system.
##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
#    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
##   This setup loads an lvm2 volume group.
#    HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr and fsck hooks.
#HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block encrypt lvm2 filesystems fsck)
#HOOKS=(base systemd plymouth autodetect modconf kms keyboard sd-vconsole block sd-encrypt lvm2 filesystems fsck)
#HOOKS=(base udev autodetect kms modconf block keyboard keymap consolefont plymouth encrypt lvm2 filesystems fsck)
HOOKS=(base systemd plymouth autodetect modconf kms keyboard sd-vconsole block sd-encrypt lvm2 filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

# MODULES_DECOMPRESS
# Decompress kernel modules during initramfs creation.
# Enable to speedup boot process, disable to save RAM
# during early userspace. Switch (yes/no).
#MODULES_DECOMPRESS="yes"

 , ,

xaTa
()

Есть ли для linux бесплатные pdf редакторы?

Форум — General

Существуют ли такие? Без накладки логотипа при сохранении.

 

xaTa
()

Как заставить thunderbird загружать более 1000 писем по imap?

Форум — General

Сабж.

 ,

xaTa
()

polybar отсутствует команда polybar-msg

Форум — Desktop

Привет ЛОР.

Сабж. Мне нужна эта команда для того чтоб скрывать панель.

 ,

xaTa
()

bspwm убрать скругление окон

Форум — Desktop

Добрый день ЛОР.

Сабж. По умолчанию включено скругление.

 ,

xaTa
()

Какой профит от миграции с udev на eudev в gentoo?

Форум — General

Сабж.

 , ,

xaTa
()

i3lock wrong password

Форум — Desktop

Здравствуй ЛОР. Ситуация следующая: После переноса системы на другой носитель i3lock перестал принимать пароль. Пароль заведомо правильный ввожу. В debug нет ничего странного. Начитавшись форумов советуют решить это chmod +r /etc/shadow. Присвоив права чтения всем блокировщик работает адекватно, но не считаю это правильным решением. Мож у кого какие мысли будут?

 ,

xaTa
()

pcmanfm не работаетcopy --> paste

Форум — Desktop

Сабж. Ctrl+C –> Ctrl+V работает. Средсвами меню нет.

 ,

xaTa
()

Поделитесь кто нить рабочим ebuild splashutils

Форум — General

Сабж

 ,

xaTa
()

Поделитесь успешным опытом использования connman как bluetooth менеджер

Форум — Desktop

Сабж

 ,

xaTa
()

Как выпилить wayland и pipeware из archlinux?

Форум — Desktop

Сабж

 

xaTa
()

RSS подписка на новые темы