Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: OpenGL is going to be completely rewritten  (Read 13593 times)

0 Members and 1 Guest are viewing this topic.

paupav

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #15 on: August 21, 2014, 07:30:15 pm »
I've got black screen with older versions of AMD drivers too. Now that bug is solved. After you install them from their site (http://support.amd.com/en-us/kb-articles/Pages/Latest-LINUX-Beta-Driver.aspx)

If you get black screen I usually solved it by running
sudo aticonfig --initial

YOu have to install drivers from the site. Drivers in Ubuntu repository are outdated.


I'm using Ubuntu 14.04 too. It works perfectly and your GPU is supported!

AMD Mobility Product Family Compatibility ​
AMD Radeon™ HD 8000M Series   AMD Radeon™ HD 6000M Series
AMD Radeon™ HD 7000M Series   ATI Mobility Radeon™ HD 5000 Series
« Last Edit: August 21, 2014, 07:32:41 pm by paupav »

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Re: OpenGL is going to be completely rewritten
« Reply #16 on: August 21, 2014, 08:05:07 pm »
Ok, great to know about it!
But for the moment opensource drivers are sufficient.

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Re: OpenGL is going to be completely rewritten
« Reply #17 on: August 21, 2014, 08:11:08 pm »
Neversless, I'll post the log that I've when I try to install the drivers from their website :

Package build failed!
Package build utility output:
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:14.200-0ubuntu1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.1NpZZQ
dpkg-buildpackage: host architecture amd64
 debian/rules build
#Create important strings
for i in 10fglrx \
                         dkms.conf \
                         fglrx.install \
                         fglrx-dev.install \
                         fglrx-dev.links \
                         fglrx-amdcccle.install \
                         fglrx.grub-gfxpayload \
                         fglrx.dirs \
                         fglrx.links \
                         fglrx.postinst \
                         fglrx.postrm \
                         fglrx.preinst \
                         fglrx.prerm \
                         overrides/fglrx; do \
                sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
                        -e "s|#LIBDIR#|usr/lib|g" \
                        -e "s|#LIBDIR32#|usr/lib32|g" \
                        -e "s|#BINDIR#|usr/bin|g" \
                        -e "s|#SYSCONFDIR#|etc|g" \
                        -e "s|#MANDIR#|usr/share/man/man1|g" \
                        -e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
                        -e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
                        -e "s|#ALTPRIORITY#|1000|g" \
                        -e "s|#PXALTPRIORITY#|900|g" \
                        -e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
                        -e "s|#DATADIR#|usr/share|g" \
                        -e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
                        -e "s|#PKGDATADIR#|usr/share/fglrx|g" \
                        -e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
                        -e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
                        -e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
                        -e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
                        -e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
                        -e "s|#XORGEXTRA#|usr/lib/x86_64-linux-gnu/xorg/extra-modules|g" \
                        -e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
                        -e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
                        -e "s|#DRIVERNAME#|fglrx|g" \
                        -e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
                        -e "s|#DRIVERSRCNAME#||g" \
                        -e "s|#INCLUDEDIR#|usr/include|g" \
                        -e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
                        -e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
                        -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
                        -e "s|#PXDIR#|usr/lib/pxpress|g" \
                        -e "s|#PXDIR32#|usr/lib32/pxpress|g" \
                        -e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
                        -e "s|#PXDIRNAME#|pxpress|g" \
                        -e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
                        -e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
                        -e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
                        -e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
                        -e "s|#CVERSION#|14.200|g" \
                        -e "s|#SRCXARCH#|xpic_64a|g" \
                        -e "s|#SRCARCH#|x86_64|g" \
                        -e "s|#SRCOTHERARCH#|x86|g" \
                        -e "s|#SRCLIBDIR#|lib64|g" \
                        -e "s|#DEB_HOST_MULTIARCH#|x86_64-linux-gnu|g" \
                        -e "s|#OTHER_ARCH#|i386-linux-gnu|g" \
                        debian/$i.in > debian/$i;      \
        done
# remove exec bit on everything
find arch \
                etc \
                lib \
                module \
                usr \
                xpic_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
                arch/x86_64/usr/X11R6/bin \
                usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
dh build
 debian/rules binary
# refresh copyright file
cat debian/copyright_stub_0 > debian/copyright
cat usr/share/doc/fglrx/LICENSE.TXT >> debian/copyright
cat debian/copyright_stub_1 >> debian/copyright
# Generate the xserver ABI dependencies
cat debian/substvars >> debian/fglrx.substvars
#Steps that we can't easily represent in debhelper files or .in files yet
# Remove any libraries that may be caught by shell expansion
find . -name libGLE* | xargs rm -f
find . -name libEGL* | xargs rm -f
dh_install -pfglrx    "arch/x86/usr/X11R6/lib/libAMD*.so*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/*.*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/fglrx/*.so*"     "usr/lib32/fglrx"
dh_installdirs -pfglrx "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/modules/dri"     "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/lib/*.so*"                 "usr/lib32/fglrx"
# Install the QT libraries
dh_install -pfglrx "arch/x86_64/usr/share/ati/lib64" "usr/share/ati"
for i in \
                        debian/fglrx/usr/lib32/fglrx/dri/fglrx_dri.so \
                        debian/fglrx/usr/lib32/fglrx/*libGL.so.* \
                        ; do execstack -q $i; execstack -c $i; done
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
make: *** [binary-arch] Error 127
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:14.100-0ubuntu1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.RRLF6e
dpkg-buildpackage: host architecture amd64
 debian/rules build
#Create important strings
for i in 10fglrx \
                         dkms.conf \
                         fglrx.install \
                         fglrx-dev.install \
                         fglrx-dev.links \
                         fglrx-amdcccle.install \
                         fglrx.grub-gfxpayload \
                         fglrx.dirs \
                         fglrx.links \
                         fglrx.postinst \
                         fglrx.postrm \
                         fglrx.preinst \
                         fglrx.prerm \
                         overrides/fglrx; do \
                sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
                        -e "s|#LIBDIR#|usr/lib|g" \
                        -e "s|#LIBDIR32#|usr/lib32|g" \
                        -e "s|#BINDIR#|usr/bin|g" \
                        -e "s|#SYSCONFDIR#|etc|g" \
                        -e "s|#MANDIR#|usr/share/man/man1|g" \
                        -e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
                        -e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
                        -e "s|#ALTPRIORITY#|1000|g" \
                        -e "s|#PXALTPRIORITY#|900|g" \
                        -e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
                        -e "s|#DATADIR#|usr/share|g" \
                        -e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
                        -e "s|#PKGDATADIR#|usr/share/fglrx|g" \
                        -e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
                        -e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
                        -e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
                        -e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
                        -e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
                        -e "s|#XORGEXTRA#|usr/lib/x86_64-linux-gnu/xorg/extra-modules|g" \
                        -e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
                        -e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
                        -e "s|#DRIVERNAME#|fglrx|g" \
                        -e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
                        -e "s|#DRIVERSRCNAME#||g" \
                        -e "s|#INCLUDEDIR#|usr/include|g" \
                        -e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
                        -e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
                        -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
                        -e "s|#PXDIR#|usr/lib/pxpress|g" \
                        -e "s|#PXDIR32#|usr/lib32/pxpress|g" \
                        -e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
                        -e "s|#PXDIRNAME#|pxpress|g" \
                        -e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
                        -e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
                        -e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
                        -e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
                        -e "s|#CVERSION#|14.100|g" \
                        -e "s|#SRCXARCH#|xpic_64a|g" \
                        -e "s|#SRCARCH#|x86_64|g" \
                        -e "s|#SRCOTHERARCH#|x86|g" \
                        -e "s|#SRCLIBDIR#|lib64|g" \
                        -e "s|#DEB_HOST_MULTIARCH#|x86_64-linux-gnu|g" \
                        -e "s|#OTHER_ARCH#|i386-linux-gnu|g" \
                        debian/$i.in > debian/$i;      \
        done
# remove exec bit on everything
find arch \
                etc \
                lib \
                module \
                usr \
                xpic_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
                arch/x86_64/usr/X11R6/bin \
                usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
dh build
 debian/rules binary
# refresh copyright file
cat debian/copyright_stub_0 > debian/copyright
cat usr/share/doc/fglrx/LICENSE.TXT >> debian/copyright
cat debian/copyright_stub_1 >> debian/copyright
# Generate the xserver ABI dependencies
cat debian/substvars >> debian/fglrx.substvars
#Steps that we can't easily represent in debhelper files or .in files yet
# Remove any libraries that may be caught by shell expansion
find . -name libGLE* | xargs rm -f
find . -name libEGL* | xargs rm -f
dh_install -pfglrx    "arch/x86/usr/X11R6/lib/libAMD*.so*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/*.*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/fglrx/*.so*"     "usr/lib32/fglrx"
dh_installdirs -pfglrx "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/modules/dri"     "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/lib/*.so*"                 "usr/lib32/fglrx"
# Install the QT libraries
dh_install -pfglrx "arch/x86_64/usr/share/ati/lib64" "usr/share/ati"
for i in \
                        debian/fglrx/usr/lib32/fglrx/dri/fglrx_dri.so \
                        debian/fglrx/usr/lib32/fglrx/*libGL.so.* \
                        ; do execstack -q $i; execstack -c $i; done
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
make: *** [binary-arch] Error 127
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
[Error] Generate Package - error generating package : Ubuntu/trusty

It seems I've some missing packages but I really don't know how to find and install them.

paupav

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #18 on: August 21, 2014, 08:18:17 pm »
Neversless, I'll post the log that I've when I try to install the drivers from their website :

(click to show/hide)

It seems I've some missing packages but I really don't know how to find and install them.
did you ran it with sudo sh ./[name of the file].run ?
have you tried second option? (Installing prebuild)
« Last Edit: August 21, 2014, 08:51:33 pm by paupav »

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Re: OpenGL is going to be completely rewritten
« Reply #19 on: August 21, 2014, 08:26:16 pm »
I've found the names of the missing packages.


Now he's trying to install.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #20 on: August 21, 2014, 08:27:34 pm »
Please put huge chunks of code/log files/etc under "spoiler" tags and there's no need for full quotes when the original is right above your post (especially when what you quote is huge).
Threads become a pain to read that way >:(
« Last Edit: August 21, 2014, 08:29:59 pm by Jesper Juhl »

paupav

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #21 on: August 21, 2014, 08:29:28 pm »
Have you removed old drivers?
Is it working now?

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Re: OpenGL is going to be completely rewritten
« Reply #22 on: August 21, 2014, 08:29:52 pm »
Ok, I just didn't know about spoiler, thanks.
(click to show/hide)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #23 on: August 21, 2014, 08:33:53 pm »
And don't you care about being totally off-topic?
Laurent Gomila - SFML developer

paupav

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #24 on: August 21, 2014, 08:48:19 pm »
And don't you care about being totally off-topic?
YOu are THE Laurent Gomila! :O

The one from here:

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Re: OpenGL is going to be completely rewritten
« Reply #25 on: August 21, 2014, 09:05:44 pm »
Sorry if I'm off-topic.

But I've tried all what you've said, but the black screen remains and it seems I've a too big resolution. (before the black screen appears)
« Last Edit: August 21, 2014, 09:08:21 pm by Lolilolight »

paupav

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #26 on: August 21, 2014, 09:27:43 pm »
Check your inbox.

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Re: OpenGL is going to be completely rewritten
« Reply #27 on: August 21, 2014, 10:29:40 pm »
Done.

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #28 on: August 21, 2014, 11:35:24 pm »
Ok guys..... we really don't need to be notified that you are reading PMs in a public thread.......  :P
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: OpenGL is going to be completely rewritten
« Reply #29 on: August 22, 2014, 07:40:23 am »
This thread has turned into a joke... please don't do it again.
Laurent Gomila - SFML developer

 

anything