LINUX.ORG.RU

Избранные сообщения derlafff

Иан Романик из Intel о Valve Linux Team, патчи для улучшения производительности Left 4 Dead 2 с драйвером Intel

Форум — Talks

Last week my team and I spent some time in Bellvue working with Valve's Linux team on their port of Left 4 Dead 2.

It was the most successful work trip I've ever had. The guys at Valve were amazing to work with. They are sharp, driven, and have an aggressive plan. Looking at how far they've come and the short amount of time in which they've done it, I have every confidence that they're going to kick their plan right in the butt. It's going to be a good time to be a Linux gamer.

We had three main goals going in:

  • Help them tune their game for our driver / hardware.
  • Find out where our performance is lacking.
  • Find out what OpenGL features they need / want.

I think we scored on every point. We helped them find some performance bugs in their vertex buffer management (which also affected other GPUs / drivers) and some places where the accidentally triggered shader recompiles. This gave some healthy performance improvements.

We also found some areas where our driver really, really needs to improve. They have a couple shaders that devolve into register spilling nightmares. There are also a few places where we eat way, way too much CPU. A lot of these problems mirror issues that we've seen with other game engines (e.g., Unigine).

These have been a lot easier to diagnose on L4D2 because we have access to their source code. Being able to take a profile that shows times in the driver and in the application makes a world of difference. Being able to tweak little things in the app (what happens if I do this...) is also helpful for diagnosing performance problems. Eric has already started landing patches for L4D2 performance, and there will be many more over the coming weeks.

The funny thing is Valve guys say the same thing about drivers. There were a couple times where we felt like they were trying to convince us that open source drivers are a good idea. We had to remind them that they were preaching to the choir. :) Their problem with closed drivers (on all platforms) is that it's such a blackbox that they have to play guess-and-check games. There's no way for them to know how changing a particular setting will affect the performance. If performance gets worse, they have no way to know why. If they can see where time is going in the driver, they can make much more educated guesses.

We also got some really good feedback about features. The biggest feature they want is better output from GL_ARB_debug_output. They really want to know when they do things that fall off performance paths, trigger shader recompiles, etc. We hacked out some initial versions of this, and it was a big help. Some patches in that area should hit the mailing list soon.

They're also interested in what they call «smart vsync.» Swaps that are scheduled soon enough will have vsync, and the application will be vsync limited. Swaps that are scheduled too late happen immediately. In their words, «Tearing is bad, but dropping to 30fps is worse.» On GLX, we can expose this with GLX_EXT_swap_control_tear.

Отсюда

 , , ,

RussianNeuroMancer
()

Помогу новичкам в освоении системы Linux

Форум — General

Так как я давно в Linux и когда у меня что-нибудь не удаётся, я всегда нахожу причину, решил помочь разбираться в Linux новичкам. А также предложил заняться тем же знакомым в Jabber (XMPP). Минимальный гуглинг перед задаванием вопроса строго приветствуется.

Наша комната чата (Jabber-конференция), доступна по адресу linux-support@conference.sigil.tk. Кто заходит в Jabber-конференцию первый раз, поясняю: то, что до символа @ вводить в поле Room, а то что после - в Server. Вебгейт для конференции: http://sigil.tk/jabber/.

С пользователями различных дистрибутивов Linux, имеющими длительный опыт работы в них, можно связаться по Jabber:

Debian/Ubuntu, Arch (Linux):
z00ke, crustycrab@izhnet.org / crustycrab@jabber.ru,
derlafff, derlafff@qip.ru - установка системы с помощью deboostrap, настройка multitouch,
Spirit_of_Stallman, root_master@jabber.ru.

Debian/Ubuntu, Gentoo (Linux):
Chaser_Andrey, chaser_andrey at jabber.ru,
leg0las, leg0las@jabber.com.ua.

Arch, Debian, Ubuntu (Linux) Server - post-factum, oleksandr@natalenko.name.

Debian Linux и LFS - TERRANZ, terranz@terranz.ath.cx.

Debian/Ubuntu (Linux):
Licwin, licwin@jabbim.com,
Darth_Revan, sor.alexei@hotbox.ru,
GNU-Ubuntu1204LTS, Ubuntu9.10@sibnsk.net.

openSUSE, Debian, Gentoo, Mandriva/Mageia/PClinuxOS (Linux) - я, Zenitur@jabber.ru.

Fedora, Ubuntu (Linux): ArtKun, artkun@guitarplayer.ru.

Fedora Linux:
Jayrome, jayrome@jabber.ru,
tekk, tekk@jabber.ru.

Red Hat Enterprise Virtualization: Канал #rhev IRC-сети FreeNode. По вопросам KVM, qemu, RHEV/oVirt и все что вокруг (сети, железо, СХД, планирование, миграция...) поможет dyasny.

Gentoo Linux:
geladil, geladil@sigil.tk,
Pinkbyte, мыло&jabber: admin собака pinkbyte.ru,
Nensha, Mi@nengraphy.com - Sabayon, Gentoo,
tiandrey, tiacorpo@gmail.com (e-mail и Jabber),
Tanger, tanger@jabber.mipt.ru - Gentoo, awesome.

Slackware, Arch (Linux): mopsene, mopsene@jabber.ru.

Arch, Lunar (Linux): neocrust, Jabber/Mail: neocrust@gmail.com.

Arch Linux:
bsdfun, dreamsoul@jabber.ru,
pztrn, pztrn@pztrn.ru,
DoctorSinus, doctorsinus@jabber.ru.

ВНИМАНИЕ: Этот топик не предназначен для задавания технических или иных вопросов и ответов на них, а также просьб о помощи. Впредь подобные сообщения будут удаляться.

По поводу пополнения данного списка - обращаться к модераторам

Перемещено DoctorSinus из talks

 ,

ZenitharChampion
()

конец близок

Форум — Talks

core/libsystemd 185-2 (required by dbus-core)

аггр.

 ,

thelonelyisland
()

Klavaro версии 1.9.5

Новости — Open Source
Группа Open Source

Klavaro — это открытая программа для обучения печати на клавиатуре.

Основные возможности версии 1.9.5:

  • множество переводов, в том числе на русский и украинский;
  • на данный момент поддерживаются основные типы раскладок:
    • Qwerty (AR; BR; BR_abnt2; CZ; EL; EO; ES; HE; IT; JP; KK; NB; PT; SE; TR; UK; UR_crulp; UR_nla; US);
    • Dvorak (BR; DE_neo2; EO; FR; TR; UK; US; US_BR; US_ES; US_SE);
    • Qwertz (CZ; DE; HU);
    • Azerty (FR; FR_ibook; FR_bépo; BE);
    • Йцукен (RU; RU_typewriter; UA);
    • AlphaGrip5 (US).
  • редактирование раскладки;
  • наличие основного курса обучения, направленного на запоминание позиций клавиш.
  • адаптация упражнений — курс, развивающий набор случайных букв (полезно для набора иностранных слов).
  • онлайновые соревнования;
  • и прочее.

>>> Подробности

 klavaro, машинопись, уроки слепой печати

thelonelyisland
()

Python OS Project новая версия!

Форум — Talks

Доброго времени суток, уважаемые посетители сайта linux.org.ru!
Хочу сообщить вам, что несмотря на многие негативные и недоверчивые отзывы об альфа версии операционной системы POP мы готовим вторую версию системы. Этот будет Beta релиз, в который мы включили нашу новую разработку - Python Office Project!

Итак, наши планы:

  • Веб-браузер на питоне.
  • Офисный пакет на питоне - СДЕЛАНО (В Beta версии)!
  • X-сервер на питоне.
  • Ядро на питоне.
  • Обогнать по популярности Ubuntu и со временем Windows и занять доминирующее положение на рынке операционных систем!


Мы рады выслушать все предложения и замечания по развитию проекта!

Python OS Project

Перемещено mono из development

 ,

anton_pythonos
()

Bash + MySQL поля с несколькими словами

Форум — Development

Курю маны уже пол дня и никак не могу въехать Нужно из таблицы выбрать поля, некторые из которых могут содержать значения из нескольких слов. Как корректно это сделать?

result=`mysql -Bse "SELECT title, type, DATE_FORMAT(date,'%H:%i') from table where id=$id" --user="$user" --password="$pwd" $dbName`
n=0
for i in $result; do
  out[$n]=$i
  $n=$n+1
done;
создает массив, каждый элемент которого = отдельному слову. А если у меня в поле 'title' хранится, например, «два слова», как создать один элемент массива, а не два «два» и «слова»?

 ,

RJ45
()

Полезные плюшки

Форум — General

Периодически на хабре проскакивают статьи про различные плюшки для bash. Иногда попадаются очень полезные, иногда просто приятные. Только что открыл для себя, что bash можно научить регистронезависимому автокомплиту:

echo 'set completion-ignore-case on' >> ~/.inputrc
К примеру, теперь cd ~/down без проблем превращается в cd ~/Download. Подумал, что было бы неплохо устроить тред полезных плюшек для bash.

 

Insomnium
()

Опубликован набор из 43 патчей для драйвера видеокарт Intel

Новости — Hardware and Drivers
Группа Hardware and Drivers

Разработчики свободного драйвера для видеокарт Intel опубликовали 43 патча, целью которых является избежание мерцания экрана во время загрузки системы вплоть до запуска Х-сервера. Этот проект получил название «Fastboot». В сообщении о выпуске патчей также говорится, что в дальнейшем, возможно, удастся избежать мерцания и при запуске X-сервера.

Комментарий от Phoronix

Патчи

>>> Подробности

 , flicker, ,

doluphio
()

archlinux, если сменить симлинк /usr/bin/python с 3-й на 2-ю версию, я чего-нибудь сломаю?

Форум — General

собственно сабж

pawnhearts
()

Как люди умудряются допускать утечки памяти?

Форум — Talks

Ведь удобный менеджер памяти, следящий за выделением и освобождением памяти пишется за пару часов?

cvs-255
()