Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No arranca XORG en portátil HP Elitebook 640 G9
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
2uncas
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 287
Location: Cogolludo (Guadalajara)

PostPosted: Tue Jan 17, 2023 6:07 pm    Post subject: No arranca XORG en portátil HP Elitebook 640 G9 Reply with quote

Hola

Escribo para ver si pueden ayudarme, ya no se por donde mirar a configurar el entrono gráfico de un nuevo portátil HP Elitebook 640 G9. Estoy pensando casi en tirar la toalla
.
La tarjeta gráfica del portatil es intel

Quote:
lspci | grep -Ei "VGA|AGP|3D"
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP3 GT2 [UHD Graphics] (rev 0c)


El kernel está configurado manualmente, he seguido la guía https://wiki.gentoo.org/wiki/Intel#Kernel para configurar la tarjeta gráfica

Las opciones configuradas son:

Quote:
Controladores de dispositivos --->
Soporte de gráficos --->
<*> /dev/agpgart (Soporte AGP) --->
--- /dev/agpgart (Soporte AGP)
-*- Compatibilidad con conjuntos de chips Intel 440LX/BX/GX, I8xx y E7x05
<*> Direct Rendering Manager (XFree86 4.1.0 y soporte DRI superior) --->
--- Direct Rendering Manager (XFree86 4.1.0 y soporte DRI superior)
[*] Habilite el soporte heredado de fbdev para su controlador de configuración de modo
<*> Gráficos Intel 8xx/9xx/G3x/G4x/HD
[ ] Habilite el soporte de calidad alfa para el nuevo hardware de Intel de forma predeterminada
() Controlador de sonda de fuerza para el nuevo hardware Intel seleccionado
[*] Habilitar la captura del estado de la GPU después de un bloqueo
[*] Comprimir estado de error de GPU
[*] Habilitar siempre la compatibilidad con userptr
[ ] Habilitar la compatibilidad con host de virtualización de gráficos Intel GVT-g


Make.conf tiene
Quote:
VIDEO_CARDS="intel"
VIDEO_DRIVERS="intel"
INPUT_DEVICES="evdev synaptics"


Una vez compilado el kernel genero una imagen initramfs con dracut
Quote:
dracut --kver=5.15.80-gentoo-x86_64 --force


y el fichero grub
Quote:
grub-mkconfig -o /boot/grub/grub.cfg


El error que da al iniciar startx es
Quote:

localhost /usr/src/linux # cat /home/xxxxx/.local/share/xorg/Xorg.0.log
[ 4437.701]
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
[ 4437.702] Current Operating System: Linux localhost.localdomain 5.15.80-gentoo-x86_64 #10 SMP Mon Jan 16 18:42:48 CET 2023 x86_64
[ 4437.702] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.80-gentoo-x86_64 root=UUID=fdbc8f0f-5711-409b-ac21-2e2e054b3a72 ro
[ 4437.703]
[ 4437.703] Current version of pixman: 0.42.2
[ 4437.704] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4437.704] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4437.705] (==) Log file: "/home/jrabadan/.local/share/xorg/Xorg.0.log", Time: Tue Jan 17 19:01:11 2023
[ 4437.705] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 4437.706] Parse error on line 1 of section InputClass in file /usr/share/X11/xorg.conf.d/20-intel.conf
"Seccion" is not a valid keyword in this section.
[ 4437.706] (EE) Problem parsing the config file
[ 4437.706] (EE) Error parsing the config file
[ 4437.706] (EE)
Fatal server error:
[ 4437.707] (EE) no screens found(EE)
[ 4437.707] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 4437.708] (EE) Please also check the log file at "/home/xxx/.local/share/xorg/Xorg.0.log" for additional information.
[ 4437.709] (EE)
[ 4437.709] (EE) Server terminated with error (1). Closing log file.


Uno de los ficheros de configración tiene
Quote:
Seccion "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
# Option "DRI" "iris"
EndSection


No se si generando un kernel mediante genkernel se podría solucionar

De antemano agradezco su ayuda
Saludos.
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1540

PostPosted: Wed Jan 18, 2023 12:10 am    Post subject: Re: No arranca XORG en portátil HP Elitebook 640 G9 Reply with quote

2uncas wrote:
...
[ 4437.706] Parse error on line 1 of section InputClass in file /usr/share/X11/xorg.conf.d/20-intel.conf
"Seccion" is not a valid keyword in this section.
...
Prueba a cambiar "Seccion" por "Section".

También podrías comprobar que tienes instalado sys-kernel/linux-firmware.
Back to top
View user's profile Send private message
2uncas
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 287
Location: Cogolludo (Guadalajara)

PostPosted: Wed Jan 18, 2023 4:06 pm    Post subject: Reply with quote

Hola

Si está instalado sys-kernel/linux-firmware
Quote:

sys-kernel/linux-firmware
Latest version available: 20221214
Latest version installed: 20221214
Size of files: 290.433 KiB
Homepage: https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
Description: Linux firmware files
License: GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 ) redistributable? ( linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) ) unknown-license? ( all-rights-reserved )

He corregido lo de Seccion por Section pero sigue dando el mismo error

Gracias por la ayuda
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1540

PostPosted: Wed Jan 18, 2023 6:19 pm    Post subject: Reply with quote

¿Qué dice
Code:
cat ~/.local/share/xorg/Xorg.0.log
?
Back to top
View user's profile Send private message
2uncas
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 287
Location: Cogolludo (Guadalajara)

PostPosted: Wed Jan 18, 2023 9:37 pm    Post subject: Reply with quote

Hola

cat ~/.local/share/xorg/Xorg.0.log :

Quote:

X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
[ 127.863] Current Operating System: Linux localhost.localdomain 5.15.80-gentoo-x86_64 #10 SMP Mon Jan 16 18:42:48 CET 2023 x86_64
[ 127.863] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.80-gentoo-x86_64 root=UUID=fdbc8f0f-5711-409b-ac21-2e2e054b3a72 ro
[ 127.863]
[ 127.864] Current version of pixman: 0.42.2
[ 127.864] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 127.864] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 127.866] (==) Log file: "/home/xxxx/.local/share/xorg/Xorg.0.log", Time: Wed Jan 18 16:42:48 2023
[ 127.866] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 127.866] (==) No Layout section. Using the first Screen section.
[ 127.866] (==) No screen section available. Using defaults.
[ 127.866] (**) |-->Screen "Default Screen Section" (0)
[ 127.866] (**) | |-->Monitor "<default monitor>"
[ 127.866] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 127.866] (**) | |-->Device "Intel Graphics"
[ 127.866] (**) | |-->GPUDevice "intel"
[ 127.866] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 127.866] (==) Automatically adding devices
[ 127.867] (==) Automatically enabling devices
[ 127.867] (==) Automatically adding GPU devices
[ 127.867] (==) Automatically binding GPU devices
[ 127.867] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 127.867] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 127.867] Entry deleted from font path.
[ 127.867] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 127.867] Entry deleted from font path.
[ 127.867] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 127.867] Entry deleted from font path.
[ 127.867] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 127.867] Entry deleted from font path.
[ 127.867] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 127.867] Entry deleted from font path.
[ 127.867] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 127.867] Entry deleted from font path.
[ 127.867] (==) FontPath set to:

[ 127.867] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 127.867] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 127.867] (II) Module ABI versions:
[ 127.867] X.Org ANSI C Emulation: 0.4
[ 127.867] X.Org Video Driver: 25.2
[ 127.867] X.Org XInput driver : 24.4
[ 127.867] X.Org Server Extension : 10.0
[ 127.867] (++) using VT number 1

[ 127.869] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 127.870] (--) PCI:*(0@0:2:0) 8086:4628:103c:897b rev 12, Mem @ 0x601c000000/16777216, 0x4000000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 127.870] (II) LoadModule: "glx"
[ 127.871] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 127.871] (II) Module glx: vendor="X.Org Foundation"
[ 127.871] compiled for 1.21.1.6, module version = 1.0.0
[ 127.871] ABI class: X.Org Server Extension, version 10.0
[ 127.871] (II) LoadModule: "intel"
[ 127.871] (WW) Warning, couldn't open module intel
[ 127.871] (EE) Failed to load module "intel" (module does not exist, 0)
[ 127.871] (EE) No drivers available.
[ 127.871] (EE)
Fatal server error:
[ 127.871] (EE) no screens found(EE)
[ 127.871] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 127.871] (EE) Please also check the log file at "/home/xxxx/.local/share/xorg/Xorg.0.log" for additional information.
[ 127.871] (EE)
[ 127.877] (EE) Server terminated with error (1). Closing log file.


Parece un problema del driver intel, pero no se como aladirlo, si por el kernel o por el firmware...
Gracias.
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1540

PostPosted: Wed Jan 18, 2023 10:36 pm    Post subject: Reply with quote

Prueba a eliminar o mover el archivo 20-intel.conf del directorio /usr/share/X11/xorg.conf.d/ para que xorg no lo tenga en cuenta.
Back to top
View user's profile Send private message
2uncas
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 287
Location: Cogolludo (Guadalajara)

PostPosted: Wed Jan 18, 2023 11:20 pm    Post subject: Reply with quote

Hola
Despues de borrar

Quote:

X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
[ 109.701] Current Operating System: Linux localhost.localdomain 5.15.80-gentoo-x86_64 #10 SMP Mon Jan 16 18:42:48 CET 2023 x86_64
[ 109.701] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.80-gentoo-x86_64 root=UUID=fdbc8f0f-5711-409b-ac21-2e2e054b3a72 ro
[ 109.703]
[ 109.704] Current version of pixman: 0.42.2
[ 109.705] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 109.705] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 109.707] (==) Log file: "/home/xxxx/.local/share/xorg/Xorg.0.log", Time: Thu Jan 19 00:09:04 2023
[ 109.709] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 109.709] (==) No Layout section. Using the first Screen section.
[ 109.709] (==) No screen section available. Using defaults.
[ 109.709] (**) |-->Screen "Default Screen Section" (0)
[ 109.709] (**) | |-->Monitor "<default monitor>"
[ 109.709] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 109.709] (==) Automatically adding devices
[ 109.709] (==) Automatically enabling devices
[ 109.709] (==) Automatically adding GPU devices
[ 109.709] (==) Automatically binding GPU devices
[ 109.709] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 109.710] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 109.710] Entry deleted from font path.
[ 109.710] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 109.710] Entry deleted from font path.
[ 109.710] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 109.710] Entry deleted from font path.
[ 109.710] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 109.710] Entry deleted from font path.
[ 109.710] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 109.710] Entry deleted from font path.
[ 109.710] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 109.710] Entry deleted from font path.
[ 109.710] (==) FontPath set to:

[ 109.710] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 109.710] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 109.710] (II) Module ABI versions:
[ 109.710] X.Org ANSI C Emulation: 0.4
[ 109.710] X.Org Video Driver: 25.2
[ 109.710] X.Org XInput driver : 24.4
[ 109.710] X.Org Server Extension : 10.0
[ 109.711] (++) using VT number 1

[ 109.713] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 109.714] (--) PCI:*(0@0:2:0) 8086:4628:103c:897b rev 12, Mem @ 0x601c000000/16777216, 0x4000000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 109.714] (II) LoadModule: "glx"
[ 109.717] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 109.720] (II) Module glx: vendor="X.Org Foundation"
[ 109.720] compiled for 1.21.1.6, module version = 1.0.0
[ 109.720] ABI class: X.Org Server Extension, version 10.0
[ 109.720] (==) Matched intel as autoconfigured driver 0
[ 109.720] (==) Matched modesetting as autoconfigured driver 1
[ 109.720] (==) Matched fbdev as autoconfigured driver 2
[ 109.720] (==) Matched vesa as autoconfigured driver 3
[ 109.720] (==) Assigned the driver to the xf86ConfigLayout
[ 109.720] (II) LoadModule: "intel"
[ 109.720] (WW) Warning, couldn't open module intel
[ 109.720] (EE) Failed to load module "intel" (module does not exist, 0)
[ 109.720] (II) LoadModule: "modesetting"
[ 109.720] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 109.722] (II) Module modesetting: vendor="X.Org Foundation"
[ 109.722] compiled for 1.21.1.6, module version = 1.21.1
[ 109.722] Module class: X.Org Video Driver
[ 109.722] ABI class: X.Org Video Driver, version 25.2
[ 109.722] (II) LoadModule: "fbdev"
[ 109.722] (WW) Warning, couldn't open module fbdev
[ 109.722] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 109.722] (II) LoadModule: "vesa"
[ 109.722] (WW) Warning, couldn't open module vesa
[ 109.722] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 109.722] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 109.722] (EE) open /dev/dri/card0: No such file or directory
[ 109.722] (WW) Falling back to old probe method for modesetting
[ 109.722] (EE) open /dev/dri/card0: No such file or directory
[ 109.722] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 109.722] (EE) Screen 0 deleted because of no matching config section.
[ 109.722] (II) UnloadModule: "modesetting"
[ 109.722] (EE) Device(s) detected, but none match those in the config file.
[ 109.722] (EE)
Fatal server error:
[ 109.722] (EE) no screens found(EE)
[ 109.722] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 109.722] (EE) Please also check the log file at "/home/xxxx/.local/share/xorg/Xorg.0.log" for additional information.
[ 109.722] (EE)
[ 109.725] (EE) Server terminated with error (1). Closing log file.
xxx /home/xx #


Y gracias
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1540

PostPosted: Thu Jan 19, 2023 12:46 am    Post subject: Reply with quote

2uncas wrote:
...
[ 109.722] (EE) open /dev/dri/card0: No such file or directory
...

¿Existe /dev/dri/card0 en tu sistema?
¿Qué permisos tiene tu usuario sobre él?
Code:
getfacl /dev/dri/card0 | grep $USER
Back to top
View user's profile Send private message
chrootman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2020
Posts: 95

PostPosted: Thu Jan 19, 2023 5:20 am    Post subject: Reply with quote

Probablemente es por el kernel 5.15

fresh-install-on-alder-lake-not-using-intel-gpu
Intel 9900K UHD 630 for Xorg results with "No screens detect
https://forums.gentoo.org/viewtopic-p-8751238.html?sid=5b75341134a16cc26a74b5a3f943379d
Back to top
View user's profile Send private message
2uncas
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 287
Location: Cogolludo (Guadalajara)

PostPosted: Thu Jan 19, 2023 8:47 am    Post subject: Reply with quote

Hola

No existe /dev/dri/card0 .
Tengo el kernel 5.15 Voy a probar con uno diferente
Muchas gracias
Back to top
View user's profile Send private message
2uncas
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 287
Location: Cogolludo (Guadalajara)

PostPosted: Thu Jan 19, 2023 10:36 pm    Post subject: Reply with quote

Hola
He instalando el kernel linux-5.4.228-gentoo y linux-5.10.163-gentoo y el resultado es el mismo. He probado borrando y dejanto los ficheros 20-inte.conf y intel.conf de /usr/share/X11/xorg.conf.d/

El fichero de error Xorg.0.log es el siguiente:

Quote:

X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
[ 227.664] Current Operating System: Linux localhost.localdomain 5.4.228-gentoo-x86_64 #1 SMP Thu Jan 19 20:52:16 CET 2023 x86_64
[ 227.664] Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.228-gentoo-x86_64 root=UUID=fdbc8f0f-5711-409b-ac21-2e2e054b3a72 ro
[ 227.664]
[ 227.665] Current version of pixman: 0.42.2
[ 227.665] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 227.665] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 227.667] (==) Log file: "/home/jrabadan/.local/share/xorg/Xorg.0.log", Time: Thu Jan 19 23:10:57 2023
[ 227.667] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 227.667] (==) No Layout section. Using the first Screen section.
[ 227.667] (==) No screen section available. Using defaults.
[ 227.667] (**) |-->Screen "Default Screen Section" (0)
[ 227.667] (**) | |-->Monitor "<default monitor>"
[ 227.667] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 227.667] (**) | |-->Device "Intel"
[ 227.667] (**) | |-->GPUDevice "intel"
[ 227.667] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 227.667] (==) Automatically adding devices
[ 227.667] (==) Automatically enabling devices
[ 227.667] (==) Automatically adding GPU devices
[ 227.667] (==) Automatically binding GPU devices
[ 227.667] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 227.667] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 227.667] Entry deleted from font path.
[ 227.667] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 227.667] Entry deleted from font path.
[ 227.667] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 227.667] Entry deleted from font path.
[ 227.667] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 227.667] Entry deleted from font path.
[ 227.667] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 227.667] Entry deleted from font path.
[ 227.667] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 227.667] Entry deleted from font path.
[ 227.667] (==) FontPath set to:

[ 227.667] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 227.667] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 227.667] (II) Module ABI versions:
[ 227.667] X.Org ANSI C Emulation: 0.4
[ 227.667] X.Org Video Driver: 25.2
[ 227.667] X.Org XInput driver : 24.4
[ 227.667] X.Org Server Extension : 10.0
[ 227.668] (++) using VT number 1

[ 227.671] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 227.673] (--) PCI:*(0@0:2:0) 8086:4628:103c:897b rev 12, Mem @ 0x601c000000/16777216, 0x4000000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 227.673] (II) LoadModule: "glx"
[ 227.673] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 227.674] (II) Module glx: vendor="X.Org Foundation"
[ 227.674] compiled for 1.21.1.6, module version = 1.0.0
[ 227.674] ABI class: X.Org Server Extension, version 10.0
[ 227.674] (II) LoadModule: "intel"
[ 227.674] (WW) Warning, couldn't open module intel
[ 227.674] (EE) Failed to load module "intel" (module does not exist, 0)
[ 227.674] (EE) No drivers available.
[ 227.674] (EE)
Fatal server error:
[ 227.674] (EE) no screens found(EE)
[ 227.674] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 227.674] (EE) Please also check the log file at "/home/jrabadan/.local/share/xorg/Xorg.0.log" for additional information.
[ 227.674] (EE)
[ 227.681] (EE) Server terminated with error (1). Closing log file.



Os agradezco la ayuda
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1540

PostPosted: Fri Jan 20, 2023 12:24 am    Post subject: Reply with quote

¿Qué dice
Code:
cat /usr/src/linux/.config | grep DRM_
?
Elimina o mueve los archivos .conf que tengas en /usr/share/X11/xorg.conf.d/ y que hagan referencia al driver intel.
Back to top
View user's profile Send private message
chrootman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2020
Posts: 95

PostPosted: Fri Jan 20, 2023 6:07 am    Post subject: Reply with quote

Por qué seleccionaste uno tan antiguo? Se supone que debería ser uno superior, pero por lo que leí dice que si está soportada desde la 5.14 experimental y estable en 5.17! Es la UHD no Iris!
Code:
eselect kernel list
Available kernel symlink targets:
  [1]   linux-5.17.6-gentoo
  [2]   linux-5.19.11-gentoo
  [3]   linux-5.19.16-liquorix
  [4]   linux-6.0.12-zen *

Como indica quilosaq en /usr/src/linux/.config deberías tener algo como:
Code:
CONFIG_DRM=y
CONFIG_DRM_I915=y
CONFIG_PCI=y
CONFIG_SND=y
CONFIG_SND_HDA_CORE=y

Code:
vendor: 8086 ("Intel Corporation"), device: 4628 ("Alder Lake-UP3 GT2 [UHD Graphics]"), class: 03 ("Display controller")
 Symbol: DRM_I915 [=y]                                                   │ 
  │ Type  : tristate                                                        │ 
  │ Defined at drivers/gpu/drm/i915/Kconfig:2                               │ 
  │   Prompt: Intel 8xx/9xx/G3x/G4x/HD Graphics                             │ 
  │   Depends on: HAS_IOMEM [=y] && DRM [=y] && X86 [=y] && PCI [=y] && !PR │ 
  │   Location:                                                             │ 
  │     Main menu                                                           │ 
  │       -> Device Drivers                                                 │ 
  │ (1)     -> Graphics support           
      │ │    <*> Intel 8xx/9xx/G3x/G4x/HD Graphics                            │ │ 
                                 │ 
  │ Selects: INTEL_GTT [=y] && INTERVAL_TREE [=y] && SHMEM [=y] && TMPFS [= │    │         

Code:
CONFIG_PCI 
  ┌──────────────────────────── Search Results ─────────────────────────────┐
  │ Symbol: PCI [=y]                                                        │ 
  │ Type  : bool                                                            │ 
  │ Defined at drivers/pci/Kconfig:16                                       │ 
  │   Prompt: PCI support                                                   │ 
  │   Depends on: HAVE_PCI [=y]                                             │ 
  │   Location:                                                             │ 
  │     Main menu                                                           │ 
  │ (1)   -> Device Drivers   
        │ │    [*] PCI support  --->                                            │ │ 
                                                 │ 
  │ Selected by [n]:                                                        │ 
  │   - FORCE_PCI [=n]   

Code:
  ┌──────────────────────────── Search Results ─────────────────────────────┐
  │ Symbol: SND_HDA_I915 [=y]                                               │ 
  │ Type  : bool                                                            │ 
  │ Defined at sound/hda/Kconfig:15                                         │ 
  │   Depends on: SOUND [=y] && !UML && SND [=y]                            │ 
  │ Selects: SND_HDA_COMPONENT [=y]                                         │ 
  │ Selected by [y]:                                                        │ 
  │   - DRM_I915 [=y] && HAS_IOMEM [=y] && DRM [=y] && X86 [=y] && PCI [=y]

En cambio en el caso de que uses dracut y usas un kernel dist quizás tiene que ver con
https://wiki.gentoo.org/wiki/Intel#Enable_early_KMS
Tienes que añadir add_drivers+="... i915 ..."
Back to top
View user's profile Send private message
2uncas
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 287
Location: Cogolludo (Guadalajara)

PostPosted: Sat Jan 21, 2023 4:46 pm    Post subject: Reply with quote

Hola

Ya he conseguido levantar el entorno gráfico. La solución ha sido un poco chapucera y no acabo de entenderla. He instalado Ubuntu para ver como configuraba los ficheros de /usr/share/X11/xorg.conf.d, y me ha sorprendido ver que detectase la gráfica como radeon y no como Intel.

Quote:

localhost /usr/share/X11/xorg.conf.d #

cat 10-radeon.conf
Section "OutputClass"
Identifier "Radeon"
MatchDriver "radeon"
Driver "radeon"
EndSectionlocalhost

cat 10-amdgpu.conf
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection


La gráfica que detecta Gentoo es una intel con el driver i915 en uso. En Ubuntu también detectaba esta misma gráfica aunque configuraba los ficheros como he indicado arriba.
Quote:

localhost ~ # lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP3 GT2 [UHD Graphics] (rev 0c)
DeviceName: Onboard IGD
Subsystem: Hewlett-Packard Company Alder Lake-UP3 GT2 [UHD Graphics]
Kernel driver in use: i915
localhost ~ #



Además, he puesto el kernel linux-6.1.7-gentoo configurando las misma opciones del kernel de Ubuntu referentes a Radeon y he cambiado los siguintes que no estaban como modulos,.

Quote:

CONFIG_DRM=m
CONFIG_DRM_I915=m
CONFIG_PCI=y
CONFIG_SND=m
CONFIG_SND_HDA_CORE=m


No he cambiado los valores de make.conf y no se si dejarlo como intel
Quote:

ALSA_CARDS="intel"
VIDEO_CARDS="intel"
VIDEO_DRIVERS="intel"


Un saludo y gracias
Back to top
View user's profile Send private message
2uncas
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 287
Location: Cogolludo (Guadalajara)

PostPosted: Mon Jan 30, 2023 2:58 pm    Post subject: No arranca XORG en portátil HP Elitebook 640 G9 [solved] Reply with quote

Hola
Al final he eliminado la instalación y he instalado de nuevo y ha funcionado el entorno gráfico sin problemas y sin crear ficheros "raros" indicando que tengo un tarjeta inexistente en el equipo. He instalado el kernel zen-sources.
Muchas gracias
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum