RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1988922 - [RHEL9] [Hyper-V]Installation failed with: 'x or window manager startup failed' when the VM was created with GEN1
Summary: [RHEL9] [Hyper-V]Installation failed with: 'x or window manager startup faile...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: xorg-x11-server
Version: 9.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: beta
: ---
Assignee: Adam Jackson
QA Contact: xxiong
URL:
Whiteboard:
Depends On:
Blocks: 1971841 2000921 2003029
TreeView+ depends on / blocked
 
Reported: 2021-08-02 06:03 UTC by xxiong
Modified: 2022-06-13 06:14 UTC (History)
19 users (show)

Fixed In Version: xorg-x11-server-1.20.11-4.el9_b
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2000921 2003029 (view as bug list)
Environment:
Last Closed: 2021-12-07 21:18:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
screenshot when issue occurs (30.23 KB, image/png)
2021-08-02 06:03 UTC, xxiong
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-91807 0 None None None 2021-08-02 06:04:11 UTC

Description xxiong 2021-08-02 06:03:09 UTC
Created attachment 1810000 [details]
screenshot when issue occurs

Created attachment 1810000 [details]
screenshot when issue occurs

Created attachment 1810000 [details]
screenshot when issue occurs

Description of problem:

Start VM with ISO from DVD the installation will fail with: x or window manager startup failed

 
Version-Release number of selected component (if applicable):

Host: 

Hyper-V 2019


Guest: 

RHEL-9.0.0-20210729.2-x86_64-dvd1.iso

kernel-5.14.0-0.rc3.29.el9.x86_64.rpm   

xorg-x11-server-Xorg-1.20.11-2.el9.x86_64


How reproducible:

100%


Steps to Reproduce:

1. Create an new VM with GEN1 option

2. Load the RHEL ISO file on DVD

3. Start VM and check the display on console


Actual results:

1. The VM will start and failed with: x or window manager startup failed, please check the attachment for details
2. This issue only occurs on GUI installation mode, and an install successfully via text mode. 
3 Another existed bug (1983055) occur if VM was created with GEN2

https://bugzilla.redhat.com/show_bug.cgi?id=1983055

4. This issue occurs from RHEL-9.0.0-20210721.3-x86_64-dvd1.iso



Expected results:

The installation should work well on GEN1 VM

Comment 2 xxiong 2021-08-03 03:56:43 UTC
compared the two builds packages:

http://download.eng.pek2.redhat.com/rhel-9/nightly/RHEL-9-Beta/RHEL-9.0.0-20210720.1/compose/AppStream/x86_64/os/Packages/
http://download.eng.pek2.redhat.com/rhel-9/nightly/RHEL-9-Beta/RHEL-9.0.0-20210721.3/compose/AppStream/x86_64/os/Packages/

found the kernel version is different:

kernel-devel-5.13.0-1.el9.x86_64.rpm 
kernel-devel-5.14.0-0.rc2.23.el9.x86_64.rpm


and in the X.log of attachment, can found the DRM mode added which may merged by another bug: https://bugzilla.redhat.com/show_bug.cgi?id=1972122


[    83.672] (II) xfree86: Adding drm device (/dev/dri/card0)



and also see below logs in the X.log file:


[    83.864] (II) LoadModule: "modesetting"
[    83.864] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    83.885] (II) Module modesetting: vendor="X.Org Foundation"
[    83.885] 	compiled for 1.20.11, module version = 1.20.11
[    83.885] 	Module class: X.Org Video Driver
[    83.885] 	ABI class: X.Org Video Driver, version 24.1
[    83.885] (II) LoadModule: "fbdev"
[    83.885] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[    83.885] (II) Module fbdev: vendor="X.Org Foundation"
[    83.885] 	compiled for 1.20.10, module version = 0.5.0
[    83.885] 	Module class: X.Org Video Driver
[    83.885] 	ABI class: X.Org Video Driver, version 24.1
[    83.885] (II) LoadModule: "vesa"
[    83.885] (WW) Warning, couldn't open module vesa
[    83.885] (EE) Failed to load module "vesa" (module does not exist, 0)
[    83.885] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    83.885] (II) FBDEV: driver for framebuffer: fbdev
[    84.194] (WW) Falling back to old probe method for modesetting
[    84.497] (II) modeset(1): using default device
[    84.497] (II) Loading sub module "fbdevhw"
[    84.497] (II) LoadModule: "fbdevhw"
[    84.497] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    84.508] (II) Module fbdevhw: vendor="X.Org Foundation"
[    84.508] 	compiled for 1.20.11, module version = 0.0.2
[    84.508] 	ABI class: X.Org Video Driver, version 24.1
[    84.508] (EE) Unable to find a valid framebuffer device
[    84.508] (WW) Falling back to old probe method for fbdev
[    84.508] (II) Loading sub module "fbdevhw"

Comment 4 Vitaly Kuznetsov 2021-08-16 06:45:34 UTC
While the issue seems to appear with 5.14 kernel, I'm not convinced it is directly
related to Hyper-V DRM switch. In particular, it seems the driver was loaded
without issues:

10:55:54,082 INFO kernel:hv_vmbus: registering driver hyperv_drm
10:55:54,084 INFO kernel:hyperv_drm 5620e0c7-8062-4dce-aeb7-520c7ef76171: [drm] Synthvid Version major 3, minor 5
10:55:54,085 INFO kernel:hyperv_drm 0000:00:08.0: vgaarb: deactivate vga console
10:55:58,737 INFO kernel:Console: switching to colour dummy device 80x25
10:55:58,737 INFO kernel:[drm] Initialized hyperv_drm 1.0.0 2020 for 5620e0c7-8062-4dce-aeb7-520c7ef76171 on minor 0
10:55:59,053 INFO kernel:Console: switching to colour frame buffer device 128x48
10:55:59,825 INFO kernel:hyperv_drm 5620e0c7-8062-4dce-aeb7-520c7ef76171: [drm] fb0: hyperv_drm frame buffer device

Also, does the issue reproduce if you install an older compose and then upgrade
kernel package (only) to 5.14? Does GUI also fail to start?

Comment 7 Vitaly Kuznetsov 2021-08-18 08:35:45 UTC
I was able to reproduce the issue outside of the installer. Turns out it's Xorg
which refuses to work with 'hyperv_drm' driver on Gen1 instances. So to reproduce
the problem one can switch to "Standard (X11 display server)" when logging in 
(click on the users and then the small gear at bottom/right).

Note: Wayland seems to be happy with the driver but the installer uses Xorg
(by default? or is this the only option atm?).

The difference between Gen1 and Gen2 is that on Gen1 there is a corresponding
PCI device:

00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA (prog-if 00 [VGA controller])
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Kernel driver in use: hyperv_drm
	Kernel modules: hyperv_drm

and on Gen2 there is no. Maybe this makes a difference to Xorg?

Comment 14 Adam Jackson 2021-09-02 15:27:59 UTC
Do you see the same kind of failure when staring Xorg manually after installation? If so: can you run "rpm -e --nodeps xorg-x11-drv-fbdev" and then try to start Xorg again?

Comment 15 Vitaly Kuznetsov 2021-09-02 16:07:22 UTC
(In reply to Adam Jackson from comment #14)
> Do you see the same kind of failure when staring Xorg manually after
> installation?

Yes,

# X

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System:  4.18.0-193.28.1.el8_2.x86_64 
Current Operating System: Linux dhcp-8-30-139.lab.eng.rdu2.redhat.com 5.14.0-0.rc4.35.el9.x86_64 #1 SMP Tue Aug 3 13:02:44 EDT 2021 x86_64
Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-0.rc4.35.el9.x86_64 root=UUID=0712844d-faca-4bec-8123-e5daf7b239d8 ro resume=UUID=dd32ad3b-1bd9-4ae2-8f4f-fee6b6436018 console=tty0 console=ttyS0
Build Date: 22 June 2021  12:00:00AM
Build ID: xorg-x11-server 1.20.11-2.el9 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep  2 11:59:17 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.


> If so: can you run "rpm -e --nodeps xorg-x11-drv-fbdev" and
> then try to start Xorg again?

Doesn't seem to change anything,

# rpm -e --nodeps xorg-x11-drv-fbdev
# X

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System:  4.18.0-193.28.1.el8_2.x86_64 
Current Operating System: Linux dhcp-8-30-139.lab.eng.rdu2.redhat.com 5.14.0-0.rc4.35.el9.x86_64 #1 SMP Tue Aug 3 13:02:44 EDT 2021 x86_64
Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-0.rc4.35.el9.x86_64 root=UUID=0712844d-faca-4bec-8123-e5daf7b239d8 ro resume=UUID=dd32ad3b-1bd9-4ae2-8f4f-fee6b6436018 console=tty0 console=ttyS0
Build Date: 22 June 2021  12:00:00AM
Build ID: xorg-x11-server 1.20.11-2.el9 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep  2 12:01:24 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)

Comment 16 xxiong 2021-09-03 05:43:47 UTC
Thanks Vitaly,

I checked the same result:


[rhel@bootp-73-199-228 ~]$ cat log.txt 
xauth:  file /home/rhel/.serverauth.4691 does not exist


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System:  4.18.0-193.28.1.el8_2.x86_64 
Current Operating System: Linux bootp-73-199-228.lab.eng.pek2.redhat.com 5.14.0-1.el9.x86_64 #1 SMP Mon Aug 30 21:21:29 EDT 2021 x86_64
Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-1.el9.x86_64 root=/dev/mapper/rhel_bootp--73--199--228-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel_bootp--73--199--228-swap rd.lvm.lv=rhel_bootp-73-199-228/root rd.lvm.lv=rhel_bootp-73-199-228/swap rhgb quiet
Build Date: 10 August 2021  12:00:00AM
Build ID: xorg-x11-server 1.20.11-3.el9 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/rhel/.local/share/xorg/Xorg.0.log", Time: Fri Sep  3 13:37:21 2021
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/rhel/.local/share/xorg/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
[rhel@bootp-73-199-228 ~]$ rpm -e --nodeps xorg-x11-drv-fbdev
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
[rhel@bootp-73-199-228 ~]$ sudo -s

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for rhel: 
[root@bootp-73-199-228 rhel]# rpm -e --nodeps xorg-x11-drv-fbdev
[root@bootp-73-199-228 rhel]# exit
exit
[rhel@bootp-73-199-228 ~]$ cat log2.txt 
xauth:  file /home/rhel/.serverauth.33390 does not exist


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System:  4.18.0-193.28.1.el8_2.x86_64 
Current Operating System: Linux bootp-73-199-228.lab.eng.pek2.redhat.com 5.14.0-1.el9.x86_64 #1 SMP Mon Aug 30 21:21:29 EDT 2021 x86_64
Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-1.el9.x86_64 root=/dev/mapper/rhel_bootp--73--199--228-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel_bootp--73--199--228-swap rd.lvm.lv=rhel_bootp-73-199-228/root rd.lvm.lv=rhel_bootp-73-199-228/swap rhgb quiet
Build Date: 10 August 2021  12:00:00AM
Build ID: xorg-x11-server 1.20.11-3.el9 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/rhel/.local/share/xorg/Xorg.0.log", Time: Fri Sep  3 13:39:21 2021
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/rhel/.local/share/xorg/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
[rhel@bootp-73-199-228 ~]$

Comment 19 Adam Jackson 2021-09-07 14:35:05 UTC
Can you test this X server build please:

http://people.redhat.com/~jadahl/1988922/

Download these to the vm under test and install them with 'rpm -Fvh *.rpm'. This build removes the old PCI-specific device probe code, which _ought_ to be mostly unused these days but which I suspect may be causing some internal confusion during autoconfiguration.

Comment 20 Vitaly Kuznetsov 2021-09-07 15:33:31 UTC
(In reply to Adam Jackson from comment #19)
> Can you test this X server build please:
> 
> http://people.redhat.com/~jadahl/1988922/
> 

This build seems to work for me, thanks! Note: I haven't tried the
installer but I'm able to log into Xorg session. I'm attaching
Xorg.0.log in case you need it.

Comment 26 Dexuan Cui 2021-09-10 06:26:19 UTC
(In reply to Adam Jackson from comment #19)
> Can you test this X server build please:
> 
> http://people.redhat.com/~jadahl/1988922/
> 
> Download these to the vm under test and install them with 'rpm -Fvh *.rpm'.
> This build removes the old PCI-specific device probe code, which _ought_ to
> be mostly unused these days but which I suspect may be causing some internal
> confusion during autoconfiguration.

Hi Adam, this sounds like a generic bug in the upstream Xorg? 
Can you please share the changes and will you get the fix into the upstream?
It's still unclear to me why the Xorg works fine with the old "hyperv_fb" driver.

Comment 27 xxiong 2021-09-13 13:22:50 UTC
(In reply to Vitaly Kuznetsov from comment #20)
> (In reply to Adam Jackson from comment #19)
> > Can you test this X server build please:
> > 
> > http://people.redhat.com/~jadahl/1988922/
> > 
> 
> This build seems to work for me, thanks! Note: I haven't tried the
> installer but I'm able to log into Xorg session. I'm attaching
> Xorg.0.log in case you need it.

Hi Vitaly/Adam,

I also checked with these builds, and the GUI display window can launch via startx.

But I found there are some failed msg if using: startx &> first_0, as below:
-----------------------------------

xauth:  file /home/rhel/.serverauth.1369 does not exist


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System:  4.18.0-193.28.1.el8_2.x86_64 
Current Operating System: Linux bootp-73-199-228.lab.eng.pek2.redhat.com 5.14.0-1.el9.x86_64 #1 SMP Mon Aug 30 21:21:29 EDT 2021 x86_64
Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-1.el9.x86_64 root=/dev/mapper/rhel_bootp--73--199--228-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel_bootp--73--199--228-swap rd.lvm.lv=rhel_bootp-73-199-228/root rd.lvm.lv=rhel_bootp-73-199-228/swap rhgb quiet
Build Date: 02 September 2021  12:00:00AM
Build ID: xorg-x11-server 1.20.11-3.el9_b.jx1 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/rhel/.local/share/xorg/Xorg.0.log", Time: Mon Sep 13 17:01:26 2021
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open hyperv_drm: /usr/lib64/dri/hyperv_drm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri)
failed to load driver: hyperv_drm
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
-----------------------------------

And there will no fail msg if just run: startx (screenshot attached).

Thanks

Comment 29 Vitaly Kuznetsov 2021-09-13 14:00:42 UTC
(In reply to xxiong from comment #27)

> MESA-LOADER: failed to retrieve device information
> MESA-LOADER: failed to open hyperv_drm: /usr/lib64/dri/hyperv_drm_dri.so:
> cannot open shared object file: No such file or directory (search paths
> /usr/lib64/dri)
> failed to load driver: hyperv_drm

Adam certainly knows better but AFAIU these are not fatal, they just inform
that there's no specific dri driver for Hyper-V (because nobody wrote it yet).
We should be OK with it for installer purposes I guess.

Comment 30 Dexuan Cui 2021-09-14 07:42:24 UTC
(In reply to Dexuan Cui from comment #26)
> (In reply to Adam Jackson from comment #19)
> > Can you test this X server build please:
> > 
> > http://people.redhat.com/~jadahl/1988922/
> > 
> > Download these to the vm under test and install them with 'rpm -Fvh *.rpm'.
> > This build removes the old PCI-specific device probe code, which _ought_ to
> > be mostly unused these days but which I suspect may be causing some internal
> > confusion during autoconfiguration.
> 
> Hi Adam, this sounds like a generic bug in the upstream Xorg? 
> Can you please share the changes and will you get the fix into the upstream?
> It's still unclear to me why the Xorg works fine with the old "hyperv_fb"
> driver.

It would be great if we can understand why the old "hyperv_fb" driver works while the "hyperv_drm" can't.

Comment 32 Deepak Rawat 2021-09-14 17:27:02 UTC
(In reply to Dexuan Cui from comment #30)
> (In reply to Dexuan Cui from comment #26)
> > (In reply to Adam Jackson from comment #19)
> > > Can you test this X server build please:
> > > 
> > > http://people.redhat.com/~jadahl/1988922/
> > > 
> > > Download these to the vm under test and install them with 'rpm -Fvh *.rpm'.
> > > This build removes the old PCI-specific device probe code, which _ought_ to
> > > be mostly unused these days but which I suspect may be causing some internal
> > > confusion during autoconfiguration.
> > 
> > Hi Adam, this sounds like a generic bug in the upstream Xorg? 
> > Can you please share the changes and will you get the fix into the upstream?
> > It's still unclear to me why the Xorg works fine with the old "hyperv_fb"
> > driver.
> 
> It would be great if we can understand why the old "hyperv_fb" driver works
> while the "hyperv_drm" can't.


For hyperv_fb, xf86-video-fbdev DDX is used and for hyperv_drm it is xf86-video-modesetting. Possibly the bug only happen with the later.

Comment 38 Adam Jackson 2021-10-01 20:21:49 UTC
To ssh://pkgs.devel.redhat.com/rpms/xorg-x11-server
   fcb1551..1df105c  rhel-9.0.0-beta -> rhel-9.0.0-beta
Found a gating.yaml file in the repo and it is properly configured
Building xorg-x11-server-1.20.11-4.el9 for rhel-9.0.0-beta-candidate
Created task: 40090287
Task info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=40090287

Comment 44 xxiong 2021-10-08 12:23:33 UTC
Thanks Vitaly/Tomas,

I checked with compose: RHEL-9.0.0-20211006.6 (xorg-x11-server-Xorg-1.20.11-4.el9_b.x86_64):

1. the GEN1 and GEN2 GUI installation work well--PASS
2. checked GUI login with each display server option--PASS
3. check the command startx---can start GUI well, below error log display
4. check the command X---cannot start GUI, and below error log will display when client connect to the x sever----->will file another bug to trace 3,4



--------------------startx.log


[rhel@vm-198-65 ~]$ cat startx.log 
xauth:  file /home/rhel/.serverauth.49626 does not exist


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System:  4.18.0-193.28.1.el8_2.x86_64 
Current Operating System: Linux vm-198-65.lab.eng.pek2.redhat.com 5.14.0-1.6.1.el9.x86_64 #1 SMP Mon Oct 4 14:14:47 EDT 2021 x86_64
Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-1.6.1.el9.x86_64 root=/dev/mapper/rhel_vm--198--65-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel_vm--198--65-swap rd.lvm.lv=rhel_vm-198-65/root rd.lvm.lv=rhel_vm-198-65/swap rhgb quiet
Build Date: 01 October 2021  12:00:00AM
Build ID: xorg-x11-server 1.20.11-4.el9_b 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/rhel/.local/share/xorg/Xorg.0.log", Time: Fri Oct  8 11:22:18 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open hyperv_drm: /usr/lib64/dri/hyperv_drm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri)
failed to load driver: hyperv_drm
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

[rhel@vm-198-65 ~]$ 


-------------------------------X.log


[rhel@vm-198-65 ~]$ cat X.log 

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System:  4.18.0-193.28.1.el8_2.x86_64 
Current Operating System: Linux vm-198-65.lab.eng.pek2.redhat.com 5.14.0-1.6.1.el9.x86_64 #1 SMP Mon Oct 4 14:14:47 EDT 2021 x86_64
Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-1.6.1.el9.x86_64 root=/dev/mapper/rhel_vm--198--65-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel_vm--198--65-swap rd.lvm.lv=rhel_vm-198-65/root rd.lvm.lv=rhel_vm-198-65/swap rhgb quiet
Build Date: 01 October 2021  12:00:00AM
Build ID: xorg-x11-server 1.20.11-4.el9_b 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct  8 11:23:06 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open hyperv_drm: /usr/lib64/dri/hyperv_drm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri)
failed to load driver: hyperv_drm
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
(II) Server terminated successfully (0). Closing log file.

Comment 45 Vitaly Kuznetsov 2021-10-08 13:47:22 UTC
(In reply to xxiong from comment #44)

> MESA-LOADER: failed to open hyperv_drm: /usr/lib64/dri/hyperv_drm_dri.so:
> cannot open shared object file: No such file or directory (search paths
> /usr/lib64/dri)
> failed to load driver: hyperv_drm

AFAIU this 'error' just means that there's no 'hyperv_drm' dri driver written
yet. Given that our bright future is Wayland, it is unlikely that anyone would
actually want to implement this driver for Xorg. You will likely find the same
error even when Xorg is started from gdm/installer/...

Just my $0.02.

Comment 46 Tomas Pelka 2021-10-08 17:24:04 UTC
(In reply to Vitaly Kuznetsov from comment #45)
> (In reply to xxiong from comment #44)
> 
> > MESA-LOADER: failed to open hyperv_drm: /usr/lib64/dri/hyperv_drm_dri.so:
> > cannot open shared object file: No such file or directory (search paths
> > /usr/lib64/dri)
> > failed to load driver: hyperv_drm
> 
> AFAIU this 'error' just means that there's no 'hyperv_drm' dri driver written
> yet. Given that our bright future is Wayland, it is unlikely that anyone
> would
> actually want to implement this driver for Xorg. You will likely find the
> same
> error even when Xorg is started from gdm/installer/...
> 
> Just my $0.02.

Right I can second that, almost all user space graphics leaning towards modeseting including intel and nvidia.

Comment 50 Saurabh Sengar 2022-03-15 16:06:07 UTC
Can you please share these packages to reproduce this issue :
* RHEL-9.0.0-20210729.2-x86_64-dvd1.iso
* kernel-5.14.0-0.rc3.29.el9.x86_64.rpm   
* xorg-x11-server-Xorg-1.20.11-2.el9.x86_64

Comment 51 xxiong 2022-03-16 04:41:27 UTC
(In reply to Saurabh Sengar from comment #50)
> Can you please share these packages to reproduce this issue :
> * RHEL-9.0.0-20210729.2-x86_64-dvd1.iso
> * kernel-5.14.0-0.rc3.29.el9.x86_64.rpm   
> * xorg-x11-server-Xorg-1.20.11-2.el9.x86_64

Hi Saurabh,

This issue already been fixed, do you still need the old builds?  for what?

thanks

Comment 52 Saurabh Sengar 2022-03-16 04:55:36 UTC
Hi Xxiong,
We would like to reproduce the issue and fix suggested, so that we can document it for future reference.

Comment 53 xxiong 2022-03-23 07:15:15 UTC
(In reply to Saurabh Sengar from comment #52)
> Hi Xxiong,
> We would like to reproduce the issue and fix suggested, so that we can
> document it for future reference.

Hi Saurabh,

Not found the exactly same kernel, but the xorg is same (which is the issue component)

http://people.redhat.com/~yuxisun/kernel-5.14.0-0.rc2.23.el9/
http://people.redhat.com/~yuxisun/xorg-x11-server-Xorg-1.20.11-2.el9.x86_64.rpm


Thanks


Note You need to log in before you can comment on or make changes to this bug.