mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
xorg-server: add fglrx support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8fcefaae06
commit
321fd6c8b1
@ -72,6 +72,9 @@ if [ "$RUNLEVEL" = openelec ]; then
|
||||
ln -sf /usr/lib/libGL_nvidia.so.1 /var/lib/libGL.so
|
||||
ln -sf /usr/lib/xorg/modules/extensions/libglx_nvidia.so /var/lib/libglx.so
|
||||
XORG_ARGS="$XORG_ARGS -ignoreABI"
|
||||
elif [ "${xorg_driver}" = "fglrx" ]; then
|
||||
ln -sf /usr/lib/libGL_fglrx.so.1 /var/lib/libGL.so
|
||||
ln -sf /usr/lib/xorg/modules/extensions/libglx_fglrx.so /var/lib/libglx.so
|
||||
else
|
||||
ln -sf /usr/lib/libGL_mesa.so.1 /var/lib/libGL.so
|
||||
ln -sf /usr/lib/xorg/modules/extensions/libglx_mesa.so /var/lib/libglx.so
|
||||
|
@ -27,16 +27,17 @@ GOTO="end_video"
|
||||
|
||||
# check for drivers dont use the pci substem
|
||||
LABEL="subsystem_drivers"
|
||||
KERNEL=="nvidia", ENV{xorg_driver}="nvidia", GOTO="start_xorg"
|
||||
KERNEL=="fglrx_pci", ENV{xorg_driver}="fglrx", GOTO="start_xorg"
|
||||
KERNEL=="nvidia", ENV{xorg_driver}="nvidia", GOTO="start_xorg"
|
||||
GOTO="end_video"
|
||||
|
||||
# check for drivers using the pci substem
|
||||
LABEL="subsystem_pci"
|
||||
DRIVER=="i915", ENV{xorg_driver}="i915", GOTO="start_xorg"
|
||||
DRIVER=="nouveau", ENV{xorg_driver}="nouveau", GOTO="start_xorg"
|
||||
#DRIVER=="nvidia", ENV{xorg_driver}="nvidia", GOTO="start_xorg"
|
||||
DRIVER=="radeon", ENV{xorg_driver}="radeon", GOTO="start_xorg"
|
||||
DRIVER=="vmware", ENV{xorg_driver}="vmware", GOTO="start_xorg"
|
||||
DRIVER=="i915", ENV{xorg_driver}="i915", GOTO="start_xorg"
|
||||
DRIVER=="nouveau", ENV{xorg_driver}="nouveau", GOTO="start_xorg"
|
||||
#DRIVER=="nvidia", ENV{xorg_driver}="nvidia", GOTO="start_xorg"
|
||||
DRIVER=="radeon", ENV{xorg_driver}="radeon", GOTO="start_xorg"
|
||||
DRIVER=="vmware", ENV{xorg_driver}="vmware", GOTO="start_xorg"
|
||||
GOTO="end_video"
|
||||
|
||||
# start Xorg
|
||||
|
Loading…
x
Reference in New Issue
Block a user