NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/58946: setxkbmap -query fails with RANDR/RRGetOutputInfo error



>Number:         58946
>Category:       xsrc
>Synopsis:       setxkbmap -query fails with RANDR/RRGetOutputInfo error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 30 09:25:00 +0000 2024
>Originator:     scole
>Release:        10.1_STABLE
>Organization:
none
>Environment:
NetBSD axel 10.1_STABLE NetBSD 10.1_STABLE (GENERIC) #0: Sat Dec 21 13:10:18 +07 2024  scole@axel:/home/scole/nbsd/cvs/10/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
   setxkbmap -query

is failing with this error:

 X Error of failed request:  BadRROutput (invalid Output parameter)
  Major opcode of failed request:  141 (RANDR)
  Minor opcode of failed request:  9 (RRGetOutputInfo)
  Serial number of failed request:  12
  Current serial number in output stream:  12

I originally posted this issue here:
   https://mail-index.netbsd.org/tech-x11/2024/12/22/msg002507.html

>How-To-Repeat:
run "setxkbmap -query" (before any xrandr has been run?)
>Fix:
Apparently, there is a fix in HEAD for setxkbmap.c, version 1.3.4  which hasn't made it to 10.1 yet:
   https://mail-index.netbsd.org/tech-x11/2024/12/30/msg002508.html
(which I think is CVS version 1.1.1.8)

A workaround is to run
   'xrandr >/dev/null'
before the setxkbmap command.

Thank you to RVP for information and work around



Home | Main Index | Thread Index | Old Index