octave fails to plot when invoked remotely through xterm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octave (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
plot (tmp(:,2))
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
XRequest.149: BadValue (integer parameter out of range for operation) 0x0
XRequest.149: GLXBadContext 0x1c00015
XRequest.149: 0 0x0
octave:4> XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
^C
octave:4> XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
XRequest.149: BadMatch (invalid parameter attributes) 0x1c00014
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: octave 3.8.1-1ubuntu1
ProcVersionSign
Uname: Linux 3.19.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Sat Apr 30 07:36:59 2016
InstallationDate: Installed on 2016-04-29 (0 days ago)
InstallationMedia: Linux Mint 17.3 "Rosa" - Release amd64 20151128
SourcePackage: octave
UpgradeStatus: No upgrade log present (probably fresh install)
Octave uses OpenGL for plotting by default. If your remote display forwarding does not support OpenGL plotting, then this will naturally fail.
Using the gnuplot interface to plot is a useful workaround for buggy video cards, headless operation, or remote sessions like this. Use the command
graphics_ toolkit gnuplot
to use gnuplot in Octave.