Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] xorg-server cannot find any symbols of its driver

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Apheus
Guru
Guru
Posts: 422
Joined: Sat Jul 12, 2008 7:16 pm

[SOLVED] xorg-server cannot find any symbols of its driver

  • Quote

Post by Apheus » Wed Jul 25, 2018 4:48 pm

Hello,

I have a gentoo virtualbox guest (Windows 10 host). Mostly stable, but virtualbox-guest-additions-5.2.16. Xorg video driver is xf86-video-vboxvideo. The setup used to work fine, but rendering has always been done by modesetting_drv. Vboxvideo_drv could never load correctly, so xorg fell back to modesetting.

I always had LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack" in make.conf.

Today I read that these can cause problems with vboxvideo_drv. The ebuild seems to add "lazy", but this is not enough without "norelro", or is it?

I configured xf86-video-vboxvideo and xorg-server with "lazy", "execstack" and "norelro". No change after remerging xf86-video-vboxvideo. The problems started after remerging xorg-server: No x session. From the Xorg.0.log (cannot paste, not at the machine right now):

Code: Select all

Failed to load /usr/lib64/xorg/modules/drivers/vboxvideo_drv.so: Undefined symbol "vgaHWFreeHWRec"
...
Failed to load /usr/lib64/xorg/modules/drivers/modesetting_drv.so: Undefined symbol "shadowRemove"
The first one has probably alway been so, but modesetting used to work.

So I thought "Get at least a working desktop again with vesa?" Nope:

Code: Select all

Failed to load /usr/lib64/xorg/modules/drivers/vesa_drv.so: Undefined symbol "VBESetModeParameters"
This is even after rolling back the LDFLAGS changes to what LDFLAGS were before, and remerging mesa, xf86-video-vesa, xf86-video-vboxvideo and xorg-server. And without LDFLAGS in make.conf at all, same remerges.

How did I do this, and how to repair? Any ideas, before I start emerge -e?

Thank you.
Last edited by Apheus on Thu Jul 26, 2018 9:18 am, edited 1 time in total.
My phrenologist says I'm stupid.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Jul 25, 2018 5:23 pm

Apheus,

I had something like this. Its because Xorg does not implement real dynamic linking and requires that its modules get loaded in the right order.
See Xorg fail to start intel_drv.so: undefined symbol: v[SOLVED]

The module list there may or may not work for you but its a starting point.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Apheus
Guru
Guru
Posts: 422
Joined: Sat Jul 12, 2008 7:16 pm

[SOLVED] xorg-server cannot find any symbols of its driver m

  • Quote

Post by Apheus » Thu Jul 26, 2018 9:17 am

Thank you NeddySeagoon, working through the error messages and modules with grep led me to this /etc/X11/xorg.conf.d/01-modules.conf:

Code: Select all

Section "Module"
	Load "vgahw"
	Load "fb"
	Load "shadowfb"
	Load "shadow"
	Load "glamoregl"
EndSection
And I have a working desktop again! Xorg chooses vboxvideo as driver. Kinfocenter, inxi and glxinfo still report mesa/llvmpipe as OpenGL provider, but maybe that is supposed to be.

LDFLAGS are as before. The conf file above is necessary. I don't know why it has not been necessary before.
My phrenologist says I'm stupid.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic