SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Help & Support (Stable) » GTK font problem, weird font and some gtk programs not working » 2014-04-14 05:40:29

Alad wrote:

Could you extend on the "something" you "messed up" ? Also, please provide the output of

I installed a newer unstable version of those two packages, but my system wasn't liking them (some other packages started reporting missing dependencies), so I had to force an install of the default debian packages with dpkg.

Alad wrote:
apt-cache policy libc6 locales
  Installed: 2.13-38+deb7u1
  Candidate: 2.13-38+deb7u1
  Version table:
 *** 2.13-38+deb7u1 0
        500 http://http.debian.net/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status
locales:
  Installed: 2.13-38+deb7u1
  Candidate: 2.13-38+deb7u1
  Version table:
 *** 2.13-38+deb7u1 0
        500 http://http.debian.net/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status
Alad wrote:

PS: Your image doesn't work

I think I fixed it.

I also added some extra info to the OP.

#2 Help & Support (Stable) » GTK font problem, weird font and some gtk programs not working » 2014-04-14 03:48:44

ShiroAisu
Replies: 3

Hi, I recently had a problem with my install (as in, I messed something up), and had to reinstall both libc6 and the locales packages, after I did that however my GTK windows all have the same weird unantialized font...

ea80316901b2e378329a618ec91320d4c6b2844647d4d843.png

Gimp even crashes with the error:

gimp: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
gimp: terminated: Aborted

I'm guessing this has something to do with the locales?

All the help is appreciated. Thank you in advance.

Edit: This problem is user based since if I start any gtk programs with the root account their fonts are normal.

#3 Help & Support (Stable) » Cannot mount USB drives » 2014-03-25 23:48:15

ShiroAisu
Replies: 2

My system has not been automounting any USB drives (the drives don't apear in thunar, and they aren't mounted at all), so I tried to manually mount one of them and I couldn't.

My system clearly sees the device, since when I input it dmesg tells me:

[42810.208283] usb 2-1.3: new high-speed USB device number 14 using ehci_hcd
[42810.430891] usb 2-1.3: New USB device found, idVendor=090c, idProduct=1000
[42810.430897] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42810.430900] usb 2-1.3: Product: Flash Disk
[42810.430903] usb 2-1.3: Manufacturer: USB
[42810.430906] usb 2-1.3: SerialNumber: FBF1101122760037
[42810.431550] scsi13 : usb-storage 2-1.3:1.0
[42811.737621] scsi 13:0:0:0: Direct-Access     USB      Flash Disk       1100 PQ: 0 ANSI: 0 CCS
[42811.739006] sd 13:0:0:0: Attached scsi generic sg2 type 0
[42811.739621] sd 13:0:0:0: [sdb] 3915776 512-byte logical blocks: (2.00 GB/1.86 GiB)
[42811.740757] sd 13:0:0:0: [sdb] Write Protect is off
[42811.740765] sd 13:0:0:0: [sdb] Mode Sense: 43 00 00 00
[42811.741907] sd 13:0:0:0: [sdb] No Caching mode page found
[42811.741916] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[42811.745608] sd 13:0:0:0: [sdb] No Caching mode page found
[42811.745616] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[42811.747130]  sdb: sdb1
[42811.750609] sd 13:0:0:0: [sdb] No Caching mode page found
[42811.750616] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[42811.750622] sd 13:0:0:0: [sdb] Attached SCSI disk

and when I remove the device I can see in dmesg:

[42797.486438] usb 2-1.3: USB disconnect, device number 13

So far so good, but I tried to mount it using

sudo mount -t vfat -o uid=alexandre,gid=users /dev/sdb /home/alexandre/mt/

or

sudo mount -t vfat -o uid=alexandre,gid=users /dev/sdb1 /home/alexandre/mt/

I just get an error:

mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Was I doing something wrong here?


It is also weird because all this (even automounting) was working a while back, and I also notice that my thunar lacks the usual network manager and recicle bin. I cannot pinpoint exactly when I started having these problems since I only noticed it now when I went to use a USB drive, but I recently changed to dwm and edited my Xsession file (more precisely the "99x11-common_start" file), in order to make DWM start by default when I logged into slim. The exact contents of that file right now are:

exec startup &
exec dwm

Did I remove something from here I shouldn't have? Am I forgetting to start the program that handles the mounting of USB drives (if there is such a thing)? What might I have messed up?

Thank you for all the help provided.

#4 Help & Support (Stable) » cb-compositor missbehaving with dwm » 2014-03-09 20:22:56

ShiroAisu
Replies: 0

I've rencently installed DWM as a window manager, but when I try to use cb-compositor --start with it I run into some problems:

- Windows that have transparency are very slow when being moved around.
- Windows that have transparency only show the background instead of the windows that are behind them.

Any idea on how to fix this? It is really weird since it was working with openbox.

#5 Re: Help & Support (Stable) » SDL no sound: Failed to open audio: No available audio device » 2014-03-04 11:04:24

Alright, I managed to fix it. Here's what I did in detail and this should work for anyone else having this problem while having everything (apparently) set up correctly.

Ok, first I (as a sugestion from Alad) installed the ALSA drivers and completely removed PulseAudio from my system following the instructions in this thread:
http://crunchbang.org/forums/viewtopic.php?id=23930
I must point out that I don't know if this is really needed tho.

Ok, after that it didn't work so I searched around and found this thread:
http://forums.libsdl.org/viewtopic.php? … da3338845f
In which Ryan C. Gordon states:

If you built your own SDL, you probably didn't have development headers
for PulseAudio (or ALSA), so it's trying to use /dev/dsp, which doesn't
exist on many modern Linux systems (hence, SDL_Init(SDL_INIT_AUDIO)
succeeds, but no devices are found when you try to open one). "apt-get
install libasound2-dev libpulse-dev" and rebuild SDL...let the configure
script find the new headers so it includes PulseAudio and ALSA support.

So I got the ALSA development packages

sudo apt-get install libasound2-dev

and built and installed SDL from scratch. This time tho it detected the ALSA dev libs and compiled it with ALSA support, which made it instantly work!

And that is it. I hope the instructions are clear, and thank you Alad for your support.

#6 Re: Help & Support (Stable) » SDL no sound: Failed to open audio: No available audio device » 2014-02-28 18:57:50

Alad wrote:

That's all I have at the moment. Perhaps you can go to the SDL forums, and explain your problem together with your system specifications and all the steps that didn't work for you.

Alright, I'll do that. The SDL forums are so dead tho for some reason.

Any further help will be appreciated too.

#7 Re: Help & Support (Stable) » SDL no sound: Failed to open audio: No available audio device » 2014-02-27 14:53:21

Alad wrote:

Probably you still have PulseAudio. Try

export SDL_AUDIODRIVER=pulse

or

export SDL_AUDIODRIVER=pulseaudio

Launch your game from that same terminal, just in case. If it doesn't work, try removing pulseaudio (in tips&tricks section).

Still no luck... I tried both pulse and pulseaudio, didn't work. I went on to uninstall pulse, tried again with no SDL_AUDIODRIVER, didn't work. Then I tried again with SDL_AUDIODRIVER=alsa, didn't work.

Frustrating...

#8 Re: Help & Support (Stable) » SDL no sound: Failed to open audio: No available audio device » 2014-02-27 14:23:41

Alad wrote:
export SDL_AUDIODRIVER=alsa

It didn't work. I also tried "alsa". Am I missing some driver or something? How can I check?

#9 Help & Support (Stable) » SDL no sound: Failed to open audio: No available audio device » 2014-02-27 10:04:59

ShiroAisu
Replies: 7

I've been trying to get SDL's sound to work, but all SDL applications fail with the Failed to open audio: No available audio device error.

I've tried googling it and none of the solutions worked for me. I also know very little about sound cards and general sound drivers on linux, and this is driving me nuts.

To be more precise, I'm trying to get Visual Boy Advances sound to work, but other SDL games (sauerbraten for instance), have the same problem. And for the record, other kinds of sounds seem to work, banshee works, flash works, etc. the problem seems to be linked to SDL only.

I'm not sure if I should be asking this here or in the debian forums (since this seems to be more of a general debian problem), but thanks for all help provided.

#10 Re: Help & Support (Stable) » Problem starting XServer (I think) » 2014-02-27 00:07:44

twoion wrote:

Check whether you're still using fglrx and not the FOSS drivers (glxinfo | head), and if not, you're left with an fglrx issue to fix.

Yes, I know I didn't fix the issue entirely. Afterwards I reinstalled the fglrx drivers and I managed to get it to work, but thanks for the warning.

iMBeCil wrote:

In my opinion, xorg.conf is kind of helper file, to fine tune your devices (graphics/screens/monitors/mouses/keyboard). Todays drivers are mostly able to run X normally without xorg.conf. Therefore, you are still using fglrx driver, but without xorg.conf. (At least that's as I understand all this ...)

Actually, after I installed fglrx I didn't uninstal the free drivers (I think) so at that point I was using the free drivers. I had to manually set Xorg to use fglrx in the config file.

#11 Re: Help & Support (Stable) » Problem starting XServer (I think) » 2014-02-25 21:13:36

iMBeCil wrote:

1) Try to move (and backup) xorg.conf:

Well, this worked for me. After I did this XServer started up normaly and so did openbox. After that I tried to get fglrx to work but it wouldn't, I obviously did mess something up last time, but all I remember doing that is somewhat related to GPU drivers is install libgl1-fglrx-glx:i386 while following this guide:

https://wiki.debian.org/Steam
(I still didn't get steam to work by the way).

But thanks for your help man. This is solved and I learned a few things about Xorg.

Cheers.

#12 Help & Support (Stable) » Problem starting XServer (I think) » 2014-02-25 12:42:35

ShiroAisu
Replies: 5

Hello.

When I turn on my computer it seems to boot fine but it never gets to the GUI, instead it just drops me on a text terminal with a login prompt from where I can log in normally.

This has only been happening since this morning (maybe I did something less... smart yesterday?), so it is really strange.

I tried to dig for the log files, and I found the XServer log file. In that I found several errors and warnings (mostly fglrx related), and at the end it said that the XServer could not be started.

The first fglrx warning that pops is: No matching device section for instance...
And the first error is: The graphics processor is already set to console mode, set X mode fail. Cannot start X.

I have an ATI Radeon HD 5470, and I think I have my drivers up to date since I installed the proprietary drivers for this graphics card (correctly, I assume), fairly recently.

I'll try to get the log file from my computer (as you can probably tell I'm not very experienced with GNU/Linux), but in the mean time thank you for all the help you can provide.

EDIT: Alright, I got the logs:

[    20.605] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[    20.605] X Protocol Version 11, Revision 0
[    20.605] Build Operating System: Linux 3.11-2-amd64 x86_64 Debian
[    20.605] Current Operating System: Linux Izabella 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64
[    20.605] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64 root=UUID=96a4b90b-4469-441e-9db3-cab39de3a1b0 ro quiet nomodeset radeon.modeset=0
[    20.605] Build Date: 17 December 2013  07:37:58PM
[    20.605] xorg-server 2:1.12.4-6+deb7u2 (Julien Cristau <jcristau@debian.org>) 
[    20.605] Current version of pixman: 0.26.0
[    20.605] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    20.605] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    20.605] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 25 12:50:29 2014
[    20.721] (==) Using config file: "/etc/X11/xorg.conf"
[    20.721] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    21.043] (==) ServerLayout "aticonfig Layout"
[    21.043] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[    21.043] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[    21.043] (**) |   |-->Device "aticonfig-Device[0]-0"
[    21.043] (==) Automatically adding devices
[    21.043] (==) Automatically enabling devices
[    21.183] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    21.183] 	Entry deleted from font path.
[    21.562] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[    21.562] 	Entry deleted from font path.
[    21.562] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[    21.562] (==) ModulePath set to "/usr/lib/xorg/modules"
[    21.562] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    21.562] (II) Loader magic: 0x7ffab1a70ae0
[    21.562] (II) Module ABI versions:
[    21.562] 	X.Org ANSI C Emulation: 0.4
[    21.562] 	X.Org Video Driver: 12.1
[    21.562] 	X.Org XInput driver : 16.0
[    21.562] 	X.Org Server Extension : 6.0
[    21.564] (--) PCI:*(0:1:0:0) 1002:68e0:1043:1bf2 rev 0, Mem @ 0xc0000000/268435456, 0xd0020000/131072, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[    21.564] (II) Open ACPI successful (/var/run/acpid.socket)
[    21.564] (II) "extmod" will be loaded by default.
[    21.564] (II) "dbe" will be loaded by default.
[    21.564] (II) "glx" will be loaded by default.
[    21.564] (II) "record" will be loaded by default.
[    21.564] (II) "dri" will be loaded by default.
[    21.564] (II) "dri2" will be loaded by default.
[    21.564] (II) LoadModule: "extmod"
[    21.692] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    21.729] (II) Module extmod: vendor="X.Org Foundation"
[    21.729] 	compiled for 1.12.4, module version = 1.0.0
[    21.729] 	Module class: X.Org Server Extension
[    21.729] 	ABI class: X.Org Server Extension, version 6.0
[    21.729] (II) Loading extension SELinux
[    21.729] (II) Loading extension MIT-SCREEN-SAVER
[    21.729] (II) Loading extension XFree86-VidModeExtension
[    21.729] (II) Loading extension XFree86-DGA
[    21.729] (II) Loading extension DPMS
[    21.729] (II) Loading extension XVideo
[    21.729] (II) Loading extension XVideo-MotionCompensation
[    21.729] (II) Loading extension X-Resource
[    21.729] (II) LoadModule: "dbe"
[    21.730] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    21.753] (II) Module dbe: vendor="X.Org Foundation"
[    21.753] 	compiled for 1.12.4, module version = 1.0.0
[    21.753] 	Module class: X.Org Server Extension
[    21.754] 	ABI class: X.Org Server Extension, version 6.0
[    21.754] (II) Loading extension DOUBLE-BUFFER
[    21.754] (II) LoadModule: "glx"
[    21.754] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    21.840] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[    21.840] 	compiled for 6.9.0, module version = 1.0.0
[    21.841] (II) Loading extension GLX
[    21.841] (II) LoadModule: "record"
[    21.841] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    21.851] (II) Module record: vendor="X.Org Foundation"
[    21.851] 	compiled for 1.12.4, module version = 1.13.0
[    21.851] 	Module class: X.Org Server Extension
[    21.851] 	ABI class: X.Org Server Extension, version 6.0
[    21.851] (II) Loading extension RECORD
[    21.851] (II) LoadModule: "dri"
[    21.851] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    22.073] (II) Module dri: vendor="X.Org Foundation"
[    22.073] 	compiled for 1.12.4, module version = 1.0.0
[    22.073] 	ABI class: X.Org Server Extension, version 6.0
[    22.073] (II) Loading extension XFree86-DRI
[    22.073] (II) LoadModule: "dri2"
[    22.073] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    22.074] (II) Module dri2: vendor="X.Org Foundation"
[    22.074] 	compiled for 1.12.4, module version = 1.2.0
[    22.074] 	ABI class: X.Org Server Extension, version 6.0
[    22.074] (II) Loading extension DRI2
[    22.074] (II) LoadModule: "fglrx"
[    22.113] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[    23.768] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[    24.132] 	compiled for 1.4.99.906, module version = 13.35.5
[    24.132] 	Module class: X.Org Video Driver
[    24.891] (II) Loading sub module "fglrxdrm"
[    24.891] (II) LoadModule: "fglrxdrm"
[    24.891] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[    24.962] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[    24.962] 	compiled for 1.4.99.906, module version = 13.35.5
[    24.962] (II) AMD Proprietary Linux Driver Version Identifier:13.35.5
[    24.962] (II) AMD Proprietary Linux Driver Release Identifier: UNSUPPORTED-13.35.1005               
[    24.962] (II) AMD Proprietary Linux Driver Build Date: Jan 29 2014 21:41:24
[    24.962] (++) using VT number 7

[    24.968] (WW) Falling back to old probe method for fglrx
[    25.184] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[    25.188] ukiDynamicMajor: found major device number 252
[    25.188] ukiDynamicMajor: found major device number 252
[    25.188] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[    25.188] ukiOpenDevice: node name is /dev/ati/card0
[    25.188] ukiOpenDevice: open result is 9, (OK)
[    25.188] ukiOpenDevice: Get driver state failed
[    25.188] ukiOpenByBusid: ukiOpenMinor returns 9
[    25.188] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[    25.344] (--) Chipset Supported AMD Graphics Processor (0x68E0) found
[    25.385] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[    25.386] (II) fglrx(0): pEnt->device->identifier=0x7ffab21e57f0
[    25.386] (II) fglrx(0): === [xdl_xs112_atiddxPreInit] === begin
[    25.386] (II) Loading sub module "vgahw"
[    25.386] (II) LoadModule: "vgahw"
[    25.419] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[    25.437] (II) Module vgahw: vendor="X.Org Foundation"
[    25.437] 	compiled for 1.12.4, module version = 0.1.0
[    25.437] 	ABI class: X.Org Video Driver, version 12.1
[    25.438] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
[    25.438] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    25.438] (==) fglrx(0): Default visual is TrueColor
[    25.438] (**) fglrx(0): Option "DPMS" "true"
[    25.438] (==) fglrx(0): RGB weight 888
[    25.438] (II) fglrx(0): Using 8 bits per RGB 
[    25.438] (==) fglrx(0): Buffer Tiling is ON
[    25.438] (II) Loading sub module "fglrxdrm"
[    25.438] (II) LoadModule: "fglrxdrm"
[    25.439] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[    25.439] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[    25.439] 	compiled for 1.4.99.906, module version = 13.35.5
[    25.442] ukiDynamicMajor: found major device number 252
[    25.442] ukiDynamicMajor: found major device number 252
[    25.442] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[    25.442] ukiOpenDevice: node name is /dev/ati/card0
[    25.442] ukiOpenDevice: open result is 11, (OK)
[    25.442] ukiOpenDevice: Get driver state failed
[    25.442] ukiOpenByBusid: ukiOpenMinor returns 11
[    25.442] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[    25.442] (EE) fglrx(0): The graphics processor is already set to console mode, set X mode fail. Cannot start X.
[    25.442] (EE) fglrx(0): PreInit failed
[    25.442] (II) fglrx(0): === [xdl_xs112_atiddxPreInit] === end
[    25.484] (II) UnloadModule: "fglrx"
[    25.484] (II) UnloadSubModule: "fglrxdrm"
[    25.484] (II) Unloading fglrxdrm
[    25.484] (II) UnloadSubModule: "vgahw"
[    25.484] (II) Unloading vgahw
[    25.484] (II) UnloadSubModule: "fglrxdrm"
[    25.484] (EE) Screen(s) found, but none have a usable configuration.
[    25.484] 
Fatal server error:
[    25.484] no screens found
[    25.484] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    25.484] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    25.484] 
[    25.605] Server terminated with error (1). Closing log file.

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo