Kernel 4.7

AmigaOne X1000 platform specific issues related to Linux only.
Post Reply
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Kernel 4.7

Post by mechanic »

CRRRRRR-UNCH!

len@AmigaOneX1000:~$ LIBGL_DEBUG=verbose vblank_mode=0 glxgears
libGL: OpenDriver: trying /usr/local/mesa-10.0.4/lib/dri/r600_dri.so
libGL error: dlopen /usr/local/mesa-10.0.4/lib/dri/r600_dri.so failed (/usr/local/mesa-10.0.4/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/local/mesa-10.0.4/lib/dri/swrast_dri.so
libGL error: dlopen /usr/local/mesa-10.0.4/lib/dri/swrast_dri.so failed (/usr/local/mesa-10.0.4/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 156 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 35
len@AmigaOneX1000:~$ LIBGL_DEBUG=verbose vblank_mode=0 glxgears
libGL: OpenDriver: trying /usr/local/mesa-10.0.4/lib/dri/r600_dri.so
libGL error: dlopen /usr/local/mesa-10.0.4/lib/dri/r600_dri.so failed (/usr/local/mesa-10.0.4/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/local/mesa-10.0.4/lib/dri/swrast_dri.so
libGL error: dlopen /usr/local/mesa-10.0.4/lib/dri/swrast_dri.so failed (/usr/local/mesa-10.0.4/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 156 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 35
len@AmigaOneX1000:~$
********************************************************************************************

GLXtest process failed (exited with status 1): X error occurred in GLX probe, error_code=2, request_code=156, minor_code=3
0/1 Basic Blocked for your graphics driver version. Try updating your graphics driver to version <Anything with EXT_texture_from_pixmap support> or newer.
WebGL Renderer Blocked for your graphics card because of unresolved driver issues.
**********************************************************************************************

:?
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
xeno74
Posts: 9379
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.7

Post by xeno74 »

Please copy the Mesa directory mesa-10.0.4 to /usr/local/.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Kernel 4.7

Post by mechanic »

:) That's better.



len@AmigaOneX1000:~$ LIBGL_DEBUG=verbose vblank_mode=0 glxgears
libGL: OpenDriver: trying /usr/local/mesa-10.0.4/lib/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/local/mesa-10.0.4/lib/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/len/.drirc: No such file or directory.
ATTENTION: default value of option vblank_mode overridden by environment.
libGL: Can't open configuration file /home/len/.drirc: No such file or directory.
5798 frames in 5.0 seconds = 1159.550 FPS
5917 frames in 5.0 seconds = 1183.348 FPS
5738 frames in 5.0 seconds = 1147.563 FPS
5955 frames in 5.0 seconds = 1190.964 FPS
5949 frames in 5.0 seconds = 1189.707 FPS
5952 frames in 5.0 seconds = 1190.271 FPS
^C
len@AmigaOneX1000:~$
**************************************************************************************
Graphics
Adapter Description X.Org -- Gallium 0.4 on AMD BARTS
Device ID Gallium 0.4 on AMD BARTS
Driver Version 3.0 Mesa 10.0.4
GPU Accelerated Windows 0/1 Basic
Vendor ID X.Org
WebGL Renderer X.Org -- Gallium 0.4 on AMD BARTS
windowLayerManagerRemote false
AzureCanvasBackend cairo
AzureContentBackend cairo
AzureFallbackCanvasBackend none
AzureSkiaAccelerated 0
********************************************************************
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
xeno74
Posts: 9379
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.7

Post by xeno74 »

Not bad but there are some error messages. Is there a libGL.so.1.2 in /usr/lib/powerpc-linux-gnu/?

Maybe you have to replace it with the libGL.so.1.2.0. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Kernel 4.7

Post by mechanic »

xeno74 wrote:Not bad but there are some error messages. Is there a libGL.so.1.2 in /usr/lib/powerpc-linux-gnu/?

Maybe you have to replace it with the libGL.so.1.2.0. :-)
Yup, already there.

It seems to be missing the config file '/home/user/r600_dri.so, and the one in the new mesa lib (r600_dri.so) contains _driDriverGetExtensions_r600 that the new libGL does not understand.
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Kernel 4.7

Post by mechanic »

AAAAACK!

The new Mesa stuff killed my webcam video. All I get now is a bright green screen. (shake head, mumble-mumble-mumble).
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
xeno74
Posts: 9379
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.7

Post by xeno74 »

mechanic wrote:AAAAACK!

The new Mesa stuff killed my webcam video. All I get now is a bright green screen. (shake head, mumble-mumble-mumble).
OK, good to know. Thank you for testing.

@All

I have bad news. The commit powerpc-4.7-3 was released yesterday. A git pull is not possible anymore.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9379
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.7

Post by xeno74 »

The commit powerpc-4.7-3 was released yesterday.

There is a conflict in my local kernel git directory if I use git pull because I have reverted the commits powerpc-4.7-1 and powerpc-4.7-2.

The commit powerpc-4.7-3 needs the commits powerpc-4.7-1 and powerpc-4.7-2.

I created a new local kernel git directory for the RC3 with:

Code: Select all

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-git-without-powerpc-commits
After that I reverted the three PowerPC commits:

powerpc-4.7-3:

Code: Select all

git revert ccf55f73a607dba0cec470e677e3fad754304220 -m 1
powerpc-4.7-2:

Code: Select all

git revert 5306d766f15e72bc79c61d88f77e5a6b1fcc0e68 -m 1
powerpc-4.7-1:

Code: Select all

git revert c04a5880299eab3da8c10547db96ea9cdffd44a6 -m 1
Afterwards I successfully tested our latest Nemo patch 4.7-1 with the following commands:

Code: Select all

cp -R linux-git-without-powerpc-commits linux-4.7

Code: Select all

patch -p0 < nemo_4.7-1.patch
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9379
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.7

Post by xeno74 »

I tried to compile the latest git version without the three PowerPC commits but unfortunately it doesn't compile.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9379
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.7

Post by xeno74 »

I did another git pull today and it solved the compile problem.

Download: vmlinux-4.7-rc3-AmigaONE_X1000.tar.gz

PLEASE PLEASE PLEASE test the RC3. I don't know if it boots because it was cross compiled on my x86_64 Ubuntu Server.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply