Bug 1113154

Summary: GALLIUM_HUD environment variable ignored by llvmpipe/softpipe gallium drivers
Product: [openSUSE] openSUSE Distribution Reporter: Damian Zaręba <damianzrb>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Minor    
Priority: P3 - Medium CC: damianzrb, jxu
Version: Leap 15.0   
Target Milestone: Leap 15.2   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: GALLIUM_HUD glxgears
Run command 'GALLIUM_HUD=fps glxgear'

Description Damian Zaręba 2018-10-24 16:47:10 UTC
Created attachment 787059 [details]
GALLIUM_HUD glxgears

Hello! I cannot use GALLIUM_HUD environment variable even with glxgears. It shows nothing, and It should get something like this if invoked with GALLIUM_HUD=fps (file in attachments)

OS: Leap 15
Mesa: 18.0.2 (But exists in Experimental OBS repository version,too)
Graphics driver: llvmpipe, intel, modesetting
Xorg: 1.19.6 and 1.20.2
Comment 2 Zejin Xu 2018-10-25 09:51:24 UTC
Created attachment 787132 [details]
Run command 'GALLIUM_HUD=fps glxgear'
Comment 3 Stefan Dirsch 2018-10-25 10:28:01 UTC
Works for me with radeon driver. It's known that intel isn't using gallium. Therefore I would claim, this cannot work. But it is my understanding,that it should also work llvmpipe, which uses gallium, but for some reason it doesn't for me.

# LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER="llvmpipe" GALLIUM_HUD=fps glxgears
Comment 4 Stefan Dirsch 2020-02-26 17:15:03 UTC
Hmm. Apparently meanwhile works for me on Leap 15.2 with Mesa 19.3.4 and "llvmpipe" driver.