openchrome: undefined symbol: GlxSetVisualConfigs

Hallo,

I use the computer on a LG TV. In KDE-Control-Center i get the choice to set FullHD (1920x1080) and 16:9. But it does not flll the full screen as i had bevore last update. I used openchrome which was removed from config at distribution-update. I reconfigured to the old config and ran into problems.

Info:
Version: Latest Tumbleweed

/etc/X11/xorg.conf.d/10-moduls.conf:


Section "Module"
    Load    "vgahw"
    Load    "shadow"
    Load    "exa"
    Load    "glx"
    Load    "GLcore"
    Load    "v4l"
EndSection

/etc/X11/xorg.conf.d/50-device.conf:


Section "Device"
  Identifier "Default Device"
  Driver "openchrome"
EndSection

  4977.195] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
  4977.196] Current Operating System: Linux linux-8839 5.17.9-1-default #1 SMP PREEMPT Wed May 18 10:03:12 UTC 2022 (eab1a2c) x86_64
  4977.196] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.17.9-1-default root=UUID=b47c873f-5066-464e-8f6c-adaafd44f2b0 splash=silent resume=/dev/disk/by-uuid/48233453-cf2b-480f-b30a-b30ae5585c2e quiet video=vesafb:off vga=normal nomodeset
  4977.196]  
  4977.196] Current version of pixman: 0.40.0
  4977.197]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
  4977.197] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  4977.198] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun  1 14:34:56 2022
  4977.199] (==) Using config directory: "/etc/X11/xorg.conf.d"
  4977.199] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  4977.200] (==) No Layout section.  Using the first Screen section.
  4977.200] (==) No screen section available. Using defaults.
  4977.200] (**) |-->Screen "Default Screen Section" (0)
  4977.200] (**) |   |-->Monitor "<default monitor>"
  4977.201] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
  4977.201] (**) |   |-->Device "Default Device"
  4977.201] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
  4977.201] (==) Automatically adding devices
  4977.201] (==) Automatically enabling devices
  4977.201] (==) Automatically adding GPU devices
  4977.201] (==) Automatically binding GPU devices
  4977.201] (==) Max clients allowed: 512, resource mask: 0xfffff
  4977.201] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
  4977.201]     Entry deleted from font path.
  4977.201] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
  4977.201] (==) ModulePath set to "/usr/lib64/xorg/modules"
  4977.201] (WW) Ignoring unrecognized extension "XFree86-DGA"
  4977.201] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
  4977.201] (II) Loader magic: 0x556165b64ae0
  4977.202] (II) Module ABI versions:
  4977.202]     X.Org ANSI C Emulation: 0.4
  4977.202]     X.Org Video Driver: 25.2
  4977.202]     X.Org XInput driver : 24.4
  4977.202]     X.Org Server Extension : 10.0
  4977.204] (++) using VT number 1

  4977.209] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
  4977.218] (--) PCI:*(1@0:0:0) 1106:3343:1043:81ce rev 2, Mem @ 0xd8000000/67108864, 0xdd000000/16777216, BIOS @ 0x????????/131072
  4977.218] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
  4977.218] (II) LoadModule: "vgahw"
  4977.226] (II) Loading /usr/lib64/xorg/modules/libvgahw.so
  4977.237] (II) Module vgahw: vendor="X.Org Foundation"
  4977.237]     compiled for 1.21.1.3, module version = 0.1.0
  4977.237]     ABI class: X.Org Video Driver, version 25.2
  4977.237] (II) LoadModule: "shadow"
  4977.238] (II) Loading /usr/lib64/xorg/modules/libshadow.so
  4977.238] (II) Module shadow: vendor="X.Org Foundation"
  4977.238]     compiled for 1.21.1.3, module version = 1.1.0
  4977.238]     ABI class: X.Org ANSI C Emulation, version 0.4
  4977.238] (II) LoadModule: "exa"
  4977.239] (II) Loading /usr/lib64/xorg/modules/libexa.so
  4977.249] (II) Module exa: vendor="X.Org Foundation"
  4977.249]     compiled for 1.21.1.3, module version = 2.6.0
  4977.249]     ABI class: X.Org Video Driver, version 25.2
  4977.250] (II) LoadModule: "glx"
  4977.250] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
  4977.255] (II) Module glx: vendor="X.Org Foundation"
  4977.255]     compiled for 1.21.1.3, module version = 1.0.0
  4977.255]     ABI class: X.Org Server Extension, version 10.0
  4977.255] (II) LoadModule: "v4l"
  4977.256] (WW) Warning, couldn't open module v4l
  4977.256] (EE) Failed to load module "v4l" (module does not exist, 0)
  4977.256] (II) LoadModule: "openchrome"
  4977.256] (II) Loading /usr/lib64/xorg/modules/drivers/openchrome_drv.so
  4977.257] (EE) Failed to load /usr/lib64/xorg/modules/drivers/openchrome_drv.so: /usr/lib64/xorg/modules/drivers/openchrome_drv.so: undefined symbol: GlxSetVisualConfigs
  4977.257] (EE) Failed to load module "openchrome" (loader failed, 0)
  4977.257] (EE) No drivers available.
  4977.257] (EE) 
Fatal server error:
  4977.257] (EE) no screens found(EE) 
  4977.257] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
  4977.257] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
  4977.257] (EE) 
  4977.260] (EE) Server terminated with error (1). Closing log file.


I think i have to load a module because of “undefined symbol: GlxSetVisualConfigs”. But which one? Thanks for your help!

Sorry i forgot the type of the graficcard: VIA Technologies, Inc. P4M890 [S3 UniChrome Pro]

lspci:


00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/CX700/VX700-Series PCI to PCI Bridge
00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB controller: VIA Technologies, Inc. VT82xx/62xx/VX700/8x0/900 UHCI USB 1.1 Controller (rev a0)
00:10.1 USB controller: VIA Technologies, Inc. VT82xx/62xx/VX700/8x0/900 UHCI USB 1.1 Controller (rev a0)
00:10.2 USB controller: VIA Technologies, Inc. VT82xx/62xx/VX700/8x0/900 UHCI USB 1.1 Controller (rev a0)
00:10.3 USB controller: VIA Technologies, Inc. VT82xx/62xx/VX700/8x0/900 UHCI USB 1.1 Controller (rev a0)
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 EHCI-Compliant Host-Controller (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8237/8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102/VT6103 [Rhine-II] (rev 7c)
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. P4M890 [S3 UniChrome Pro] (rev 02)
03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
80:01.0 Audio device: VIA Technologies, Inc. VX900/VT8xxx High Definition Audio Controller (rev 10)

Please run the following:

sudo zypper in xdpyinfo inxi
sudo inxi -U
inxi -Ga

Please run the last command from Konsole, then copy and paste its output here.

I don’t think the forum has any regular participants using VIA graphics, so it may be tough to solve this without filing a report on Bugzilla that includes Stefan Dirsch as CC.

I took a Radeon card out of a TW PC with onboard IGP from VIA K8M800/K8N800/K8N800A [S3 UniChrome Pro] and reproduced the problem. I then emailed the openchrome maintainer, hoping he will chime in here helpfully.

Many thanks for your great efforts. I hope the maintainer can help to solve the problem. After my research “GlxSetVisualConfigs” seems to have been taken out in many other drivers because it is no longer needed.

Hi
Since the user has shadow enabled, adding the kernel boot option iomem=relaxed as per boo#1196805 and your comments in the bug report should help?

iomem=relaxed didn’t help here. It actually made X worse, 1024x768 on FBDEV instead of 1280x1024 on VESA, on a 1680x1050 display. https://paste.opensuse.org/37708569

I’m in process of composing a bug about this, but I now have to break for dinner before I can try OP’s 10-moduls.conf and latest kernel first.

I tried that kernel-boot-option. Did not change anything. To understand why i load shadow you can find the answer here: https://forums.opensuse.org/showthread.php/532940-Working-driver-for-VGA-Controller-P4M890?p=2879350#post2879350

Bug 1200183 reported:
Failed to load /usr/lib64/xorg/modules/drivers/openchrome_drv.so: /usr/lib64/xorg/modules/drivers/openchrome_drv.so: undefined symbol: [GlxSetVisualConfigs|vgaHWFreeHWRec]

Expect an available fix soon. The bug report has already been marked fixed. :slight_smile:

Thanks for your help!

I used new RPM fromhttps://software.opensuse.org//download.html?project=X11%3AXOrg&package=xf86-video-openchrome now. Works great! Thanks for your fast and professional help!

When you log out of an Xorg session, are you returned to your SDDM or LightDM login greeter? I’m getting dumped to a shell prompt on logging out.

https://www.phoronix.com/scan.php?page=news_item&px=OpenChrome-Alive-In-2022
Out-of-tree driver with 1 developer, without 3D, etc.

Openchrome may get some enhancements with kernel 5.18.
I recommend using Radeon HD 2000+ video card as bargain solution.

Sorry for the late answer. I was on holiday-stress.

Had a problem like that: http://https://forums.opensuse.org/showthread.php/530860-sddm-not-starting

I had problems with SDDM version 0.17. 0.14 works, 0.15 works and now 0.19 (latest tumbleweed) works well.