본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

web starts reloading infinitely

  • 4 답장
  • 0 이 문제를 만남
  • 1 보기
  • 최종 답변자: 6redvvest9

more options

WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. THREE.WebGLRenderer: Context Lost. 5 three.module.js:28674:11 THREE.WebGLRenderer: Context Restored. 5 three.module.js:28682:11

I got these errors on my console when I load the page. Everything is correct, but after doing some actions (button clicks or text inputting), the web is crashing, and I get these errors in the console, and it starts infinitely reloading.

You can try it here: https://west.software/

WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. WebGL warning: <Present>: Swap chain surface creation failed. WebGL context was lost. THREE.WebGLRenderer: Context Lost. 5 three.module.js:28674:11 THREE.WebGLRenderer: Context Restored. 5 three.module.js:28682:11 I got these errors on my console when I load the page. Everything is correct, but after doing some actions (button clicks or text inputting), the web is crashing, and I get these errors in the console, and it starts infinitely reloading. You can try it here: https://west.software/

모든 댓글 (4)

more options

Does it still happen in a new profile? An easy way to test a new profile is to install Developer Edition and see if it happens there or refresh your existing profile.

more options

Thank you, for your answer!

Unfortunatelly it didn't help.

As i noticed the error is related to this line: frameloop="always" when I change it to frameloop="demand", web works good, but I wanna use "always"

The importang thing I noticed that before infinite reloading CanvasRender is usin 98 CPU


import React, { Suspense } from "react"; import { Canvas } from "@react-three/fiber"; import { Decal, Float, OrbitControls, Preload, useTexture } from "@react-three/drei";


import CanvasLoader from "./Loader"



const Ball = (props) => {

 const [decal] = useTexture([props.imgUrl])
 return (
   <Float speed={.005} rotationIntensity={1} floatIntensity={2}>
     <ambientLight intensity={.25} />
     <directionalLight position={[0, 0, .05]} />
     <mesh castShadow receiveShadow scale={2.75}>
       <icosahedronGeometry args={[1, 1]} />
       <meshStandardMaterial
         color="#8176AF"
         polygonOffset
         polygonOffsetFactor={1}
         flatShading
       />
       <Decal position={[0, 0, 1]} rotation={[2 * Math.PI, 0, 6.25]} flatShading map={decal} />
     </mesh>
   </Float>
 )

}

const BallCanvas = ({ icon }) => {

 return (
   <Canvas
     frameloop="always"
     gl={{ preserveDrawingBuffer: true }}
   >
     <Suspense fallback={<CanvasLoader/>}>
       <OrbitControls
         enableZoom={false}
       />
       <Ball imgUrl={icon} />
     </Suspense>
     <Preload all />
   </Canvas>
 )
</pre>

}

export default BallCanvas;

more options

The site fails to load for me with WebGL disabled (webgl.disabled set to true in about:config) which can also happen if there is a graphics failure. Since it is only being used for some ball decorations, it should be able to fail gracefully and load without them.

more options

for me it is set to true, but the problem is still here