Re: Passer en 1920x1080 une machine démarrant avec i915.modeset=0 ?

2024-02-28 Par sujet ajh-valmer
On Wednesday 28 February 2024 21:29:38 Pierre ESTREm wrote:
> Faut écrire :
> $ xrandr -s 1920x1080 # Notez le 'x' et pas le '*' :

Pour moi, c'est le pilote vidéo qui n'est plus correctement installé.
Résolvons le problèmes dans le bon ordre.



Re: Passer en 1920x1080 une machine démarrant avec i915.modeset=0 ?

2024-02-28 Par sujet Pierre ESTREm

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  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 0xc000-0xcfff]
because it overlaps :00:02.0 BAR 9 [mem 0x-0xdfff
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 (0x7fff)
[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  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
  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





Re: Passer en 1920x1080 une machine démarrant avec i915.modeset=0 ?

2024-02-28 Par sujet didier gaumet

Bonjour,

je ne suis pas forcément très au courant concernant ce genre de 
problème, mais à la louche (je peux me tromper) ça ressemble plus à une 
problème dé récupération des caractéristiques EDID (dont la résolution) 
de l'écran qu'à un problème de pilote ou de serveur X/Wayland.


Ton écran a l'air reconnu comme un truc basique SVGA (800x600 au format 
4/3 alors que les moniteurs récents au format 4/3 me paraissent très 
rares voire inexistants).


ça peut arriver quand on utilise un câble VGA au lieu d'un truc moderne 
du genre câble HDMI ou DVI (à cause de la reconversion en analogique, je 
pense): dans ce cas passer à un câble HDMI ou DVI
ça peut arriver aussi quand l'écran en question n'annonce pas 
correctement ses caractéristiques EDID. Il y a un article sur wiki 
archlinux qui te permettra peut-être de spécifier la résolution native 
correcte de ton écran (au besoin regarder les spécifications techniques 
du modèle concerné):

https://wiki.archlinux.org/title/Kernel_mode_setting#Forcing_modes_and_EDID

Une fois le problème résolu, repasser en mode KMS (supprimer les options 
nomodeset ou modeset=0), les pilotes modernes en ont besoin




Re: Passer en 1920x1080 une machine démarrant avec i915.modeset=0 ?

2024-02-28 Par sujet Olivier
# 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  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 0xc000-0xcfff]
> because it overlaps :00:02.0 BAR 9 [mem 0x-0xdfff
> 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 (0x7fff)
> [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  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
> >  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
> > >



Re: Passer en 1920x1080 une machine démarrant avec i915.modeset=0 ?

2024-02-28 Par sujet Olivier
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 0xc000-0xcfff]
because it overlaps :00:02.0 BAR 9 [mem 0x-0xdfff
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 (0x7fff)
[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  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
>  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
> >



Re: Passer en 1920x1080 une machine démarrant avec i915.modeset=0 ?

2024-02-28 Par sujet Olivier
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
 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
>



Re: Passer en 1920x1080 une machine démarrant avec i915.modeset=0 ?

2024-02-28 Par sujet Sébastien NOBILI

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



Resolu: Boot USB Potable Asus K551L

2024-02-28 Par sujet Informatique BILLARD

Il y a une autre option dans le boot pour activer le boot usb.

Cordialement

Le 28/02/2024 à 11:43, Informatique BILLARD a écrit :

Bonjour

je souhaite au minimum tester linux en lice sur ce portable et je 
n'arrive pas à sélectionner l'usb comme source de boot.


J'ai pris une version live de Linux Mate basée sur debian LMDE copiée 
sur une clé avec dd ifof


Sur le portable j'ai désactivé SECURE BOOT et activé Launch CSM

Mais dans le  boot option priority je ne vois pas le support USB.

Au redémarrage du PC j'appui sur F2 ce qui me permet de sélectionner 
le point de démarrage et n'apparait que windows ou le DVD.


Merci par avance.

cordialement

François-Marie





Boot USB Potable Asus K551L

2024-02-28 Par sujet Informatique BILLARD

Bonjour

je souhaite au minimum tester linux en lice sur ce portable et je 
n'arrive pas à sélectionner l'usb comme source de boot.


J'ai pris une version live de Linux Mate basée sur debian LMDE copiée 
sur une clé avec dd ifof


Sur le portable j'ai désactivé SECURE BOOT et activé Launch CSM

Mais dans le  boot option priority je ne vois pas le support USB.

Au redémarrage du PC j'appui sur F2 ce qui me permet de sélectionner le 
point de démarrage et n'apparait que windows ou le DVD.


Merci par avance.

cordialement

François-Marie