Go to advanced search

by bunklung
Sat Aug 31, 2019 3:39 pm
Forum: Gaming
Topic: How to setup Minecraft 1.12.2 on Pi3 or Pi4
Replies: 77
Views: 14408

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Thanks for adding the -e checks, rpiMike. Sorry, I should have looked at your latest script before mentioning that again. It seems GL related. java.lang.ExceptionInInitializerError at Config.getDisplayModes(Config.java:1854) at bid$a.<clinit>(GameSettings.java:3569) ... Caused by: org.lwjgl.LWJGLEx...
by bunklung
Sat Aug 31, 2019 11:37 am
Forum: Gaming
Topic: How to setup Minecraft 1.12.2 on Pi3 or Pi4
Replies: 77
Views: 14408

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

It would be great if you could take the initiative to fix all these issues. Using pi instead of $USER or $HOME has long been bothersome, as is the lack of set -e that allows things to run through when things fail from the start. I have added the -e Thanks for your help on the guide. I followed the ...
by bunklung
Wed Aug 28, 2019 12:05 am
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

all do the expected thing, and are available simultaneously. The Raspbian volume plugin gets totally lost with the multiple devices though. As to why this driver has two ways to configure stuff, I have no idea! Hmm, this might not work after all as with dual seat. When I add a USB device, the Raspb...
by bunklung
Tue Aug 27, 2019 11:29 pm
Forum: General discussion
Topic: Multi-Seat use of RPi 4
Replies: 44
Views: 3698

Re: Multi-Seat use of RPi 4

UDEV rule for seat 1/hdmi1 sound channel: TAG=="seat", ATTR{id}=="b1", ATTR{number}=="2", SUBSYSTEM=="sound", KERNEL=="card2", ENV{ID_SEAT}="seat1" Assumes you have: snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=1 to /boot/ cmdline.txt (do NOT add any line ...
by bunklung
Tue Aug 27, 2019 11:26 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

all do the expected thing, and are available simultaneously. The Raspbian volume plugin gets totally lost with the multiple devices though. As to why this driver has two ways to configure stuff, I have no idea! Hmm, this might not work after all as with dual seat. When I add a USB device, the Raspb...
by bunklung
Tue Aug 27, 2019 9:12 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

As to why this driver has two ways to configure stuff, I have no idea! A quick poke in the git history reveals that it was upstream that mangled this and added the module parameters. We could change the defaults, but that will break some userland handling of audio devices (Raspbian's volume plugin ...
by bunklung
Tue Aug 27, 2019 8:53 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

all do the expected thing, and are available simultaneously. The Raspbian volume plugin gets totally lost with the multiple devices though. As to why this driver has two ways to configure stuff, I have no idea! Hmm, this might not work after all as with dual seat. When I add a USB device, the Raspb...
by bunklung
Tue Aug 27, 2019 7:40 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

Add snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=0 to /boot/cmdline.txt (do NOT add any line breaks) and reboot. I am running latest and the three items have no effect on aplay -l/-L Read what I wrote (hint, NOT config.txt) Oh man, sorry about that, total...
by bunklung
Tue Aug 27, 2019 5:51 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

This is my first poke around with ALSA and this driver - slightly icky to say the least! Fully updated Raspbian and rpi-updated kernel/firmware gives a drop down list of destinations from the volume control plugin on the taskbar. The odd thing is that all the devices are routed through the same dat...
by bunklung
Tue Aug 27, 2019 10:56 am
Forum: Troubleshooting
Topic: RPi4 Buster no Sound on HDMI
Replies: 6
Views: 998

Re: RPi4 Buster no Sound on HDMI

Only one HDMI port is currently supported for audio at a time, and it is independent of the video. Default is HDMI0, therefore if your monitor is connected to HDMI1 you will get no audio. "hdmi_preferred=1" in /boot/config.txt to shift audio (and CEC) to HDMI1. This isn't documented and it didn't w...
by bunklung
Tue Aug 27, 2019 10:35 am
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

Are you running an rpi-update'd Linux? The changes for this were very recent so might not be in apt yet. I am using rpi-update. pi@raspberrypi:~ $ sudo rpi-update *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** Performing self-update *** Relaunching after update *** Ras...
by bunklung
Mon Aug 26, 2019 11:34 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

You should be able to play on different hdmi channels, using aplay, but I cannot remember the exact runes right now. I also tried: "hdmi_preferred=1" in /boot/config.txt to shift audio (and CEC) to HDMI1. (https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=244976&p=1495438&hilit=hdmi1+sound#p1...
by bunklung
Mon Aug 26, 2019 9:34 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

You should be able to play on different hdmi channels, using aplay, but I cannot remember the exact runes right now. Okay, I see the device, however it plays to HDMI0 aplay -l **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: ...
by bunklung
Sun Aug 25, 2019 5:26 pm
Forum: General discussion
Topic: Multi-Seat use of RPi 4
Replies: 44
Views: 3698

Re: Multi-Seat use of RPi 4

I will fiddle a bit, but it seems like better to wait for the two device full driver. Actually, I do not know if the full driver do will expose 2 DRI devices by default. But at least I can give a try in patching that up if necessary. Will not try that with fkms. Not worth the effort for a stopgap s...
by bunklung
Sun Aug 25, 2019 5:24 pm
Forum: General discussion
Topic: Dual Seat Acceleration on One GPU/Single DRM Layer RPi 4
Replies: 2
Views: 187

Dual Seat Acceleration on One GPU/Single DRM Layer RPi 4

This tread is being created to foster and track the support of a dual seat accelerated displays on the RPi 4 over it's single GPU/DRM layer. This feature would enable new use cases on a single RPi4 such as dual screen arcade cabinets, dual seat 3D accelerated stations for undeserved areas of the wor...
by bunklung
Sun Aug 25, 2019 4:48 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

I will start a new thread on the dual seat/device DRM discussion. (https://www.raspberrypi.org/forums/view ... 3&t=249870)

Has anyone got the second audio channel working? I don't see it available. Do I need to configure it on config.txt to be exposed?
by bunklung
Mon Aug 19, 2019 5:06 pm
Forum: Gaming
Topic: OpenArena and Other OpenGL Games RPI 4
Replies: 29
Views: 4475

Re: OpenArena and Other OpenGL Games RPI 4

[On q3lite] Do you foresee good improvements over just using Buster's ioquake 3 with cl_renderer opengl1? I mentioned somewhere in this thread that for Quake 3 Arena + opengl1, ioquake3 hangs after the splash animation even though OpenArena doesn't have the same problem. And quake3 + opengl2 has th...
by bunklung
Mon Aug 19, 2019 12:13 pm
Forum: General discussion
Topic: Multi-Seat use of RPi 4
Replies: 44
Views: 3698

Re: Multi-Seat use of RPi 4

I will fiddle a bit, but it seems like better to wait for the two device full driver. Actually, I do not know if the full driver do will expose 2 DRI devices by default. But at least I can give a try in patching that up if necessary. Will not try that with fkms. Not worth the effort for a stopgap s...
by bunklung
Mon Aug 19, 2019 11:09 am
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

Now, we just need a full KMS driver that has two devices :) 3D acceleration doesn't work on multi-seat, yet. AFAIK Full KMS won't expose two framebuffers either, as that is part of the DRM core framework which is used by both drivers. The KMS device exposes the CRTCs and encoders, and then the drm_...
by bunklung
Mon Aug 19, 2019 11:05 am
Forum: General discussion
Topic: Multi-Seat use of RPi 4
Replies: 44
Views: 3698

Re: Multi-Seat use of RPi 4

I will fiddle a bit, but it seems like better to wait for the two device full driver. Actually, I do not know if the full driver do will expose 2 DRI devices by default. But at least I can give a try in patching that up if necessary. Will not try that with fkms. Not worth the effort for a stopgap s...
by bunklung
Mon Aug 19, 2019 10:08 am
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Re: Independent Sound HDMI0 and HDMI1

Merged https://github.com/raspberrypi/linux/pull/3100 Should be available via rpi-update. Thank you very much! I will give it a go. This will make multi-seat audio work without an external USB device for sound on the second seat. Now, we just need a full KMS driver that has two devices :) 3D accele...
by bunklung
Mon Aug 19, 2019 10:05 am
Forum: General discussion
Topic: Multi-Seat use of RPi 4
Replies: 44
Views: 3698

Re: Multi-Seat use of RPi 4

Can you point me in the right direction of setting up rules for a single device, but two x servers? I am afraid that is not a matter of setting up udev rules... That would be the case if the fkms driver exposed 2 separate DRI devices, which it does not. There do exists methods to start a second X s...
by bunklung
Sun Aug 18, 2019 10:49 pm
Forum: General discussion
Topic: Multi-Seat use of RPi 4
Replies: 44
Views: 3698

Re: Multi-Seat use of RPi 4

What is your experience with 3D acceleration? Suggest you wait with experimenting with that until there is a full KMS driver instead of the current FKMS stopgap. Current FKMS only exposes a single /dev/dri device instead of one for each screen. While not impossible, it is a pain to share a single d...
by bunklung
Sun Aug 18, 2019 10:43 pm
Forum: General discussion
Topic: Multi-Seat use of RPi 4
Replies: 44
Views: 3698

Re: Multi-Seat use of RPi 4

In regards to the dual sound setup... I added this to /etc/udev/rules.d/99-seat.rules TAG=="seat", ATTR{id}=="CSPEAKER", ENV{ID_SEAT}="seat1" TAG=="seat", ATTRS{manufacturer}=="C-Media Electronics Inc. ", ENV{ID_SEAT}="seat1" TAG=="seat", ATTRS{product}=="USB PnP Sound Device", ENV{ID_SEAT}="seat1"...
by bunklung
Sun Aug 18, 2019 9:20 pm
Forum: General discussion
Topic: Independent Sound HDMI0 and HDMI1
Replies: 24
Views: 1793

Independent Sound HDMI0 and HDMI1

Are there any updates on support for independent sound between the two HDMI interfaces? It seems like it was just limited to software. Is this tracked internally or a public means of a feature request on this. 6by9 and jamesh: https://www.raspberrypi.org/forums/viewtopic.php?p=1493187#p1493187 https...

Go to advanced search