Home | News | Download | Packages | Forum | Wiki | Github

Xorg-server 1.20


#1

Just built xorg-server 1.20 locally by applying this patch https://patch-diff.githubusercontent.com/raw/voidlinux/void-packages/pull/14299.patch and tried to install it using xi xorg-server. Now I get this error message:

xf86-video-amdgpu-18.0.1_1 broken, needs 'xserver-abi-video-23_1' virtual pkg (got `xserver-abi-video-24_1')
xf86-video-ati-18.0.1_1 broken, needs 'xserver-abi-video-23_1' virtual pkg (got `xserver-abi-video-24_1')
xf86-video-dummy-0.3.8_2 broken, needs 'xserver-abi-video-23_1' virtual pkg (got `xserver-abi-video-24_1')
xf86-video-intel-2.99.917.829_1 broken, needs 'xserver-abi-video-23_1' virtual pkg (got `xserver-abi-video-24_1')
xf86-video-mga-1.6.5_2 broken, needs 'xserver-abi-video-23_1' virtual pkg (got `xserver-abi-video-24_1')
xf86-video-nouveau-1.0.15_1 broken, needs 'xserver-abi-video-23_1' virtual pkg (got `xserver-abi-video-24_1')
xf86-video-vesa-2.4.0_1 broken, needs 'xserver-abi-video-23_1' virtual pkg (got `xserver-abi-video-24_1')
xf86-video-vmware-13.2.1_2 broken, needs 'xserver-abi-video-23_1' virtual pkg (got `xserver-abi-video-24_1')
Transaction aborted due to unresolved dependencies.

I don’t understand what this means. What are virtual pkgs and how do I handle such errors?

Thanks for any explanation.


[solved] Intel video driver issue with Xorg 1.20
(maxice8 alter) #2

it means the abi has changes for the xf86-video stuff and you need to rebuilt them to get xserver-abi-video-24_1


(maxice8 alter) #3

i have updated the PR to actually include the changes to the dependencies of other packages on xserver-abi-video-24_1, it should work now.


#4

Thanks @north1 for explanation and fixing it so quick. I am impressed of how fast you are! I will just build it again and report.


#5

Okay it worked. But I have another problem when I want to use xorg-server 1.20: xrandr cant detect any displays that’s why xorg does not start … I am using xinit / sx … How can I get Xorg 1.20 get to work with my wm?


(maxice8 alter) #6

no clue, i am using bspwm and xrandr is works fine.


#7

Strange… Just tried it with bspwm too but same error.

EDIT:
Is it possible that I have to rebuild my initramfs?


#8

Seems like there is a problem with loading intel drivers:

[   183.867] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[   183.867] Build Operating System: Linux 4.16.7-zen_1 x86_64 
[   183.867] Current Operating System: Linux xps 4.16.7-zen_1 #1 ZEN SMP PREEMPT Sat May 5 04:13:06 UTC 2018 x86_64
[   183.867] Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.7-zen_1 loglevel=4 slub_debug=P page_poison=1 rw
[   183.867] Build Date: 15 May 2018  07:26:15AM
[   183.867]  
[   183.867] Current version of pixman: 0.34.0
[   183.867] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   183.867] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   183.867] (==) Log file: "/var/log/Xorg.0.log", Time: Tue May 15 12:15:03 2018
[   183.868] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   183.868] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   183.868] (==) No Layout section.  Using the first Screen section.
[   183.868] (==) No screen section available. Using defaults.
[   183.868] (**) |-->Screen "Default Screen Section" (0)
[   183.868] (**) |   |-->Monitor "<default monitor>"
[   183.868] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   183.868] (**) |   |-->Device "Intel Graphics"
[   183.868] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   183.868] (**) Option "DontZap" "false"
[   183.868] (==) Automatically adding devices
[   183.868] (==) Automatically enabling devices
[   183.868] (==) Automatically adding GPU devices
[   183.868] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   183.868] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[   183.868] 	Entry deleted from font path.
[   183.868] (==) FontPath set to:
	/usr/share/fonts/X11/misc/,
	/usr/share/fonts/X11/TTF/,
	/usr/share/fonts/X11/Type1/,
	/usr/share/fonts/X11/100dpi/,
	/usr/share/fonts/X11/75dpi/
[   183.868] (==) ModulePath set to "/usr/lib/xorg/modules"
[   183.868] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   183.868] (II) Loader magic: 0x55f3bd976040
[   183.868] (II) Module ABI versions:
[   183.868] 	X.Org ANSI C Emulation: 0.4
[   183.868] 	X.Org Video Driver: 24.0
[   183.868] 	X.Org XInput driver : 24.1
[   183.868] 	X.Org Server Extension : 10.0
[   183.868] (II) xfree86: Adding drm device (/dev/dri/card0)
[   183.879] (--) PCI:*(0@0:2:0) 8086:5917:1028:082a rev 7, Mem @ 0xdb000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[   183.879] (II) LoadModule: "glx"
[   183.879] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   183.881] (II) Module glx: vendor="X.Org Foundation"
[   183.881] 	compiled for 1.20.0, module version = 1.0.0
[   183.881] 	ABI class: X.Org Server Extension, version 10.0
[   183.881] (II) LoadModule: "intel"
[   183.881] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   183.881] (EE) Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: /usr/lib/xorg/modules/drivers/intel_drv.so: undefined symbol: vgaHWFreeHWRec
[   183.881] (EE) Failed to load module "intel" (loader failed, 0)
[   183.881] (EE) No drivers available.
[   183.881] (EE) 
Fatal server error:
[   183.881] (EE) no screens found(EE) 
[   183.881] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   183.881] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   183.881] (EE) 
[   183.882] (EE) Server terminated with error (1). Closing log file.

Can someone help me here?


(Erin) #9

Do the drivers need to be rebuilt against a specific X version? It seems to say it exists but isn’t happy!


#10

Thanks for your reply @Erin But I did already build it against xserver-abi-video-24_1 how @north1 suggested … Isn’t this enough ?


(maxice8 alter) #11

should be enough, i am using xf86-video-intel here without problems since the first day xorg-server-1.20 was released.


#12

… but isn’t how you can see on my post with the intel driver error … :frowning:


#13

Seems somebody else had the same issue about 9 months ago:
https://bugs.archlinux.org/task/55102

But I think a downgrade of my intel drivers aren’t an option … isn’t it ?


#14

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/xf86-video-intel#n51

     # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
     # With them, module fail to load with undefined symbol.
     # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
     export CFLAGS=${CFLAGS/-fno-plt}
     export CXXFLAGS=${CXXFLAGS/-fno-plt}
     export LDFLAGS=${LDFLAGS/,-z,now}

#15

Thank you @cardinal But does this mean for me?


#16

Do I just need to export the three variables before packaging xf86-video-intel package or what ?


#17

@cardinal I itried to use the same flags like in arch’s package but without success. I still get the same error.

Anybody any other idea how to fix this? I would really like to use xorg 1.20.