मैं मम्बल का ओवरले कैसे काम कर सकता हूं?


14

मम्बल और टीम किले 2 (TF2) दोनों मेरे लिए व्यक्तिगत रूप से ठीक काम करते हैं, लेकिन मैं स्वतंत्र रूप से या TF2 के भीतर काम करने के लिए mumble-overlay काम नहीं कर सकता।

मैंने निम्नलिखित लॉन्च विकल्पों को स्टीम में TF2 के गुणों में डालने की कोशिश की है, जिनमें से किसी ने भी काम नहीं किया है। (एनबी मैं भौंरा और 64-बिट कंप्यूटर का भी उपयोग कर रहा हूं)

mumble-overlay primusrun %command%
mumble-overlay primusrun %command% -nod3d9ex
mumble-overlay primusrun %command% -d3d9ex -32bit
LD_PRELOAD=/usr/lib/mumble/libmumble.so.1.2 primusrun %command%

TF2 विंडो मोड में है, इसलिए मैं अपने ही ओवरले का निर्माण करने वाले mumble से खुश रहूंगा जो TF2 में इंजेक्ट नहीं किया गया था।


Mumble के कौन से संस्करण का उपयोग कर रहे हैं। ऐसा लगता है कि it thatsa

@nwildner मैं नवीनतम mumble 1.2.12 चला रहा हूं। primusrunने हाल ही में मेरे लिए काम करना बंद कर दिया है, इसलिए मुझे TF2 लॉन्च करने के "पुराने" तरीके पर वापस लौटना पड़ा है। मैंने निम्नानुसार mumble कमांड डालने की कोशिश की, लेकिन TF2 बिल्कुल भी लॉन्च करने में विफल है। LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 mumble-overlay optirun %command%। मैंने अपने अपडेट लॉग की जाँच की, और जाहिर तौर पर मैं जून 10 '14 पर 1.2.6 चला रहा था, इसलिए मुझे लगता है कि मुझे यह समस्या ,1.2.5 है।
Sparhawk

1
क्या आपने यहां विस्तृत समाधान की कोशिश की है? reddit.com/r/tf2/comments/393upg/…
Natecat

@ नेटकैट नहीं, मैंने नहीं। लिंक के लिए धन्यवाद। हालाँकि, यह बहुत आक्रामक लगता है, क्योंकि मैं पहले से ही एक कंपीडिटर (केडीई प्लाज्मा में) चल रहा हूं। अगर मुझे हर बार लॉग आउट करना है, तो मैं दोहरी बूट भी कर सकता हूं। फिर भी धन्यवाद।
स्पार्कहॉक

जवाबों:


1

क्योंकि यह फिक्स समग्र प्रबंधक को संशोधित करने पर निर्भर करता है, और आपके पास एक समय में केवल एक समग्र प्रबंधक हो सकता है, यह तब तक करना मुश्किल है जब तक कि आप पहले से ही एक सिस्टम का उपयोग नहीं करते हैं जिसमें एक समग्र चरखी नहीं है। मुझे संदेह है कि LD_PRELOAD को किसी भी संयुक्त प्रबंधक के लिए लागू करना संभव है, लेकिन समग्र प्रबंधक प्रत्येक OS और डेस्कटॉप वातावरण के लिए विशिष्ट है। मुझे यह भी संदेह है कि आप अपने ओएस को कॉम्पटन और फिक्स का उपयोग करने के लिए मजबूर कर सकते हैं, लेकिन फिर से जो ओएस / डेस्कटॉप पर्यावरण के लिए विशिष्ट है।

यदि आपके पास एक समग्र प्रबंधक है, तो इस अगले भाग को छोड़ दें, यदि आपके पास एक समग्र प्रबंधक नहीं है, तो इन चरणों का पालन करें:

Install compton

Run the following command in your terminal and you will be all set, note that you must rerun this command every time you login, so I suggest putting this in your .bash_profile or .zprofile (if using ZSH).

LD_PRELOAD=/usr/lib/mumble/libmumble.so compton -CGb --backend glx --paint-on-overlay

The flags -CG disable shadow effects
The flag -b runs it in the background as a daemon
The flag --backend glx runs it using OpenGL

The flag --paint-on-overlay paints on X Composite overlay window instead of on root window. You can add the flag --vsync with an argument to enable vsync.

Run mumble. Because of the nature of the fix, you can start mumble after TF2 and still have the overlay show up. The overlay will appear whenever you are connected to a mumble server.

यदि आप अधिकांश लोगों की तरह हैं और आपके ओएस के साथ एक समग्र प्रबंधक बंडल है, तो यह कार्य अधिक शामिल हो जाता है क्योंकि आपके पास एक बार में 2 कंपोज़र नहीं चल सकते हैं। कृपया ध्यान दें कि यह फिक्स बदसूरत है और इसे सेट करने के लिए कुछ समय की आवश्यकता होती है और आपको हर बार लॉग इन करने की आवश्यकता होती है। इस गाइड से निम्नलिखित चरणों को परिभाषित और संशोधित किया गया है।

Install compton and openbox (you can optionally install obconf and obmenu, but they are not necessary)

Create the directory ~/.config/openbox if it does not exist

In that directory create a file called autostart

In that file, place the following (any line starting with a # is a comment and it will not be run)

# Starts compton and is necessary for the overlay to work, look at the above section on compton to decide what flags you want to use
LD_PRELOAD=/usr/lib/mumble/libmumble.so compton -CGb --backend glx --paint-on-overlay &

# Autostarts steam
steam &

# Autostarts mumble (comment out to stop mumble from automatically starting)
mumble &

# You also can place any program in here that you wish to start
# Use a & at the end of the name so that your computer does no wait until
# that program is fully started before it start the next program.

When you wish to play a game, logout of you account, and then select openbox as your desktop environment. This requires a login manager than supports multiple desktop environments. Most do, but it may require you to look around to find out how to switch desktop environments. If you are using startx/.xinitrc, make sure that you use exec openbox-session rather than exec openbox because exec openbox does not automatically load the autostart file.

To return to your normal desktop, logout of your account and then select your normal desktop environment from you login manager.

जवाब के लिए धन्यवाद। दुर्भाग्य से ( ऊपर मेरी टिप्पणियों के अनुसार) मैं पहले से ही एक कंपोजिटर चला रहा हूं। अंदर और बाहर प्रवेश करना मेरे लिए बहुत आक्रामक है; मैं दोहरी बूट भी कर सकता हूं। वैसे भी +1।
स्पार्कहॉक

@ श्रावक, आह, यह सुनने के लिए खेद है काम आदमी नहीं है। मैं यह देखने की कोशिश करूंगा कि क्या मुझे कुछ और पता है।
kommander0000
हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.