All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11066] New: x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works
@ 2018-06-05 21:42 bugzilla at busybox.net
  2018-06-05 21:44 ` [Buildroot] [Bug 11066] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-06-05 21:42 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11066

            Bug ID: 11066
           Summary: x11r7 X11 S40xorg leads to a black screen on QEMU x86
                    but startx works
           Product: buildroot
           Version: 2018.02.1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: ciro.santilli at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

I was on 2017.08 happily doing starx manually, when I rebased to
77c47c3ff8601da2fdc8f82f84be117dd636b02c (post 2018.05) and noticed that X11
was starting automatically due to S40xorg
d83eacaaa8f17b5d573d540ca6338390fcfa0ba1

Unfortunately, the screen is then black.

However, if I manually remove S40xorg and go back to my startx method, it still
works (except the mouse doesn't move, as before, do you have a clue about that
as well?)

My precise setup is:
https://github.com/cirosantilli/buildroot/tree/77c47c3ff8601da2fdc8f82f84be117dd636b02c
which does for build:

#!/usr/bin/env bash
unset LD_LIBRARY_PATH
defconfig="${1:-qemu_x86_64_defconfig}"
outdir="output/${defconfig}"
make O="$outdir" "$defconfig"
printf "
BR2_CCACHE=y
BR2_PACKAGE_HOST_QEMU=y
BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE=n
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
BR2_PACKAGE_HOST_QEMU_VDE2=y

BR2_PACKAGE_XAPP_TWM=y
BR2_PACKAGE_XAPP_XCALC=y
BR2_PACKAGE_XAPP_XCLOCK=y
BR2_PACKAGE_XAPP_XEYES=y
BR2_PACKAGE_XAPP_XINIT=y
BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD=y
BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE=y
BR2_PACKAGE_XDRIVER_XF86_VIDEO_CIRRUS=y
BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBDEV=y
BR2_PACKAGE_XDRIVER_XF86_VIDEO_VESA=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_XTERM=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
${2:-}
" >> "${outdir}/.config"
make O="$outdir" olddefconfig
time make O="$outdir" BR2_JLEVEL="$(nproc)" HOST_QEMU_OPTS='--enable-sdl
--with-sdlabi=2.0'

run:

#!/usr/bin/env bash
outdir="${1:-output/qemu_x86_64_defconfig}"
"${outdir}/host/usr/bin/qemu-system-x86_64" \
  -M pc \
  -append 'root=/dev/vda console=ttyS0' \
  -drive file="${outdir}/images/rootfs.ext2,if=virtio,format=raw" \
  -enable-kvm \
  -kernel "${outdir}/images/bzImage" \
  -m 512 \
  -net nic,model=virtio \
  -net user,hostfwd=tcp::2222-:22 \
  -serial mon:stdio \
;

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11066] x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works
  2018-06-05 21:42 [Buildroot] [Bug 11066] New: x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works bugzilla at busybox.net
@ 2018-06-05 21:44 ` bugzilla at busybox.net
  2018-06-05 21:45 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-06-05 21:44 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11066

Ciro Santilli <ciro.santilli@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.kuhls at t-online.de

--- Comment #1 from Ciro Santilli <ciro.santilli@gmail.com> ---
If I manually do

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11066] x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works
  2018-06-05 21:42 [Buildroot] [Bug 11066] New: x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works bugzilla at busybox.net
  2018-06-05 21:44 ` [Buildroot] [Bug 11066] " bugzilla at busybox.net
@ 2018-06-05 21:45 ` bugzilla at busybox.net
  2018-06-06 14:49 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-06-05 21:45 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11066

--- Comment #2 from Ciro Santilli <ciro.santilli@gmail.com> ---
If I manually do the command that S40xorg would be doing after removing it,
i.e.:

/usr/bin/Xorg:0.0 vt01 -s 0 -noreset -allowMouseOpenFail

the screen also goes black.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11066] x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works
  2018-06-05 21:42 [Buildroot] [Bug 11066] New: x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works bugzilla at busybox.net
  2018-06-05 21:44 ` [Buildroot] [Bug 11066] " bugzilla at busybox.net
  2018-06-05 21:45 ` bugzilla at busybox.net
@ 2018-06-06 14:49 ` bugzilla at busybox.net
  2018-08-29 13:17 ` bugzilla at busybox.net
  2019-01-06 21:25 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 14:49 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11066

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |bernd.kuhls at t-online.de
                   |.org                        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11066] x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works
  2018-06-05 21:42 [Buildroot] [Bug 11066] New: x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2018-06-06 14:49 ` bugzilla at busybox.net
@ 2018-08-29 13:17 ` bugzilla at busybox.net
  2019-01-06 21:25 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-08-29 13:17 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11066

David De Grave <david.degrave@mind.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2018.02.1                   |unspecified

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11066] x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works
  2018-06-05 21:42 [Buildroot] [Bug 11066] New: x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2018-08-29 13:17 ` bugzilla at busybox.net
@ 2019-01-06 21:25 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-01-06 21:25 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11066

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 CC|                            |yann.morin.1998 at free.fr

--- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Ciro, All,

startx usually starts the X server, then a initial X client.

S40xorg only starts the server; it is up to you to provide a
later script that starts the X client you're interested in.

Regards,
Yann E. MORIN.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-06 21:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-05 21:42 [Buildroot] [Bug 11066] New: x11r7 X11 S40xorg leads to a black screen on QEMU x86 but startx works bugzilla at busybox.net
2018-06-05 21:44 ` [Buildroot] [Bug 11066] " bugzilla at busybox.net
2018-06-05 21:45 ` bugzilla at busybox.net
2018-06-06 14:49 ` bugzilla at busybox.net
2018-08-29 13:17 ` bugzilla at busybox.net
2019-01-06 21:25 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.