Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OpenScad produces no visible rendering at all
Date: Sat, 21 Oct 2017 03:01:23
Message-Id: 20171021030100.qqknoibo5pxohzve@solfire
In Reply to: Re: [gentoo-user] OpenScad produces no visible rendering at all by R0b0t1
1 On 10/20 09:53, R0b0t1 wrote:
2 > On Fri, Oct 20, 2017 at 9:42 PM, <tuxic@××××××.de> wrote:
3 > > On 10/20 09:32, R0b0t1 wrote:
4 > >> On Fri, Oct 20, 2017 at 8:41 PM, <tuxic@××××××.de> wrote:
5 > >> > Hi,
6 > >> >
7 > >> > After installing OpenScad I started an example.
8 > >> > After the loading process ends I hit "preview" -
9 > >> > a script compiling process starts,,,and....
10 > >> > nothing was shown.
11 > >> > Same happens, when I hit "rendering".
12 > >> >
13 > >> > from lspci (the smaller card feeds the desktop, the bigger one is for Rendering
14 > >> > with Blender only, I set CUDA_VISIBLE_DEVICES=0)
15 > >> > 02:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
16 > >> > 02:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1)
17 > >> > 09:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
18 > >> > 09:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
19 > >> >
20 > >> > Output on OpenScad own terminal after hitting preview of the example "CSG.openscad)
21 > >> > Compiling design (CSG Tree generation)...
22 > >> > ECHO: version = [2015, 3, 0]
23 > >> > Compiling design (CSG Products generation)...
24 > >> > Geometries in cache: 2
25 > >> > Geometry cache size in bytes: 62800
26 > >> > CGAL Polyhedrons in cache: 0
27 > >> > CGAL cache size in bytes: 0
28 > >> > Compiling design (CSG Products normalization)...
29 > >> > Normalized CSG tree has 6 elements
30 > >> > Compile and preview finished.
31 > >> > Total rendering time: 0 hours, 0 minutes, 1 seconds
32 > >> >
33 > >> > Outout on the terminal, from which I started OpenScad:
34 > >> > solfire:/home/mccramer>openscad
35 > >> > using visual class 4, id 2b
36 > >> > hijackWindow() context created for LaunchingScreen(0x2ade380, name = "LaunchingScreen") 1
37 > >> > Created Window Surface FBO QSize(620, 418) with samples 8
38 > >> > hijackWindow() context created for MainWindow(0x2b0ed20, name = "MainWindow") 1
39 > >> > Created Window Surface FBO QSize(1920, 1141) with samples 8
40 > >> > hijackWindow() context created for QWidget(0x2b5b010, name = "centralwidget") 2
41 > >> > hijackWindow() context created for QWidget(0x2cab240, name = "mainWidget") 3
42 > >> > hijackWindow() context created for QToolBar(0x2bc6350, name = "viewerToolBar") 4
43 > >> > hijackWindow() context created for QMenuBar(0x2bf2580, name = "menubar") 5
44 > >> > hijackWindow() context created for QStatusBar(0x2c1ca20, name = "statusbar") 6
45 > >> > hijackWindow() context created for QSizeGrip(0x2c1cda0) 7
46 > >> > hijackWindow() context created for QLabel(0x33ff150) 8
47 > >> > hijackWindow() context created for QLabel(0x2b9eb70) 9
48 > >> > hijackWindow() context created for Dock(0x2b05220, name = "editorDock") 10
49 > >> > hijackWindow() context created for Dock(0x2ba9fe0, name = "consoleDock") 11
50 > >> > hijackWindow() context created for QMenu(0x2b02c00, name = "menu_View") 1
51 > >> > Created Window Surface FBO QSize(184, 583) with samples 8
52 > >> >
53 > >> > What wrong here?
54 > >> > Why I can't see any rendered output?
55 > >> >
56 > >> > Cheers
57 > >> > Meino
58 > >> >
59 > >>
60 > >> Hello,
61 > >>
62 > >> Are you using OpenSCAD interactively? When I used BRL-CAD rendering
63 > >> and viewing were separate actions. You could render headlessly.
64 > >>
65 > >> Cheers,
66 > >> R0b0t1
67 > >>
68 > >
69 > > OpenScad is an integrated GUI (see: http://www.openscad.org/).
70 > > Instead of the 3D-view I only see a black, sometimes yellowish
71 > > window shown nothing but an empty space.
72 > >
73 > > Zoommin in/out does not help.
74 > >
75 >
76 > Can you set your camera to be viewing the origin? If you can see
77 > something at all I think it unlikely the graphics code is broken.
78 >
79
80 Wait! I found something:
81 When running blender in parallel, everything works fine.
82 What the heck...
83
84 Cheers
85 Meino