Faut écrire :
$ xrandr -s 1920x1080 # Notez le 'x' et pas le '*'
pierre estrem
Le 28/02/2024 à 18:34, Olivier a écrit :
# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minim 800x600, current 800x600, maximum 800x600
default connected primary 800x600+0+0 0mm x 0mm
800x600 75.00'
# xrandr -s 1920*1080
Size 1920*1080 not found in available modes
Est-il possible de "lancer manuellement" la fonction KMS une fois que
l'on a démarré avec i915.modesetting=0 ?
Le mer. 28 févr. 2024 à 18:16, Olivier<oza.4...@gmail.com> a écrit :
dmesg -l err
[ 0.210659] ACPI BIOS Error (bug): Could not resolve symbol
[\_SB.UBTC.RUCC], AE_NOT_FOUND (20230331/psargs-330)
[ 0.210667] ACPI Error: Aborting method
\_SB.PC00.TXHC.RHUB.SS01._PLD due to previous error (AE_NOT_FOUND)
(20230331/psparse-529)
[ 0.210697] ACPI BIOS Error (bug): Could not resolve symbol
[\_SB.UBTC.RUCC], AE_NOT_FOUND (20230331/psargs-330)
[ 0.210702] ACPI Error: Aborting method
\_SB.PC00.TXHC.RHUB.SS02._PLD due to previous error (AE_NOT_FOUND)
(20230331/psparse-529)
[ 1.074140] ACPI BIOS Error (bug): Could not resolve symbol
[\_SB.UBTC.RUCC], AE_NOT_FOUND (20230331/psargs-330)
[ 1.074182] ACPI Error: Aborting method
\_SB.PC00.TXHC.RHUB.SS01._PLD due to previous error (AE_NOT_FOUND)
(20230331/psparse-529)
[ 1.074236] ACPI BIOS Error (bug): Could not resolve symbol
[\_SB.UBTC.RUCC], AE_NOT_FOUND (20230331/psargs-330)
[ 1.074266] ACPI Error: Aborting method
\_SB.PC00.TXHC.RHUB.SS01._PLD due to previous error (AE_NOT_FOUND)
(20230331/psparse-529)
dmesg -l warn
[ 0.069946] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ 0.311681] pnp 00:02: disabling [mem 0xc0000000-0xcfffffff]
because it overlaps 0000:00:02.0 BAR 9 [mem 0x00000000-0xdfffffff
64bit pref]
[ 0.708514] hpet_acpi_add: no address or irqs in _CRS
[ 0.715962] i8042: PNP: PS/2 appears to have AUX port disabled, if
this is incorrect please boot with i8042.nopnp
[ 0.972498] i2c i2c-0: Systems with more than 4 memory slots not
supported yet, not instantiating SPD
[ 1.081026] usb: port power management may be unreliable
[ 1.174989] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is
disabled. Duplicate IMA measurements will not be recorded in the IMA
log.
[ 3.655595] thermal thermal_zone6: failed to read out thermal zone (-61)
[ 4.144718] ext2 filesystem being mounted at /boot supports
timestamps until 2038-01-19 (0x7fffffff)
[ 5.372381] kauditd_printk_skb: 15 callbacks suppressed
[ 16.139210] systemd[864]: memfd_create() called without MFD_EXEC or
MFD_NOEXEC_SEAL set
Le mer. 28 févr. 2024 à 18:05, Olivier<oza.4...@gmail.com> a écrit :
Par SSH, j'ai:
root@foo:~# ps aux|grep -i xorg
root 886 0.1 0.4 317152 78152 tty1 Sl+ 17:48 0:00
/usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/116/gdm/Xauthority
-nolisten tcp -background none -noreset -keeptty -novtswitch -verbose
3
...
root@foo:~# DISPLAY=:0.0 xrandr
Authorization required, but no authorization protocol specified
Can't open display :0.0
Comment résoudre ?
Le mer. 28 févr. 2024 à 14:23, Sébastien NOBILI
<s-liste-debian-user-fre...@pipoprods.org> a écrit :
Bonjour,
Le 2024-02-27 18:08, Olivier a écrit :
Comment utiliser xrandr par SSH ? Faut-il se connecter en tant que
root ou simple utilisateur ?
Il faut être connecté avec le compte qui fait tourner la session Xorg
(sinon on peut passer par `xhost` mais c'est à éviter).
Il faudra aussi déclarer la variable `DISPLAY` :
```
export DISPLAY=:0.0
```
Sébastien