How do I remap caps-lock to an additional ctrl?
I have tried to modify /etc/default/keyboard and reboot:
XKBOPTIONS="ctrl:nocaps"
After doing that, ctrl became caps-lock which I don't want.
I want to modify Mesa's source code and build it with debugging symbols enabled. I downloaded and built the sources with these commands:
sudo apt build-dep libgl1-mesa-dev
apt source libgl1-mesa-dev
export CFLAGS='-O0 -ggdb3'
export CXXFLAGS='-O0 -ggdb3'
dpkg-buildpackage -rfakeroot -uc -b
sudo dpkg -i *.deb
My modifications are now enabled, but there are no debug symbols. According to Mesa's website, I shold enable debug symbols by setting -g
flag in Make-config file, but there is no such file.
Assuming it fixes my issue, where do I put the -g
flag before compiling Mesa?
I installed Ubuntu 18.04 64-bit and enabled DRM in Firefox. When trying to watch Netflix, I get the following errors:
Oops, something went wrong...
Netflix video player unavailable
We're having trouble playing Netflix in your browser. Please make sure you're on an official version of Firefox.
Error Code: F7355-1204
I'm using the version of Firefox that came installed with Ubuntu. How do I play Netflix videos on 18.04?
After some apt upgrades my Wayland session seems broken, the mouse moves but I can't click on anything. I want to try if X.Org works, but as the UI is broken, I must change the session type in the text console.
How do I configure X.Org to start instead of Wayland when the desktop UI is unusable, in the text console?
I got a workaround by using the keyboard: type win, log out
and change focus with TAB. From there I could switch to X.Org using keyboard.
When watching Netflix in Ubuntu 17.10, Wayland, Firefox or Chrome and AMD Radeon R9 Nano, there is a lot of tearing. When using X.Org instead of Wayland everything works fine. I'm using graphics drivers from PPA ppa:oibaf/graphics-drivers
. Is there a way to get Wayland working without tearing?
Every Vulkan application, including LunarG SDK 1.0.61.1 demos, crash on swapchain creation in Ubuntu 17.10 (Wayland and X.org). Callstack from cube demo:
#0 0x00007ffff629f924 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so
#1 0x00007ffff62ac695 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so
#2 0x00007ffff629fceb in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so
#3 0x00007ffff798c1ea in terminator_CreateSwapchainKHR () from /home/glaze/Downloads/VulkanSDK/1.0.61.1/x86_64/lib/libvulkan.so.1
#4 0x000055555555a48b in demo_prepare_buffers ()
#5 0x000055555555d51b in demo_prepare ()
#6 0x0000555555560fa0 in main ()
My GPU is AMD R9 Nano. vulkaninfo doesn't give errors and finds the validation layers and instance and device extensions:
Instance Extensions count = 9
VK_KHR_surface : extension revision 25
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
VK_KHR_wayland_surface : extension revision 6
VK_KHR_get_physical_device_properties2: extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities: extension revision 1
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_EXT_debug_report : extension revision 8
Device Extensions count = 16
VK_KHR_descriptor_update_template : extension revision 1
VK_KHR_incremental_present : extension revision 1
VK_KHR_maintenance1 : extension revision 1
VK_KHR_push_descriptor : extension revision 1
VK_KHR_sampler_mirror_clamp_to_edge : extension revision 1
VK_KHR_swapchain : extension revision 68
VK_AMD_draw_indirect_count : extension revision 1
VK_KHR_shader_draw_parameters : extension revision 1
VK_KHR_get_memory_requirements2 : extension revision 1
VK_KHR_dedicated_allocation : extension revision 1
VK_KHR_external_memory : extension revision 1
VK_KHR_external_memory_fd : extension revision 1
VK_KHR_storage_buffer_storage_class : extension revision 1
VK_KHR_variable_pointers : extension revision 1
VK_KHR_external_semaphore : extension revision 1
VK_KHR_external_semaphore_fd : extension revision 1
Here's my environment variables:
export VULKAN_SDK=~/Downloads/VulkanSDK/1.0.61.1/x86_64
export PATH=$VULKAN_SDK/bin:$PATH
export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH
export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d
Are my Vulkan libraries configured wrongly or does this look like a RADV bug?
edit (2017-11-08): According to Phoronix this could be caused by Ubuntu's Mir patches:
If you have been trying to use the RADV Radeon Vulkan driver that's packaged for Ubuntu but find it not working, chances are it's caused by Canonical's patches for Mir support.
I haven't been able to try the workaround (installing drivers from a PPA: sudo apt-add-repository ppa:paulo-miguel-dias/mesa && sudo apt update && sudo apt dist-upgrade
) but will update this question or post an answer after I do unless someone else could verify that it works.