Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stratx not working #332

Open
Sayanbm opened this issue Jul 2, 2024 · 0 comments
Open

stratx not working #332

Sayanbm opened this issue Jul 2, 2024 · 0 comments

Comments

@Sayanbm
Copy link

Sayanbm commented Jul 2, 2024

ok so yesterday i installed the the fbcp-ili9341 drivers with fowling settings on rpi zero 2w

-DILI9341=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=25 -DSPI_BUS_CLOCK_DIVISOR=6 -DDISPALY_ROTATE_180_DEGREE=ON -DSTATISTICS=0 ..

initially i got a black screen with a white dash, after hitting ctrl + alt + F1 in keyboard command line appeared
but then when i tried to run startx i got an error(i also tried "FRAMEBUFFER=/dev/fb0 startx" but didn't it worked ) -->

X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
Current Operating System: Linux sayan 6.6.20+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.20-1+rpt1 (2024-03-07) armv7l
Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=320 bcm2708_fb.fbheight=240 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:EC:5F:ED vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyS0,115200 console=tty1 root=PARTUUID=944af43d-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB
xorg-server 2:21.1.7-3+rpt2+deb12u5 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (
) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 30 12:55:14 2024
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error**

logs -->

X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[ 253.469] Current Operating System: Linux sayan 6.6.20+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.20-1+rpt1 (2024-03-07) armv7l
[ 253.469] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=320 bcm2708_fb.fbheight=240 bcm2708_fb.fbswap=1 smsc>[ 253.469] xorg-server 2:21.1.7-3+rpt2+deb12u5 (https://www.debian.org/support)
[ 253.469] Current version of pixman: 0.42.2
[ 253.469] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 253.469] Markers: (--) probed, (
) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 253.470] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 30 13:03:43 2024
[ 253.470] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 253.470] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 253.471] (==) No Layout section. Using the first Screen section.
[ 253.471] (==) No screen section available. Using defaults.
[ 253.471] () |-->Screen "Default Screen Section" (0)
[ 253.471] (
) | |-->Monitor ""
[ 253.472] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 253.472] () | |-->Device "kms"
[ 253.472] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 253.472] (
) Option "Debug" "dmabuf_capable"
[ 253.472] (==) Automatically adding devices
[ 253.472] (==) Automatically enabling devices
[ 253.472] (==) Automatically adding GPU devices
[ 253.472] (==) Automatically binding GPU devices
[ 253.472] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 253.472] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 253.472] Entry deleted from font path.
[ 253.472] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 253.472] Entry deleted from font path.
[ 253.473] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 253.473] Entry deleted from font path.
[ 253.473] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 253.473] Entry deleted from font path.
[ 253.473] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 253.473] Entry deleted from font path.
[ 253.473] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 253.473] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 253.473] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 253.473] (II) Loader magic: 0x20a080
[ 253.473] (II) Module ABI versions:
[ 253.473] X.Org ANSI C Emulation: 0.4
[ 253.473] X.Org Video Driver: 25.2
[ 253.473] X.Org XInput driver : 24.4
[ 253.473] X.Org Server Extension : 10.0
[ 253.484] (++) using VT number 7

[ 253.484] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 253.485] (II) no primary bus or device found
[ 253.485] (II) LoadModule: "glx"
[ 253.485] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 253.490] (II) Module glx: vendor="X.Org Foundation"
[ 253.490] compiled for 1.21.1.7, module version = 1.0.0
[ 253.490] ABI class: X.Org Server Extension, version 10.0
[ 253.490] (II) LoadModule: "modesetting"
[ 253.491] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 253.493] (II) Module modesetting: vendor="X.Org Foundation"
[ 253.493] compiled for 1.21.1.7, module version = 1.21.1
[ 253.493] Module class: X.Org Video Driver
[ 253.493] ABI class: X.Org Video Driver, version 25.2
[ 253.493] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 253.494] (WW) Falling back to old probe method for modesetting
[ 253.494] (EE) open /dev/dri/card0: No such file or directory
[ 253.494] (WW) Falling back to old probe method for modesetting
[ 253.494] (EE) open /dev/dri/card0: No such file or directory
[ 253.494] (EE) No devices detected.
[ 253.494] (EE)
Fatal server error:
[ 253.494] (EE) no screens found(EE)
[ 253.494] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 253.494] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 253.494] (EE)
[ 253.496] (EE) Server terminated with error (1). Closing log file.**

ig the driver isn't recognized by startx
looks like i need to make a file in /etc/X11/xorg.conf.d

which will look some thing like this -->
"Section "xyz"
Identifier "xyz"
Driver "xyz"
Option "xyz" "/dev/fb1"
EndSection "

but i am not sure about the configurations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant