Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 15:49:32



Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
hardware acceleration not working on Linux 
Author Message

Joined: 2016-11-19 17:34:41
Posts: 10
Reply with quote
This has worked perfectly well!
I'm still trying different Linux distros to try get the very latest Intel gpu driver working, but it seems the pixel shaders are software emulated on this gpu.
I'll need to go through the featuretable_linux.txt file and others. maybe debug settings for the video tests ?

I might as well change hardware and go for a decent graphical card.
I know the reply will depend everyone's interpretation and expectations, but is a graphics card at the level of the NVidia GT730 enough to have all lighting options enabled ? I'm not after a lot of FPS.


2016-12-06 07:47:46
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
areca18@ wrote:
This has worked perfectly well!
The /etc/X11/xinit.d/vram_tweak or the new LL_VRAM_MB variable in the cool_vl_viewer wrapper script ? Both shall work equally well with the Cool VL Viewer, but only the first trick will work with other viewers.

Quote:
I'm still trying different Linux distros to try get the very latest Intel gpu driver working, but it seems the pixel shaders are software emulated on this gpu.
You really should not bother... Intel GPUs are not powerful enough, period.

Quote:
I'll need to go through the featuretable_linux.txt file and others. maybe debug settings for the video tests ?
The feature table shall not be modified: it is just a list of presets that correspond to the default settings for the different GPU classes (themselves defined in the GPU table). You can always override those settings at run time (via the "Preferences" floater, "Graphics" tab): if a particular setting is greyed out, it's just that your GPU and/or driver do not support the associated feature and no amount of tweaking will change that fact.

Quote:
I might as well change hardware and go for a decent graphical card.
Indeed...

Quote:
I know the reply will depend everyone's interpretation and expectations, but is a graphics card at the level of the NVidia GT730 enough to have all lighting options enabled ? I'm not after a lot of FPS.
According to NVIDIA's specifications for the GT 730, there are very different models, ranging from only 96 CUDA cores (insufficient) to 384 (might work)... I can't tell for sure, since I did not try it, but I personally won't try running a viewer in ALM mode + shadows with anything less powerful than a GTX 660 (for ALM without shadows, a GTX 460 can do it well enough), even more so if you want to enable SSAO as well. Your best bet is to give it a try before buying it, or to make sure you can exchange the card for a more powerful one (if you buy online, depending on your country regulations, there's a retraction delay during which you can return the goods you bought if you changed your mind about them) should it prove too weak.


2016-12-06 09:35:17
Profile WWW

Joined: 2016-12-07 03:50:27
Posts: 2
Reply with quote
Hi.

Just switched to CVLV and love it, except that I am getting the notorious texture thrashing (Textures constantly blur / clear / blur / clear rapidly). Checking graphics settings, I see that the viewer is maxing me out at 128mb of texture memory.

Code:
dragostini@doesntmatter ~ $ sudo dmesg | grep drm
[sudo] password for dragostini:
[    1.822110] [drm] Initialized drm 1.1.0 20060810
[    1.853624] [drm] Memory usable by graphics device = 2048M
[    1.853631] fb: switching to inteldrmfb from VESA VGA
[    1.853743] [drm] Replacing VGA console driver
[    1.859268] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.859272] [drm] Driver supports precise vblank timestamp query.
[    1.883109] fbcon: inteldrmfb (fb0) is primary device
[    1.883238] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    1.886620] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0


system says I have 2gb available, so not sure why the viewer is defaulting me to a max of 128. I can't slide the slider any higher, like to 512 or something.

system specs:

Linux Mint 18 KDE x64
8GB DDR3 RAM
intel i5-4210U
IntelHD 4400

Yes, I know the intel series sucks for SL. But that being said, all other viewers (Firestorm and Singularity are the two I used most on Linux), were not defaulting me like this to 128, and running on 512 was perfectly fine with everything up to Advanced lighting enabled (I'd leave advanced lighting off, but all shaders enabled).

Tips? I'd hate to have to return to a different viewer. I wanted a Bento viewer with V1 UI...


2016-12-07 03:55:48
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
That's because Intel "GPUs" (if we can at all call them that) do not have VRAM, instead using the (slooooow) system RAM, and Xorg does not report the available memory amount in /var/log/Xorg.0.log, where the viewer searches for it.

Simply edit the cool_vl_viewer wrapper script and uncomment the "#export LL_VRAM_MB=512" line to read:
Code:
## - If the viewer fails to properly detect the amount of VRAM on your graphics
##   card, you may specify it (in megabytes) via this variable.
export LL_VRAM_MB=512

You can of course change 512 for anything fancying you, as long as your graphics "card" (here, pseudo-GPU) and driver can handle it...


2016-12-07 08:37:22
Profile WWW

Joined: 2016-12-07 03:50:27
Posts: 2
Reply with quote
Where is the wrapper located? doing " locate wrapper " did not show me it (Big list obviously, but I found no reference to CoolVL


edit: I'm retarded. Ignore, all is well now. Thanks.


2016-12-07 22:03:05
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Topics merged.


2016-12-07 23:17:56
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.