You are not logged in.

#1 2011-02-22 21:14:03

aluser
Member
Registered: 2011-01-16
Posts: 119

[SOLVED] Help! bad picture output of fbshot and fbgrab

I've been trying to take screenshots of the console using both of these tools but both return a distorted image with lines all over the place. Here is a screenshot. Anyone has any idea? I'm using tmux to handle my terminal sessions but the output is the same also in other empty tty* sessions.
woott.th.png

Uploaded with ImageShack.us

Last edited by aluser (2011-05-07 23:31:01)

Offline

#2 2011-02-23 13:50:04

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

Try fbshot.

Offline

#3 2011-02-23 14:41:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

aluser wrote:

I've been trying to take screenshots of the console using both of these tools but both return a distorted image with lines all over the place. Here is a screenshot. Anyone has any idea? I'm using tmux to handle my terminal sessions but the output is the same also in other empty tty* sessions.

or scrot.

Both of which tools? Please be specific so people can actually help you.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2011-02-23 16:31:57

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

Sorry I forgot to include the names of the 2 tools that dont work. I fixed its in the title.

Offline

#5 2011-02-23 16:51:24

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

I've had problems with taking console shots with tmux too. I think it's how tmux uses buffers, though I could be wrong. Or it could be your console .. driver(?), like I use early KMS with ATI graphic device (radeondrmfb) so maybe that's the problem. Try running with vesafb or without KMS?

Last edited by milomouse (2011-02-23 16:56:50)

Offline

#6 2011-02-23 17:25:13

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

try to see if the screenshot comes out clean in a terminal without using tmux.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2011-02-23 17:27:22

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

I think he said it's the same for empty tty sessions too

Offline

#8 2011-02-23 17:29:58

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

milomouse wrote:

I think he said it's the same for empty tty sessions too

tty meaning when you hit Ctrl+Alt+F# key or just a terminal ? I am talking about a regular terminal


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2011-02-23 17:36:15

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

Well I tried uninstalling tmux because sometimes  tmux can mess up other sessions, but nothing yet. I'd also like to add that im using nouveau so my console resolution is different than normal.

Offline

#10 2011-02-23 17:41:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

I can use fbgrab and tmux and the shot works fine

5471099733_0afe631f0a_t.jpg

I have an Intel card with KMS enabled...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2011-02-24 02:03:15

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

jasonwryan wrote:

I can use fbgrab and tmux and the shot works fine

http://farm6.static.flickr.com/5015/5471099733_0afe631f0a_t.jpg

I have an Intel card with KMS enabled...

That's good to know that tmux is not the problem.
I am using nouveau with KMS here is part of my grub.cfg
btw nice screenshot smile what font is that?

 linux   /vmlinuz26 root=/dev/disk/by-uuid/89aa7efc-c50d-4a7f-a8c7-6f395d35b47a ro single video=VGA-1:1366x768@60

Last edited by aluser (2011-02-24 02:06:59)

Offline

#12 2011-02-24 02:12:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

Perhaps your issue is related to forcing the resolution?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2011-02-24 02:18:00

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

jasonwryan wrote:

Perhaps your issue is related to forcing the resolution?

I dont understand.. what you're saying is nouevau is the problem? That could be possible, I'm going to uninstall it and see what happens, but again the resolution wont be pretty sad

Offline

#14 2011-02-24 02:25:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

No, I am saying that as you are forcing the resolution, that may be why your console shots are all b0rked. But there is only one way to find out...

Font is terminus smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#15 2011-02-24 02:54:25

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

Inxsible wrote:
milomouse wrote:

I think he said it's the same for empty tty sessions too

tty meaning when you hit Ctrl+Alt+F# key or just a terminal ? I am talking about a regular terminal

sorry, but a tty is a terminal, it's just provided by the kernel. are you referring to a pseudo-terminal (usually denoted by "pts" or "pty".. e.g. something already nested in a tty, which can be tmux, screen or xterm, rxvt in the X layer, or both). hence without tmux it would be a plain terminal again. i'm guessing now that you mean something in X. not trying to start anything but this was my confusion with your statement as i instantly think of tty when i think [regular] terminal and pts/pty when i think pseudo-terminal and i just wanted to get this straight.

@jason: that was my problem before, i'm glad you mentioned that. forcing a resolution, i mean. when i let the kernel decide the screenshots will work. :} maybe it will work for OP, too, although i do remember having problems with the nouveau on my HP.

Offline

#16 2011-02-24 03:40:00

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

Sorry for being so newbish but what do you all mean by forcing resolution exactly? is it that part of the line where it says  video=1366x768..etc. If so, I never knew I was forcing for the resolution. All I know is that If I leave the video= part empty I wont be able to start X.

EDIT: nvm the video= part is not necessary for X to start, only when using nvidia. I've been doing a lot of testing and it actually turns out the video= part is not necessary If i delete that part everything runs just fine and the console resolution is the same. however getting rid of that didn't solve the fbshot/fbgrab problem.

Last edited by aluser (2011-02-24 04:01:40)

Offline

#17 2011-04-20 04:36:02

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED] Help! bad picture output of fbshot and fbgrab

Does anyone still know of another way to take screenshots. It seems to be a bug with forced resolution as jasonwryan said... but the only good resolution is the forced resolution and I'm not going back to 800x600 on a 1366x768 monitor. Anyone has any ideas? Any input will be appreciated.

EDIT:
Finally got around taking the framebuffer screenshot.
If anyone wants to know, neither fbshot or fbgrab worked, they all returned crappy images, fbdump did the trick.

Last edited by aluser (2011-05-07 23:30:42)

Offline

Board footer

Powered by FluxBB