CinemaMod / mcef

A Minecraft mod and library for adding the Chromium web browser into the game (Minecraft Chromium Embedded Framework)
GNU Lesser General Public License v2.1
74 stars 24 forks source link

I have a white screen (Chrome OS/Debian KVM) #6

Closed Christiaannr1 closed 3 years ago

Christiaannr1 commented 3 years ago

I have a white screen i dont know why

ds58 commented 3 years ago

What operating system are you using? Are you sure you removed the old version of MCEF?

Christiaannr1 commented 3 years ago

Im using Linux Debian on chromebook. Yes i removed the old version of MCEF

ds58 commented 3 years ago

What CPU does your Chromebook use? Is it ARM based?

Christiaannr1 commented 3 years ago

Im going to check

Christiaannr1 commented 3 years ago

AMD64 i think

ds58 commented 3 years ago

Are you using the vanilla launcher or a 3rd party one?

Christiaannr1 commented 3 years ago

I first tested it with multimc but that didnt work so i tested it with the vanilla launcher and that also didnt work

ds58 commented 3 years ago

Could you post the output of lscpu and also lspci?

Christiaannr1 commented 3 years ago

Uh where can i find that in .minecraft?

ds58 commented 3 years ago

You will have to run those commands in a terminal shell

Christiaannr1 commented 3 years ago

christiaan@penguin:~$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 39 bits physical, 48 bits virtual CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 122 Model name: 06/7a Stepping: 8 CPU MHz: 1094.400 BogoMIPS: 2188.80 Hypervisor vendor: KVM Virtualization type: full L1d cache: 24K L1i cache: 32K L2 cache: 4096K Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand hypervisor lahf_lm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust smep erms mpx rdseed smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves arat md_clear arch_capabilities christiaan@penguin:~$ lspci 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] 00:01.0 Unassigned class [ffff]: Red Hat, Inc Virtio console (rev 01) 00:02.0 Unassigned class [ffff]: Red Hat, Inc Virtio block device (rev 01) 00:03.0 Unassigned class [ffff]: Red Hat, Inc Virtio block device (rev 01) 00:04.0 Unassigned class [ffff]: Red Hat, Inc Device 105b (rev 01) 00:05.0 Unassigned class [ffff]: Red Hat, Inc Virtio RNG (rev 01) 00:06.0 Unassigned class [ffff]: Red Hat, Inc Virtio memory balloon (rev 01) 00:07.0 Unassigned class [ffff]: Red Hat, Inc Virtio network device (rev 01) 00:08.0 Unassigned class [ffff]: Red Hat, Inc Device 107f (rev 01) 00:09.0 Display controller: Red Hat, Inc Virtio GPU (rev 01) 00:0a.0 Unassigned class [ffff]: Red Hat, Inc Device 1053 (rev 01) 00:0b.0 Audio device: Intel Corporation 82801AA AC'97 Audio Controller 00:0c.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller

ds58 commented 3 years ago

Are you using a KVM virtual machine? Does your GPU have 3D acceleration? Its listed as a virtio GPU

Christiaannr1 commented 3 years ago

I dont know. Where can i find it?

Christiaannr1 commented 3 years ago

Do you mean this?

00:09.0 Display controller: Red Hat, Inc Virtio GPU (rev 01)

ds58 commented 3 years ago

The info in lscpu and lspci leads me to believe you are running a virtual machine. Is this the case?

ds58 commented 3 years ago

Do you mean this?

00:09.0 Display controller: Red Hat, Inc Virtio GPU (rev 01)

Yes also: Hypervisor vendor: KVM

Christiaannr1 commented 3 years ago

When you enable linux in chrome os it makes a virtual machine to run linux apps and use the terminal

ds58 commented 3 years ago

I wouldn't be able to support this setup unfortunately. Are you even able to play Minecraft?

Christiaannr1 commented 3 years ago

Yes with 50-60 fps

ds58 commented 3 years ago

Could you possibly post a tutorial you followed to get this working? Not super familiar with Chromebooks or Chrome OS

Christiaannr1 commented 3 years ago

I have not followed a tutorial. I just downloaded forge for 1.12.2 and then webdisplay mod and MCEF but then it didn't work so I looked on the internet and saw this mod you made and wanted to test it only it was still white screen. Sorry if my english is bad.

ds58 commented 3 years ago

Sorry, I don't think I can support this setup. I don't have access to a Chromebook nor do I believe it would work in a virtualized environment using virtio GPU drivers (which to my knowledge don't support opengl? at least not without major tweaks)

It may be possible to get it working with some tweaks but you'll have to be on your own.

Currently, MCEF supports (on native hardware, not virtualized):

Linux x64 Windows 10 x64 macOS x64

Christiaannr1 commented 3 years ago

Aw man I wanted to do this mod with my friends