Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Jorenko
Jun 6, 2004

I think you're just mad 'cause you're single.

minute posted:

mpd :words:

I'm not sure about your default output device problem (although one question to start with would be, do you have any sound at all?), but for the configure errors you posted first, your problem is likely that you need to install all the dependencies before you build. As it is it looks like even if you get your output device sorted, you won't be able to read any music files. My suggestions below stem from my reading of the guide you linked. Try this:

code:
sudo apt-get build-dep mpd
To add mp3 support, do this as well:
code:
sudo apt-get install libid3tag0 libid3tag0-dev libmad0 libmad0-dev
likewise, for ogg vorbis support, do this:
code:
sudo apt-get install libogg0 libogg-dev libvorbis0a libvorbis-dev
And for flac:
code:
sudo apt-get install libflac7 libflac-dev 
MP4/AAC:
code:
sudo apt-get install libfaad2-0 libfaad2-dev libmp4v1-0 libmp4v2-dev
MOD:
code:
sudo apt-get install libmikmod2 libmikmod2-dev
If any of these fail, telling you the package doesn't exist, you might have to enable the universe and/or multiverse repositories. To do that, run `sudo gedit /etc/apt/sources.list` and append " universe multiverse" (no quotes, of course) to each line beginning with 'deb' or 'deb-src', then run `sudo apt-get update`.

Adbot
ADBOT LOVES YOU

Jorenko
Jun 6, 2004

I think you're just mad 'cause you're single.

Alfajor posted:

I'm trying to set up this PDF creator program in a Ubuntu server at work. It's a project for me to learn how to use this, something that's small and can be useful. At any rate, I'm stuck. Here are the instructions I'm trying to follow: http://www.n-view.net/yafpc/Setup_en.php#headline4
I think I've followed everything correctly, but I'm stuck at step #6, where it says I should do lp -d pdfwriter SomePsFile.ps. I get a "lp command not found", so I'm pretty sure I hosed up somewhere on the packages I needed to install... right? What the hell did I miss? What's lp? Oh god :confused:

That's very odd, I've never seen a Linux system lacking lp before (It's the standard command-line tool for printing). In any case, from trawling packages.ubuntu.com, it appears it's included with two packages: cupsys-client and lprng. Try installing one of them.

Jorenko
Jun 6, 2004

I think you're just mad 'cause you're single.

JawnV6 posted:

Let me preface this by saying that I know what I'm trying to do is stupid.

I'm running Ubuntu 7.04, and I have a VirtualBox with WindowsXP that has a bridged connection to the outside world, it's own IP from the router and everything. If I have a Samba share on the ubuntu machine and the Windows image accesses it, is that traffic going to go out to the network and bounce back or is the whole setup going to be smart enough to avoid putting it on the wire and just transfer it internally? How could I tell?

The quick and dirty solution is probably to watch the activity light on the router and see if it starts blinking furiously when you access it. If that doesn't give conclusive results, or you want to be a little more scientific about it, I would get a switch that can clone its output of one port to another one, hook up another box running wireshark to the cloned port, and watch to see if you see the samba traffic.

Jorenko
Jun 6, 2004

I think you're just mad 'cause you're single.
How do I force X to try a resolution? I've added it to Xorg.conf, but it won't show up in the resoultion changer gui. This is on Feisty, using an All-in-Wonder 9800pro with a Mitsubishi HD1000U projector via VGA. It will do all of the 4:3 resolutions fine, but I can't get it to do 720p (1280x720), which is actually the projector's native resolution. I've tried running dpkg-reconfigure on X as well, and I end up with no change.

Jorenko
Jun 6, 2004

I think you're just mad 'cause you're single.

teapot posted:

You have to restart X -- log out, then press Ctrl-Alt-Backspace. You can cycle through resolutions with Ctrl-Alt-<+> and Ctrl-Alt-<->, however the logical screen size will stay the same, larger screen will scroll behind a monitor.

Also you have to add a resolution that is actually supported -- /var/log/Xorg*.log files may record errors that explain why some resolution is seen as unsupported, often because of the wrong range of frequencies configured for the monitor.

ctrl-alt-+/- just seems to scroll through the same resolutions that are in the gui. I've restarted X many times.
Here's the relevant parts of xorg.conf:

code:
Section "Device"
        Identifier      "ATI Technologies, Inc. Radeon R350 NH [Radeon 9800 Pro]"
        Driver          "ati"
        BusID           "PCI:2:0:0"
EndSection

Section "Monitor"
        Identifier      "Mitsubishi"
        Option          "DPMS"
        HorizSync       15-80
        VertRefresh     50-85
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies, Inc. Radeon R350 NH [Radeon 9800 Pro]"
        Monitor         "Mitsubishi"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x720" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x720" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x720" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x720" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x720" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x720" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
The odd thing is that the resolution changer has resolutions that aren't listed here, like 1280x800 and 1280x768.

And Xorg.0.log:
code:
(II) RADEON(0): Not using mode "1280x720" (no mode of this name)
This is the source I used to get the hsync/vsync numbers.

Oh, here's my ddcprobe for good measure:

code:
vbe: VESA 2.0 detected.
oem: ATI R350
memory: 16384kb
mode: 800x600x16
mode: 1024x768x16
mode: 320x200x32k
mode: 320x200x64k
mode: 320x200x16m
mode: 1600x1200x256
mode: 640x400x256
mode: 640x480x256
mode: 640x480x32k
mode: 640x480x64k
mode: 640x480x16m
mode: 1600x1200x32k
mode: 800x600x256
mode: 800x600x32k
mode: 800x600x64k
mode: 800x600x16m
mode: 1600x1200x64k
mode: 1024x768x256
mode: 1024x768x32k
mode: 1024x768x64k
mode: 1024x768x16m
mode: 1280x1024x256
mode: 1280x1024x32k
mode: 1280x1024x64k
mode: 1280x1024x16m
mode: 132x25 (text)
mode: 132x43 (text)
edid: 
edid: 1 3
id: 30ba
eisa: MEL30ba
serial: 00000e3e
manufacture: 35 2006
input: separate sync, composite sync, sync on green, digital signal.
screensize: 0 0
gamma: 2.200000
dpms: RGB, no active off, no suspend, no standby
timing: 720x400@70 Hz (VGA 640x400, IBM)
timing: 720x400@88 Hz (XGA2)
timing: 640x480@60 Hz (VGA)
timing: 640x480@67 Hz (Mac II, Apple)
timing: 640x480@72 Hz (VESA)
timing: 640x480@75 Hz (VESA)
timing: 800x600@75 Hz (VESA)
timing: 832x624@75 Hz (Mac II)
timing: 1024x768@87 Hz Interlaced (8514A)
timing: 1024x768@70 Hz (VESA)
timing: 1024x768@75 Hz (VESA)
timing: 1280x1024@75 (VESA)
ctiming: 640x480@85
ctiming: 800x600@85
ctiming: 1024x768@85
ctiming: 1152x864@75
ctiming: 1152x864@70
ctiming: 1280x960@60
ctiming: 1280x1024@60
dtiming: 1024x768@74
monitorrange: 15-80, 50-85
monitorname: Mitsubishi
monitorname: HD1000
And of course, my it seems the drat device doesn't know what its own advertised resolution is. Yeargh. This worked right away in windows.

Adbot
ADBOT LOVES YOU

Jorenko
Jun 6, 2004

I think you're just mad 'cause you're single.

teapot posted:

Install fglrx driver.

code:
(EE) Module ABI major version (0) doesn't match the server's version (1)
(EE) Failed to load module "fglrx" (module requirement mismatch, 0)
(EE) No drivers available
I've got the latest restricted drivers package installed, and the fglrx package as well:
code:
$ dpkg -l | grep fglrx
ii  fglrx-control                          8.34.8+2.6.20.5-16.28                  Control panel for the ATI graphics accelerat
ii  xorg-driver-fglrx                      8.25.18-1                              Video driver for the ATI graphics accelerato
$ dpkg -l | grep restricted
ii  linux-restricted-modules-2.6.15-18-386 2.6.15.7-1                             Non-free Linux 2.6.15 modules on 386
ii  linux-restricted-modules-2.6.15-23-386 2.6.15.11-1                            Non-free Linux 2.6.15 modules on 386
ii  linux-restricted-modules-2.6.15-26-386 2.6.15.11-4                            Non-free Linux 2.6.15 modules on 386
ii  linux-restricted-modules-2.6.15-28-386 2.6.15.12-28.1                         Non-free Linux 2.6.15 modules on 386
ii  linux-restricted-modules-2.6.17-11-386 2.6.17.7-11.2                          Non-free Linux 2.6.17 modules on 386
ii  linux-restricted-modules-2.6.20-15-386 2.6.20.5-15.20                         Non-free Linux 2.6.20 modules on 386
ii  linux-restricted-modules-2.6.20-16-386 2.6.20.5-16.28                         Non-free Linux 2.6.20 modules on 386
ii  linux-restricted-modules-386           2.6.20.15.14                           Restricted Linux modules on 386.
ii  linux-restricted-modules-common        2.6.20.5-16.28                         Non-free Linux 2.6.20 modules helper script
ii  restricted-manager                     0.20                                   manage non-free hardware drivers
$ dpkg -l | grep linux-image
ii  linux-image-2.6.15-18-386              2.6.15-18.27                           Linux kernel image for version 2.6.15 on 386
ii  linux-image-2.6.15-23-386              2.6.15-23.39                           Linux kernel image for version 2.6.15 on 386
ii  linux-image-2.6.15-26-386              2.6.15-26.47                           Linux kernel image for version 2.6.15 on 386
ii  linux-image-2.6.15-28-386              2.6.15-28.53                           Linux kernel image for version 2.6.15 on 386
ii  linux-image-2.6.17-11-386              2.6.17.1-11.37                         Linux kernel image for version 2.6.17 on i38
ii  linux-image-2.6.20-15-386              2.6.20-15.27                           Linux kernel image for version 2.6.20 on i38
ii  linux-image-2.6.20-16-386              2.6.20-16.28                           Linux kernel image for version 2.6.20 on i38
ii  linux-image-386                        2.6.20.15.14                           Linux kernel image on 386.

dfn_doe posted:

Complain to ATI... The Nvidia drivers are head and shoulders above what ATI has offered to the linux community. I finally replaced all my ATI cards with high-end nvidia equipment. I won't even bother with ATI anymore; they go right into my "crap hardware" drawer.

I agree, but this was just the computer we had lying around. Every computer I build I put an Nvidia card in.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply