8000 Failed to start tutorial app on Linux · Issue #1520 · cogentcore/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Failed to start tutorial app on Linux #1520
Open
@celer

Description

@celer

Describe the bug

When trying to run the first program in the tutorial I get this error:

go run main.go
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 149 ()
Minor opcode of failed request: 4
Serial number of failed request: 239
Current serial number in output stream: 249
exit status 1

About my system:

go version go1.24.2 linux/amd64
Ubuntu 24.04.2 LTS
GPU Nvidia RTX 3090
XDG_SESSION_TYPE=x11
xorg 1:7.7+23ubuntu3 amd64 X.Org X Window System

How to reproduce

Run this program:

package main

import "cogentcore.org/core/core"

func main() {
	b := core.NewBody()
	core.NewButton(b).SetText("Hello, World!")
	b.RunMainWindow()
}

Example code

Relevant output

go run main.go 
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  149 ()
  Minor opcode of failed request:  4
  Serial number of failed request:  239
  Current serial number in output stream:  249
exit status 1

Platform

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0