Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Need an
Introduction
to Tiny Core? Or peruse
Core Concepts
.
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
Raspberry Pi
»
piCore 9.0.3 boot to python script with GUI
« previous
next »
Print
Pages:
1
...
4
5
[
6
]
Go Down
Author
Topic: piCore 9.0.3 boot to python script with GUI (Read 22317 times)
Juanito
Administrator
Hero Member
Posts: 14799
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #75 on:
May 25, 2020, 06:05:02 AM »
I don't have the means to (easily) test, but on an x86/x86_64 machine you would need the graphics-KERNEL extension, which I see is not present in the piCore-9.x armv6 repo...
«
Last Edit: May 25, 2020, 06:07:31 AM by Juanito
»
Logged
Juanito
Administrator
Hero Member
Posts: 14799
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #76 on:
May 25, 2020, 06:27:12 AM »
graphics-4.9.22-piCore added to the repo
Logged
Pacca
Newbie
Posts: 37
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #77 on:
May 25, 2020, 08:55:30 AM »
Hi Juanito,
thank you, I will try to add this extension. Out of curiosity, why do I need it? Only to handle the HDMI connection? I read the comment in the .info file. Just to be sure, do I have to add the line
Code:
[Select]
dtoverlay=vc4-fkms-v3d
to config.txt?
Logged
Juanito
Administrator
Hero Member
Posts: 14799
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #78 on:
May 25, 2020, 10:07:48 AM »
I suppose the audio is output via a graphics (hdmi) connector, hence the need for graphics-KERNEL.
I don't know if you need "dtoverlay=vc4-fkms-v3d" or not - hdmi graphics works in 2d mode without it, but I don't know if hdmi audio is enabled.
Logged
Pacca
Newbie
Posts: 37
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #79 on:
May 25, 2020, 10:29:22 AM »
I can't get the audio working. If I use the overlay for 3d graphics, I don't even get video output. I tried forcing HDMI setting "hdmi_drive=2" in config.txt but nothing changes. Even using the command "amixer cset numid=3 2" does nothing.
Logged
Pacca
Newbie
Posts: 37
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #80 on:
May 25, 2020, 10:37:38 AM »
I am sorry Juanito, I made a silly mistake. Now everything is working, thank you so much!
EDIT: alsa-modules-KERNEL.tcz and alsa.tcz are the only extensions needed.
«
Last Edit: May 25, 2020, 10:43:15 AM by Pacca
»
Logged
Pacca
Newbie
Posts: 37
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #81 on:
May 25, 2020, 11:17:23 AM »
I saw that before loading the GUI of my python script, the piCore wallpaper is shown very briefly. Is there any way to remove it completely?
Logged
Rich
Administrator
Hero Member
Posts: 11594
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #82 on:
May 25, 2020, 11:40:21 AM »
Hi Pacca
It's probably caused by ~/.xsession calling ~/.setbackground. So you can remove that line from ~/.xsession.
Logged
Pacca
Newbie
Posts: 37
Re: piCore 9.0.3 boot to python script with GUI
«
Reply #83 on:
May 25, 2020, 12:21:09 PM »
Hi Rich,
it was exactly that, thanks!
Logged
Print
Pages:
1
...
4
5
[
6
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
Raspberry Pi
»
piCore 9.0.3 boot to python script with GUI