LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-09-2015, 06:30 PM   #1
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,308

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
slackware current xorg 1.16.4 have --enable-glamour ?


I have several problems with r9 290x crossfire , and try options to find solution

recompiling mesa , libdrm , llvm , recompiling radeon driver , no such effect


but now see the source of xorg package y see the config no have enable glamour .. need by some latest amd cards.


Is this correct ?
Not enabled ?

Here de slackbuild config ... no enabled glamour


http://slackware.mirrors.tds.net/pub...re/xorg-server


why ?
or im confused ?


_______________________________________

Info added ..im not confused NO HAVE EXPLICIT ENABLED GLAMOR

stock config taken to current ftp

http://oi59.tinypic.com/29z90n7.jpg


afetr add --enable-glamor to xorg config

http://oi61.tinypic.com/16m2hr5.jpg


At last point , think need recompile xf86-video-ati , por add --enable-glamor to config

i cant test now , i test this some hours later.

Last edited by USUARIONUEVO; 07-09-2015 at 06:56 PM.
 
Old 07-10-2015, 01:23 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Currently glamor acceleration in some chipsets is still problematic and the library changed from libglamor to libepoxy. By next update we should probably see some changes, but if you need glamor, SBo has libepoxy and x can be rebuild with support for it easily, and I have some experimental mesa drivers in SlackWorks also.
 
Old 07-10-2015, 01:52 AM   #3
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,308

Original Poster
Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
i have now , all stock drivers Works , ... and only radeon driver have glamor enabled.

archlinux enable glamor
https://projects.archlinux.org/svnto...xf86-video-ati

Linux from scratch
http://www.linuxfromscratch.org/blfs.../x7driver.html

Note
Glamor is required for "Southern Islands and later GPUs"
but optional for R300 to R700, Evergreen and "Northern Islands" GPUs - see the link in the section called Glamor Acceleration below.


my crossfire are hawaii chipsets and need glamor....is the only way to run 4.x kernels for me...im runing now Linux 4.1.1 ..


without glamor i can run mximum 3.18 kernels.

Last edited by USUARIONUEVO; 07-10-2015 at 01:56 AM.
 
Old 07-10-2015, 05:22 AM   #4
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
Looks like it's enabled by default:
Code:
x11-1.16/src/driver/xf86-video-ati-7.5.0> ./configure --help
...
...
...
 --disable-glamor        Disable glamor, a new GL-based acceleration
                          [default=enabled
...
...
...
My laptop has an old HD 2600 and here's what I get:
Code:
grep -i glamor /var/log/Xorg.0.log  
[    15.545] (II) LoadModule: "glamoregl"
[    15.550] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    15.566] (II) Module glamoregl: vendor="X.Org Foundation"
FWIW I explicitly enabled glamor in /etc/X11/xorg.conf but I believe it can also be enabled via /usr/share/X11/xorg.conf.d/glamor.conf:
Code:
Section "Module"
        Load  "dri2"
        Load  "glamoregl"
EndSection

Last edited by fskmh; 07-10-2015 at 05:25 AM.
 
Old 07-11-2015, 02:05 PM   #5
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,308

Original Poster
Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
you have

glamoregl

because package gablor-egl

but xorg , is compiled without glamor support , then radeon CAN`T USE

________________

more info:

I have a crossfire r9 290x , when unplug one of the cards , the system can boot , kernles 4.x included.

But when plug the two cards , slackware cant boot using 4.X kernels ... only recompiling xorg with

--enable-glamor

solved my problem.


At the moment im waiting for some xorg oficial upgrade on current slackware.
With current packages cant boot kernels 4.x in crossfire.
 
Old 07-11-2015, 02:19 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Yes you can modify /source/x/x11/configure/xorg-server adding the option --enable-glamor under BUILD_SERVERS=, rebuild and replace the X server (I am not 100 sure that be the good place to put it though, maybe someone checks).

EDIT: USUARIONUEVO, I see that you already did that, where did you add that option?

This doesn't seem to be enough with some chipsets though, see the end of this thread.

Last edited by Didier Spaier; 07-11-2015 at 02:22 PM. Reason: EDIT added.
 
Old 07-11-2015, 04:43 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Some devices work with glamor acceleration, but others still require exa acceleration which is the default. Nouveau got glamor specifically for Nvidia Maxwell, but no other chipsets can use it yet on the Nvidia lineup.
 
Old 07-11-2015, 05:37 PM   #8
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,308

Original Poster
Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
Yes , other user with same black screen on crossfire


How recompile xorg?


I download same version as a current 1.16.4
http://www.x.org/releases/individual...1.16.4.tar.bz2


uncompress the tar.bz2 file


After this i download
http://mirrors.dotsrc.org/slackware/...re/xorg-server


and add --enable-glamor after the configure action


./configure \
--prefix=/usr \
Code:
--enable-glamor \


How only need recompile that , i modify the configure file to little script ...its the same only added $ARCH , and --enable-glamor


make and empty text file to create config-script


Code:
#!/bin/bash

   ARCH=$1
   if [ -z "$ARCH" ]; then
     case "$( uname -m )" in
      i?86) export ARCH=i486 ;;
      arm*) export ARCH=arm ;;
         *) export ARCH=$( uname -m ) ;;
     esac
   fi

   if [ "$ARCH" = "i486" ]; then
     SLKCFLAGS="-O2 -march=i486 -mtune=i686"
     LIBDIRSUFFIX=""
   elif [ "$ARCH" = "i686" ]; then
     SLKCFLAGS="-O2 -march=i686 -mtune=i686"
     LIBDIRSUFFIX=""
   else
     SLKCFLAGS="-O2"
     LIBDIRSUFFIX=""
   fi

   set -e

# Servers to build:
BUILD_SERVERS="--enable-xorg \
  --enable-dmx \
  --enable-xvfb \
  --enable-xnest \
  --enable-kdrive \
  --enable-xephyr \
  --enable-xfbdev \
  --enable-config-udev \
  --enable-kdrive-evdev \
  --enable-kdrive-kbd \
  --enable-kdrive-mouse \
  --disable-config-hal"

#MESA_VERSION=${MESA_VERSION:-7.5}	# unused in 1.7+

# Default font paths to be used by the X server
DEF_FONTPATH="/usr/share/fonts/local,/usr/share/fonts/TTF,/usr/share/fonts/OTF,/usr/share/fonts/Type1,/usr/share/fonts/misc,/usr/share/fonts/CID,/usr/share/fonts/75dpi/:unscaled,/usr/share/fonts/100dpi/:unscaled,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/cyrillic"

# Reconf (don't remove this plz):
autoreconf -vif

CFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --enable-glamor \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --infodir=/usr/info \
  --mandir=/usr/man \
  --disable-static \
  --with-pic \
  --enable-suid-wrapper \
  --with-int10=x86emu \
  --with-default-font-path="${DEF_FONTPATH}" \
  --with-module-dir=/usr/lib${LIBDIRSUFFIX}/xorg/modules \
  --with-os-name="Slackware 14.2" \
  --with-os-vendor="Slackware Linux Project" \
  --with-xkb-path=/etc/X11/xkb \
  --with-xkb-output=/var/lib/xkb \
  $BUILD_SERVERS \
  --build=$ARCH-slackware-linux

#  --with-dri-driver-path=/usr/lib${LIBDIRSUFFIX}/xorg/modules/dri

if [ "$ARCH" = "x86_64" ]; then
  # To prevent the error "No rule to make target `-ldl'"
  sed -i -e 's#-ldl##' hw/xfree86/Makefile
  sed -i -e 's#-lm#-lm -ldl#' hw/xfree86/Makefile
fi
execute the script inside decompressed xorg .tar file , put script inside ande execute

this action only "configure" ..afetr that

make
make install



if configuration say need libepoxy , can build using slackbuild org , make libepoxy install and retry configure.
http://slackbuilds.org/repository/14...earch=libepoxy



If someone get black screen on amd card , can try this.



_____ 2nd time i put this _________

see on linux from scratch ... xorg-server compilation say RECOMENDED enable glamor , for newest AMD CARDS




Xorg ATI Driver Dependencies

Required

Xorg-Server-1.17.2 (recommended to be built with glamor enabled)

[Note] Note
Glamor is required for "Southern Islands" and later GPUs but optional for R300 to R700, Evergreen and "Northern Islands" GPUs - see the link in the section called Glamor Acceleration below.

http://www.linuxfromscratch.org/blfs.../x7driver.html

Last edited by USUARIONUEVO; 07-11-2015 at 05:47 PM.
 
Old 07-11-2015, 08:04 PM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
Your technique seems unnecessarily complicated.
It would have been easier to simply add the required configure option to x/x11/configure/xorg-server in the source tree and then, from x/x11/x11.Slackbuild
Code:
# To build only a single package group, specify it as $1, like:
# ./x11.SlackBuild lib
# To build only a single package, specify both the source directory
# and the name of the package, like:
# ./x11.SlackBuild lib libX11

# Upgrade packages as they are built.
# Default is to upgrade new packages (UPGRADE_PACKAGES=yes).
# To install ALL newly built packages (even if they are already installed),
# use UPGRADE_PACKAGES=always
# To not upgrade, pass UPGRADE_PACKAGES=no
 
Old 07-11-2015, 08:05 PM   #10
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Rep: Reputation: Disabled
I'll try what you said in post #8.

Quote:
Originally Posted by USUARIONUEVO View Post
you have

glamoregl

because package gablor-egl

but xorg , is compiled without glamor support , then radeon CAN`T USE

________________

more info:

I have a crossfire r9 290x , when unplug one of the cards , the system can boot , kernles 4.x included.

But when plug the two cards , slackware cant boot using 4.X kernels ... only recompiling xorg with

--enable-glamor

solved my problem.


At the moment im waiting for some xorg oficial upgrade on current slackware.
With current packages cant boot kernels 4.x in crossfire.

Last edited by Pednick; 07-11-2015 at 09:49 PM.
 
Old 07-12-2015, 07:15 AM   #11
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
x11.SlackBuild can effectively rebuild all parts of X. If you edit the configurations, you can add support for non-general stuff like glamour support.

Yes, you will need libepoxy, and there is a build on SBo of it. The older glamoregl is for older X11 setups and is deprecated.

If you need to grab any sources of Slackware, use the FTP clients provided with Slackware like gFTP and clone a copy.
 
Old 07-12-2015, 10:48 AM   #12
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Rep: Reputation: Disabled
Thank you very much USUARIONUEVO, that did the trick, it works now.

There are just a few glitches, some programs don't seem to run, I got these errors:

glxinfo

bash-4.3$ glxinfo
name of display: :0
couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable

glxgears

couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 148 ()
Minor opcode of failed request: 4
Serial number of failed request: 37
Current serial number in output stream: 37

firefox won't show when activated

Other things like videos run fine even in vdpau.

Quote:
Originally Posted by USUARIONUEVO View Post
Yes , other user with same black screen on crossfire


How recompile xorg?


I download same version as a current 1.16.4
http://www.x.org/releases/individual...1.16.4.tar.bz2


uncompress the tar.bz2 file


After this i download
http://mirrors.dotsrc.org/slackware/...re/xorg-server


and add --enable-glamor after the configure action


./configure \
--prefix=/usr \
Code:
--enable-glamor \


How only need recompile that , i modify the configure file to little script ...its the same only added $ARCH , and --enable-glamor


make and empty text file to create config-script


Code:
#!/bin/bash

   ARCH=$1
   if [ -z "$ARCH" ]; then
     case "$( uname -m )" in
      i?86) export ARCH=i486 ;;
      arm*) export ARCH=arm ;;
         *) export ARCH=$( uname -m ) ;;
     esac
   fi

   if [ "$ARCH" = "i486" ]; then
     SLKCFLAGS="-O2 -march=i486 -mtune=i686"
     LIBDIRSUFFIX=""
   elif [ "$ARCH" = "i686" ]; then
     SLKCFLAGS="-O2 -march=i686 -mtune=i686"
     LIBDIRSUFFIX=""
   else
     SLKCFLAGS="-O2"
     LIBDIRSUFFIX=""
   fi

   set -e

# Servers to build:
BUILD_SERVERS="--enable-xorg \
  --enable-dmx \
  --enable-xvfb \
  --enable-xnest \
  --enable-kdrive \
  --enable-xephyr \
  --enable-xfbdev \
  --enable-config-udev \
  --enable-kdrive-evdev \
  --enable-kdrive-kbd \
  --enable-kdrive-mouse \
  --disable-config-hal"

#MESA_VERSION=${MESA_VERSION:-7.5}	# unused in 1.7+

# Default font paths to be used by the X server
DEF_FONTPATH="/usr/share/fonts/local,/usr/share/fonts/TTF,/usr/share/fonts/OTF,/usr/share/fonts/Type1,/usr/share/fonts/misc,/usr/share/fonts/CID,/usr/share/fonts/75dpi/:unscaled,/usr/share/fonts/100dpi/:unscaled,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/cyrillic"

# Reconf (don't remove this plz):
autoreconf -vif

CFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --enable-glamor \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --infodir=/usr/info \
  --mandir=/usr/man \
  --disable-static \
  --with-pic \
  --enable-suid-wrapper \
  --with-int10=x86emu \
  --with-default-font-path="${DEF_FONTPATH}" \
  --with-module-dir=/usr/lib${LIBDIRSUFFIX}/xorg/modules \
  --with-os-name="Slackware 14.2" \
  --with-os-vendor="Slackware Linux Project" \
  --with-xkb-path=/etc/X11/xkb \
  --with-xkb-output=/var/lib/xkb \
  $BUILD_SERVERS \
  --build=$ARCH-slackware-linux

#  --with-dri-driver-path=/usr/lib${LIBDIRSUFFIX}/xorg/modules/dri

if [ "$ARCH" = "x86_64" ]; then
  # To prevent the error "No rule to make target `-ldl'"
  sed -i -e 's#-ldl##' hw/xfree86/Makefile
  sed -i -e 's#-lm#-lm -ldl#' hw/xfree86/Makefile
fi
execute the script inside decompressed xorg .tar file , put script inside ande execute

this action only "configure" ..afetr that

make
make install



if configuration say need libepoxy , can build using slackbuild org , make libepoxy install and retry configure.
http://slackbuilds.org/repository/14...earch=libepoxy



If someone get black screen on amd card , can try this.



_____ 2nd time i put this _________

see on linux from scratch ... xorg-server compilation say RECOMENDED enable glamor , for newest AMD CARDS




Xorg ATI Driver Dependencies

Required

Xorg-Server-1.17.2 (recommended to be built with glamor enabled)

[Note] Note
Glamor is required for "Southern Islands" and later GPUs but optional for R300 to R700, Evergreen and "Northern Islands" GPUs - see the link in the section called Glamor Acceleration below.

http://www.linuxfromscratch.org/blfs.../x7driver.html
 
Old 07-12-2015, 11:32 AM   #13
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
libtxc_dxtn can be found on Slackbuilds.org, but it should not be required. It is always optional.

Also, be advised that using LFS techniques on Slackware is NOT recommended. LFS is good if you want to get some buildtime references, but do NOT mix the packaging techniques together... EVER.

Had you used x11.SlackBuild with reference xorg-server/xorg-server would have landed you a glamor enabled package that is compliant to pkgtools. Using make and make install on source packages is not recommended with Slackware because packages installed with this can not be upgraded or removed with pkgtools.

Last edited by ReaperX7; 07-12-2015 at 11:49 AM.
 
Old 07-12-2015, 11:33 AM   #14
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
libtxc_dxtn can be found on Slackbuilds.org, but it should not be required.
Yeah, that's what I was thinking.
 
Old 07-12-2015, 01:22 PM   #15
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,308

Original Poster
Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
yea , think around that


why LINUX FROM SCRATCH say need glamor ?
why ARCHLINUX , compile xorg-server with glamor ?
why DEBIAN , compile xorg with glamor ?



all developers compile enabling glamor , IS NEDEED for HAWAII CARDS ... 290/290X


But no problem , I post temporally solution only that.

when make install , ... inateller OVERWRITE , original xorg-server , but not NO REMOVE , de /log/package

Then if appears a for example xorg-server-1.16.4-i486-2

you can try safe , upgradepkg xorg-server TO TEST NEW PACKAGE.

In this case , im not MIXING NOTHING , because USING DE CONFIG-SERVER file of slackware, and only edit to add enable-glamor


No paths changed , and no other modification , only add a feature.

Drivers , NO NEED RECOMPILED , then drivers are same , only xorg-server . now have ability to work with glamor IF DRIVER NEED.

Last edited by USUARIONUEVO; 07-12-2015 at 01:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] xorg-server-1.10 - when it will be in slackware-current ? y0g1 Slackware 5 08-01-2011 05:19 AM
[SOLVED] Slackware -current need Xorg downgrade to 7.4 Shadow-Driver Linux - Software 10 08-17-2010 10:53 AM
Slackware-current: X crashes after the last xorg updates. ivandi Slackware 30 07-19-2009 02:19 PM
Slackware-current Xorg 6.8.1 crashes SirJohnWackness Slackware 20 11-26-2004 09:09 AM
no mouse in slackware-current + xorg Menestrel Slackware 4 06-07-2004 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration