Archív značiek: ubuntu

LTS releasy ubuntu

Otazka:
Ako je to plz s tym, ze co sa kedy dostane do repozitarov? Zaujima ma tento konkretny pripad:
Balicek „kdevelop“ (vyvojove prostredie pre c++, php)

Mam Ubuntu 14.04 (LTS, support az do 2019)

V repozitaroch je dostupny balicek 4.6.0 (2014-01-20). Aktualne uz existuju verzie 4.7.0 (2014-09-22), 4.7.1(2015-03-13) ale v repozitari niesu.

Prelustroval som si http://sk.archive.ubuntu.com/ubuntu/pool/universe/ a zistil som toto:
* http://sk.archive.ubuntu.com/ubuntu/pool/universe/k/kdevelop/ – balicky sa tu nachadzaju az do verzie 4.7.1
* Packages pre moju verziu 14.04 ( http://sk.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages.gz ) obsahuje kdevelop 4.6.0
* Packages pre trochu novsiu verziu 14.10 ( http://sk.archive.ubuntu.com/ubuntu/dists/utopic/universe/binary-i386/Packages.bz2 ) obsahuje kdevelop 4.7.0

A tak ma zaujima – preco novsie balicky niesu na aktualnom LTS release hned po ich vytvoreni?

Odpoved:
https://wiki.ubuntu.com/LTS

Pravidelne nie-LTS releasy su zamerane na caste releasovanie a najnovsi software.
LTS releasy su zamerane na stabilitu, updatovanie security balickov, ale nie vsetkych balikov. Do repozitarov LTS releasu sa preto nedostanu najnovsie baliky vsetkych programov. Cesta ako to obist je napriklad pridat si repozitar http://archive.ubuntu.com/ubuntu <novsi release> universe ale treba si potom dat pozor na updatovanie roznych softwarov a zavislosti.ubuntu,

Older notes about Ati Radeon and why I can’t play new games

https://help.ubuntu.com/community/RadeonDriver

Could not find required OpenGL entry point glColorMaskIndexedEXT

Driver  „radeon“

xserver-xorg-video-ati (6.99.99)
[    29.467] (II) Module radeon: vendor=“X.Org Foundation“
[    29.467]     compiled for 1.11.3, module version = 6.99.99

~$ glxinfo | grep pen
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV570
OpenGL version string: 2.1 Mesa 9.0
OpenGL shading language version string: 1.20
OpenGL extensions:

lspci -nn | grep VGA
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV570 [Radeon X1950 PRO] [1002:7280]

This is not about Xorg. This is a kernel module. You do not need a newer Xorg.

Linux GL drivers work like this:
In the kernel there is a DRM module which does the direct access to the hardware. It is used by the DRI drivers. libdrm acts as a kind of glue between these two.

Linux drivers consist of multiple parts, for 3D acceleration the most important are:
1) Mesa with DRI drivers.
2) The hardware-specific kernel module
3) Other stuff such as libdrm, the X driver, generic stuff in the kernel, etc.

The problem here is that 2) is rather outdated in kernels commonly used. The current version of 2) is not yet part of the mainstream kernel (I suppose Linus wants it to be tested more before it will be unleashed on all Linux users). AFAIK 1) and 3) are already capable of OpenGL 2.1 in current distros.

export MESA_EXTENSION_OVERRIDE=GL_EXT_draw_buffers2
miro@uhlie:~/.local/share/Steam/SteamApps/common/Half-Life 2$ ./hl2.sh

Mesa ver    date    OpenGl ver
10.0    (2013-11-30)[9]     3.3
9.0     (2012-10-08)     3.1
8.0     (2012-02-08)     3.0
7.0     (2007-06-22)     2.1

—————
https://help.ubuntu.com/community/BinaryDriverHowto/
1)
http://www2.ati.com/drivers/linux/ati-driver-installer-9-3-x86.x86_64.run
Error: ./default_policy.sh does not support version
default:v2:i686:lib::none:3.2.0-60-generic-pae; make sure that the version is being
correctly set by –iscurrentdistro

2)
https://launchpad.net/~xorg-edgers/+archive/ppa
+ update
2a – newer version of radeon module:
[    28.915] (II) Module radeon: vendor=“X.Org Foundation“
[    28.915]     compiled for 1.12.3, module version = 7.1.99
2b – Mesa 9.2.0 (vs 9.0)
Hl2 aj tak nejde…

http://askubuntu.com/questions/124292/what-is-the-correct-way-to-install-proprietary-ati-catalyst-video-drivers-fglrx

==============
==============

[   669.851] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[   669.851] (II) Module radeon: vendor=“X.Org Foundation“
[   669.851]     compiled for 1.11.3, module version = 6.99.99

[   669.870] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[   669.871] (II) [KMS] drm report modesetting isn’t supported.

[   670.117] (II) UnloadModule: „radeon“
[   670.117] (II) Unloading radeon

After update to Xubuntu 14

[    35.475] (II) Module glx: vendor=“X.Org Foundation“
[    35.475]    compiled for 1.15.1, module version = 1.0.0

[    35.475] (II) LoadModule: „radeon“
[    35.476] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    35.544] (II) Module radeon: vendor=“X.Org Foundation“
[    35.544]    compiled for 1.15.1, module version = 7.3.0
[    35.544]    Module class: X.Org Video Driver
[    35.544]    ABI class: X.Org Video Driver, version 15.0

[    36.260] (II) config/udev: Adding drm device (/dev/dri/card0)

miro@uhlie:~$ glxinfo | grep pen
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV570
OpenGL version string: 2.1 Mesa 10.1.3
OpenGL shading language version string: 1.20

02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV570 [Radeon X1950 PRO] [1002:7280]

==== 2014-10 ====

http://askubuntu.com/questions/501560/how-to-update-opengl-driver-on-ubuntu-14-04-lts
To get a slightly newer version of the OpenGl drivers, I would recommend the oibaf drivers from the launchpad website – these implement OpenGl 3.0, and are pretty stable.

To install open a terminal window and enter

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get upgrade

To remove, you can use ppa-purge

sudo apt-get install ppa-purge
sudo ppa-purge ppa:oibaf/graphics-drivers

miro@uhlie:~/work/burza/run_linux$ glxinfo | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 2.1 Mesa 10.4.0-devel (git-6862723 2014-09-30 trusty-oibaf-ppa)
OpenGL shading language version string: 1.20
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 10.4.0-devel (git-6862723 2014-09-30 trusty-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

===
Radeon feature matrix:
http://xorg.freedesktop.org/wiki/RadeonFeature/
(R300,R400,R500 = Gl2.1)
http://en.wikipedia.org/wiki/ATi_Radeon_R300_Series
http://en.wikipedia.org/wiki/Radeon_X1000_Series#X1900_and_X1950_series
support OpenGL 2.0
X1950 = R520/580

HL2:
This system DOES NOT support the OpenGL extension
GL_APPLE_fence
GL_NV_fence
GL_EXT_draw_buffers2
Could not find required OpenGL entry point ‚
glColorMaskIndexedEXT
‚! Either your video card is unsupported, or your OpenGL driver needs to be updated.

Mesa 7.9 Release Notes / October 4, 2010
http://www.mesa3d.org/relnotes/7.9.html
GL_EXT_draw_buffers2 (in nv50, r600, softpipe, and llvmpipe Gallium drivers)

Mam par rokov stare PC, mam v nom akcelerovanu graficku kartu a tak som si chcel zahrat niektore hry.

A prisiel som na neprijemnu skutocnost, ze niektore novsie mi nepojdu, nech sa aj rozkrajam (finale mojho vyskumu).

Hra: Half Life 2 released in: 2004
Karta: Radeon X1950 PRO released in: 2006 (novsia ako hra)

http://devgurus.amd.com/community/steam-linux/

2014-10-02
Options:
Install AMD Catalyst latest driver 14.9 9/29/2014 http://support.amd.com/en-us/download/desktop?os=Linux+x86
Install fglrx 13.350 from repos

Changing from Radeon to Nvidia, from official to noveau driver

Graphics card:  Nvidia GTX 460 (supported by noveau driver, codename NVC0 / Fermi)

Trying nouveau driver, problems that no KMS is enabled:
[ 29.825] (EE) [drm] KMS not enabled
[ 29.826] (EE) No devices detected.

Displaying cat /var/log/kern.log |grep fb0: shows that there is no FrameBuffer assigned. It should show:
fb0: nouveaufb frame buffer device.

Reading:
http://nouveau.freedesktop.org/wiki/KernelModeSetting/
http://unix.stackexchange.com/questions/83319/how-can-i-know-if-the-current-kernel-was-compiled-with-a-certain-option-enabled

KMS could not be enabled, FB:0 is still not set … tried to install noveau.ko through insmod but it was hard (because you have to install dependencies manually)
dmesg | tail (shows errors from insmod)
uname -r
cd /lib/modules/3.13.0-43-generic/kernel/drivers

$ sudo insmod ./platform/x86/wmi.ko
$ sudo insmod ./platform/x86/mxm-wmi.ko
$ sudo insmod ./gpu/drm/nouveau/nouveau.ko
$ sudo insmod ./i2c/algos/i2c-algo-bit.ko
$ sudo insmod ./acpi/video.ko
$ sudo insmod ./gpu/drm/nouveau/nouveau.ko

nouveau module was loaded, I had to load it manually and also dependencies:

drm
drm_kms_helper
ttm
wmi
mxm_wmi
i2c-algo-bit
video
nouveau

through sudo modprobe <name>
or
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/platform/x86/wmi.ko

path:
/lib/modules/$(uname -r)/kernel/drivers/platform/x86/wmi.ko
/lib/modules/$(uname -r)/kernel/drivers/platform/x86/mxm-wmi.ko
/lib/modules/$(uname -r)/kernel/drivers/platform/x86/wmi.ko
/lib/modules/$(uname -r)/kernel/drivers/platform/x86/wmi.ko
/lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nouveau/nouveau.ko

How to load them permanently:
1) add them to /etc/modules (only names nothing more)
2) sudo update-initramfs -u
The update-initramfs script manages your initramfs images on your local box.

But still nouveau was loaded manually, framebuffer was  assigned, but after reboot all modules except nouveau were loaded.

After more googling found that it was maybe blacklisted. And really, search in the /etc/modprobe.d/ found that file nvidia-current_hybrid.conf contained:
# This file was installed by nvidia-current
# Do not edit this file manually
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off

Started working
After commenting these out nouveau started to work after reboot. Problems:
* Can’t wake up from sleep. Display shows, but freezes, can’t even change to console.

Desktop performance: great. But sometimes flash of older screen (screensaver for example) flashes in Chrome.
Games:
Neverball (3d): all good.
Fez: fine, better and smoother than on radeon.
Quake 3: good as usual.
Spy chameleon RGB agent: all good.
Gratitious space battles: all good
Nexuiz: all good
Etherlords through wine 1.6: missing textures. very choppy.

Big problem: after sleep / wakeup any 3D application stops working / or hangs pc.

Interesting reading:
Benchmarks of Windows 8 Pro, Ubuntu 13.10 with Nouveau, and Ubuntu 13.10 with proprietary NVIDIA driver; with GeForce 9800GTX, GTX 460, GTX 680.
http://www.phoronix.com/scan.php?page=article&item=nvidia_windows8_geforce&num=7

NVIDIA on Linux

Comparison of proprietary NVIDIA driver with NOVEAU open-source fan-based driver
June 2010 : Noveau gives some performance, but nvidia driver is 5-times better.
http://www.phoronix.com/scan.php?page=article&item=nouveau_gallium3d_june10&num=3

A lot info about how Nvidia GTX 460 works on Linux:
http://www.phoronix.com/scan.php?page=article&item=nvidia_geforce_gtx460&num=5

Solution for issue with installing nvidia 331 driver – conflict of packages:
http://askubuntu.com/questions/449507/nvidia-libopencl1-331-has-to-be-removed-before-installing-wine

How to install newer driver (340) than in repos (331):
http://linuxg.net/how-to-install-the-nvidia-340-24-driver-on-ubuntu-14-04-ubuntu-13-10-ubuntu-12-04-and-derivative-systems/
http://linuxg.net/how-to-install-the-nvidia-343-13-beta-on-ubuntu-14-04-and-derivative-systems/
(I’m installing 346)

Why does switching to the tty give me a blank screen?

http://askubuntu.com/questions/162535/why-does-switching-to-the-tty-give-me-a-blank-screen?rq=1

This is usually caused because the graphical text-mode resolution set at boot up is not compatible with your video card. The solution is to switch to true text-mode by configuring Grub appropriately:

  1. Open the terminal with Ctrl+Alt+T
  2. Paste the below, and enter your password when asked:

    sudo sed -i -e 's/#GRUB_TERMINAL/GRUB_TERMINAL/g' /etc/default/grub 
  3. Then type sudo update-grub

  4. Reboot and the virtual terminals should now work.

2014-08-20 20:50:52
Comment – test – blank screen

Why does switching to the tty give me a blank screen?

http://askubuntu.com/questions/162535/why-does-switching-to-the-tty-give-me-a-blank-screen?rq=1

This is usually caused because the graphical text-mode resolution set at boot up is not compatible with your video card. The solution is to switch to true text-mode by configuring Grub appropriately:

  1. Open the terminal with Ctrl+Alt+T
  2. Paste the below, and enter your password when asked:

    sudo sed -i -e 's/#GRUB_TERMINAL/GRUB_TERMINAL/g' /etc/default/grub 
  3. Then type sudo update-grub

  4. Reboot and the virtual terminals should now work.

2014-08-20 20:50:52
Comment – test – blank screen

xubuntu 8.04 on Asus M6000 how to

graphic drivers work well

keyboard switching

go to Applications / Settings / keyboard , Keyboard shortcuts tab
add Shortcut something like win + F2 = setxkbmap sk qwerty , win + F1 = setxkbmap us
– setxkbmap can’t cycle through keyboards
– panel widget for keyboard switching ain’t displaying current keyboard if you switch it this way.

Volume control through shortcuts

the same as keyboard switching, add shortcuts like win + m = aumix -v0 , win + , = aumix -v-10 , win + . = aumix -v+10

2008-10-18 14:57:26
How to reinstall downloaded packages to freshly new installed xubuntu.

– Copy all the deb packages into respective /var/cache/apt/archive/
– Go to Settings / Repositories and unselect all the repositories.
– Add new 3rd party repository – a list of the packages you want to add (can be located in any directory) with syntax:
deb file:/directory/to/packages-file ./
– If you don’t have this list file ( Packages.gz ) then create it like:
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
which you have to run in directory containing the packages. You can put "Packages.gz" anywhere you like.
– run Synaptic, go to ‚status‘ selection section, and choose ‚Not installed‘ list. There you see list of all packages, and you can install them.

2008-10-18 16:55:41
firefox 3.0 file associations
There is something messed up with file associations of files in ‚downloads‘ window of FireFox. You can’t even open containing folder of the downloaded file.

Fix is to install "firefox-3.0-gnome-support".

2008-10-19 16:42:25
To have keyboard shortcuts for volume control enabled, you have to install package ‚aumix‘, its not present by default.

2008-10-20 18:49:27
enable autologin
run: gksudo gdmsetup
in the dialogue, go to Security > Enable Automatic Login

2008-11-01 20:36:51

http://ubuntuforums.org/showthread.php?t=304131

How to: Xubuntu – Thunar Native Windows Network Browsing

Since Thunar doesn’t have native network Browsing, here is a good way to accomplish it:

1) In XFCE’s Applications -> System -> Shared Folders. (This should trigger a Samba install if you don’t already have a share, and it should allow you to define the proper workgroup)

2) Install fusesmb in Synaptic (from Universe repository)

3) Edit /etc/modules and add the word ‚fuse‘ to the modules list to be loaded (without quotes), and save the file.

4) Reboot, so the fuse module loads, and the proper workgroup is read for samba.

5) In XFCE Applications -> System -> Users and Groups… Properties of your username… User Priveleges Tab… check "Allow use of fuse file systems…"

6) Create a directory that you are going to mount your network browse to… I used /media/network. Change permissions to read / write for group and others (777).

*** 6.5) In a terminal, type: sudo chown <username>:fuse /media/network
(Where <username> is your user account logon name)

*** 6.6) Double check that the permission to use fuse took. Applications -> System -> Users and Groups… Manage Groups… find fuse and choose properties. Make sure your user name account is in that group and check-marked.

*** 6.7) Reboot the system and triple check with step 6.6

7) In XFCE Applications -> Settings -> Autostarted Applications… Add an application… name and describe as you wish… for command line, put: fusesmb /media/network (Or whatever mountoint you created).

Open Thunar, and navigate to the parent folder of your mountpoint… then drag the ‚mounpoint folder‘ to the places (shortcut) pane of thunar.

9) Logout and log back in (So the user privilege and fusesmb autostart will take affect)

*** Added steps to help prevent some access denied issues some people have been experiencing with fusesmb.

2008-11-04 20:03:11
installed WinXP right after Ubuntu
grub does not start up after reboot, you see only WinXP.

– boot in Ubuntu live cd, run it. Run terminal
– sudo grub
inside grub type:
– find /boot/grub/stage1
– root (hdx,y)  <- here type in output from ‚find‘
– setup (hd0)
– quit

reboot and you’re done.

maybe another possibility could be to change window’s partition to unbootable from bootable, and to boot-enable linux partition again. This could be done by:
sudo fdisk /dev/sda
type p and a commands.

2008-11-23 14:57:48
http://www.beigebinary.com/what-if-linux-distros-were-women

You can’t mount USB stick drive, with error saying something like "You can’t mount bla bla ntfs-3g fuse bla old version bla root" and reference to http://ntfs-3g.org/support.html#unprivileged ? Even though that it is USB stick with FAT16 partition ? Could be caused by that you messed with user privileges. Try to see if your user is in users group, or try adding him to ‚root‘ group too.

2008-12-21 22:10:04
About that USB stick auto-mounting again:
if it still happends, that drive is not automounted, though you can allways mount it with ‚sudo mount /dev/sdb1 /media/usbdisk‘ then you can enable automount by adding mount line to ‚etc/fstab‘:
/dev/sdb1    /media/usbdisk    auto    user,noauto,exec 0 0

2008-12-25 22:28:31
OpenGL programs working slowly ? You have to disable software fallback for mesa. Run driconf and turn off low impact fallback.

package driconf – Driconf is a graphical configuration tool for the Direct Rendering Infrastructure (DRI). It allows customizing performance and visual quality settings of OpenGL drivers on a per-driver, per-screen and/or per-application level.

http://dri.freedesktop.org/wiki/DriConf

2009-07-03 17:03:44
Bluetooth

all those bluez utils don’t work much, and doing it cmd-line every time is boring. Install "KDEbluetooth" tools, and then run ‚kbluetooth‘. It starts up as tray icon, and gives you comfortable way to browse bluetooth device disks.

2009-07-19 14:42:06
Before running ‚kbluetooth‘ you have to run "sudo /etc/init.d/bluetooth start" in terminal.

2009-07-19 17:19:12
kbluetooth is available in package ‚kdebluetooth‘ which is also dependant on package ‚bluez-utils‘

2011-03-18 22:00:49
Listing installed packages in console
aptitude search – | grep -e ^i | sed ‚s/^i.{3}([-._a-zA-z0-9][-_.a-zA-z0-9]*)..*/1/’| sed ‚s/n/&/‘ | tr ‚n‘ ‚ ‚