ubuntu MATE 16.04.1 Live DVD

AmigaOne X1000 platform specific issues related to Linux only.
daz
Beta Tester
Beta Tester
Posts: 329
Joined: Tue Dec 21, 2010 7:32 pm

Re: ubuntu MATE 16.04.1 Live DVD

Post by daz »

AlfredOne wrote: Hi Christian,
i modified fstab but it doesn't resolve the problem.
I'm not a linux expert, but i think the problem is very early in the startup phase. /etc/fstab is not accessible if linux can't mount the root partition, is it?
Booting with bootargs 'root=/dev/sdc3 rootdelay=5' i can see following logs:
BOOT_FAILED_01.jpg
BOOT_FAILED_02.jpg
I see lots of COMRESET failed messages, It's a long time since I've seen those, I don't get them any more.

They are due to a bug in the kernel/CFE that I have been unable to locate/fix, which occurs in a system like yours which has a very high end graphics card, i.e one with a 256bit memory bus - I used to see them with my 4850 - and only 2Gb memory installed.

To fix, either replace your graphics card with a lower one (e.g HD7750) or, probably better for you add 2Gb more memory to your X1000.

IIRC it didn't always boot like that, sometimes it will boot normally, you can try rebooting once you see the COMRESET messages, (Once you see those it won't recover)
In the 1st pic you can see that only one IDE HD on sda (MAXTOR 80GB) is detected and my CompactFlash (32GB) on sdb.
My SATA HDs are not detected at all.

But if i boot from DVD, then all HD are detected (SATA HDs mapped on sda and sdb , IDE HD on sdc and CompactFlash on sdd. From that moment on, i can boot even without DVD after a reset.
After a poweroff the problem come back.
If it always boots OK from the DVD, you could try loading the kernel from there - with bootargs for your hard drive, Possibly CFE is changing something when it loads stuff from the DVD, Hmmm... Hadn't spotted that.

Hope this helps
Darren
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

corto wrote: Then, I have to say that the user experience is a bit disappointing ... but it seems the gfx acceleration is not enabled. glxinfo says:

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 11.2.0
OpenGL shading language version string: 1.20

Too bad, I thought that once installed and with a successful boot, that would be enabled automatically.

So, what can I do?
No, it isn't enabled automatically because of the SI graphics cards. We use the fbdev video driver so it works with all graphics cards. If you want to enable hardware 3D acceleration, please replace the fbdev video driver with the radeon driver in the xorg.conf.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Srtest
Posts: 240
Joined: Wed Jun 11, 2014 5:06 pm

Re: ubuntu MATE 16.04.1 Live DVD

Post by Srtest »

I tried to install a couple of times and each time something goes wrong. This time at least I finished the install as seing as the problematic files are or related to LibreOffice it's not a complete error issue. However, it adds hours to the install time and I tried to burn the dvd again and the same issues have risen. Please check the live dvd for errors.
corto
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 40
Joined: Sun Jun 19, 2011 8:53 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by corto »

xeno74 wrote:
corto wrote: Then, I have to say that the user experience is a bit disappointing ... but it seems the gfx acceleration is not enabled. glxinfo says:

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 11.2.0
OpenGL shading language version string: 1.20

Too bad, I thought that once installed and with a successful boot, that would be enabled automatically.
No, it isn't enabled automatically because of the SI graphics cards. We use the fbdev video driver so it works with all graphics cards. If you want to enable hardware 3D acceleration, please replace the fbdev video driver with the radeon driver in the xorg.conf.
So, I modified the xorg.conf file, with "radeon" instead "fbdev" in the Card0 Driver item. Note that I had to comment this line too:

Option "RenderAccel" "fals

That made "vblank_mode=0 glxgears" produce 300 FPS instead of 70.

Anyway, even with that, I wonder if there is not something wrong. I expected a more reactive system ... Firefox is slow here. Even with only this page opened, "top" gives 50 to 60 % of CPU busy, sometimes that jumps to 100%.

I will continue to use and test soon, so I will be able to give a better feedback.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

corto wrote: So, I modified the xorg.conf file, with "radeon" instead "fbdev" in the Card0 Driver item. Note that I had to comment this line too:

Option "RenderAccel" "fals

That made "vblank_mode=0 glxgears" produce 300 FPS instead of 70.

Anyway, even with that, I wonder if there is not something wrong. I expected a more reactive system ... Firefox is slow here. Even with only this page opened, "top" gives 50 to 60 % of CPU busy, sometimes that jumps to 100%.

I will continue to use and test soon, so I will be able to give a better feedback.
Hi Corto,

Thank you for your reply. You have low glxgears values.

My values (XFX RADEON HD6870 1GB)
8446 frames in 5.0 seconds = 1689.094 FPS
8449 frames in 5.0 seconds = 1689.668 FPS
8476 frames in 5.0 seconds = 1695.108 FPS
8474 frames in 5.0 seconds = 1694.621 FPS
Image

Image

Your HD6570 needs the following firmwares in the Linux kernel:

Code: Select all

radeon/BTC_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin radeon/SUMO_uvd.bin
Source: https://wiki.gentoo.org/wiki/Radeon

I have checked the kernel config because of the firmwares you need. The result is, that all firmwares are included for your HD6570.

Could you please post the output of glxinfo | grep -i opengl?

Maybe the user isn't in the video group. You can check it with the command groups.

You can add your user to the group video with the following command:

Code: Select all

usermod -aG video your username
Rgds,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

corto wrote: ... Firefox is slow here.
I can recommend you to use the fast WebKit web browser Midori.

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

Caseycullen has created instructions for removing the "Live User Session" and adding an own user.

Link to the thread

Many thanks to Caseycullen for creating the instructions. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
AlfredOne
Beta Tester
Beta Tester
Posts: 135
Joined: Wed Dec 22, 2010 11:45 pm
Location: Terlizzi (BA) , Italy
Contact:

Re: ubuntu MATE 16.04.1 Live DVD

Post by AlfredOne »

daz wrote: I see lots of COMRESET failed messages, It's a long time since I've seen those, I don't get them any more.

They are due to a bug in the kernel/CFE that I have been unable to locate/fix, which occurs in a system like yours which has a very high end graphics card, i.e one with a 256bit memory bus - I used to see them with my 4850 - and only 2Gb memory installed.

To fix, either replace your graphics card with a lower one (e.g HD7750) or, probably better for you add 2Gb more memory to your X1000.

IIRC it didn't always boot like that, sometimes it will boot normally, you can try rebooting once you see the COMRESET messages, (Once you see those it won't recover)

...

If it always boots OK from the DVD, you could try loading the kernel from there - with bootargs for your hard drive, Possibly CFE is changing something when it loads stuff from the DVD, Hmmm... Hadn't spotted that.

Hope this helps
Darren
I will try adding 2GB more memory.
Thanks, Darren.
Amiga500 Kickstart1.3
AmigaONE XE G4 833MHz - 2GB RAM - Radeon9200 256MB
AmigaONE X1000 - 2GB RAM
  • Radeon R9-280X 3GB
  • Radeon HIS4670 1GB DDR3
  • Radeon RX550
My site: https://project4a.eu
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by xeno74 »

xeno74 wrote:Caseycullen has created instructions for removing the "Live User Session" and adding an own user.

Link to the thread

Many thanks to Caseycullen for creating the instructions. :-)
There is an easy way to create an own user.
  1. System - Administration - Users and Groups
  2. Click the button Add to add a new user

    Image

    Image
  3. Click the button Advanced Settings after typing the Username and Password
  4. Choose the tab User Privileges. I'd suggest checking all of the options.

    Image
  5. Code: Select all

    sudo nano /etc/lightdm/lightdm.conf
    It displays some text as follows:

    Code: Select all

    [SeatDefaults]  
    allow-guest=false  
    autologin-guest=false
    autologin-user=ubuntu-mate
    autologin-user-timeout=0
    
  6. Delete the ubuntu-mate user and leave it blank
  7. Delete the line autologin-user-timeout=0
  8. Reboot your X5000 or X1000
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
corto
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 40
Joined: Sun Jun 19, 2011 8:53 am

Re: ubuntu MATE 16.04.1 Live DVD

Post by corto »

@xeno74 Ok, I'm back after xmas holidays.

The user was not in the video but adding it does not change anything.
If it is required, that should be done at installation.

About OpenGL in glxinfo:

$ glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TURKS (DRM 2.48.0)
OpenGL core profile version string: 3.2 (Core Profile) Mesa 11.2.0
OpenGL core profile shading language version string: 1.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

And:

$ glxinfo | grep direct
direct rendering: Yes
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced,
GL_ARB_multi_draw_indirect, GL_ARB_occlusion_query2,

Here is the DRM part in dmesg, I see no problem ...

Jan 1 21:49:48 ubuntu-mate kernel: [drm] Initialized
Jan 1 21:49:48 ubuntu-mate kernel: [drm] radeon kernel modesetting enabled.
Jan 1 21:49:48 ubuntu-mate kernel: [drm] initializing kernel modesetting (TURKS 0x1002:0x6759 0x1787:0x2012 0x00).
Jan 1 21:49:48 ubuntu-mate kernel: [drm] register mmio base: 0xA0020000
Jan 1 21:49:48 ubuntu-mate kernel: [drm] register mmio size: 131072
Jan 1 21:49:48 ubuntu-mate kernel: ATOM BIOS: TURKS
Jan 1 21:49:48 ubuntu-mate kernel: radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
Jan 1 21:49:48 ubuntu-mate kernel: radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Detected VRAM RAM=1024M, BAR=256M
Jan 1 21:49:48 ubuntu-mate kernel: [drm] RAM width 128bits DDR
Jan 1 21:49:48 ubuntu-mate kernel: [TTM] Zone kernel: Available graphics memory: 1003270 kiB
Jan 1 21:49:48 ubuntu-mate kernel: [TTM] Initializing pool allocator
Jan 1 21:49:48 ubuntu-mate kernel: [drm] radeon: 1024M of VRAM memory ready
Jan 1 21:49:48 ubuntu-mate kernel: [drm] radeon: 1024M of GTT memory ready.
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Loading TURKS Microcode
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Internal thermal controller without fan control
Jan 1 21:49:48 ubuntu-mate kernel: [drm] radeon: dpm initialized
Jan 1 21:49:48 ubuntu-mate kernel: [drm] GART: num cpu pages 262144, num gpu pages 262144
Jan 1 21:49:48 ubuntu-mate kernel: [drm] PCIE GART of 1024M enabled (table at 0x0000000000162000).
Jan 1 21:49:48 ubuntu-mate kernel: radeon 0000:01:00.0: WB enabled
Jan 1 21:49:48 ubuntu-mate kernel: radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xc00000007aa1ec00
Jan 1 21:49:48 ubuntu-mate kernel: radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xc00000007aa1ec0c
Jan 1 21:49:48 ubuntu-mate kernel: radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xd0000800901b2118
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Driver supports precise vblank timestamp query.
Jan 1 21:49:48 ubuntu-mate kernel: radeon 0000:01:00.0: radeon: MSI limited to 32-bit
Jan 1 21:49:48 ubuntu-mate kernel: [drm] radeon: irq initialized.
Jan 1 21:49:48 ubuntu-mate kernel: [drm] ring test on 0 succeeded in 1 usecs
Jan 1 21:49:48 ubuntu-mate kernel: [drm] ring test on 3 succeeded in 6 usecs
Jan 1 21:49:48 ubuntu-mate kernel: [drm] ring test on 5 succeeded in 2 usecs
Jan 1 21:49:48 ubuntu-mate kernel: [drm] UVD initialized successfully.
Jan 1 21:49:48 ubuntu-mate kernel: [drm] ib test on ring 0 succeeded in 0 usecs
Jan 1 21:49:48 ubuntu-mate kernel: [drm] ib test on ring 3 succeeded in 0 usecs
Jan 1 21:49:48 ubuntu-mate kernel: [drm] ib test on ring 5 succeeded
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Radeon Display Connectors
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Connector 0:
Jan 1 21:49:48 ubuntu-mate kernel: [drm] HDMI-A-1
Jan 1 21:49:48 ubuntu-mate kernel: [drm] HPD4
Jan 1 21:49:48 ubuntu-mate kernel: [drm] DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Encoders:
Jan 1 21:49:48 ubuntu-mate kernel: [drm] DFP1: INTERNAL_UNIPHY2
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Connector 1:
Jan 1 21:49:48 ubuntu-mate kernel: [drm] DVI-D-1
Jan 1 21:49:48 ubuntu-mate kernel: [drm] HPD1
Jan 1 21:49:48 ubuntu-mate kernel: [drm] DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Encoders:
Jan 1 21:49:48 ubuntu-mate kernel: [drm] DFP2: INTERNAL_UNIPHY
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Connector 2:
Jan 1 21:49:48 ubuntu-mate kernel: [drm] VGA-1
Jan 1 21:49:48 ubuntu-mate kernel: [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Encoders:
Jan 1 21:49:48 ubuntu-mate kernel: [drm] CRT1: INTERNAL_KLDSCP_DAC1
Jan 1 21:49:48 ubuntu-mate kernel: [drm] fb mappable at 0x90363000
Jan 1 21:49:48 ubuntu-mate kernel: [drm] vram apper at 0x90000000
Jan 1 21:49:48 ubuntu-mate kernel: [drm] size 5242880
Jan 1 21:49:48 ubuntu-mate kernel: [drm] fb depth is 24
Jan 1 21:49:48 ubuntu-mate kernel: [drm] pitch is 5120
Jan 1 21:49:48 ubuntu-mate kernel: Console: switching to colour frame buffer device 160x64
Jan 1 21:49:48 ubuntu-mate kernel: radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
Jan 1 21:49:48 ubuntu-mate kernel: [drm] Initialized radeon 2.48.0 20080528 for 0000:01:00.0 on minor 0
Post Reply